|
|
@ -483,10 +483,11 @@ const submitForm = async (formType, submitData) => { |
|
|
|
// formRef.value.formLoading = false |
|
|
|
// return message.warning('包装号1重复') |
|
|
|
// } |
|
|
|
if (duplicateItems.length>0) { |
|
|
|
formRef.value.formLoading = false |
|
|
|
return message.warning('物料代码重复') |
|
|
|
} |
|
|
|
// if (duplicateItems.length>0) { |
|
|
|
// formRef.value.formLoading = false |
|
|
|
// return message.warning('物料代码重复') |
|
|
|
|
|
|
|
// } |
|
|
|
data.subList.forEach(obj => { |
|
|
|
if(obj.toQty == 0){ |
|
|
|
message.error(`到数量不能为0!`) |
|
|
|