Browse Source

新版采购退货申请

hella_online_20240819
wangyufei 3 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){
tableData.value = subList.map(item=>({
'batch':item['batch'],
'status':item['inventoryStatus'],
'inventoryStatus':item['inventoryStatus'],
'inventoryBalance':item['qty'],
'qty':0,
'reason_type':'',
'reason':''
}))
}else{
tableData.value = []
}
}
}

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

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

Loading…
Cancel
Save