Browse Source

数量校验

hella_online_20241017
yufei_wang 2 months ago
parent
commit
109f0e1010
  1. 4
      src/views/wms/purchasereceiptManage/purchasereturnspare/purchasereturnRequestSpareMain/index.vue

4
src/views/wms/purchasereceiptManage/purchasereturnspare/purchasereturnRequestSpareMain/index.vue

@ -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') {

Loading…
Cancel
Save