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