Browse Source

新版采购退货申请

hella_online_20240819
wangyufei 4 months ago
parent
commit
bbe0011222
  1. 4
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue
  2. 1
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/purchasereturnRequestMainNew.data.ts

4
src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue

@ -810,12 +810,14 @@ const onChangeForm = async (field, cur, formRef)=>{
if(subList&&subList.length>0){ if(subList&&subList.length>0){
tableData.value = subList.map(item=>({ tableData.value = subList.map(item=>({
'batch':item['batch'], 'batch':item['batch'],
'status':item['inventoryStatus'], 'inventoryStatus':item['inventoryStatus'],
'inventoryBalance':item['qty'], 'inventoryBalance':item['qty'],
'qty':0, 'qty':0,
'reason_type':'', 'reason_type':'',
'reason':'' 'reason':''
})) }))
}else{
tableData.value = []
} }
} }
} }

1
src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/purchasereturnRequestMainNew.data.ts

@ -254,6 +254,7 @@ export const PurchasereturnRequestMainNew = useCrudSchemas(
}, },
form: { form: {
component: 'Select', component: 'Select',
value:locationList[0]['value'],
componentProps: { componentProps: {
options: locationList options: locationList
} }

Loading…
Cancel
Save