Browse Source

HL-5491M型采购订单没有查到数据(因为列表有过滤条件订单明细行可以收货的数量 订单数-已收货数-申请中的数量)这样的列表不返回,前端提示该订单已存在申请数据

hella_online_20240821
wangyufei 3 months ago
parent
commit
dcbee8966b
  1. 4
      src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestOrderMTypeMain/index.vue

4
src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestOrderMTypeMain/index.vue

@ -534,6 +534,10 @@ const getSearchTableData = async (number,isEnter=false)=>{
item.width = item.table?.width || 150 item.width = item.table?.width || 150
}) })
tableData.value = [] tableData.value = []
if(tableObject.tableList.length==0){
message.error(`此订单${number}已存在M类型申请的数据`)
return
}
updateTableData(tableObject.tableList) updateTableData(tableObject.tableList)
const itemCodes = [] const itemCodes = []
tableObject.tableList.forEach(row=>{ tableObject.tableList.forEach(row=>{

Loading…
Cancel
Save