From b599e63dc2c1442f6b4172284390cdf8fc6928fa Mon Sep 17 00:00:00 2001
From: yxj <yxj@hz-kingdee.com>
Date: 星期一, 26 五月 2025 16:18:16 +0800
Subject: [PATCH] 条码生成模块,增加选择源单领料出库单生成条码功能

---
 WebTM/views/PublicPage/HSourceReportHtml.html |   18 ++++++++++++++++++
 WebTM/views/仓存管理/条码生成/Gy_BarCodeBill.html     |    4 ++++
 2 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/WebTM/views/PublicPage/HSourceReportHtml.html b/WebTM/views/PublicPage/HSourceReportHtml.html
index 5ba0ccb..8c3094c 100644
--- a/WebTM/views/PublicPage/HSourceReportHtml.html
+++ b/WebTM/views/PublicPage/HSourceReportHtml.html
@@ -395,6 +395,9 @@
                     case '閿�鍞嚭搴撳崟':
                         HModName = "SellOutBill_1205";
                         break;
+                    case '棰嗘枡鍑哄簱鍗�':
+                        HModName = "MateOutBill_1204";
+                        break;
                 }
                 //鍒濆鏌ヨ
                 get_Display(sWhere, HSouceBillType);
@@ -669,6 +672,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;
                 }
 
             }
diff --git "a/WebTM/views/\344\273\223\345\255\230\347\256\241\347\220\206/\346\235\241\347\240\201\347\224\237\346\210\220/Gy_BarCodeBill.html" "b/WebTM/views/\344\273\223\345\255\230\347\256\241\347\220\206/\346\235\241\347\240\201\347\224\237\346\210\220/Gy_BarCodeBill.html"
index ef6f3c2..b5b909b 100644
--- "a/WebTM/views/\344\273\223\345\255\230\347\256\241\347\220\206/\346\235\241\347\240\201\347\224\237\346\210\220/Gy_BarCodeBill.html"
+++ "b/WebTM/views/\344\273\223\345\255\230\347\256\241\347\220\206/\346\235\241\347\240\201\347\224\237\346\210\220/Gy_BarCodeBill.html"
@@ -95,6 +95,7 @@
                                                         <option value="9">鐢熶骇閫�鏂欏崟</option>
                                                         <option value="10">宸ュ簭娴佽浆鍗�</option>-->
                                                         <option value="11">閿�鍞嚭搴撳崟</option>
+                                                        <option value="12">棰嗘枡鍑哄簱鍗�</option>
                                                     </select>
                                                 </div>
                                             </div>
@@ -485,6 +486,9 @@
                     case '11':
                         return '閿�鍞嚭搴撳崟';
                         break;
+                    case '12':
+                        return '棰嗘枡鍑哄簱鍗�';
+                        break;
                 }
             }
 

--
Gitblit v1.9.1