|
|
@ -129,6 +129,8 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
|
// }) |
|
|
|
// 查询标准价格 |
|
|
|
if(formField == 'packingNumber'){ |
|
|
|
val = val.filter(item=>!tableData.value.find(item1=>item1['itemCode']==item['itemCode']&&item1['packingNumber']==item['packingNumber'])) |
|
|
|
if(val.length==0) return |
|
|
|
let param = {'itemCodes':val.map(item=>item.itemCode).join(',') as string} |
|
|
|
StdcostpriceApi.queryStdcostpriceByItemCode(param).then(res => { |
|
|
|
val.forEach(item=>{ |
|
|
|