From ef16f0810a9d12ca928629d05ea042959901fe43 Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期四, 18 十二月 2025 09:40:25 +0800
Subject: [PATCH] 夏宝:客户条码扫码记录维护-条码列表批量 获取扫码记录时加上HInterID的过滤。

---
 WebTM/views/WMS扫码模块/客户条码扫描/Gy_getCusBarCodeBillList_BarCodeList_Batch.html |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\345\256\242\346\210\267\346\235\241\347\240\201\346\211\253\346\217\217/Gy_getCusBarCodeBillList_BarCodeList_Batch.html" "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\345\256\242\346\210\267\346\235\241\347\240\201\346\211\253\346\217\217/Gy_getCusBarCodeBillList_BarCodeList_Batch.html"
index 88c526f..da79109 100644
--- "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\345\256\242\346\210\267\346\235\241\347\240\201\346\211\253\346\217\217/Gy_getCusBarCodeBillList_BarCodeList_Batch.html"
+++ "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\345\256\242\346\210\267\346\235\241\347\240\201\346\211\253\346\217\217/Gy_getCusBarCodeBillList_BarCodeList_Batch.html"
@@ -103,6 +103,8 @@
                 for (var t = 0; t < initData.length; t++) {
                     var HInterID = initData[t].HInterID_Temp;
                     var HBillNo = decodeURIComponent(initData[t].HBillNo_Temp);
+                    var HBillNo_Temp = HBillNo;
+                    HBillNo += "' and HInterID = '" + HInterID;
 
                     $.ajax({
                         type: "GET",
@@ -112,19 +114,19 @@
                         success: function (data1) {
                             if (data1.count == 1) {
                                 for (var i = 0; i < data1.data.length; i++) {
-                                    if (data1.data[i].HBillNo == HBillNo) {
+                                    if (data1.data[i].HBillNo == HBillNo_Temp) {
                                         finalData.push(data1.data[i]);
                                     }
                                 }                                
                             } else {
                                 returnCode = true;
-                                errorMessage = "鍐呯爜[" + HInterID + "]-鍗曟嵁鍙穂" + HBillNo + "]锛�" + data1.Message + "锛�";
+                                errorMessage = "鍐呯爜[" + HInterID + "]-鍗曟嵁鍙穂" + HBillNo_Temp + "]锛�" + data1.Message + "锛�";
                             }
                         },
                         complete: function (XHR, TS) { XHR = null },//鍥炴敹璧勬簮
                         error: function (e) {
                             returnCode = true;
-                            errorMessage = "鍐呯爜[" + HInterID + "]-鍗曟嵁鍙穂" + HBillNo + "]锛氭帴鍙h姹傚け璐�!";
+                            errorMessage = "鍐呯爜[" + HInterID + "]-鍗曟嵁鍙穂" + HBillNo_Temp + "]锛氭帴鍙h姹傚け璐�!";
                         }
                     });
 

--
Gitblit v1.9.1