|
@ -328,10 +328,6 @@ const flag = ref() |
|
|
// 主子数据 提交 |
|
|
// 主子数据 提交 |
|
|
const submitForm = async (formType, submitData) => { |
|
|
const submitForm = async (formType, submitData) => { |
|
|
let data = {...submitData} |
|
|
let data = {...submitData} |
|
|
if(data.fromWarehouseCode&&data.fromWarehouseCode == data.toWarehouseCode){ |
|
|
|
|
|
message.error(`从库位代码和到库位代码不能相同!`) |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
|
|
|
if(data.masterId){ |
|
|
if(data.masterId){ |
|
|
data.id = data.masterId |
|
|
data.id = data.masterId |
|
|
} |
|
|
} |
|
|