Browse Source

新版采购退货申请

hella_online_20240819
wangyufei 3 months ago
parent
commit
c4ac11c89e
  1. 7
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue

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

@ -527,15 +527,17 @@ const openForm = async (type: string, row?: Object) => {
item.componentProps.isSearchList = true
}
})
formRef.value.open(type, row)
}
if (type == 'update') {
let updateData = await PurchasereturnRequestDetailApi.getPurchasereturnRequestDetailEditData({
masterId:row.masterId
})
console.log('updateData',updateData)
if(updateData){
updateData['hahaha'] = updateData['receiptNumber']
}
console.log('updateData',updateData)
getSupplierOptions(updateData['itemCode'])
PurchasereturnRequestMain.allSchemas.formSchema.forEach((item) => {
if (item.field == 'supplierCode') {
@ -548,8 +550,9 @@ const openForm = async (type: string, row?: Object) => {
}
})
tableData.value = updateData.subList||[]
formRef.value.open(type, updateData)
}
formRef.value.open(type, row)
}
//

Loading…
Cancel
Save