|
|
|
@ -818,6 +818,18 @@ export default { |
|
|
|
|
|
|
|
|
|
|
|
saveData () { |
|
|
|
if (this.modalData.deliveryQty === '' || this.modalData.deliveryQty === null) { |
|
|
|
this.$message.error('此次送货数量不能为空') |
|
|
|
return |
|
|
|
} |
|
|
|
if (this.modalData.delPoint === '' || this.modalData.delPoint == null){ |
|
|
|
this.$message.error('送货地点不能为空') |
|
|
|
return |
|
|
|
} |
|
|
|
if (this.modalData.WantedDelDate === '' || this.modalData.WantedDelDate == null){ |
|
|
|
this.$message.error('要求送货日期不能为空') |
|
|
|
return |
|
|
|
} |
|
|
|
let inData = this.modalData |
|
|
|
updateSupplierDeliveryPlan(inData).then(({data}) => { |
|
|
|
if (data.code === 0) { |
|
|
|
|