|
@ -385,7 +385,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
if (type == 'tableForm') { |
|
|
if (type == 'tableForm') { |
|
|
if(formField == 'itemCode'){ |
|
|
if(formField == 'itemCode'){ |
|
|
const fromLocationCode =formRef.formModel.fromLocationCode//主数据选择的从库位代码 |
|
|
const fromLocationCode =formRef.formModel.fromLocationCode//主数据选择的从库位代码 |
|
|
const toLocationCode =formRef.formModel.fromLocationCode//主数据选择的到库位代码 |
|
|
const toLocationCode =formRef.formModel.toLocationCode//主数据选择的到库位代码 |
|
|
val = val.filter(item=>!tableData.value.find(item1=>item1['itemCode']==item['itemCode']&&item1['fromBatch']==item['batch']&&item1['fromPackingNumber']==item['packingNumber']&&item1['origin_fromLocationCode']==item['locationCode']&&item1['fromInventoryStatus']==item['inventoryStatus'])) |
|
|
val = val.filter(item=>!tableData.value.find(item1=>item1['itemCode']==item['itemCode']&&item1['fromBatch']==item['batch']&&item1['fromPackingNumber']==item['packingNumber']&&item1['origin_fromLocationCode']==item['locationCode']&&item1['fromInventoryStatus']==item['inventoryStatus'])) |
|
|
if(val.length==0) return |
|
|
if(val.length==0) return |
|
|
val.forEach(async item=>{ |
|
|
val.forEach(async item=>{ |
|
|