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

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

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

Loading…
Cancel
Save