From a03addb5fbf4da382275f3c9dff8dbc916c4e021 Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期三, 17 九月 2025 09:52:01 +0800
Subject: [PATCH] 其他出库、其他入库:子表件数可以输入为0 乔一客户物料即时库存报表:把米数和件数的合计加上去 (按生产订单)客户订单:过滤条件改为模糊查询

---
 WebTM/views/PublicPage/HSourceReportHtml.html |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/WebTM/views/PublicPage/HSourceReportHtml.html b/WebTM/views/PublicPage/HSourceReportHtml.html
index 8c3094c..0dc9a55 100644
--- a/WebTM/views/PublicPage/HSourceReportHtml.html
+++ b/WebTM/views/PublicPage/HSourceReportHtml.html
@@ -380,7 +380,7 @@
                         $("#HProcExchBillNoHidden").show();
                         HModName = "ProductInBill_1202";
                         break;
-                    case '閲囪喘鍏ュ簱':
+                    case '閲囪喘鍏ュ簱鍗�':
                         HModName = "POStockInBill_1201";
                         break;
                     case '閿�鍞��璐�':
@@ -625,6 +625,21 @@
                         }
                         return sWhere;
                         break;
+                    case "閲囪喘鍏ュ簱鍗�":
+                        if (HBillNo) {
+                            sWhere += " and 鍗曟嵁鍙� like '%" + HBillNo + "%'";
+                        }
+                        if (PartNumber) {
+                            sWhere += " and 鐗╂枡浠g爜 like '%" + PartNumber + "%'";
+                        }
+                        if (PartName) {
+                            sWhere += " and 鐗╂枡鍚嶇О like '%" + PartName + "%'";
+                        }
+                        if (HDeptName && HDeptName != 0) {
+                            sWhere += " and HDeptID = '" + HDeptName + "'";
+                        }
+                        return sWhere;
+                        break;
                     case '閫�璐ч�氱煡鍗�':
                         return sWhere;
                         break;

--
Gitblit v1.9.1