From 8c8be9fbcc6888f0770dd95fcf96cd75bff1a952 Mon Sep 17 00:00:00 2001 From: zrg <z18737863051@163.com> Date: 星期五, 29 十一月 2024 12:11:09 +0800 Subject: [PATCH] 1 --- WarM/条码打印/Gy_CusBarCodeBill_KaiBei_LangChao.cs | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git "a/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_CusBarCodeBill_KaiBei_LangChao.cs" "b/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_CusBarCodeBill_KaiBei_LangChao.cs" index 3c4deaf..42705a0 100644 --- "a/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_CusBarCodeBill_KaiBei_LangChao.cs" +++ "b/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_CusBarCodeBill_KaiBei_LangChao.cs" @@ -83,6 +83,7 @@ public string sYear = ""; //骞达紙2浣嶏級 public string sYear4 = ""; //骞达紙4浣嶏級 public string sPeriod = ""; //鏈� + public string sPeriod2 = ""; //鏈堬紙姝e父锛� public string sDay = ""; //鏃� @@ -456,6 +457,7 @@ sYear4 = ClsPub.isDate(sDate).Year.ToString(); sPeriod = "0" + ClsPub.isDate(sDate).Month.ToString(); sPeriod = sPeriod.Substring(sPeriod.Length - 2, 2); + sPeriod2 = sPeriod.Substring(sPeriod.Length - 2, 2); sDay = "0" + ClsPub.isDate(sDate).Day.ToString(); sDay = sDay.Substring(sDay.Length - 2, 2); //================================== @@ -852,7 +854,7 @@ HCode3 = DBUtility.ClsPub.isStrNull(grdMain.Rows[j].Cells[HCode3Col].Value); //鑾峰彇鏈�澶ф祦姘村彿 //鏉$爜鍓嶇紑 = 渚涘簲鍟嗕唬鐮� + 骞� + 鏈� + 鏃� - sTMNumber = HCusModel + sYear4 + sPeriod + sDay; + sTMNumber = HCusModel + sYear4 + sPeriod2 + sDay; Ds = oCn.RunProcReturn("exec h_p_WMS_GetMaxNo '" + sTMNumber + "'", "h_p_WMS_GetMaxNo"); //鑾峰彇鏈�澶ф祦姘村彿 LWSH = ClsPub.isInt(Ds.Tables[0].Rows[0][0]); -- Gitblit v1.9.1