From 5b5059d065f7aee665fdb9fa8f49967052274fed Mon Sep 17 00:00:00 2001
From: lkk <364857242@qq.com>
Date: 星期三, 19 三月 2025 18:00:39 +0800
Subject: [PATCH] Merge branch 'master' of http://101.42.27.146:5001/r/ltkj_peisweb_region

---
 src/views/system/tijian/index.vue |   17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/src/views/system/tijian/index.vue b/src/views/system/tijian/index.vue
index 4728be4..ec5fb3a 100644
--- a/src/views/system/tijian/index.vue
+++ b/src/views/system/tijian/index.vue
@@ -1225,11 +1225,9 @@
       this.open1 = true;
       this.title = "娣诲姞浣撴鍗曚綅淇℃伅缁存姢";
     },
-    idFn1(value) {
-      if (value) {
-        // console.log(value);
+    idFn1() {
+      if (this.form.firmName) {
         const originalCompId = this.form.firmId;
-        this.form.firmName = value;
         this.CompanyList.forEach((item) => {
           if (item.cnName == this.form.firmName) {
             this.form.firmId = item.drugManufacturerId;
@@ -1239,10 +1237,15 @@
         if (this.form.firmId === originalCompId) {
           this.form.firmId = "";
         }
-        if (this.form.firmId) {
-          this.form.tjType = this.dict.type.dict_team[2].value;
-        }
+       
       }
+
+      if (this.form.firmName) {
+          this.form.tjType = this.dict.type.dict_team[1].value;
+        }else{
+          this.form.tjType = this.dict.type.dict_team[0].value;
+        }
+      
     },
     getCurrentDateTime() {
       const currentDate = new Date();

--
Gitblit v1.8.0