|
@ -876,6 +876,10 @@ const submitForm = async (formType, submitData) => { |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
data.subList = tableData.value.filter(item=>Number(item['qty'])>0) // 拼接子表数据参数 |
|
|
data.subList = tableData.value.filter(item=>Number(item['qty'])>0) // 拼接子表数据参数 |
|
|
|
|
|
if(data.subList.length==0){ |
|
|
|
|
|
message.error(`请填写退货数量`) |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
formRef.value.formLoading = true |
|
|
formRef.value.formLoading = true |
|
|
try { |
|
|
try { |
|
|
if (formType === 'create') { |
|
|
if (formType === 'create') { |
|
|