From 55f244bc13574390e9ac2822a4f1e959662a62b1 Mon Sep 17 00:00:00 2001
From: wwl <xchao828@163.com>
Date: 星期六, 04 一月 2025 19:00:24 +0800
Subject: [PATCH] 1

---
 src/views/system/tijian/index.vue |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/src/views/system/tijian/index.vue b/src/views/system/tijian/index.vue
index ec6cc61..bf3c9af 100644
--- a/src/views/system/tijian/index.vue
+++ b/src/views/system/tijian/index.vue
@@ -1702,6 +1702,13 @@
             }
             if (this.form.reservationId != null) {
               if (this.form.groupingId) {
+                this.form.firmName = this.form.compName
+                this.form.tjType = "1"
+                this.CompanyList.forEach((item) => {
+                  if (item.cnName == this.form.firmName) {
+                    this.form.firmId = item.drugManufacturerId;
+                  }
+                });
                 _this.tcShow = true;
 
                 getTransitionList1(this.form.cusIdcard).then((res) => {
@@ -2789,7 +2796,7 @@
           }
         });
       }
-       else {
+      else {
         getaddtTransition(data).then((response) => {
           if (response.code == 200) {
             let cusId = this.form.cusIdcard;
@@ -3152,6 +3159,8 @@
                 userId,
                 tjType,
                 tjCategory: this.tjCategory,
+                firmId: this.form.firmId,
+                firmName: this.form.firmName
               };
 
               this.listgetOrder(data);
@@ -3163,6 +3172,8 @@
                 userId,
                 tjType,
                 tjCategory: this.tjCategory,
+                firmId: this.form.firmId,
+                firmName: this.form.firmName
               };
               this.listgetOrder(data);
             } else {

--
Gitblit v1.8.0