From e0e0c804f24557f6c1c7eed6a02dde5cf4b155d1 Mon Sep 17 00:00:00 2001
From: dytyqx <1342948614@qq.com>
Date: 星期二, 31 三月 2026 22:41:03 +0800
Subject: [PATCH] 1

---
 src/views/component/CurrencyDialog/index.vue |   30 +++++++++---------------------
 .env.production                              |    8 ++++----
 src/views/basic/gy/gySupplier.vue            |   21 +++++++++++++++++++++
 3 files changed, 34 insertions(+), 25 deletions(-)

diff --git a/.env.production b/.env.production
index 09b7d1a..6b9d2a0 100644
--- a/.env.production
+++ b/.env.production
@@ -5,11 +5,11 @@
 ENV = 'production'
 
 # 瀹佹尝 鍥涚淮灏�
-# VUE_APP_BASE_API_INNER = http://192.168.0.236:9010/API/
-# VUE_APP_BASE_API = http://220.189.218.155:9010/API/
+VUE_APP_BASE_API_INNER = http://192.168.0.236:9010/API/
+VUE_APP_BASE_API = http://220.189.218.155:9010/API/
 # 浣欏 閿﹂殕 鏅鸿兘瀹跺眳
-VUE_APP_BASE_API_INNER = http://192.168.1.11/API/
-VUE_APP_BASE_API = http://61.174.29.234:8880/API/
+# VUE_APP_BASE_API_INNER = http://192.168.1.11/API/
+# VUE_APP_BASE_API = http://61.174.29.234:8880/API/
 # 鏅轰簯杩堟�滾-MOM绠$悊绯荤粺/鐢熶骇鐜
 # VUE_APP_BASE_API = http://47.96.97.237/API/
 #鏉滆春
diff --git a/src/views/basic/gy/gySupplier.vue b/src/views/basic/gy/gySupplier.vue
index 3fc2c10..7ed73b7 100644
--- a/src/views/basic/gy/gySupplier.vue
+++ b/src/views/basic/gy/gySupplier.vue
@@ -360,8 +360,29 @@
   created() {
     this.getList()
     this.getTreeselect()
+    console.log(this.treeOptions)
+    if (this.openPage) {
+      this.autoSelectCarrierTree()
+    }
   },
   methods: {
+    autoSelectCarrierTree() {
+      setTimeout(() => {
+        if (this.$refs.tree && this.treeOptions) {
+          // 馃憞 杩欓噷鎹㈡垚浣犵湡瀹炵殑銆愭壙杩愬晢鍒嗙被ID銆�
+          const carrierId = "1"
+
+          // 鑷姩閫変腑鑺傜偣
+          this.$refs.tree.setCurrentKey(carrierId)
+
+          // 鑷姩瑙﹀彂鑺傜偣鐐瑰嚮锛屾墽琛岀瓫閫�
+          let node = this.$refs.tree.getNode(carrierId)
+          if (node) {
+            this.handleNodeClick(node.data)
+          }
+        }
+      }, 300)
+    },
     getSummaries(param) {
       const { columns, data } = param;
       const sums = [];
diff --git a/src/views/component/CurrencyDialog/index.vue b/src/views/component/CurrencyDialog/index.vue
index 3918d0a..611c758 100644
--- a/src/views/component/CurrencyDialog/index.vue
+++ b/src/views/component/CurrencyDialog/index.vue
@@ -596,32 +596,20 @@
     },
     //鍙屽嚮琛�
     handleDblclick(row, column, cell, event) {
-      if (this.checkIsIframe()) {
-        window.parent.iframeCurrencyCallBack(row);
-        return;
-      }
-      this.OperationType = 3;
+      this.OperationType = 3
       if (this.openPage) {
-        this.$emit('deptEmitDb', row, 2)
-        this.closeDialog();
+        if(this.openPage == 'Kf_StockOutRequestBill'){
+          this.$emit('deptEmitDb', row, 10)
+          this.closeDialog();
+        }
+        else{
+          this.$emit('deptEmitDb', row, 2)
+          this.closeDialog();
+        }
       } else {
         this.handleEdit();
       }
     },
-    // handleDblclick(row, column, cell, event) {
-    //   this.OperationType = 3
-    //   if (this.openPage) {
-    //     if(this.openPage='Kf_StockOutRequestBill')
-    //   {
-    //     this.$emit('deptEmitDb', row, 10)
-    //   }
-    //   else{
-    //     this.$emit('deptEmitDb', row, 2)
-    //   }
-    //   } else {
-    //     this.handleEdit();
-    //   }
-    // },
     // 澶氶�夋閫変腑鏁版嵁
     handleSelectionChange(selection) {
       // this.rowForm = {}

--
Gitblit v1.9.1