From b49f3607ef356e7ad96dbc833fede3c7fa47929f Mon Sep 17 00:00:00 2001 From: ZhangYong Date: Thu, 20 Nov 2025 13:38:25 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=90=8E=E9=87=8D=E5=A4=8D?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=E5=A4=B1=E6=95=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/moneyManage/receiveDetail/receiveService.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/views/moneyManage/receiveDetail/receiveService.vue b/src/views/moneyManage/receiveDetail/receiveService.vue index 03de08a..86d0c33 100644 --- a/src/views/moneyManage/receiveDetail/receiveService.vue +++ b/src/views/moneyManage/receiveDetail/receiveService.vue @@ -725,6 +725,11 @@ const handleEditForm = async () => { ElMessage.error(testGold().message); return; } + if(typeof addFormData.value.activity == 'string'){ + console.log('转换前:', addFormData.value.activity); + + addFormData.value.activity = activityList.value.find(item => item.activityName === addFormData.value.activity).id + } //单独校验产品数量 if (!isGold.value) { if (!addFormData.value.goodNum) {