From 099c78d289f33f38faceeecaeb86d92f1e6c9945 Mon Sep 17 00:00:00 2001
From: yxj <yxj@hz-kingdee.com>
Date: 星期三, 02 七月 2025 16:20:58 +0800
Subject: [PATCH] 新增PDA装箱、组托、拆箱、拆托模块相关调用方法,凯贝超聚变客户条码生成规则变更

---
 WarM/条码打印/Gy_CusBarCodeBill_KaiBei.cs |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git "a/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_CusBarCodeBill_KaiBei.cs" "b/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_CusBarCodeBill_KaiBei.cs"
index 9ab3a30..3fe31d0 100644
--- "a/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_CusBarCodeBill_KaiBei.cs"
+++ "b/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_CusBarCodeBill_KaiBei.cs"
@@ -677,7 +677,8 @@
                                 return;
                             }
                             //瓒呰仛鍙樻暟瀛楁妧鏈湁闄愬叕鍙�   鏉$爜缂栧彿锛堝叡26浣嶏級 = 浠g爜锛�1浣嶅浐瀹氣�楽鈥欙級 + 鍘傚晢浠g爜锛�2浣嶅浐瀹氣�榊3鈥欙級 + 骞达紙2浣嶅勾鍚庝袱浣嶏級 + 鏈堬紙1浣�10=A,11=B,12=C锛� + 娴佹按鍙凤紙7浣嶏級 + 浠e彿锛�2浣嶅浐瀹氣��1P鈥欙級 + 瀹㈡埛浠g爜锛�8浣嶅彇閲戣澏瀹㈡埛鐗╂枡瀵瑰簲琛ㄥ鎴风墿鏂欑紪鐮侊級 + 鐗╂枡鐗堟湰锛�3浣嶅彇鐗╂枡缂栫爜鍚庝笁浣嶏級
-                            TM = "SY3" + sYear + sPeriod + LSH2 + "1P" + sHCusModelName + HMaterNumber;
+                            TM = "SY3" + sYear + sPeriod + LSH2 + "1P" + sHCusModelName;
+                            //TM = "SY3" + sYear + sPeriod + LSH2 + "1P" + sHCusModelName + HMaterNumber;
 
                             HEntryID = j + 1;
                             HBarCode = TM.ToUpper();
@@ -700,11 +701,12 @@
                             HRemark = ClsPub.isStrNull(grdMain.Rows[j].Cells[HRemarkCol].Value);
                             HMTONo = ClsPub.isStrNull(grdMain.Rows[j].Cells[HMTONoCol].Value);
                             HInnerBillNo = ClsPub.isStrNull(grdMain.Rows[j].Cells[HInnerBillNoCol].Value);
+                            HCode3 = ClsPub.isStrNull(grdMain.Rows[j].Cells[HCode3Col].Value).ToUpper();
                             HSno = ClsPub.isStrNull(LSH);
                             HBoxNo = sTMNumber;
                             sHBaNo = ClsPub.isStrNull(grdMain.Rows[j].Cells[HBaNoCol].Value);                        // 鐣岄潰涓婅緭鍏ョ殑鎵规浣�
 
-                            //瓒呰仛鍙樻暟瀛楁妧鏈湁闄愬叕鍙�   瀹㈡埛鐗╂枡缂栫爜HCusModelName銆佹祦姘村彿HSno銆佹祦姘村彿HSupNumber銆佹祦姘村彿鐢熸垚鍓嶇紑HBoxNo
+                            //瓒呰仛鍙樻暟瀛楁妧鏈湁闄愬叕鍙�   瀹㈡埛鐗╂枡缂栫爜HCusModelName銆佹祦姘村彿HSno銆佹祦姘村彿HSupNumber銆佹祦姘村彿鐢熸垚鍓嶇紑HBoxNo銆佺墿鏂欑増鏈琀Code3
                             oCn.RunProc("insert into Gy_BarCodeBill_Cus" +
                                     "(HInterID,HEntryID,HBillType,HBarCode,HBarCodeType" +
                                     ",HMaterID,HUnitID,HAuxPropID,HBatchNo,HQty" +
@@ -881,7 +883,7 @@
             grdMain.Columns[HBaNoCol].Visible = false;
             grdMain.Columns[HCode1Col].Visible = false;
             grdMain.Columns[HCode2Col].Visible = false;
-            grdMain.Columns[HCode3Col].Visible = false;
+            //grdMain.Columns[HCode3Col].Visible = false;
             grdMain.Columns[HInnerBillNoCol].Visible = false;
 
             //璁剧疆鍙紪杈戝垪

--
Gitblit v1.9.1