|
@@ -1240,6 +1240,11 @@ export default {
|
|
if (this.logisticsType === 'add') {
|
|
if (this.logisticsType === 'add') {
|
|
if(this.deliverSelection.length < 1) return this.$errorMsg('请选择一个发货信息');
|
|
if(this.deliverSelection.length < 1) return this.$errorMsg('请选择一个发货信息');
|
|
|
|
|
|
|
|
+ for (let i = 0; i < this.deliverSelection.length; i++) {
|
|
|
|
+ const item = this.deliverSelection[i];
|
|
|
|
+ if(!item.num || item.num == 0) return this.$errorMsg('请填写发货数量-订单数量');
|
|
|
|
+ }
|
|
|
|
+
|
|
orderDeliver({
|
|
orderDeliver({
|
|
orderId: this.editOrderId,
|
|
orderId: this.editOrderId,
|
|
logisticsNo: this.logisticsForm.pickType == 'NO' ? this.logisticsForm.logisticsNo : '',
|
|
logisticsNo: this.logisticsForm.pickType == 'NO' ? this.logisticsForm.logisticsNo : '',
|