Browse Source

修改库存修改验证

intex_zhaoxuebing
叶佳兴 1 week ago
parent
commit
b3803961c6
  1. 2
      src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/index.vue

2
src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/index.vue

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

Loading…
Cancel
Save