|
@ -782,11 +782,11 @@ const submitForm = async (formType, submitData) => { |
|
|
data.subList.forEach(obj => { |
|
|
data.subList.forEach(obj => { |
|
|
if(obj.qty == 0){ |
|
|
if(obj.qty == 0){ |
|
|
message.error(`数量不能为0!`) |
|
|
message.error(`数量不能为0!`) |
|
|
flag.value = true |
|
|
flag = true |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
if(flag.value){ |
|
|
if(flag){ |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
formRef.value.formLoading = true |
|
|
formRef.value.formLoading = true |
|
|