陈薪名 8 months ago
parent
commit
d10859cdf9
  1. 12
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue

12
src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue

@ -386,12 +386,12 @@
number: item.poNumber,
lineNumber: item.poLine,
}).then(res => {
data.subList.push(item) //
// if(item.planQty > res.list[0].orderQty-res.list[0].plannedQty){
// message.error('-')
// } else {
// data.subList.push(item) //
// }
console.log("【要货计划】-每条数据结果",item)
if (item.planQty > res.list[0].orderQty - res.list[0].plannedQty) {
message.error('要货计划数量不得大于订单数量-已计划数量')
return
}
data.subList.push(item) //
})
}
if (data.subList.length == tableData.value.length) {

Loading…
Cancel
Save