From 99a2c28e1eef5e0da651b8e964d135d96ca2fa1f Mon Sep 17 00:00:00 2001
From: yxj <yxj@hz-kingdee.com>
Date: 星期一, 03 七月 2023 15:16:31 +0800
Subject: [PATCH] 称重入库模块优化

---
 LMES/ClsShowMod.cs             |    4 ++--
 WarM/条码打印/Kf_WeighToBarCode.cs |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/LMES/ClsShowMod.cs b/LMES/ClsShowMod.cs
index e25e5e0..65f73e7 100644
--- a/LMES/ClsShowMod.cs
+++ b/LMES/ClsShowMod.cs
@@ -3641,8 +3641,8 @@
                         break;
                     case "kf_weightobarcode":
                         //
-                        Kf_WeighToBarCode Kf_WeighToBarCode = new Kf_WeighToBarCode();
-                        Kf_WeighToBarCode.ShowDialog();
+                        Kf_WeighToBarCode oKf_WeighToBarCode = new Kf_WeighToBarCode();
+                        oKf_WeighToBarCode.ShowDialog();
                         break;
                     case "kf_barcodeoutinreport":
                         //权限
diff --git "a/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Kf_WeighToBarCode.cs" "b/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Kf_WeighToBarCode.cs"
index 2d1d3ef..ebd84cf 100644
--- "a/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Kf_WeighToBarCode.cs"
+++ "b/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Kf_WeighToBarCode.cs"
@@ -607,7 +607,7 @@
                 oCn.RunProc("exec h_p_WMS_SetMaxNo_QTY '" + sTMNumber + "',1 ");
 
                 //鍥炲~婧愬崟涓存椂琛℉InterID
-                oCn.RunProc("update a set a.HInterID=" + HInterID.ToString() + " from KF_WeighSource_Temp a where a.HInterID<>" + HInterID.ToString() + " and a.HMaker='" + HMaker + "' and convert(varchar(10),a.HMakeDate,120)=convert(varchar(10),getdate(),120)");
+                oCn.RunProc("update a set a.HInterID=" + HInterID.ToString() + ",a.HBillNo='" + HBillNo + "' from KF_WeighSource_Temp a where a.HInterID<>" + HInterID.ToString() + " and a.HMaker='" + HMaker + "' and convert(varchar(10),a.HMakeDate,120)=convert(varchar(10),getdate(),120)");
 
                 //鍐欏叆鏉$爜鍑哄叆搴撲复鏃惰〃
                 oCn.RunProc("Insert into KF_PonderationBillMain_Temp " +

--
Gitblit v1.9.1