From e2bc832dedd3a54d770526786e4db30470e0f57b Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期四, 28 三月 2024 16:05:23 +0800
Subject: [PATCH] mrshi

---
 company/src/components/enterprise/onlineReporting.vue |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/company/src/components/enterprise/onlineReporting.vue b/company/src/components/enterprise/onlineReporting.vue
index c6ec883..13ae4f3 100644
--- a/company/src/components/enterprise/onlineReporting.vue
+++ b/company/src/components/enterprise/onlineReporting.vue
@@ -290,7 +290,9 @@
                     // 璋冪敤鏂板缓鎺ュ彛
                     this.isWorking = true
                     let obj = JSON.parse(JSON.stringify(this.form))
-                    obj.areaId = obj.areaId.join(',')
+                    if (obj.areaId) {
+                        obj.areaId = obj.areaId.join(',')
+                    }
                     create(obj)
                         .then(() => {
                             this.visible = false
@@ -313,6 +315,7 @@
                     })
             },
             getVal(e) {
+                console.log(e)
                 this.form.insuranceApplyId = e.applyId
                 this.form.solutionId = e.solutionId
                 this.form.solutionName = e.solutionName
@@ -360,6 +363,7 @@
                 }
             },
             handleChange(value) {
+                console.log(value)
                 let info = ''
                 value.forEach(item => {
                     info += this.getTreeName(this.area, item)

--
Gitblit v1.9.3