|
|
@ -469,7 +469,7 @@ const submitForm = async (formType, submitData) => { |
|
|
|
|
|
|
|
data.subList = tableData.value // 拼接子表数据参数 |
|
|
|
const duplicateItems = tableData.value.filter((item, index) => { |
|
|
|
return tableData.value.findIndex((el) => el.itemCode === item.itemCode) !== index; |
|
|
|
return tableData.value.findIndex((el) => el.itemCode === item.itemCode&& el.locationCode === item.locationCode) !== index; |
|
|
|
}); |
|
|
|
// tableData.value.forEach(item => { |
|
|
|
// let rs = tableData.value.filter(filterItem => (filterItem.packingNumber == item.packingNumber && filterItem.itemCode!=item.itemCode)) |
|
|
|