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
}
data.subList = tableData.value.filter(item=>Number(item['qty'])>0) //
if(data.subList.length==0){
message.error(`请填写退货数量`)
return
}
formRef.value.formLoading = true
try {
if (formType === 'create') {

Loading…
Cancel
Save