From 9a57bbd29474478a19d0f406857f79843d3d49a4 Mon Sep 17 00:00:00 2001
From: yxj <1qaz@123>
Date: 星期四, 16 九月 2021 15:22:42 +0800
Subject: [PATCH] 销售出库、流水线入库、生产汇报、生产入库、直接调拨模块:在扫描条码的时候。将条码前面和后面的空格去除。

---
 CLOUDWEB/WebService1.asmx.cs |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/CLOUDWEB/WebService1.asmx.cs b/CLOUDWEB/WebService1.asmx.cs
index b8b62c4..22cbb2c 100644
--- a/CLOUDWEB/WebService1.asmx.cs
+++ b/CLOUDWEB/WebService1.asmx.cs
@@ -23370,6 +23370,7 @@
         //鏍规嵁鏉$爜寰楀埌鐩稿簲淇℃伅(鏉$爜妗f)
         public Model.ClsGy_BarCodeBill_WMS_Model_View get_InfoByBarCode_Source(string sBarCode,Int64 sInterID,ref bool sBool, ref string sErrMsg)
         {
+            sBarCode = sBarCode.Trim();
             SQLHelper.ClsCN oCN = new SQLHelper.ClsCN();
             DAL.ClsGy_BarCodeBill_View dal = new DAL.ClsGy_BarCodeBill_View();
             if (dal.GetInfoByNumber_View(sBarCode))
@@ -25193,6 +25194,7 @@
         [WebMethod]
         public Model.ClsKf_ICStockBill_WMS get_CheckTypeByBarCode_MulSource(string sBarCode, Int64 HBillID, string HBillType, string HBillNo, string HMaker, Int64 HWhID, Int64 HSPID, Double HQty, bool HRedBlueFlag, string HSourceBillType, Int64 HOWNERID, bool sXFFlag, bool sJDPFlag, ref string sErrMsg)
         {
+            sBarCode = sBarCode.Trim();
             SQLHelper.ClsCN oCn = new SQLHelper.ClsCN();
             Model.ClsKf_ICStockBill_WMS oBar = new Model.ClsKf_ICStockBill_WMS();
 
@@ -26376,6 +26378,7 @@
             Int64 sHDeptID = 0;
             string sHDeptName = "";
             string sHBarType = "";
+            sBarCode = sBarCode.Trim();
 
             //鑾峰彇绯荤粺鍙傛暟
             Pub_Class.ClsXt_SystemParameter oSystemParameter = new Pub_Class.ClsXt_SystemParameter();
@@ -27158,6 +27161,7 @@
         [WebMethod]
         public Model.ClsKf_ICStockBill_WMS get_CheckTypeByBarCode_Caiji(string sBarCode, Int64 HBillID, string HBillType, string HBillNo, string HMaker, Int64 HWhID, Int64 HSPID, bool HRedBlueFlag, string HSourceBillType, Int64 HOWNERID, ref string sErrMsg)
         {
+            sBarCode = sBarCode.Trim();
             SQLHelper.ClsCN oCn = new SQLHelper.ClsCN();
             Model.ClsKf_ICStockBill_WMS oBar = new Model.ClsKf_ICStockBill_WMS();
 

--
Gitblit v1.9.1