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) {