From e6c64e7af60d51318cdfec5b62e8836b7cdc3a13 Mon Sep 17 00:00:00 2001
From: wtt <1985833171@qq.com>
Date: 星期三, 30 七月 2025 14:05:17 +0800
Subject: [PATCH] 1

---
 WarM/条码打印/Gy_CusBarCodeBill_KaiBei_LangChao.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 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 003b41e..c4c4fac 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"
@@ -659,8 +659,8 @@
                 int HBQty = 0;              //鍐呯鏁�
                 double HWMinQty = 0;        //澶栫鏈�灏忓寘瑁呮暟
                 int HWBQty = 0;             //澶栫鏁�
-                int LSH = 0;                //鍐呯娴佹按鍙�
-                int LWSH = 0;               //澶栫娴佹按鍙�
+                Int64 LSH = 0;              //鍐呯娴佹按鍙�
+                Int64 LWSH = 0;             //澶栫娴佹按鍙�
                 string LSH2 = "";           //娴佹按鍙疯浆鎹㈡垚瀛楃
                 string HCode1 = "";         //鐗╂枡绫诲埆
                 string HCode2 = "";         //鎵规浣�
@@ -754,7 +754,7 @@
                         Ds = oCn.RunProcReturn("select top 1 HSno from Gy_BarCodeBill_Cus where HBatchNo='" + HBatchNo + "' order by HSno desc", "Gy_BarCodeBill_Cus");
                         if (Ds != null && Ds.Tables[0].Rows.Count != 0)
                         {
-                            LSH = ClsPub.isInt(Ds.Tables[0].Rows[0][0]);
+                            LSH = ClsPub.isLong(Ds.Tables[0].Rows[0][0]);
                         }
 
                         HBQty = ClsPub.isInt(grdMain.Rows[j].Cells[HBQtyCol].Value);
@@ -856,7 +856,7 @@
                         //鏉$爜鍓嶇紑 = 渚涘簲鍟嗕唬鐮� + 骞� + 鏈� + 鏃�
                         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]);
+                        LWSH = ClsPub.isLong(Ds.Tables[0].Rows[0][0]);
 
                         HWBQty = ClsPub.isInt(grdMain.Rows[j].Cells[HWBQtyCol].Value);
                         HWMinQty = ClsPub.isDoule(grdMain.Rows[j].Cells[HWMinQtyCol].Value);

--
Gitblit v1.9.1