From 6a55acb53f6a8c398f4e6dc4a04ab7d7f49d5b0a Mon Sep 17 00:00:00 2001
From: wangyi <2946747746@qq.com>
Date: 星期四, 12 三月 2026 19:43:29 +0800
Subject: [PATCH] .金蝶云跳转的条码生成页面,增加按钮 查看本单生成条码,跳转到条码档案(优化)

---
 src/views/warehouse/barcodeMaster/Gy_BarCodeBillList.vue |   31 +++++++++++++++++++++++++------
 1 files changed, 25 insertions(+), 6 deletions(-)

diff --git a/src/views/warehouse/barcodeMaster/Gy_BarCodeBillList.vue b/src/views/warehouse/barcodeMaster/Gy_BarCodeBillList.vue
index 1533c4d..c857236 100644
--- a/src/views/warehouse/barcodeMaster/Gy_BarCodeBillList.vue
+++ b/src/views/warehouse/barcodeMaster/Gy_BarCodeBillList.vue
@@ -405,6 +405,10 @@
 
     //#region 蹇�熻繃婊�
     handleQuery() {
+      var params = this.get_UrlVars();
+      var HSourceInterID = params[params[1]];  
+      var HSourceEntryID = params[params[2]];
+      var HSEQ  = params[params[3]];
       this.sWhere = ''
       if (this.queryParams.ColName && this.queryParams.Comparator) {
         var com = "";
@@ -487,14 +491,17 @@
       if (this.queryParams.HMaterName) {
         this.sWhere += " and 鐗╂枡鍚嶇О like ''%" + this.queryParams.HMaterName + "%''";
       }
+      if(HSEQ!=''&&HSEQ!=null){
+         this.sWhere += " and 婧愬崟琛屽彿 = ''" + HSEQ + "''";
+      }
+      if(HSourceInterID!=''&&HSourceInterID!=null){
+         this.sWhere += " and HSourceInterID = ''" + HSourceInterID + "''";
+      }
+      if(HSourceEntryID!=''&&HSourceEntryID!=null){
+         this.sWhere += " and HSourceEntryID = ''" + HSourceEntryID + "''";
+      }
       if (this.queryParams.HOrgID) {
         this.sWhere += " and HStockOrgID = ''" + this.queryParams.HOrgID + "''";
-      }
-      if(sessionStorage["HMainSourceBillNo"] &&sessionStorage["HMainSourceBillNo"].length>0){
-        this.sWhere += " and 婧愬崟鍗曞彿 like ''%" + sessionStorage["HMainSourceBillNo"] + "%''";
-      }
-       if (sessionStorage["HSourceBillSEQ"] &&sessionStorage["HSourceBillSEQ"].length>0) {
-        this.sWhere += " and 婧愬崟琛屽彿 = ''" + sessionStorage["HSourceBillSEQ"] + "''";
       }
       //濡傛灉鏄嚜鍔ㄧ櫥褰曪紝鍒欏彧鑳芥煡鐪嬩緵搴斿晢鑷繁鐨勬潯鐮併��
       if (sessionStorage["HAutoLogin"] == "1") {
@@ -594,6 +601,18 @@
 
     //#endregion
 
+    //#region 鑾峰彇鍙傛暟
+      get_UrlVars() {
+            var vars = [], hash;
+            var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
+            for (var i = 0; i < hashes.length; i++) {
+                hash = hashes[i].split('=');
+                vars.push(hash[0]);
+                vars[hash[0]] = hash[1];
+            }
+            return vars;
+        },
+    //#endregion
     //#region 鍒犻櫎
     handleDrop() {
     },

--
Gitblit v1.9.1