Browse Source

客户退货申请

hella_chenfang
yufei_wang 1 month ago
parent
commit
90b0958119
  1. 4
      src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/index.vue

4
src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/index.vue

@ -232,8 +232,8 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
if (type == 'tableForm') { if (type == 'tableForm') {
if(formField=='itemCode'){ if(formField=='itemCode'){
val.forEach(item=>{ val.forEach(item=>{
if(tableData.value.find(item1=>item1['itemCode'] == item['code'])){ if(tableData.value.find(item1=>item1['itemCode'] == item['itemCode']&&item1['batch'] == item['batch'])){
message.warning(`物料${item['code']}已经存在`) message.warning(`物料${item['itemCode']}批次${item['batch']}已经存在`)
return return
} }
const newRow = JSON.parse(JSON.stringify({...tableFormKeys,...item})) const newRow = JSON.parse(JSON.stringify({...tableFormKeys,...item}))

Loading…
Cancel
Save