|
|
@ -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') |
|
|
|