Browse Source

要货计划增加行校验

master
fangdawei 10 months ago
parent
commit
aaacc3d84b
  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, number: item.poNumber,
lineNumber: item.poLine, lineNumber: item.poLine,
}).then(res => { }).then(res => {
data.subList.push(item) // console.log("【要货计划】-每条数据结果",item)
// if(item.planQty > res.list[0].orderQty-res.list[0].plannedQty){ if (item.planQty > res.list[0].orderQty - res.list[0].plannedQty) {
// message.error('-') message.error('要货计划数量不得大于订单数量-已计划数量')
// } else { return
// data.subList.push(item) // }
// } data.subList.push(item) //
}) })
} }
if (data.subList.length == tableData.value.length) { if (data.subList.length == tableData.value.length) {

Loading…
Cancel
Save