From ca838a9f056cb7043b57bc34fde916686a465003 Mon Sep 17 00:00:00 2001
From: qx <1084500556@qq.com>
Date: 星期三, 23 七月 2025 14:11:59 +0800
Subject: [PATCH] qx

---
 src/views/reservation/reservations/index.vue |   13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/src/views/reservation/reservations/index.vue b/src/views/reservation/reservations/index.vue
index 54a1bf5..5864b46 100644
--- a/src/views/reservation/reservations/index.vue
+++ b/src/views/reservation/reservations/index.vue
@@ -605,10 +605,10 @@
                   style="width: 160px"
                 />
               </el-form-item>
-              <el-form-item label="鍗曚綅鍚嶇О" prop="company">
+              <el-form-item label="鍗曚綅鍚嶇О" prop="companyId">
                 <el-select
                   :remote-method="getRemoteData"
-                  v-model="formIn.company"
+                  v-model="formIn.companyId"
                   remote
                   default-first-option
                   allow-create
@@ -2345,11 +2345,7 @@
   created() {
     this.getList();
   },
-  watch: {
-    "formIn.company"(val) {
-      console.log("formIn.company changed:", val, typeof val);
-    },
-  },
+
   methods: {
     isAll(value) {
       return value === "" || value === null;
@@ -2458,6 +2454,7 @@
     idFn1(value) {
       if (value) {
         this.form.dictCompId = value;
+        console.log(value)
         // this.CompanyList.forEach((item) => {
         //   if (item.drugManufacturerId == this.form.dictCompId) {
         //     this.form.compName = item.cnName;
@@ -3155,6 +3152,7 @@
           this.formIn.company = item.cnName;
         }
       });
+      
       let data;
       if (pacId) {
         data = {
@@ -3211,7 +3209,6 @@
           career: this.formIn.career,
         };
       }
-      console.log('鎻愪氦鍙傛暟', data);
       tjReappoint(data).then((res) => {
         if (res.code === 200) {
           this.$modal.msgSuccess("棰勭害鎴愬姛");

--
Gitblit v1.8.0