Browse Source

从库位代码和到库位代码不能相同

linshi20240813
wangyufei 3 months ago
parent
commit
b29d851c32
  1. 5
      src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue

5
src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue

@ -698,6 +698,11 @@ const submitForm = async (formType, submitData) => {
if(data.masterId){
data.id = data.masterId
}
let findLocation = tableData.value.find(item=>item.fromLocationCode&&item.toLocationCode&&item.fromLocationCode==item.toLocationCode)
if(findLocation){
message.warning('从库位和到库位不能相同')
return
}
data.subList = tableData.value //
let isExist = false
tableData.value.forEach(item => {

Loading…
Cancel
Save