From e5125bd15c9951cdefa1846264ac726108fc0534 Mon Sep 17 00:00:00 2001 From: yusijie <ysj@hz-kingdee.com> Date: 星期五, 30 五月 2025 19:14:24 +0800 Subject: [PATCH] 客户标签;测试记录优化 --- WarM/条码打印/Gy_BarCodeBill_Rework.cs | 11 ++++------- 1 files changed, 4 insertions(+), 7 deletions(-) diff --git "a/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_BarCodeBill_Rework.cs" "b/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_BarCodeBill_Rework.cs" index 985e9f9..081fe4b 100644 --- "a/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_BarCodeBill_Rework.cs" +++ "b/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_BarCodeBill_Rework.cs" @@ -666,13 +666,10 @@ } if (HBarCodeType == "鍞竴鏉$爜") { - //鏉$爜缂栧彿 = 鏉$爜鍓嶇紑 + 娴佹按鍙� - TM = sTMNumber + LSH2; - - //鏉$爜鍓嶇紑 = 缁勭粐浠g爜 + 鐗╂枡浠g爜 + 骞� + 鏈� + 鏃� - sTMNumber = HOrgNumber + sMaterID + sYear + sPeriod + sDay; - Ds = oCn.RunProcReturn("exec h_p_WMS_GetMaxNo '" + sTMNumber + "'", "h_p_WMS_GetMaxNo"); //鑾峰彇鏈�澶ф祦姘村彿 - LSH = ClsPub.isLong(Ds.Tables[0].Rows[0][0]); + Int32 HModelLen = grdMain.Rows[j].Cells[HMaterModelCol].Value.ToString().Length; + string HModelLeft = HModelLen >= 4 ? grdMain.Rows[j].Cells[HMaterModelCol].Value.ToString() : ""; + //鏉$爜缂栧彿 = 宸ュ巶浠g爜锛�1锛� + 骞� + 杞﹂棿浠g爜锛�060113锛� + 鏈� + 鍨嬪彿 + 鏃� + 娴佹按鍙� + TM = 1 + sYear + 060113 + sPeriod + HModelLeft + sDay + LSH; } HEntryID = j + 1; -- Gitblit v1.9.1