From c4ac11c89e6cb7dd3ad80d5e11f25423a25e56f9 Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Fri, 16 Aug 2024 15:21:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E7=89=88=E9=87=87=E8=B4=AD=E9=80=80?= =?UTF-8?q?=E8=B4=A7=E7=94=B3=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../purchasereturn/purchasereturnRequestMainNew/index.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue index ec3607171..d6fee3548 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue +++ b/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) } // 获取部门 用于详情 部门回显