Browse Source

重复判断

hella_online_20240829
wangyufei 4 months ago
parent
commit
404a83f708
  1. 1
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue

1
src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue

@ -207,6 +207,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
if(newVal.length<val.length){
message.warning('不能同时选择可制造和可采购的物料')
}
newVal = newVal.filter(item=>!tableData.value.find(item1=>item1['itemCode']==item['code']))
newVal.forEach(item=>{
let tfk = JSON.parse(JSON.stringify(tableFormKeys))
tfk.batch = formatTime(new Date(), 'yyyyMMdd')

Loading…
Cancel
Save