From 957b51cfdeb4374d817086a2ca761c75545e206d Mon Sep 17 00:00:00 2001
From: wtt <1985833171@qq.com>
Date: 星期四, 28 十一月 2024 16:59:56 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API

---
 WebAPI/Properties/Settings.settings                              |    2 
 WebAPI/Web References/WebS/WebService1.wsdl                      |  498 +++++--
 WarM/条码打印/Gy_CusBarCodeBill_KaiBei_LangChao.cs                   |    4 
 Pub_Class/CustomerCls/ClsXt_SystemParameter.cs                   |  125 +
 WebAPI/Controllers/CJGL/Cj_SingleStationController.cs            |   18 
 WebAPI/Controllers/条码管理/WEBSController.cs                        |  288 ++++
 LMES/DingDing_autoGetData.cs                                     |   10 
 Pub_Class/CustomerCls/ClsXt_SystemParameterMain.cs               |   17 
 WebAPI/Web References/WebS/Reference.map                         |    4 
 WebAPI/Web References/WebS/WebService1.disco                     |    6 
 WebAPI/Web References/WebS/Reference.cs                          | 2825 +++++++++++++++++++++++++++--------------
 WebAPI/Web.config                                                |   26 
 WebAPI/Properties/Settings.Designer.cs                           |    2 
 WebAPI/Controllers/数据同步/钉钉同步/DD_DataSynchronizationController.cs |  222 ++
 WebAPI/WebAPI.csproj                                             |    8 
 15 files changed, 2,847 insertions(+), 1,208 deletions(-)

diff --git a/LMES/DingDing_autoGetData.cs b/LMES/DingDing_autoGetData.cs
index 8e9b291..c965687 100644
--- a/LMES/DingDing_autoGetData.cs
+++ b/LMES/DingDing_autoGetData.cs
@@ -58,11 +58,6 @@
                     return false;
                 }
 
-                if (obj.getData_HuaMingCe(ref msg) == false)
-                {
-                    return false;
-                }
-
                 //璁惧缁翠慨璁板綍鍗�
                 if (obj.getData_EquipRepairWeiXiu(ref msg) == false)
                 {
@@ -74,6 +69,11 @@
                     return false;
                 }
 
+                if (obj.getData_HuaMingCe(ref msg) == false)
+                {
+                    return false;
+                }
+
                 return true;
             }
             catch (Exception e)
diff --git a/Pub_Class/CustomerCls/ClsXt_SystemParameter.cs b/Pub_Class/CustomerCls/ClsXt_SystemParameter.cs
index b0a9f09..ab688e5 100644
--- a/Pub_Class/CustomerCls/ClsXt_SystemParameter.cs
+++ b/Pub_Class/CustomerCls/ClsXt_SystemParameter.cs
@@ -211,6 +211,23 @@
                     {
                         omodel.Kf_POStockInBill_DeleterAndMakerMustSame = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
                     }
+                    //============采购入库单  校验
+                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_POStockInBillCheck_MustQtyCtl")
+                    {
+                        omodel.Kf_POStockInBillCheck_MustQtyCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+                    }
+                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_POStockInBillCheck_WHSPCtl")
+                    {
+                        omodel.Kf_POStockInBillCheck_WHSPCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+                    }
+                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_POStockInBillCheck_MultilineCtl")
+                    {
+                        omodel.Kf_POStockInBillCheck_MultilineCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+                    }
+                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_POStockInBillCheck_SourceBarCodeCtl")
+                    {
+                        omodel.Kf_POStockInBillCheck_SourceBarCodeCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+                    }
 
                     //=======================================产品入库单
                     if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_ProductInBill_AutoCheck")
@@ -262,6 +279,24 @@
                     {
                         omodel.Kf_ProductInBill_DeleterAndMakerMustSame = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
                     }
+                    //============产品入库单  校验
+                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_ProductInBillCheck_MustQtyCtl")
+                    {
+                        omodel.Kf_ProductInBillCheck_MustQtyCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+                    }
+                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_ProductInBillCheck_WHSPCtl")
+                    {
+                        omodel.Kf_ProductInBillCheck_WHSPCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+                    }
+                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_ProductInBillCheck_MultilineCtl")
+                    {
+                        omodel.Kf_ProductInBillCheck_MultilineCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+                    }
+                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_ProductInBillCheck_SourceBarCodeCtl")
+                    {
+                        omodel.Kf_ProductInBillCheck_SourceBarCodeCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+                    }
+
                     //=======================================================其他入库单
                     if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_OtherInBill_AutoCheck")
                     {
@@ -321,6 +356,10 @@
                     if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_OtherInBillCheck_MultilineCtl")
                     {
                         omodel.Kf_OtherInBillCheck_MultilineCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+                    }
+                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_OtherInBillCheck_SourceBarCodeCtl")
+                    {
+                        omodel.Kf_OtherInBillCheck_SourceBarCodeCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
                     }
 
                     //==============================================委外入库单
@@ -440,6 +479,10 @@
                     if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_MateOutBillCheck_MultilineCtl")
                     {
                         omodel.Kf_MateOutBillCheck_MultilineCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+                    }
+                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_MateOutBillCheck_SourceBarCodeCtl")
+                    {
+                        omodel.Kf_MateOutBillCheck_SourceBarCodeCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
                     }
 
                     //=======================================销售出库单
@@ -588,6 +631,10 @@
                     {
                         omodel.Kf_OtherOutBillCheck_MultilineCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
                     }
+                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_OtherOutBillCheck_SourceBarCodeCtl")
+                    {
+                        omodel.Kf_OtherOutBillCheck_SourceBarCodeCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+                    }
 
                     //========================================委外出库单
                     if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_EntrustOutBill_AutoCheck")
@@ -658,6 +705,10 @@
                     {
                         omodel.Kf_EntrustOutBillCheck_MultilineCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
                     }
+                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_EntrustOutBillCheck_SourceBarCodeCtl")
+                    {
+                        omodel.Kf_EntrustOutBillCheck_SourceBarCodeCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+                    }
 
                     //=============================生产补料单
                     if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_MateReplenishOutBill_AutoCheck")
@@ -722,6 +773,10 @@
                     {
                         omodel.Kf_MateReplenishOutBillCheck_MultilineCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
                     }
+                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_MateReplenishOutBillCheck_SourceBarCodeCtl")
+                    {
+                        omodel.Kf_MateReplenishOutBillCheck_SourceBarCodeCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+                    }
 
                     //================================委外补料单
                     if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_EntrustReplenishOutBill_AutoCheck")
@@ -785,6 +840,10 @@
                     if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_EntrustReplenishOutBillCheck_MultilineCtl")
                     {
                         omodel.Kf_EntrustReplenishOutBillCheck_MultilineCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+                    }
+                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_EntrustReplenishOutBillCheck_SourceBarCodeCtl")
+                    {
+                        omodel.Kf_EntrustReplenishOutBillCheck_SourceBarCodeCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
                     }
 
                     //==================直接调拨单
@@ -853,6 +912,10 @@
                     if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_MoveStockBillCheck_MultilineCtl")
                     {
                         omodel.Kf_MoveStockBillCheck_MultilineCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+                    }
+                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_MoveStockBillCheck_SourceBarCodeCtl")
+                    {
+                        omodel.Kf_MoveStockBillCheck_SourceBarCodeCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
                     }
 
                     //==============================================分步式调出单
@@ -2181,6 +2244,23 @@
                     {
                         omodel.Kf_POStockInBill_DeleterAndMakerMustSame = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
                     }
+                    //============采购入库单  校验
+                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_POStockInBillCheck_MustQtyCtl")
+                    {
+                        omodel.Kf_POStockInBillCheck_MustQtyCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+                    }
+                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_POStockInBillCheck_WHSPCtl")
+                    {
+                        omodel.Kf_POStockInBillCheck_WHSPCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+                    }
+                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_POStockInBillCheck_MultilineCtl")
+                    {
+                        omodel.Kf_POStockInBillCheck_MultilineCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+                    }
+                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_POStockInBillCheck_SourceBarCodeCtl")
+                    {
+                        omodel.Kf_POStockInBillCheck_SourceBarCodeCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+                    }
 
                     //===========产品入库单
                     if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_ProductInBill_AutoCheck")
@@ -2231,6 +2311,23 @@
                     if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_ProductInBill_DeleterAndMakerMustSame")
                     {
                         omodel.Kf_ProductInBill_DeleterAndMakerMustSame = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+                    }
+                    //============产品入库单  校验
+                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_ProductInBillCheck_MustQtyCtl")
+                    {
+                        omodel.Kf_ProductInBillCheck_MustQtyCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+                    }
+                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_ProductInBillCheck_WHSPCtl")
+                    {
+                        omodel.Kf_ProductInBillCheck_WHSPCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+                    }
+                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_ProductInBillCheck_MultilineCtl")
+                    {
+                        omodel.Kf_ProductInBillCheck_MultilineCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+                    }
+                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_ProductInBillCheck_SourceBarCodeCtl")
+                    {
+                        omodel.Kf_ProductInBillCheck_SourceBarCodeCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
                     }
 
                     //=========其他入库单
@@ -2291,6 +2388,10 @@
                     if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_OtherInBillCheck_MultilineCtl")
                     {
                         omodel.Kf_OtherInBillCheck_MultilineCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+                    }
+                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_OtherInBillCheck_SourceBarCodeCtl")
+                    {
+                        omodel.Kf_OtherInBillCheck_SourceBarCodeCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
                     }
 
                     //=========委外入库单
@@ -2405,6 +2506,10 @@
                     if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_MateOutBillCheck_MultilineCtl")
                     {
                         omodel.Kf_MateOutBillCheck_MultilineCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+                    }
+                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_MateOutBillCheck_SourceBarCodeCtl")
+                    {
+                        omodel.Kf_MateOutBillCheck_SourceBarCodeCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
                     }
 
                     //============销售出库单
@@ -2550,6 +2655,10 @@
                     {
                         omodel.Kf_OtherOutBillCheck_MultilineCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
                     }
+                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_OtherOutBillCheck_SourceBarCodeCtl")
+                    {
+                        omodel.Kf_OtherOutBillCheck_SourceBarCodeCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+                    }
 
                     //==========委外出库单
                     if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_EntrustOutBill_AutoCheck")
@@ -2618,6 +2727,10 @@
                     {
                         omodel.Kf_EntrustOutBillCheck_MultilineCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
                     }
+                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_EntrustOutBillCheck_SourceBarCodeCtl")
+                    {
+                        omodel.Kf_EntrustOutBillCheck_SourceBarCodeCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+                    }
 
                     //===========生产补料单
                     if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_MateReplenishOutBill_AutoCheck")
@@ -2682,6 +2795,10 @@
                     {
                         omodel.Kf_MateReplenishOutBillCheck_MultilineCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
                     }
+                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_MateReplenishOutBillCheck_SourceBarCodeCtl")
+                    {
+                        omodel.Kf_MateReplenishOutBillCheck_SourceBarCodeCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+                    }
 
                     //===========委外补料单
                     if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_EntrustReplenishOutBill_AutoCheck")
@@ -2745,6 +2862,10 @@
                     if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_EntrustReplenishOutBillCheck_MultilineCtl")
                     {
                         omodel.Kf_EntrustReplenishOutBillCheck_MultilineCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+                    }
+                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_EntrustReplenishOutBillCheck_SourceBarCodeCtl")
+                    {
+                        omodel.Kf_EntrustReplenishOutBillCheck_SourceBarCodeCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
                     }
 
                     //=========直接调拨单
@@ -2814,6 +2935,10 @@
                     {
                         omodel.Kf_MoveStockBillCheck_MultilineCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
                     }
+                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_MoveStockBillCheck_SourceBarCodeCtl")
+                    {
+                        omodel.Kf_MoveStockBillCheck_SourceBarCodeCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+                    }
 
                     //============分步式调出单
                     if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_MoveStockStepOutBill_AutoCheck")
diff --git a/Pub_Class/CustomerCls/ClsXt_SystemParameterMain.cs b/Pub_Class/CustomerCls/ClsXt_SystemParameterMain.cs
index e460fcc..9dc8a3e 100644
--- a/Pub_Class/CustomerCls/ClsXt_SystemParameterMain.cs
+++ b/Pub_Class/CustomerCls/ClsXt_SystemParameterMain.cs
@@ -47,6 +47,11 @@
         public string Kf_POStockInBill_SourceWHSPCtl;   //是否取源单中仓库仓位('Y'为是)
         public string Kf_POStockInBill_AutoBarCode;     //免扫码模式,条码类型为非唯一条码,上传时自动生成条码扫码记录
         public string Kf_POStockInBill_DeleterAndMakerMustSame;    //采购入库单暂存删除人必须是制单人
+        //采购入库  校验
+        public string Kf_POStockInBillCheck_MustQtyCtl;   //校验数量控制
+        public string Kf_POStockInBillCheck_WHSPCtl;      //校验-是否校对仓库仓位
+        public string Kf_POStockInBillCheck_MultilineCtl; //校验-多行相同物料自动拆分换行匹配
+        public string Kf_POStockInBillCheck_SourceBarCodeCtl;   //校验-是否进行源单对应条码核对('Y'为核对)
 
         //产品入库
         public string Kf_ProductInBill_AutoCheck;       //保存后是否自动审核
@@ -62,6 +67,11 @@
         public string Kf_ProductInBill_SourceWHSPCtl;   //是否取源单中仓库仓位('Y'为是)
         public string Kf_ProductInBill_Display;         //扫描物料条码后是否自动刷新子表界面('Y'为是)
         public string Kf_ProductInBill_DeleterAndMakerMustSame;    //产品入库单暂存删除人必须是制单人
+        //产品入库  校验
+        public string Kf_ProductInBillCheck_MustQtyCtl;   //校验数量控制
+        public string Kf_ProductInBillCheck_WHSPCtl;      //校验-是否校对仓库仓位
+        public string Kf_ProductInBillCheck_MultilineCtl; //校验-多行相同物料自动拆分换行匹配
+        public string Kf_ProductInBillCheck_SourceBarCodeCtl;   //校验-是否进行源单对应条码核对('Y'为核对)
 
         //其他入库
         public string Kf_OtherInBill_AutoCheck;       //保存后是否自动审核
@@ -80,6 +90,7 @@
         public string Kf_OtherInBillCheck_MustQtyCtl;   //校验数量控制
         public string Kf_OtherInBillCheck_WHSPCtl;      //校验-是否校对仓库仓位
         public string Kf_OtherInBillCheck_MultilineCtl; //校验-多行相同物料自动拆分换行匹配
+        public string Kf_OtherInBillCheck_SourceBarCodeCtl;   //校验-是否进行源单对应条码核对('Y'为核对)
 
         //委外入库
         public string Kf_EntrustInBill_AutoCheck;       //保存后是否自动审核
@@ -115,6 +126,7 @@
         public string Kf_MateOutBillCheck_MustQtyCtl;   //校验数量控制
         public string Kf_MateOutBillCheck_WHSPCtl;      //校验-是否校对仓库仓位
         public string Kf_MateOutBillCheck_MultilineCtl; //校验-多行相同物料自动拆分换行匹配
+        public string Kf_MateOutBillCheck_SourceBarCodeCtl;   //校验-是否进行源单对应条码核对('Y'为核对)
 
         //销售出库
         public string Kf_SellOutBill_AutoCheck;             //保存后是否自动审核
@@ -157,6 +169,7 @@
         public string Kf_OtherOutBillCheck_MustQtyCtl;   //校验数量控制
         public string Kf_OtherOutBillCheck_WHSPCtl;      //校验-是否校对仓库仓位
         public string Kf_OtherOutBillCheck_MultilineCtl; //校验-多行相同物料自动拆分换行匹配
+        public string Kf_OtherOutBillCheck_SourceBarCodeCtl;   //校验-是否进行源单对应条码核对('Y'为核对)
 
         //委外出库
         public string Kf_EntrustOutBill_AutoCheck;       //保存后是否自动审核
@@ -177,6 +190,7 @@
         public string Kf_EntrustOutBillCheck_MustQtyCtl;   //校验数量控制
         public string Kf_EntrustOutBillCheck_WHSPCtl;      //校验-是否校对仓库仓位
         public string Kf_EntrustOutBillCheck_MultilineCtl; //校验-多行相同物料自动拆分换行匹配
+        public string Kf_EntrustOutBillCheck_SourceBarCodeCtl;   //校验-是否进行源单对应条码核对('Y'为核对)
 
         //生产补料
         public string Kf_MateReplenishOutBill_AutoCheck;       //保存后是否自动审核
@@ -196,6 +210,7 @@
         public string Kf_MateReplenishOutBillCheck_MustQtyCtl;   //校验数量控制
         public string Kf_MateReplenishOutBillCheck_WHSPCtl;      //校验-是否校对仓库仓位
         public string Kf_MateReplenishOutBillCheck_MultilineCtl; //校验-多行相同物料自动拆分换行匹配
+        public string Kf_MateReplenishOutBillCheck_SourceBarCodeCtl;   //校验-是否进行源单对应条码核对('Y'为核对)
 
         //委外补料
         public string Kf_EntrustReplenishOutBill_AutoCheck;       //保存后是否自动审核
@@ -215,6 +230,7 @@
         public string Kf_EntrustReplenishOutBillCheck_MustQtyCtl;   //校验数量控制
         public string Kf_EntrustReplenishOutBillCheck_WHSPCtl;      //校验-是否校对仓库仓位
         public string Kf_EntrustReplenishOutBillCheck_MultilineCtl; //校验-多行相同物料自动拆分换行匹配
+        public string Kf_EntrustReplenishOutBillCheck_SourceBarCodeCtl;   //校验-是否进行源单对应条码核对('Y'为核对)
 
         //直接调拨
         public string Kf_MoveStockBill_AutoCheck;       //保存后是否自动审核
@@ -235,6 +251,7 @@
         public string Kf_MoveStockBillCheck_MustQtyCtl;     //校验数量控制
         public string Kf_MoveStockBillCheck_WHSPCtl;        //校验-是否校对仓库仓位
         public string Kf_MoveStockBillCheck_MultilineCtl;   //校验-多行相同物料自动拆分换行匹配
+        public string Kf_MoveStockBillCheck_SourceBarCodeCtl;   //校验-是否进行源单对应条码核对('Y'为核对)
 
         //分步式调出单
         public string Kf_MoveStockStepOutBill_AutoCheck;       //保存后是否自动审核
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]);
 
diff --git a/WebAPI/Controllers/CJGL/Cj_SingleStationController.cs b/WebAPI/Controllers/CJGL/Cj_SingleStationController.cs
index 076d216..eddce9c 100644
--- a/WebAPI/Controllers/CJGL/Cj_SingleStationController.cs
+++ b/WebAPI/Controllers/CJGL/Cj_SingleStationController.cs
@@ -322,9 +322,23 @@
                     objJsonResult.data = null;
                     return objJsonResult;
                 }
-
+                string HProcID = "0";
                 ds = oCN.RunProcReturn("select * from gy_czygl WITH(NOLOCK) where czymc='" + user + "'", "gy_czygl");
-                string HProcID = ds.Tables[0].Rows[0]["HProcID"].ToString();
+                if (ds.Tables[0].Rows.Count > 0)
+                {
+                    HProcID = ds.Tables[0].Rows[0]["HProcID"].ToString();
+                }
+
+                //鍒ゆ柇褰撳墠娴佽浆鍗℃槸鍚︽槸寮�宸�
+                ds = oCN.RunProcReturn("select  * from Sc_ICMOBillStatus_Tmp where HSourceBillNo='" + HBarCode + "' and HICMOStatus='1'", "Sc_ICMOBillStatus_Tmp");
+                if (ds.Tables[0].Rows.Count == 0)
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "鍗″彿:" + HBarCode + ",娴佽浆鍗℃湭寮�宸�!";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
 
                 ds = oCN.RunProcReturn(@"exec h_p_Gy_BarCodeBillBomList '" + HBarCode + "'," + HProcID, "h_p_Gy_BarCodeBillBomList");
                 if (ds.Tables[0].Rows.Count == 0)
diff --git "a/WebAPI/Controllers/\346\225\260\346\215\256\345\220\214\346\255\245/\351\222\211\351\222\211\345\220\214\346\255\245/DD_DataSynchronizationController.cs" "b/WebAPI/Controllers/\346\225\260\346\215\256\345\220\214\346\255\245/\351\222\211\351\222\211\345\220\214\346\255\245/DD_DataSynchronizationController.cs"
index 0e23243..d7adea1 100644
--- "a/WebAPI/Controllers/\346\225\260\346\215\256\345\220\214\346\255\245/\351\222\211\351\222\211\345\220\214\346\255\245/DD_DataSynchronizationController.cs"
+++ "b/WebAPI/Controllers/\346\225\260\346\215\256\345\220\214\346\255\245/\351\222\211\351\222\211\345\220\214\346\255\245/DD_DataSynchronizationController.cs"
@@ -536,25 +536,29 @@
         #region 鑾峰彇 閽夐拤-鏅鸿兘浜轰簨 鑾峰彇鍦ㄨ亴鍛樺伐ID鍒楄〃
         public bool getEmployeeIDList_DingDing(long offset, long size, ref List<string> IDList, ref string msg)
         {
+            LogService.Write("鏌ョ湅5-1-1");
             OapiSmartworkHrmEmployeeQueryonjobResponse response = new OapiSmartworkHrmEmployeeQueryonjobResponse();
             do
             {
                 if (getEmployeeIDList_Page_DingDing(offset, size, ref response, ref msg) == false)
                 {
+                    LogService.Write("鏌ョ湅5-1-2");
                     return false;
                 }
-
+                LogService.Write("鏌ョ湅5-1-3");
                 for (int i = 0; i < response.Result.DataList.Count; i++)
                 {
                     IDList.Add(response.Result.DataList[i]);
                 }
-
+                LogService.Write("鏌ョ湅5-1-4");
                 if (response.Result.NextCursor != 0)
                 {
+                    LogService.Write("鏌ョ湅5-1-4-1");
                     offset = response.Result.NextCursor;
                 }
                 else
                 {
+                    LogService.Write("鏌ョ湅5-1-5");
                     break;
                 }
             } while (true);
@@ -1098,6 +1102,7 @@
                             lsmain.Add(oItem);
                         }catch(Exception e)
                         {
+                            LogService.Write("鏌ョ湅1" + e.Message);
                             continue;
                         }
                     }
@@ -1134,7 +1139,7 @@
             string formUuid = "FORM-A01FFB0B63A34F18B7753F695F49190DJEY7";              //绛惧埌琛�
             int pageNumber = 1;
             int pageSize = 100;
-
+            LogService.Write("鏌ョ湅1");
             //鑾峰彇鍒嗗眰瀹℃牳琛ㄧ殑瀹炰緥ID鍒楄〃
             List<string> IDList = new List<string>();
             if (getInstanceIDList_YiDa(appType, systemToken, userID, formUuid, pageNumber, pageSize, ref IDList, ref msg) == false)
@@ -1341,6 +1346,7 @@
                             lsmain.Add(oItem);
                         }catch(Exception e)
                         {
+                            LogService.Write("鏌ョ湅2"+e.Message);
                             continue;
                         }
                     }
@@ -1372,7 +1378,7 @@
             string formUuid = "FORM-E3DFC12364514330A836DD3056C15668UGG7";
             int pageNumber = 1;
             int pageSize = 100;
-
+            LogService.Write("鏌ョ湅2");
             //鑾峰彇瀹炰緥ID鍒楄〃
             List<string> IDList = new List<string>();
             if (getInstanceIDList_YiDa(appType, systemToken, userID, formUuid, pageNumber, pageSize, ref IDList, ref msg) == false)
@@ -1610,6 +1616,7 @@
                         }
                         catch (Exception e)
                         {
+                            LogService.Write("鏌ョ湅3"+e.Message);
                             continue;
                         }
                     }
@@ -1641,7 +1648,7 @@
             string formUuid = "FORM-K5766HA1CKZB4E1L64Y1KBWCJTQF2HWJ3NDJL4";
             int pageNumber = 1;
             int pageSize = 100;
-
+            LogService.Write("鏌ョ湅3");
             //鑾峰彇瀹炰緥ID鍒楄〃
             List<string> IDList = new List<string>();
             if (getInstanceIDList_YiDa(appType, systemToken, userID, formUuid, pageNumber, pageSize, ref IDList, ref msg) == false)
@@ -1913,6 +1920,7 @@
                         }
                         catch (Exception e)
                         {
+                            LogService.Write("鏌ョ湅4"+e.Message);
                             continue;
                         }
                     }
@@ -1944,7 +1952,7 @@
             string formUuid = "FORM-65AD77453E7F44EA847166C3AB5A1F04IPSS";
             int pageNumber = 1;
             int pageSize = 100;
-
+            LogService.Write("鏌ョ湅4");
             //鑾峰彇瀹炰緥ID鍒楄〃
             List<string> IDList = new List<string>();
             if (getInstanceIDList_YiDa(appType, systemToken, userID, formUuid, pageNumber, pageSize, ref IDList, ref msg) == false)
@@ -2158,6 +2166,7 @@
                         }
                         catch (Exception e)
                         {
+                            LogService.Write("鏌ョ湅5"+e.Message);
                             continue;
                         }
                     }
@@ -2189,14 +2198,16 @@
         {
             long offset = 0;
             long size = 50;
-
+            LogService.Write("鏌ョ湅5");
+            LogService.Write("鏌ョ湅5.1");
             //鑾峰彇鑺卞悕鍐岃亴鍛業D鍒楄〃
             List<string> IDList = new List<string>();
             if (getEmployeeIDList_DingDing(offset, size, ref IDList, ref msg) == false)
             {
+                LogService.Write("鏌ョ湅5-1"+ msg);
                 return false;
             }
-
+            LogService.Write("鏌ョ湅5-2");
             //鑾峰彇璇︾粏淇℃伅骞堕檮鍔犲埌鍒楄〃lsmain涓�
             List<DD_HuaMingCe> lsmain = new List<DD_HuaMingCe>();
             if (getEmployeeDetailList_HuaMingCe__DingDing(IDList, ref lsmain, ref msg) == false)
@@ -2205,6 +2216,7 @@
             }
             try
             {
+                LogService.Write("鏌ョ湅5-3");
                 oCN.BeginTran();
                 foreach (DD_HuaMingCe oItem in lsmain)
                 {
@@ -2229,12 +2241,14 @@
 
                     oCN.RunProc(sql_main);
                 }
+                LogService.Write("鏌ョ湅5-4");
                 oCN.Commit();
                 return true;
             }
             catch (Exception e)
             {
                 msg = e.Message;
+                LogService.Write("鏌ョ湅5鎶ラ敊:" + e.Message);
                 oCN.RollBack();
                 return false;
             }
@@ -2294,11 +2308,88 @@
                             {
                                 continue;
                             }
+                            string HStaus = "";
+
+                            switch (getInstanceByIdResponse.Body.InstanceStatus)
+                            {
+                                case "COMPLETED":
+                                    HStaus = "缁翠慨缁撴潫";
+                                    break;
+                                case "RUNNING":
+                                    HStaus = "缁翠慨杩涜涓�";
+                                    break;
+                                case "TERMINATED":
+                                    HStaus = "缁翠慨缁堟";
+                                    break;
+                            }
+
+                            LogService.Write("鐘舵��:" + HStaus);
 
                             if (getInstanceByIdResponse.Body.InstanceStatus != "COMPLETED")
                             {
+                                //妯″叿缂栫爜
+                                if (keys.Contains("selectField_lq3idkvg"))
+                                {
+                                    string HDate_Temp = response.Body.Result[i].FormData["selectField_lq3idkvg"].ToString();
+                                    LogService.Write("妯″叿:" + HDate_Temp);
+                                    DataSet ds = oCN.RunProcReturn("select * from Gy_MouldFileMain with(nolock)  where HMouldNo='" + HDate_Temp + "'", "Gy_MouldFileMain");
+                                    string HMouldID = "0";
+                                    if (ds.Tables[0].Rows.Count > 0)
+                                    {
+                                        LogService.Write("娴嬭瘯1:" + ds.Tables[0].Rows[0]["HCloseDate"].ToString());
+                                        string HUpdateDate = ds.Tables[0].Rows[0]["HCloseDate"].ToString() == "" ? "1900-01-01 00:00:00" : ds.Tables[0].Rows[0]["HCloseDate"].ToString();
+                                        string HMouldStaus = ds.Tables[0].Rows[0]["HMouldStatus"].ToString();
+                                        LogService.Write("妯″叿:" + HDate_Temp + ",鐘舵��:" + HMouldStaus + ",鏃堕棿:" + HUpdateDate);
+                                        HMouldID = ds.Tables[0].Rows[0]["HInterID"].ToString();
+                                        if (HMouldStaus != HStaus && DateTime.Parse(HUpdateDate) <= DateTime.Parse(oItem.HUpdateDate)) {
+                                            //淇敼妯″叿鐨勭姸鎬佸拰鏃堕棿
+                                            oCN.RunProc("update Gy_MouldFileMain set HMouldStatus='" + HStaus + "',HCloseDate='" + oItem.HUpdateDate + "' WHERE HInterID =" + HMouldID);
+                                        }
+                                    }
+                                }
+
                                 continue;
                             }
+
+                            //妯″叿缂栫爜
+                            if (keys.Contains("selectField_lq3idkvg"))
+                            {
+                                string HDate_Temp = response.Body.Result[i].FormData["selectField_lq3idkvg"].ToString();
+                                LogService.Write("妯″叿:" + HDate_Temp);
+                                DataSet ds = oCN.RunProcReturn("select * from Gy_MouldFileMain with(nolock)  where HMouldNo='" + HDate_Temp + "'", "Gy_MouldFileMain");
+                                string HMouldID = "0";
+                                if (ds.Tables[0].Rows.Count > 0)
+                                {
+                                    LogService.Write("娴嬭瘯2:" + ds.Tables[0].Rows[0]["HCloseDate"].ToString());
+                                    HMouldID = ds.Tables[0].Rows[0]["HInterID"].ToString();
+                                    string HUpdateDate = ds.Tables[0].Rows[0]["HCloseDate"].ToString() == "" ? "1900-01-01 00:00:00" : ds.Tables[0].Rows[0]["HCloseDate"].ToString();
+                                
+                                    string HMouldStaus = ds.Tables[0].Rows[0]["HMouldStatus"].ToString();
+                                  
+                                    LogService.Write("妯″叿:" + HDate_Temp+ ",鐘舵��:" + HMouldStaus + ",鏃堕棿:" + HUpdateDate);
+                                    if (HMouldStaus != HStaus && DateTime.Parse(HUpdateDate) <= DateTime.Parse(oItem.HUpdateDate))
+                                    {
+                                        //淇敼妯″叿鐨勭姸鎬佸拰鏃堕棿
+                                        oCN.RunProc("update Gy_MouldFileMain set HMouldStatus='" + HStaus + "',HCloseDate='" + oItem.HUpdateDate + "' WHERE HInterID =" + HMouldID);
+                                    }
+                                }
+                                oItem.HMouldID = long.Parse(HMouldID);
+                                oItem.HRemark = HDate_Temp;
+                                //LogService.Write("娴嬭瘯3:" + HMouldID);
+
+                                //鏌ヨ淇濆吇璁″垝
+                                ds = oCN.RunProcReturn(@"select  a.HInterID,a.HBillNo from  Sc_MouldMaintainPlanBillMain a
+                                    inner join Sc_MouldMaintainPlanBillSub b on a.HInterID = b.HInterID
+                                    where a.HMouldID =" + oItem.HMouldID+ " order by a.HMakeDate desc", "Sc_MouldMaintainPlanBillMain");
+                                //LogService.Write("娴嬭瘯4:");
+                                oItem.HPlanInterID = "";
+                                if (ds.Tables[0].Rows.Count > 0)
+                                {
+                                    oItem.HPlanInterID = ds.Tables[0].Rows[0]["HInterID"].ToString();
+                                    oItem.HPlanNo = ds.Tables[0].Rows[0]["HBillNo"].ToString();
+                                }
+                            }
+                            LogService.Write("妯″叿缂栫爜:" + oItem.HMouldID);
 
                             //寮�鍗曟棩鏈�
                             if (keys.Contains("dateField_lq0v65sv"))
@@ -2306,6 +2397,7 @@
                                 double HDate_Temp = double.Parse(response.Body.Result[i].FormData["dateField_lq0v65sv"].ToString());
                                 oItem.HDate = convertFromMillisecondsToDateString(HDate_Temp, "yyyy-MM-dd HH:mm");
                             }
+                            LogService.Write("寮�鍗曟棩鏈�:" + oItem.HDate);
 
                             //妯″叿淇濆吇绾у埆
                             if (keys.Contains("selectField_m1ip9j31"))
@@ -2330,6 +2422,7 @@
                               
                                 oItem.HMaintainLevID = HDate_Temp;
                             }
+                            LogService.Write("妯″叿淇濆吇绾у埆:" + oItem.HMaintainLevID);
 
                             //淇ā寮�濮嬫椂闂�
                             if (keys.Contains("dateField_lq4gf2ih"))
@@ -2337,6 +2430,7 @@
                                 double HDate_Temp = double.Parse(response.Body.Result[i].FormData["dateField_lq4gf2ih"].ToString());
                                 oItem.HRepairBeginDate = DateTime.Parse(convertFromMillisecondsToDateString(HDate_Temp, "yyyy-MM-dd HH:mm"));
                             }
+                            LogService.Write("淇ā寮�濮嬫椂闂�:" + oItem.HRepairBeginDate);
 
                             //淇ā缁撴潫鏃堕棿
                             if (keys.Contains("dateField_lq4gf2ii"))
@@ -2344,6 +2438,7 @@
                                 double HDate_Temp = double.Parse(response.Body.Result[i].FormData["dateField_lq4gf2ii"].ToString());
                                 oItem.HRepairEndDate = DateTime.Parse(convertFromMillisecondsToDateString(HDate_Temp, "yyyy-MM-dd HH:mm"));
                             }
+                            LogService.Write("淇ā缁撴潫鏃堕棿:" + oItem.HRepairEndDate);
 
                             //妯″叿鍗曟嵁鍙�
                             if (keys.Contains("serialNumberField_lqaak4ts"))
@@ -2351,6 +2446,7 @@
                                 string HDate_Temp = response.Body.Result[i].FormData["serialNumberField_lqaak4ts"].ToString();
                                 oItem.HBillNo = HDate_Temp;
                             }
+                            LogService.Write("妯″叿鍗曟嵁鍙�:" + oItem.HBillNo);
 
                             //瑕佹眰瀹屾垚鏃ユ湡
                             if (keys.Contains("dateField_lq3idkvd"))
@@ -2358,6 +2454,7 @@
                                 double HDate_Temp = double.Parse(response.Body.Result[i].FormData["dateField_lq3idkvd"].ToString());
                                 oItem.HRequestComDate = DateTime.Parse(convertFromMillisecondsToDateString(HDate_Temp, "yyyy-MM-dd HH:mm:ss"));
                             }
+                            LogService.Write("瑕佹眰瀹屾垚鏃ユ湡:" + oItem.HRequestComDate);
 
                             //缁翠慨鍙楃悊鏃ユ湡
                             if (keys.Contains("dateField_lq4gf2ih"))
@@ -2365,6 +2462,7 @@
                                 double HDate_Temp = double.Parse(response.Body.Result[i].FormData["dateField_lq4gf2ih"].ToString());
                                 oItem.HRepairAccepDate = DateTime.Parse(convertFromMillisecondsToDateString(HDate_Temp, "yyyy-MM-dd HH:mm:ss"));
                             }
+                            LogService.Write("缁翠慨鍙楃悊鏃ユ湡:" + oItem.HRepairAccepDate);
 
                             //鏈�杩戜繚鍏绘ā鏁�
                             if (keys.Contains("numberField_lq3idkvi"))
@@ -2372,6 +2470,7 @@
                                 string HDate_Temp = response.Body.Result[i].FormData["numberField_lq3idkvi"].ToString();
                                 oItem.HRecentMainModule = double.Parse(HDate_Temp);
                             }
+                            LogService.Write("鏈�杩戜繚鍏绘ā鏁�:" + oItem.HRecentMainModule);
 
                             //绱妯℃暟
                             if (keys.Contains("numberField_lq3idkvj"))
@@ -2379,6 +2478,7 @@
                                 string HDate_Temp = response.Body.Result[i].FormData["numberField_lq3idkvj"].ToString();
                                 oItem.HCumulativeModule = double.Parse(HDate_Temp);
                             }
+                            LogService.Write("绱妯℃暟:" + oItem.HCumulativeModule);
 
                             //鏈鐢熶骇妯℃暟
                             if (keys.Contains("textField_lq4vdvgh"))
@@ -2386,32 +2486,7 @@
                                 string HDate_Temp = response.Body.Result[i].FormData["textField_lq4vdvgh"].ToString();
                                 oItem.HProductionModule = double.Parse(HDate_Temp);
                             }
-                            
-                            //妯″叿缂栫爜
-                            if (keys.Contains("selectField_lq3idkvg"))
-                            {
-                                string HDate_Temp = response.Body.Result[i].FormData["selectField_lq3idkvg"].ToString();
-                                DataSet ds = oCN.RunProcReturn("select * from Gy_MouldFileMain with(nolock)  where HMouldNo='" + HDate_Temp + "'", "Gy_MouldFileMain");
-                                string HMouldID = "0";
-                                if (ds.Tables[0].Rows.Count > 0)
-                                {
-                                    HMouldID = ds.Tables[0].Rows[0]["HInterID"].ToString();
-                                }
-                                oItem.HMouldID = long.Parse(HMouldID);
-                                oItem.HRemark = HDate_Temp;
-
-
-                                //鏌ヨ淇濆吇璁″垝
-                                ds = oCN.RunProcReturn(@"select  a.HInterID,a.HBillNo from  Sc_MouldMaintainPlanBillMain a
-                                    inner join Sc_MouldMaintainPlanBillSub b on a.HInterID = b.HInterID
-                                    where a.HMouldID =" + oItem.HMouldID + " and a.HMaintainLevID = " + oItem.HMaintainLevID, "Sc_MouldMaintainPlanBillMain");
-                                oItem.HPlanInterID = "";
-                                if (ds.Tables[0].Rows.Count > 0) {
-                                    oItem.HPlanInterID = ds.Tables[0].Rows[0]["HInterID"].ToString();
-                                    oItem.HPlanNo = ds.Tables[0].Rows[0]["HInterID"].ToString();
-                                }
-                            }
-
+                            LogService.Write("绱妯℃暟:" + oItem.HProductionModule);
 
                             //缁翠慨閮ㄩ棬
                             if (keys.Contains("selectField_lq3idkva"))
@@ -2425,6 +2500,7 @@
                                 }
                                 oItem.HDeptID = long.Parse(HDeptID);
                             }
+                            LogService.Write("缁翠慨閮ㄩ棬:" + oItem.HDeptID);
 
                             //鏂拌璁″鍛�
                             oItem.HNewDesignLife = 30000;
@@ -2441,6 +2517,7 @@
                                 }
                                 oItem.HEmpID = long.Parse(HEmpID);
                             }
+                            LogService.Write("缁翠慨浜�:" + oItem.HEmpID);
 
                             //缁翠慨鏃堕棿
                             if (keys.Contains("numberField_lq3ixr9j"))
@@ -2450,6 +2527,7 @@
                                 oItem.HTimes = long.Parse(HDate_Temp);
                                 oItem.HPlanTimes = long.Parse(HDate_Temp);
                             }
+                            LogService.Write("缁翠慨鏃堕棿:" + oItem.HTimes);
 
                             //瀛愯〃 缁翠慨瑕佹眰 缁翠慨澶囨敞(闂鎻忚堪)
                             if (keys.Contains("tableField_lq3ixr9b"))
@@ -2466,15 +2544,19 @@
                                     {
                                         oItemSub.HRepairExplanation = dic[ij]["textareaField_lq3ixr9e"].ToString();
                                     }
+                                    LogService.Write("缁翠慨瑕佹眰:" + oItemSub.HRepairExplanation);
 
                                     //澶囨敞
                                     if (keys_Sub.Contains("textField_lq3ixr9d"))
                                     {
                                         oItemSub.HRemark = dic[ij]["textField_lq3ixr9d"].ToString();
                                     }
+                                    LogService.Write("澶囨敞:" + oItemSub.HRemark);
+
                                     oItem.DetailColMouldRepair.Add(oItemSub);
                                 }
                             }
+                           
 
                             string HRemark = "";
                             //瀛愯〃 淇濆吇澶囨敞(闂鎻忚堪)
@@ -2496,9 +2578,10 @@
                                     oItemSub.HClaim = HDate_Temp[ij];
                                     oItemSub.HMaintainResult = HRemark;
                                     oItem.DetailColMouldMaintain.Add(oItemSub);
+                                    LogService.Write("鍏蜂綋瑕佹眰:" + oItemSub.HClaim);
                                 }
-
                             }
+                           
 
                             int startindex = response.Body.Result[i].Title.IndexOf("zh_CN") + 8;
                             oItem.HTitle = startIndex + response.Body.Result[i].Title.Substring(startindex).Replace("\"}", "").Replace("'", "");
@@ -2533,6 +2616,7 @@
                         }
                         catch (Exception e)
                         {
+                            LogService.Write("鎶ラ敊:" + e.Message);
                             continue;
                         }
                     }
@@ -2568,7 +2652,7 @@
             string formUuid = "FORM-30C78F46E77E46A9AA8778214CEFE6B5J0AN";
             int pageNumber = 1;
             int pageSize = 100;
-
+            LogService.Write("鏌ョ湅7");
             //鑾峰彇妯″叿缁翠慨淇濆吇琛ㄧ殑瀹炰緥ID鍒楄〃
             List<string> IDList = new List<string>();
             if (getInstanceIDList_YiDa(appType, systemToken, userID, formUuid, pageNumber, pageSize, ref IDList, ref msg) == false)
@@ -2780,8 +2864,45 @@
                                 continue;
                             }
 
+                            string HStaus = "";
+
+                            switch (getInstanceByIdResponse.Body.InstanceStatus)
+                            {
+                                case "COMPLETED":
+                                    HStaus = "缁翠慨缁撴潫";
+                                    break;
+                                case "RUNNING":
+                                    HStaus = "缁翠慨杩涜涓�";
+                                    break;
+                                case "TERMINATED":
+                                    HStaus = "缁翠慨缁堟";
+                                    break;
+                            }
+                            LogService.Write("鐘舵��:" + HStaus);
                             if (getInstanceByIdResponse.Body.InstanceStatus != "COMPLETED")
                             {
+                                //璁惧缂栫爜
+                                if (keys.Contains("textField_lfg9hgys"))
+                                {
+                                    string HDate_Temp = response.Body.Result[i].FormData["textField_lfg9hgys"].ToString();
+                                    DataSet ds = oCN.RunProcReturn("select * from Gy_EquipFileBillMain with(nolock)  where HEquipFileNo='" + HDate_Temp + "'", "Gy_EquipFileBillMain");
+                                    string HEquipID = "0";
+                                    if (ds.Tables[0].Rows.Count > 0)
+                                    {
+                                        HEquipID = ds.Tables[0].Rows[0]["HInterID"].ToString();
+                                        oItem.HEquipID = long.Parse(HEquipID);
+                                        oItem.HRemark2 = HDate_Temp;
+
+                                        string HUpdateDate = ds.Tables[0].Rows[0]["HCloseDate"].ToString()==""?"1900-01-01 00:00:00": ds.Tables[0].Rows[0]["HCloseDate"].ToString();
+                                        string HMouldStaus = ds.Tables[0].Rows[0]["HStatus"].ToString();
+                                        LogService.Write("璁惧:" + HDate_Temp + ",鐘舵��:" + HMouldStaus + ",鏃堕棿:" + HUpdateDate);
+                                        if (HMouldStaus != HStaus && DateTime.Parse(HUpdateDate) <= DateTime.Parse(oItem.HUpdateDate))
+                                        {
+                                            //淇敼璁惧鐨勭姸鎬佸拰鏃堕棿
+                                            oCN.RunProc("update Gy_EquipFileBillMain set HStatus='" + HStaus + "',HCloseDate='" + oItem.HUpdateDate + "' WHERE HInterID =" + HEquipID);
+                                        }
+                                    }
+                                }
                                 continue;
                             }
 
@@ -2794,18 +2915,28 @@
                             {
                                 string HDate_Temp = response.Body.Result[i].FormData["textField_lfg9hgys"].ToString();
                                 DataSet ds = oCN.RunProcReturn("select * from Gy_EquipFileBillMain with(nolock)  where HEquipFileNo='" + HDate_Temp + "'", "Gy_EquipFileBillMain");
+                                LogService.Write("璁惧鏃�:" + HDate_Temp);
                                 string HEquipID = "0";
                                 if (ds.Tables[0].Rows.Count > 0)
                                 {
                                     HEquipID = ds.Tables[0].Rows[0]["HInterID"].ToString();
                                     oItem.HEquipID = long.Parse(HEquipID);
                                     oItem.HRemark2 = HDate_Temp;
+                                    string HUpdateDate = ds.Tables[0].Rows[0]["HCloseDate"].ToString() == "" ? "1900-01-01 00:00:00" : ds.Tables[0].Rows[0]["HCloseDate"].ToString();
+                                    string HMouldStaus = ds.Tables[0].Rows[0]["HStatus"].ToString();
+                                    LogService.Write("璁惧:" + HDate_Temp + ",鐘舵��:" + HMouldStaus + ",鏃堕棿:" + HUpdateDate);
+                                    if (HMouldStaus != HStaus && DateTime.Parse(HUpdateDate) <= DateTime.Parse(oItem.HUpdateDate))
+                                    {
+                                        //淇敼璁惧鐨勭姸鎬佸拰鏃堕棿
+                                        oCN.RunProc("update Gy_EquipFileBillMain set HStatus='" + HStaus + "',HCloseDate='" + oItem.HUpdateDate + "' WHERE HInterID =" + HEquipID);
+                                    }
                                 }
                                 else
                                 {
                                     continue;
                                 }
                             }
+                            LogService.Write("璁惧:" + oItem.HEquipID);
 
                             //缁翠慨閮ㄩ棬
                             if (keys.Contains("selectField_kzgkw10a"))
@@ -2824,6 +2955,7 @@
                                 }
 
                             }
+                            LogService.Write("缁翠慨閮ㄩ棬:" + oItem.HDeptID);
 
                             //缁翠慨浜�
                             if (keys.Contains("employeeField_lthwkdh2"))
@@ -2842,6 +2974,7 @@
                                 }
 
                             }
+                            LogService.Write("缁翠慨浜�:" + oItem.HEmpID);
 
                             //缁翠慨鍐呭
                             if (keys.Contains("textField_l2r9bvwk"))
@@ -2850,6 +2983,7 @@
 
                                 oItem.HRepairContent = HDate_Temp;
                             }
+                            LogService.Write("缁翠慨鍐呭:" + oItem.HRepairContent);
 
                             //鎶ヤ慨绫诲埆
                             if (keys.Contains("multiSelectField_lfg9hgyv"))
@@ -2858,7 +2992,7 @@
 
                                 oItem.HRepairCategory = HDate_Temp[0];
                             }
-
+                            LogService.Write("鎶ヤ慨绫诲埆:" + oItem.HRepairCategory);
                             //绱ф�ョ▼搴�
                             if (keys.Contains("radioField_kzgkw10c"))
                             {
@@ -2866,6 +3000,7 @@
 
                                 oItem.HUrgenLevel = HDate_Temp;
                             }
+                            LogService.Write("绱ф�ョ▼搴�:" + oItem.HUrgenLevel);
 
                             //鎶ヤ慨浜�
                             if (keys.Contains("employeeField_lkasesrk"))
@@ -2874,6 +3009,7 @@
 
                                 oItem.HRepairer = HDate_Temp[0];
                             }
+                            LogService.Write("鎶ヤ慨浜�:" + oItem.HRepairer);
 
                             //鏄惁鏈変骇鑳藉奖鍝�
                             if (keys.Contains("textField_lyjddw0r"))
@@ -2882,7 +3018,8 @@
 
                                 oItem.HIsCapacityImpact = HDate_Temp;
                             }
-                         
+                            LogService.Write("鏄惁鏈変骇鑳藉奖鍝�:" + oItem.HIsCapacityImpact);
+
                             //缁翠慨鏃堕棿
                             if (keys.Contains("textField_l2r95oo2"))
                             {
@@ -2898,6 +3035,8 @@
                                 oItem.HTimes = int.Parse(new string(HDate_Temp.Where(char.IsDigit).ToArray()));
                                 oItem.HPlanTimes = int.Parse(new string(HDate_Temp.Where(char.IsDigit).ToArray()));
                             }
+                            LogService.Write("缁翠慨鏃堕棿:" + oItem.HTimes);
+
 
                             //瀛愯〃 缁翠慨瑕佹眰 缁翠慨澶囨敞(闂鎻忚堪)
 
@@ -2910,6 +3049,7 @@
                                 oItem.HExplanation = HDate_Temp;
                                 sub.HRepairExplanation = HDate_Temp;
                             }
+                            LogService.Write("缁翠慨瑕佹眰:" + oItem.HExplanation);
 
                             //澶囨敞
                             if (keys.Contains("textField_l2r95oo0"))
@@ -2918,6 +3058,8 @@
 
                                 sub.HRemark = HDate_Temp;
                             }
+                            LogService.Write("澶囨敞:" + oItem.HRemark);
+
                             oItem.DetailColMouldRepair.Add(sub);
 
                             int startindex = response.Body.Result[i].Title.IndexOf("zh_CN") + 8;
@@ -2953,7 +3095,7 @@
                         }
                         catch (Exception e)
                         {
-                            LogService.Write(e.Message);
+                            LogService.Write("鎶ラ敊:" + e.Message);
                             a = "";
                             continue;
                         }
@@ -2989,7 +3131,7 @@
             string formUuid = "FORM-OM566O7177LW0ARJ5IMFF63NTFKA34G9RL2YKN1";
             int pageNumber = 1;
             int pageSize = 100;
-
+            LogService.Write("鏌ョ湅6");
             //鑾峰彇璁惧缁翠慨淇濆吇琛ㄧ殑瀹炰緥ID鍒楄〃
             List<string> IDList = new List<string>();
             if (getInstanceIDList_YiDa(appType, systemToken, userID, formUuid, pageNumber, pageSize, ref IDList, ref msg) == false)
diff --git "a/WebAPI/Controllers/\346\235\241\347\240\201\347\256\241\347\220\206/WEBSController.cs" "b/WebAPI/Controllers/\346\235\241\347\240\201\347\256\241\347\220\206/WEBSController.cs"
index 82909c1..f1dd4d5 100644
--- "a/WebAPI/Controllers/\346\235\241\347\240\201\347\256\241\347\220\206/WEBSController.cs"
+++ "b/WebAPI/Controllers/\346\235\241\347\240\201\347\256\241\347\220\206/WEBSController.cs"
@@ -35,9 +35,6 @@
         string ComputerName = SystemInformation.ComputerName;   //璁惧鍚嶇О
 
 
-        WebS.ClsXt_SystemParameterMain oSystemParameterMain = new WebS.ClsXt_SystemParameterMain();
-
-
         #region 鍏敤鏂规硶
 
         #region 璐﹀彿鐧诲叆
@@ -2265,6 +2262,88 @@
                 objJsonResult.code = "0";
                 objJsonResult.count = 0;
                 objJsonResult.Message = "鍏朵粬鍏ュ簱鍗曚笂浼犲け璐ワ紒" + e.ToString();
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+        }
+
+        #endregion
+
+        #region 鍏朵粬鍏ュ簱    鏍¢獙妯″紡
+
+        /// <summary>
+        /// 鍏朵粬鍏ュ簱鏍¢獙涓婁紶
+        /// </summary>
+        /// <returns></returns>
+        [Route("WEBSController/set_SaveOtherInBill_BillCheck_Json")]
+        [HttpPost]
+        public object set_SaveOtherInBill_BillCheck_Json([FromBody] JObject oMain)
+        {
+            var _value = oMain["oMain"].ToString();
+            string msg1 = _value.ToString();
+            string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries);
+            string sMainStr = sArray[0].ToString();             //鍗曟嵁鏁版嵁
+            string HSourceBarCodeCtl = sArray[1].ToString();    //鏍¢獙-鏄惁杩涜婧愬崟瀵瑰簲鏉$爜鏍稿锛�'Y'涓烘牳瀵癸級
+
+            try
+            {
+                List<Model.ClsKf_OtherInBillMain> lsmain = new List<Model.ClsKf_OtherInBillMain>();
+                ListModels oListModels = new ListModels();
+                lsmain = oListModels.getOtherInBillMainByJson(sMainStr);
+
+                WebAPI.WebS.ClsKf_OtherInBillMain websLsmain = new WebS.ClsKf_OtherInBillMain();
+
+                websLsmain.HInterID = lsmain[0].HInterID;
+                websLsmain.HBillNo = lsmain[0].HBillNo;
+                websLsmain.HBillType = "1203";
+                websLsmain.HSTOCKORGID = lsmain[0].HSTOCKORGID;
+
+                //鍘熷崟鎹负鎵爜鐢熸垚锛屽鍘熸壂鎻忕殑鏉$爜杩涜鏍稿
+                if (HSourceBarCodeCtl == "Y")
+                {
+                    if (oWebs.set_SaveOtherInBill_CLD_BillCheck_Verify(websLsmain, ref DBUtility.ClsPub.sErrInfo))
+                    {
+                        objJsonResult.code = "0";
+                        objJsonResult.count = 1;
+                        objJsonResult.Message = DBUtility.ClsPub.sErrInfo;  //鎴愬姛锛�
+                        objJsonResult.data = null;
+                        return objJsonResult;
+                    }
+                    else
+                    {
+                        objJsonResult.code = "0";
+                        objJsonResult.count = 0;
+                        objJsonResult.Message = DBUtility.ClsPub.sErrInfo;  //澶辫触锛�
+                        objJsonResult.data = null;
+                        return objJsonResult;
+                    }
+                }
+                //鍘熷崟鎹潪鎵爜鐢熸垚
+                else
+                {
+                    if (oWebs.set_SaveOtherInBill_CLD_BillCheck(websLsmain, ref DBUtility.ClsPub.sErrInfo))
+                    {
+                        objJsonResult.code = "0";
+                        objJsonResult.count = 1;
+                        objJsonResult.Message = DBUtility.ClsPub.sErrInfo;  //鎴愬姛锛�
+                        objJsonResult.data = null;
+                        return objJsonResult;
+                    }
+                    else
+                    {
+                        objJsonResult.code = "0";
+                        objJsonResult.count = 0;
+                        objJsonResult.Message = DBUtility.ClsPub.sErrInfo;  //澶辫触锛�
+                        objJsonResult.data = null;
+                        return objJsonResult;
+                    }
+                }
+            }
+            catch (Exception e)
+            {
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = "鍏朵粬鍏ュ簱鏍¢獙澶辫触锛�" + e.ToString();
                 objJsonResult.data = null;
                 return objJsonResult;
             }
@@ -5074,11 +5153,99 @@
             if (oSystemParameter.ShowBill(ref sErrMsg) == true)
             {
                 string sSourceBarCodeCtl = "N";   //鏍¢獙-鏄惁杩涜婧愬崟瀵瑰簲鏉$爜鏍稿锛�'Y'涓烘牳瀵癸級
-                if (HBillType == "1205" && oSystemParameter.omodel.Kf_SellOutBillCheck_SourceBarCodeCtl == "Y")
+
+                #region 绯荤粺鍙傛暟鑾峰彇
+                //閲囪喘鍏ュ簱鍗�
+                if (HBillType == "1201")
                 {
-                    //閿�鍞嚭搴撳崟
-                    sSourceBarCodeCtl = "Y";
+                    //鏍¢獙-鏄惁杩涜婧愬崟瀵瑰簲鏉$爜鏍稿锛�'Y'涓烘牳瀵癸級
+                    if (oSystemParameter.omodel.Kf_POStockInBillCheck_SourceBarCodeCtl == "Y")
+                    {
+                        sSourceBarCodeCtl = "Y";
+                    }
                 }
+                //鐢熶骇鍏ュ簱鍗�
+                if (HBillType == "1202")
+                {
+                    //鏍¢獙-鏄惁杩涜婧愬崟瀵瑰簲鏉$爜鏍稿锛�'Y'涓烘牳瀵癸級
+                    if (oSystemParameter.omodel.Kf_ProductInBillCheck_SourceBarCodeCtl == "Y")
+                    {
+                        sSourceBarCodeCtl = "Y";
+                    }
+                }
+                //鍏朵粬鍏ュ簱鍗�
+                if (HBillType == "1203")
+                {
+                    //鏍¢獙-鏄惁杩涜婧愬崟瀵瑰簲鏉$爜鏍稿锛�'Y'涓烘牳瀵癸級
+                    if (oSystemParameter.omodel.Kf_OtherInBillCheck_SourceBarCodeCtl == "Y")
+                    {
+                        sSourceBarCodeCtl = "Y";
+                    }
+                }
+                //棰嗘枡鍑哄簱鍗�
+                else if (HBillType == "1204")
+                {
+                    //鏍¢獙-鏄惁杩涜婧愬崟瀵瑰簲鏉$爜鏍稿锛�'Y'涓烘牳瀵癸級
+                    if (oSystemParameter.omodel.Kf_MateOutBillCheck_SourceBarCodeCtl == "Y")
+                    {
+                        sSourceBarCodeCtl = "Y";
+                    }
+                }
+                //閿�鍞嚭搴撳崟
+                else if (HBillType == "1205")
+                {
+                    //鏍¢獙-鏄惁杩涜婧愬崟瀵瑰簲鏉$爜鏍稿锛�'Y'涓烘牳瀵癸級
+                    if (oSystemParameter.omodel.Kf_SellOutBillCheck_SourceBarCodeCtl == "Y")
+                    {
+                        sSourceBarCodeCtl = "Y";
+                    }
+                }
+                //鍏朵粬鍑哄簱鍗�
+                else if (HBillType == "1206")
+                {
+                    //鏍¢獙-鏄惁杩涜婧愬崟瀵瑰簲鏉$爜鏍稿锛�'Y'涓烘牳瀵癸級
+                    if (oSystemParameter.omodel.Kf_OtherOutBillCheck_SourceBarCodeCtl == "Y")
+                    {
+                        sSourceBarCodeCtl = "Y";
+                    }
+                }
+                //濮斿棰嗘枡鍗�
+                else if (HBillType == "1211")
+                {
+                    //鏍¢獙-鏄惁杩涜婧愬崟瀵瑰簲鏉$爜鏍稿锛�'Y'涓烘牳瀵癸級
+                    if (oSystemParameter.omodel.Kf_EntrustOutBillCheck_SourceBarCodeCtl == "Y")
+                    {
+                        sSourceBarCodeCtl = "Y";
+                    }
+                }
+                //鐢熶骇琛ユ枡鍗�
+                else if (HBillType == "1254")
+                {
+                    //鏍¢獙-鏄惁杩涜婧愬崟瀵瑰簲鏉$爜鏍稿锛�'Y'涓烘牳瀵癸級
+                    if (oSystemParameter.omodel.Kf_MateReplenishOutBillCheck_SourceBarCodeCtl == "Y")
+                    {
+                        sSourceBarCodeCtl = "Y";
+                    }
+                }
+                //濮斿琛ユ枡鍗�
+                else if (HBillType == "1255")
+                {
+                    //鏍¢獙-鏄惁杩涜婧愬崟瀵瑰簲鏉$爜鏍稿锛�'Y'涓烘牳瀵癸級
+                    if (oSystemParameter.omodel.Kf_EntrustReplenishOutBillCheck_SourceBarCodeCtl == "Y")
+                    {
+                        sSourceBarCodeCtl = "Y";
+                    }
+                }
+                //鐩存帴璋冩嫧鍗�
+                else if (HBillType == "1207")
+                {
+                    //鏍¢獙-鏄惁杩涜婧愬崟瀵瑰簲鏉$爜鏍稿锛�'Y'涓烘牳瀵癸級
+                    if (oSystemParameter.omodel.Kf_MoveStockBillCheck_SourceBarCodeCtl == "Y")
+                    {
+                        sSourceBarCodeCtl = "Y";
+                    }
+                }
+                #endregion
 
                 if (oSystemParameter.omodel.WMS_CampanyName == "瀹夌憺") //绯荤粺鍙傛暟  瀹㈡埛瀹氬埗鍖栧悕绉�     绌虹櫧涓洪�氱敤
                 {
@@ -5154,6 +5321,71 @@
 
         #endregion
 
+        #region 杩斿洖鍗曟嵁鍒楄〃淇℃伅    20241114
+
+        /// <summary>
+        /// 杩斿洖鍗曟嵁鍒楄〃淇℃伅    鏍¢獙妯″紡
+        /// </summary>
+        /// <returns></returns>
+        [Route("WEBSController/GetKf_PonderationBillMain_Temp_BillCheck_New_Json")]
+        [HttpGet]
+        public object GetKf_PonderationBillMain_Temp_BillCheck_New_Json(long HInterID, string HBillType, string sWhere, string HSourceBarCodeCtl)
+        {
+            try
+            {
+                //鍘熷崟鎹负鎵爜鐢熸垚锛屽鍘熸壂鎻忕殑鏉$爜杩涜鏍稿
+                if (HSourceBarCodeCtl == "Y")
+                {
+                    ds = oCn.RunProcReturn("exec h_p_KF_PonderationBillMain_TempList_Verify " + HInterID.ToString() + ",'" + HBillType + "','" + sWhere + "'", "h_p_KF_PonderationBillMain_TempList_Verify");
+                }
+                //鍘熷崟鎹潪鎵爜鐢熸垚
+                else
+                {
+                    ds = oCn.RunProcReturn("exec h_p_KF_PonderationBillMain_TempList_BillCheck " + HInterID.ToString() + ",'" + HBillType + "','" + sWhere + "'", "h_p_KF_PonderationBillMain_TempList_BillCheck");
+                }
+
+                if (ds == null || ds.Tables[0].Rows.Count == 0)
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "娌℃湁杩斿洖浠讳綍璁板綍锛�";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+                else
+                {
+                    List<object> columnNameList = new List<object>();
+                    //娣诲姞鍒楀悕
+                    foreach (DataColumn col in ds.Tables[0].Columns)
+                    {
+                        Type dataType = col.DataType;
+                        string ColmString = "{\"ColmCols\":\"" + col.ColumnName + "\",\"ColmType\":\"" + dataType.Name + "\"}";
+                        columnNameList.Add(JsonConvert.DeserializeObject(ColmString));  //鑾峰彇鍒癉ataColumn鍒楀璞$殑鍒楀悕
+                    }
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 1;
+                    objJsonResult.Message = "鑾峰彇淇℃伅鎴愬姛锛�";
+                    objJsonResult.data = new
+                    {
+                        Materlist = ds.Tables[0],           //杩斿洖鐗╂枡鏄庣粏鍒楄〃淇℃伅锛�0锛�
+                        BarCodeDetailslist = ds.Tables[1],  //杩斿洖褰撳墠鎵�鎵弿鏉$爜鏄庣粏淇℃伅锛�5锛�
+                    };
+                    objJsonResult.list = columnNameList;
+                    return objJsonResult;
+                }
+            }
+            catch (Exception e)
+            {
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = "鑾峰彇鍒楄〃淇℃伅澶辫触锛�" + e.ToString();
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+        }
+
+        #endregion
+
         #region 杩斿洖鍗曟嵁鍒楄〃淇℃伅
 
         /// <summary>
@@ -5205,6 +5437,50 @@
 
         #endregion
 
+        #region 鏍¢獙鎵爜妯″潡锛屽垹闄ら�変腑琛屾潯鐮佸嚭鍏ュ簱涓存椂琛ㄨ褰�    20241114
+
+        /// <summary>
+        /// 鎵爜妯″潡锛屽垹闄ら�変腑琛屾潯鐮佸嚭鍏ュ簱涓存椂琛ㄨ褰�
+        /// </summary>
+        /// <returns></returns>
+        [Route("WEBSController/set_DeleteBarCodeByEntryID_BillCheck_New_Json")]
+        [HttpGet]
+        public object set_DeleteBarCodeByEntryID_BillCheck_New_Json(long HInterID, string HBillType, long HSourceInterID, long HSourceEntryID, string HSourceBarCodeCtl)
+        {
+            //鍘熷崟鎹负鎵爜鐢熸垚锛屽鍘熸壂鎻忕殑鏉$爜杩涜鏍稿
+            if (HSourceBarCodeCtl == "Y")
+            {
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = "鏍¢獙鏉$爜锛屾棤闇�鍒犻櫎锛�";
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+            //鍘熷崟鎹潪鎵爜鐢熸垚
+            else
+            {
+                try
+                {
+                    oCn.RunProc("Delete from KF_PonderationBillMain_Temp where HInterID=" + HInterID.ToString() + " and HBillType='" + HBillType + "' and HSourceInterID=" + HSourceInterID.ToString() + " and HSourceEntryID=" + HSourceEntryID.ToString() + " and HQty<>0 ", ref DBUtility.ClsPub.sExeReturnInfo);
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 1;
+                    objJsonResult.Message = "鍒犻櫎鎴愬姛";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+                catch (Exception e)
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "鍒犻櫎鎵�閫夎鏉$爜鍑哄叆搴撲复鏃惰〃璁板綍澶辫触锛�" + e.ToString();
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+            }
+        }
+
+        #endregion
+
         #region 鎵爜妯″潡锛屽垹闄ら�変腑琛屾潯鐮佸嚭鍏ュ簱涓存椂琛ㄨ褰�
 
         /// <summary>
diff --git a/WebAPI/Properties/Settings.Designer.cs b/WebAPI/Properties/Settings.Designer.cs
index 4e42dc4..69fef59 100644
--- a/WebAPI/Properties/Settings.Designer.cs
+++ b/WebAPI/Properties/Settings.Designer.cs
@@ -26,7 +26,7 @@
         [global::System.Configuration.ApplicationScopedSettingAttribute()]
         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
         [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.WebServiceUrl)]
-        [global::System.Configuration.DefaultSettingValueAttribute("http://192.168.0.81/WEBS-WMS/WebService1.asmx")]
+        [global::System.Configuration.DefaultSettingValueAttribute("http://192.168.0.11/WEBS-WMS/WebService1.asmx")]
         public string WebAPI_WebS_WebService1 {
             get {
                 return ((string)(this["WebAPI_WebS_WebService1"]));
diff --git a/WebAPI/Properties/Settings.settings b/WebAPI/Properties/Settings.settings
index b5c0318..80ebbb1 100644
--- a/WebAPI/Properties/Settings.settings
+++ b/WebAPI/Properties/Settings.settings
@@ -3,7 +3,7 @@
   <Profiles />
   <Settings>
     <Setting Name="WebAPI_WebS_WebService1" Type="(Web Service URL)" Scope="Application">
-      <Value Profile="(Default)">http://192.168.0.81/WEBS-WMS/WebService1.asmx</Value>
+      <Value Profile="(Default)">http://192.168.0.11/WEBS-WMS/WebService1.asmx</Value>
     </Setting>
   </Settings>
 </SettingsFile>
\ No newline at end of file
diff --git a/WebAPI/Web References/WebS/Reference.cs b/WebAPI/Web References/WebS/Reference.cs
index f6c0460..8471c76 100644
--- a/WebAPI/Web References/WebS/Reference.cs
+++ b/WebAPI/Web References/WebS/Reference.cs
@@ -34,6 +34,10 @@
     [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsXt_BaseBillMain))]
     public partial class WebService1 : System.Web.Services.Protocols.SoapHttpClientProtocol {
         
+        private System.Threading.SendOrPostCallback get_CheckTypeByMouldSourceOperationCompleted;
+        
+        private System.Threading.SendOrPostCallback getMouldSourceBillListOperationCompleted;
+        
         private System.Threading.SendOrPostCallback Get_CheckTypeByMouldBarCode_ProdCheckStockOperationCompleted;
         
         private System.Threading.SendOrPostCallback GetMouldBillEntry_TmpListOperationCompleted;
@@ -165,6 +169,8 @@
         private System.Threading.SendOrPostCallback DeleteMouldOperationCompleted;
         
         private System.Threading.SendOrPostCallback set_SavePonderationBillMain_Temp_BarCode_MouldOperationCompleted;
+        
+        private System.Threading.SendOrPostCallback get_InfoByBarCode_SourceOperationCompleted;
         
         private System.Threading.SendOrPostCallback get_InfoByBarCodeForReportOperationCompleted;
         
@@ -330,9 +336,7 @@
         
         private System.Threading.SendOrPostCallback set_SavePonderationBillMain_Temp_BarCode_Pack_MoveStock_ZhuoLiOperationCompleted;
         
-        private System.Threading.SendOrPostCallback get_CheckTypeByMouldSourceOperationCompleted;
-        
-        private System.Threading.SendOrPostCallback getMouldSourceBillListOperationCompleted;
+        private System.Threading.SendOrPostCallback GetJXBarCode_SiMoErOperationCompleted;
         
         private System.Threading.SendOrPostCallback set_CheckOtherInBillOperationCompleted;
         
@@ -347,6 +351,10 @@
         private System.Threading.SendOrPostCallback set_SaveOtherInBill_MESOperationCompleted;
         
         private System.Threading.SendOrPostCallback set_SaveOtherInBill_BillCheckOperationCompleted;
+        
+        private System.Threading.SendOrPostCallback set_SaveOtherInBill_CLD_BillCheckOperationCompleted;
+        
+        private System.Threading.SendOrPostCallback set_SaveOtherInBill_CLD_BillCheck_VerifyOperationCompleted;
         
         private System.Threading.SendOrPostCallback set_SaveMouldProdInBill_NewOperationCompleted;
         
@@ -475,8 +483,6 @@
         private System.Threading.SendOrPostCallback Get_CheckWhAndSPOperationCompleted;
         
         private System.Threading.SendOrPostCallback Get_CheckWhAndSP_BeUpdateOperationCompleted;
-        
-        private System.Threading.SendOrPostCallback get_InfoByBarCode_SourceOperationCompleted;
         
         private System.Threading.SendOrPostCallback set_SaveEntrustOutBill_BillCheckOperationCompleted;
         
@@ -1201,6 +1207,12 @@
         }
         
         /// <remarks/>
+        public event get_CheckTypeByMouldSourceCompletedEventHandler get_CheckTypeByMouldSourceCompleted;
+        
+        /// <remarks/>
+        public event getMouldSourceBillListCompletedEventHandler getMouldSourceBillListCompleted;
+        
+        /// <remarks/>
         public event Get_CheckTypeByMouldBarCode_ProdCheckStockCompletedEventHandler Get_CheckTypeByMouldBarCode_ProdCheckStockCompleted;
         
         /// <remarks/>
@@ -1397,6 +1409,9 @@
         
         /// <remarks/>
         public event set_SavePonderationBillMain_Temp_BarCode_MouldCompletedEventHandler set_SavePonderationBillMain_Temp_BarCode_MouldCompleted;
+        
+        /// <remarks/>
+        public event get_InfoByBarCode_SourceCompletedEventHandler get_InfoByBarCode_SourceCompleted;
         
         /// <remarks/>
         public event get_InfoByBarCodeForReportCompletedEventHandler get_InfoByBarCodeForReportCompleted;
@@ -1645,10 +1660,7 @@
         public event set_SavePonderationBillMain_Temp_BarCode_Pack_MoveStock_ZhuoLiCompletedEventHandler set_SavePonderationBillMain_Temp_BarCode_Pack_MoveStock_ZhuoLiCompleted;
         
         /// <remarks/>
-        public event get_CheckTypeByMouldSourceCompletedEventHandler get_CheckTypeByMouldSourceCompleted;
-        
-        /// <remarks/>
-        public event getMouldSourceBillListCompletedEventHandler getMouldSourceBillListCompleted;
+        public event GetJXBarCode_SiMoErCompletedEventHandler GetJXBarCode_SiMoErCompleted;
         
         /// <remarks/>
         public event set_CheckOtherInBillCompletedEventHandler set_CheckOtherInBillCompleted;
@@ -1670,6 +1682,12 @@
         
         /// <remarks/>
         public event set_SaveOtherInBill_BillCheckCompletedEventHandler set_SaveOtherInBill_BillCheckCompleted;
+        
+        /// <remarks/>
+        public event set_SaveOtherInBill_CLD_BillCheckCompletedEventHandler set_SaveOtherInBill_CLD_BillCheckCompleted;
+        
+        /// <remarks/>
+        public event set_SaveOtherInBill_CLD_BillCheck_VerifyCompletedEventHandler set_SaveOtherInBill_CLD_BillCheck_VerifyCompleted;
         
         /// <remarks/>
         public event set_SaveMouldProdInBill_NewCompletedEventHandler set_SaveMouldProdInBill_NewCompleted;
@@ -1862,9 +1880,6 @@
         
         /// <remarks/>
         public event Get_CheckWhAndSP_BeUpdateCompletedEventHandler Get_CheckWhAndSP_BeUpdateCompleted;
-        
-        /// <remarks/>
-        public event get_InfoByBarCode_SourceCompletedEventHandler get_InfoByBarCode_SourceCompleted;
         
         /// <remarks/>
         public event set_SaveEntrustOutBill_BillCheckCompletedEventHandler set_SaveEntrustOutBill_BillCheckCompleted;
@@ -2891,6 +2906,94 @@
         
         /// <remarks/>
         public event GetSc_ICMOBackBillListCompletedEventHandler GetSc_ICMOBackBillListCompleted;
+        
+        /// <remarks/>
+        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/get_CheckTypeByMouldSource", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+        public ClsKf_ICStockBill_Mould get_CheckTypeByMouldSource(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HHMaker, long HOWNERID, ref string sErrMsg) {
+            object[] results = this.Invoke("get_CheckTypeByMouldSource", new object[] {
+                        HInterID,
+                        HBillNo,
+                        HBillType,
+                        HSourceBillNo,
+                        HSourceBillType,
+                        HHMaker,
+                        HOWNERID,
+                        sErrMsg});
+            sErrMsg = ((string)(results[1]));
+            return ((ClsKf_ICStockBill_Mould)(results[0]));
+        }
+        
+        /// <remarks/>
+        public void get_CheckTypeByMouldSourceAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HHMaker, long HOWNERID, string sErrMsg) {
+            this.get_CheckTypeByMouldSourceAsync(HInterID, HBillNo, HBillType, HSourceBillNo, HSourceBillType, HHMaker, HOWNERID, sErrMsg, null);
+        }
+        
+        /// <remarks/>
+        public void get_CheckTypeByMouldSourceAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HHMaker, long HOWNERID, string sErrMsg, object userState) {
+            if ((this.get_CheckTypeByMouldSourceOperationCompleted == null)) {
+                this.get_CheckTypeByMouldSourceOperationCompleted = new System.Threading.SendOrPostCallback(this.Onget_CheckTypeByMouldSourceOperationCompleted);
+            }
+            this.InvokeAsync("get_CheckTypeByMouldSource", new object[] {
+                        HInterID,
+                        HBillNo,
+                        HBillType,
+                        HSourceBillNo,
+                        HSourceBillType,
+                        HHMaker,
+                        HOWNERID,
+                        sErrMsg}, this.get_CheckTypeByMouldSourceOperationCompleted, userState);
+        }
+        
+        private void Onget_CheckTypeByMouldSourceOperationCompleted(object arg) {
+            if ((this.get_CheckTypeByMouldSourceCompleted != null)) {
+                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
+                this.get_CheckTypeByMouldSourceCompleted(this, new get_CheckTypeByMouldSourceCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+            }
+        }
+        
+        /// <remarks/>
+        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/getMouldSourceBillList", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+        public ClsKf_ICStockBill_Mould getMouldSourceBillList(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HHMaker, long HOWNERID, ref string sErrMsg) {
+            object[] results = this.Invoke("getMouldSourceBillList", new object[] {
+                        HInterID,
+                        HBillNo,
+                        HBillType,
+                        HSourceBillNo,
+                        HSourceBillType,
+                        HHMaker,
+                        HOWNERID,
+                        sErrMsg});
+            sErrMsg = ((string)(results[1]));
+            return ((ClsKf_ICStockBill_Mould)(results[0]));
+        }
+        
+        /// <remarks/>
+        public void getMouldSourceBillListAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HHMaker, long HOWNERID, string sErrMsg) {
+            this.getMouldSourceBillListAsync(HInterID, HBillNo, HBillType, HSourceBillNo, HSourceBillType, HHMaker, HOWNERID, sErrMsg, null);
+        }
+        
+        /// <remarks/>
+        public void getMouldSourceBillListAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HHMaker, long HOWNERID, string sErrMsg, object userState) {
+            if ((this.getMouldSourceBillListOperationCompleted == null)) {
+                this.getMouldSourceBillListOperationCompleted = new System.Threading.SendOrPostCallback(this.OngetMouldSourceBillListOperationCompleted);
+            }
+            this.InvokeAsync("getMouldSourceBillList", new object[] {
+                        HInterID,
+                        HBillNo,
+                        HBillType,
+                        HSourceBillNo,
+                        HSourceBillType,
+                        HHMaker,
+                        HOWNERID,
+                        sErrMsg}, this.getMouldSourceBillListOperationCompleted, userState);
+        }
+        
+        private void OngetMouldSourceBillListOperationCompleted(object arg) {
+            if ((this.getMouldSourceBillListCompleted != null)) {
+                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
+                this.getMouldSourceBillListCompleted(this, new getMouldSourceBillListCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+            }
+        }
         
         /// <remarks/>
         [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/Get_CheckTypeByMouldBarCode_ProdCheckStock", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
@@ -5606,6 +5709,43 @@
             if ((this.set_SavePonderationBillMain_Temp_BarCode_MouldCompleted != null)) {
                 System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                 this.set_SavePonderationBillMain_Temp_BarCode_MouldCompleted(this, new set_SavePonderationBillMain_Temp_BarCode_MouldCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+            }
+        }
+        
+        /// <remarks/>
+        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/get_InfoByBarCode_Source", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+        public ClsGy_BarCodeBill_WMS_Model_View get_InfoByBarCode_Source(string sBarCode, long sInterID, ref bool sBool, ref string sErrMsg) {
+            object[] results = this.Invoke("get_InfoByBarCode_Source", new object[] {
+                        sBarCode,
+                        sInterID,
+                        sBool,
+                        sErrMsg});
+            sBool = ((bool)(results[1]));
+            sErrMsg = ((string)(results[2]));
+            return ((ClsGy_BarCodeBill_WMS_Model_View)(results[0]));
+        }
+        
+        /// <remarks/>
+        public void get_InfoByBarCode_SourceAsync(string sBarCode, long sInterID, bool sBool, string sErrMsg) {
+            this.get_InfoByBarCode_SourceAsync(sBarCode, sInterID, sBool, sErrMsg, null);
+        }
+        
+        /// <remarks/>
+        public void get_InfoByBarCode_SourceAsync(string sBarCode, long sInterID, bool sBool, string sErrMsg, object userState) {
+            if ((this.get_InfoByBarCode_SourceOperationCompleted == null)) {
+                this.get_InfoByBarCode_SourceOperationCompleted = new System.Threading.SendOrPostCallback(this.Onget_InfoByBarCode_SourceOperationCompleted);
+            }
+            this.InvokeAsync("get_InfoByBarCode_Source", new object[] {
+                        sBarCode,
+                        sInterID,
+                        sBool,
+                        sErrMsg}, this.get_InfoByBarCode_SourceOperationCompleted, userState);
+        }
+        
+        private void Onget_InfoByBarCode_SourceOperationCompleted(object arg) {
+            if ((this.get_InfoByBarCode_SourceCompleted != null)) {
+                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
+                this.get_InfoByBarCode_SourceCompleted(this, new get_InfoByBarCode_SourceCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
             }
         }
         
@@ -10414,90 +10554,36 @@
         }
         
         /// <remarks/>
-        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/get_CheckTypeByMouldSource", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
-        public ClsKf_ICStockBill_Mould get_CheckTypeByMouldSource(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HHMaker, long HOWNERID, ref string sErrMsg) {
-            object[] results = this.Invoke("get_CheckTypeByMouldSource", new object[] {
-                        HInterID,
-                        HBillNo,
-                        HBillType,
-                        HSourceBillNo,
-                        HSourceBillType,
-                        HHMaker,
-                        HOWNERID,
+        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetJXBarCode_SiMoEr", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+        public bool GetJXBarCode_SiMoEr(string sBarCode, double HQty, ref string sErrMsg) {
+            object[] results = this.Invoke("GetJXBarCode_SiMoEr", new object[] {
+                        sBarCode,
+                        HQty,
                         sErrMsg});
             sErrMsg = ((string)(results[1]));
-            return ((ClsKf_ICStockBill_Mould)(results[0]));
+            return ((bool)(results[0]));
         }
         
         /// <remarks/>
-        public void get_CheckTypeByMouldSourceAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HHMaker, long HOWNERID, string sErrMsg) {
-            this.get_CheckTypeByMouldSourceAsync(HInterID, HBillNo, HBillType, HSourceBillNo, HSourceBillType, HHMaker, HOWNERID, sErrMsg, null);
+        public void GetJXBarCode_SiMoErAsync(string sBarCode, double HQty, string sErrMsg) {
+            this.GetJXBarCode_SiMoErAsync(sBarCode, HQty, sErrMsg, null);
         }
         
         /// <remarks/>
-        public void get_CheckTypeByMouldSourceAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HHMaker, long HOWNERID, string sErrMsg, object userState) {
-            if ((this.get_CheckTypeByMouldSourceOperationCompleted == null)) {
-                this.get_CheckTypeByMouldSourceOperationCompleted = new System.Threading.SendOrPostCallback(this.Onget_CheckTypeByMouldSourceOperationCompleted);
+        public void GetJXBarCode_SiMoErAsync(string sBarCode, double HQty, string sErrMsg, object userState) {
+            if ((this.GetJXBarCode_SiMoErOperationCompleted == null)) {
+                this.GetJXBarCode_SiMoErOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetJXBarCode_SiMoErOperationCompleted);
             }
-            this.InvokeAsync("get_CheckTypeByMouldSource", new object[] {
-                        HInterID,
-                        HBillNo,
-                        HBillType,
-                        HSourceBillNo,
-                        HSourceBillType,
-                        HHMaker,
-                        HOWNERID,
-                        sErrMsg}, this.get_CheckTypeByMouldSourceOperationCompleted, userState);
+            this.InvokeAsync("GetJXBarCode_SiMoEr", new object[] {
+                        sBarCode,
+                        HQty,
+                        sErrMsg}, this.GetJXBarCode_SiMoErOperationCompleted, userState);
         }
         
-        private void Onget_CheckTypeByMouldSourceOperationCompleted(object arg) {
-            if ((this.get_CheckTypeByMouldSourceCompleted != null)) {
+        private void OnGetJXBarCode_SiMoErOperationCompleted(object arg) {
+            if ((this.GetJXBarCode_SiMoErCompleted != null)) {
                 System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
-                this.get_CheckTypeByMouldSourceCompleted(this, new get_CheckTypeByMouldSourceCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
-            }
-        }
-        
-        /// <remarks/>
-        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/getMouldSourceBillList", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
-        public ClsKf_ICStockBill_Mould getMouldSourceBillList(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HHMaker, long HOWNERID, ref string sErrMsg) {
-            object[] results = this.Invoke("getMouldSourceBillList", new object[] {
-                        HInterID,
-                        HBillNo,
-                        HBillType,
-                        HSourceBillNo,
-                        HSourceBillType,
-                        HHMaker,
-                        HOWNERID,
-                        sErrMsg});
-            sErrMsg = ((string)(results[1]));
-            return ((ClsKf_ICStockBill_Mould)(results[0]));
-        }
-        
-        /// <remarks/>
-        public void getMouldSourceBillListAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HHMaker, long HOWNERID, string sErrMsg) {
-            this.getMouldSourceBillListAsync(HInterID, HBillNo, HBillType, HSourceBillNo, HSourceBillType, HHMaker, HOWNERID, sErrMsg, null);
-        }
-        
-        /// <remarks/>
-        public void getMouldSourceBillListAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HHMaker, long HOWNERID, string sErrMsg, object userState) {
-            if ((this.getMouldSourceBillListOperationCompleted == null)) {
-                this.getMouldSourceBillListOperationCompleted = new System.Threading.SendOrPostCallback(this.OngetMouldSourceBillListOperationCompleted);
-            }
-            this.InvokeAsync("getMouldSourceBillList", new object[] {
-                        HInterID,
-                        HBillNo,
-                        HBillType,
-                        HSourceBillNo,
-                        HSourceBillType,
-                        HHMaker,
-                        HOWNERID,
-                        sErrMsg}, this.getMouldSourceBillListOperationCompleted, userState);
-        }
-        
-        private void OngetMouldSourceBillListOperationCompleted(object arg) {
-            if ((this.getMouldSourceBillListCompleted != null)) {
-                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
-                this.getMouldSourceBillListCompleted(this, new getMouldSourceBillListCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+                this.GetJXBarCode_SiMoErCompleted(this, new GetJXBarCode_SiMoErCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
             }
         }
         
@@ -10727,6 +10813,70 @@
             if ((this.set_SaveOtherInBill_BillCheckCompleted != null)) {
                 System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                 this.set_SaveOtherInBill_BillCheckCompleted(this, new set_SaveOtherInBill_BillCheckCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+            }
+        }
+        
+        /// <remarks/>
+        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_SaveOtherInBill_CLD_BillCheck", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+        public bool set_SaveOtherInBill_CLD_BillCheck(ClsKf_OtherInBillMain oMain, ref string sErrMsg) {
+            object[] results = this.Invoke("set_SaveOtherInBill_CLD_BillCheck", new object[] {
+                        oMain,
+                        sErrMsg});
+            sErrMsg = ((string)(results[1]));
+            return ((bool)(results[0]));
+        }
+        
+        /// <remarks/>
+        public void set_SaveOtherInBill_CLD_BillCheckAsync(ClsKf_OtherInBillMain oMain, string sErrMsg) {
+            this.set_SaveOtherInBill_CLD_BillCheckAsync(oMain, sErrMsg, null);
+        }
+        
+        /// <remarks/>
+        public void set_SaveOtherInBill_CLD_BillCheckAsync(ClsKf_OtherInBillMain oMain, string sErrMsg, object userState) {
+            if ((this.set_SaveOtherInBill_CLD_BillCheckOperationCompleted == null)) {
+                this.set_SaveOtherInBill_CLD_BillCheckOperationCompleted = new System.Threading.SendOrPostCallback(this.Onset_SaveOtherInBill_CLD_BillCheckOperationCompleted);
+            }
+            this.InvokeAsync("set_SaveOtherInBill_CLD_BillCheck", new object[] {
+                        oMain,
+                        sErrMsg}, this.set_SaveOtherInBill_CLD_BillCheckOperationCompleted, userState);
+        }
+        
+        private void Onset_SaveOtherInBill_CLD_BillCheckOperationCompleted(object arg) {
+            if ((this.set_SaveOtherInBill_CLD_BillCheckCompleted != null)) {
+                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
+                this.set_SaveOtherInBill_CLD_BillCheckCompleted(this, new set_SaveOtherInBill_CLD_BillCheckCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+            }
+        }
+        
+        /// <remarks/>
+        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_SaveOtherInBill_CLD_BillCheck_Verify", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+        public bool set_SaveOtherInBill_CLD_BillCheck_Verify(ClsKf_OtherInBillMain oMain, ref string sErrMsg) {
+            object[] results = this.Invoke("set_SaveOtherInBill_CLD_BillCheck_Verify", new object[] {
+                        oMain,
+                        sErrMsg});
+            sErrMsg = ((string)(results[1]));
+            return ((bool)(results[0]));
+        }
+        
+        /// <remarks/>
+        public void set_SaveOtherInBill_CLD_BillCheck_VerifyAsync(ClsKf_OtherInBillMain oMain, string sErrMsg) {
+            this.set_SaveOtherInBill_CLD_BillCheck_VerifyAsync(oMain, sErrMsg, null);
+        }
+        
+        /// <remarks/>
+        public void set_SaveOtherInBill_CLD_BillCheck_VerifyAsync(ClsKf_OtherInBillMain oMain, string sErrMsg, object userState) {
+            if ((this.set_SaveOtherInBill_CLD_BillCheck_VerifyOperationCompleted == null)) {
+                this.set_SaveOtherInBill_CLD_BillCheck_VerifyOperationCompleted = new System.Threading.SendOrPostCallback(this.Onset_SaveOtherInBill_CLD_BillCheck_VerifyOperationCompleted);
+            }
+            this.InvokeAsync("set_SaveOtherInBill_CLD_BillCheck_Verify", new object[] {
+                        oMain,
+                        sErrMsg}, this.set_SaveOtherInBill_CLD_BillCheck_VerifyOperationCompleted, userState);
+        }
+        
+        private void Onset_SaveOtherInBill_CLD_BillCheck_VerifyOperationCompleted(object arg) {
+            if ((this.set_SaveOtherInBill_CLD_BillCheck_VerifyCompleted != null)) {
+                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
+                this.set_SaveOtherInBill_CLD_BillCheck_VerifyCompleted(this, new set_SaveOtherInBill_CLD_BillCheck_VerifyCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
             }
         }
         
@@ -12892,43 +13042,6 @@
             if ((this.Get_CheckWhAndSP_BeUpdateCompleted != null)) {
                 System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                 this.Get_CheckWhAndSP_BeUpdateCompleted(this, new Get_CheckWhAndSP_BeUpdateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
-            }
-        }
-        
-        /// <remarks/>
-        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/get_InfoByBarCode_Source", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
-        public ClsGy_BarCodeBill_WMS_Model_View get_InfoByBarCode_Source(string sBarCode, long sInterID, ref bool sBool, ref string sErrMsg) {
-            object[] results = this.Invoke("get_InfoByBarCode_Source", new object[] {
-                        sBarCode,
-                        sInterID,
-                        sBool,
-                        sErrMsg});
-            sBool = ((bool)(results[1]));
-            sErrMsg = ((string)(results[2]));
-            return ((ClsGy_BarCodeBill_WMS_Model_View)(results[0]));
-        }
-        
-        /// <remarks/>
-        public void get_InfoByBarCode_SourceAsync(string sBarCode, long sInterID, bool sBool, string sErrMsg) {
-            this.get_InfoByBarCode_SourceAsync(sBarCode, sInterID, sBool, sErrMsg, null);
-        }
-        
-        /// <remarks/>
-        public void get_InfoByBarCode_SourceAsync(string sBarCode, long sInterID, bool sBool, string sErrMsg, object userState) {
-            if ((this.get_InfoByBarCode_SourceOperationCompleted == null)) {
-                this.get_InfoByBarCode_SourceOperationCompleted = new System.Threading.SendOrPostCallback(this.Onget_InfoByBarCode_SourceOperationCompleted);
-            }
-            this.InvokeAsync("get_InfoByBarCode_Source", new object[] {
-                        sBarCode,
-                        sInterID,
-                        sBool,
-                        sErrMsg}, this.get_InfoByBarCode_SourceOperationCompleted, userState);
-        }
-        
-        private void Onget_InfoByBarCode_SourceOperationCompleted(object arg) {
-            if ((this.get_InfoByBarCode_SourceCompleted != null)) {
-                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
-                this.get_InfoByBarCode_SourceCompleted(this, new get_InfoByBarCode_SourceCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
             }
         }
         
@@ -24640,101 +24753,147 @@
     [System.Diagnostics.DebuggerStepThroughAttribute()]
     [System.ComponentModel.DesignerCategoryAttribute("code")]
     [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
-    public partial class ClsSc_MouldStockBillMain : ClsXt_BaseBillMain {
+    public partial class ClsKf_ICStockBill_Mould {
         
-        private long hSCWHIDField;
+        private long hItemIDField;
         
-        private long hSupIDField;
+        private string hBarTypeField;
         
-        private long hEmpIDField;
+        private long hWhIDField;
         
-        private long hManagerIDField;
+        private string hWhNumberField;
         
-        private long hWHIDField;
+        private string hWhNameField;
         
-        private long hSecManagerIDField;
+        private bool hSPFlagField;
         
-        private long hKeeperIDField;
+        private long hSPIDField;
+        
+        private string hSPNumberField;
+        
+        private string hSPNameField;
         
         private long hDeptIDField;
         
-        private string hExplanationField;
+        private string hDeptNumberField;
         
-        private string hInnerBillNoField;
+        private string hDeptNameField;
         
-        private bool hRedBlueFlagField;
+        private long hSupIDField;
         
-        private string hRepairTypeField;
+        private string hSupNumberField;
         
-        private long hCorrespondentTypeIDField;
+        private string hSupNameField;
+        
+        private string hSourceBillNoField;
+        
+        private string hSourceBillTypeField;
+        
+        private long hOWNERIDField;
+        
+        private string hOWNERNAMEField;
+        
+        private string hCustomField;
+        
+        private long hMulSourceFlagField;
+        
+        private string hStockStyleField;
+        
+        private long hStockInOrgIDField;
+        
+        private string hStockInOrgNameField;
+        
+        private long hStockOutOrgIDField;
+        
+        private string hStockOutOrgNameField;
         
         /// <remarks/>
-        public long HSCWHID {
+        public long HItemID {
             get {
-                return this.hSCWHIDField;
+                return this.hItemIDField;
             }
             set {
-                this.hSCWHIDField = value;
+                this.hItemIDField = value;
             }
         }
         
         /// <remarks/>
-        public long HSupID {
+        public string HBarType {
             get {
-                return this.hSupIDField;
+                return this.hBarTypeField;
             }
             set {
-                this.hSupIDField = value;
+                this.hBarTypeField = value;
             }
         }
         
         /// <remarks/>
-        public long HEmpID {
+        public long HWhID {
             get {
-                return this.hEmpIDField;
+                return this.hWhIDField;
             }
             set {
-                this.hEmpIDField = value;
+                this.hWhIDField = value;
             }
         }
         
         /// <remarks/>
-        public long HManagerID {
+        public string HWhNumber {
             get {
-                return this.hManagerIDField;
+                return this.hWhNumberField;
             }
             set {
-                this.hManagerIDField = value;
+                this.hWhNumberField = value;
             }
         }
         
         /// <remarks/>
-        public long HWHID {
+        public string HWhName {
             get {
-                return this.hWHIDField;
+                return this.hWhNameField;
             }
             set {
-                this.hWHIDField = value;
+                this.hWhNameField = value;
             }
         }
         
         /// <remarks/>
-        public long HSecManagerID {
+        public bool HSPFlag {
             get {
-                return this.hSecManagerIDField;
+                return this.hSPFlagField;
             }
             set {
-                this.hSecManagerIDField = value;
+                this.hSPFlagField = value;
             }
         }
         
         /// <remarks/>
-        public long HKeeperID {
+        public long HSPID {
             get {
-                return this.hKeeperIDField;
+                return this.hSPIDField;
             }
             set {
-                this.hKeeperIDField = value;
+                this.hSPIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HSPNumber {
+            get {
+                return this.hSPNumberField;
+            }
+            set {
+                this.hSPNumberField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HSPName {
+            get {
+                return this.hSPNameField;
+            }
+            set {
+                this.hSPNameField = value;
             }
         }
         
@@ -24749,480 +24908,162 @@
         }
         
         /// <remarks/>
-        public string HExplanation {
+        public string HDeptNumber {
             get {
-                return this.hExplanationField;
+                return this.hDeptNumberField;
             }
             set {
-                this.hExplanationField = value;
+                this.hDeptNumberField = value;
             }
         }
         
         /// <remarks/>
-        public string HInnerBillNo {
+        public string HDeptName {
             get {
-                return this.hInnerBillNoField;
+                return this.hDeptNameField;
             }
             set {
-                this.hInnerBillNoField = value;
+                this.hDeptNameField = value;
             }
         }
         
         /// <remarks/>
-        public bool HRedBlueFlag {
+        public long HSupID {
             get {
-                return this.hRedBlueFlagField;
+                return this.hSupIDField;
             }
             set {
-                this.hRedBlueFlagField = value;
+                this.hSupIDField = value;
             }
         }
         
         /// <remarks/>
-        public string HRepairType {
+        public string HSupNumber {
             get {
-                return this.hRepairTypeField;
+                return this.hSupNumberField;
             }
             set {
-                this.hRepairTypeField = value;
+                this.hSupNumberField = value;
             }
         }
         
         /// <remarks/>
-        public long HCorrespondentTypeID {
+        public string HSupName {
             get {
-                return this.hCorrespondentTypeIDField;
+                return this.hSupNameField;
             }
             set {
-                this.hCorrespondentTypeIDField = value;
-            }
-        }
-    }
-    
-    /// <remarks/>
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_ProcExchReportMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_PackUnionBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_PackDoubleBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_PackSplitBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_MoveStockStepOutBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_MoveStockBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_QualityReportBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_ICMOReportBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_DoorOutCheckBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_EntrustInBackBillMain_CLD))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_EntrustReplenishOutBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_MateReplenishOutBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_MateOutBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_StdWorkQtyBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_MESBeginWorkBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_StationInBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_SellOutBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_MoveStockStepInBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_EntrustInBillMain_K3))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_EntrustInBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_ProductInBillMain_K3))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_AGVRequestBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_ProductInBillMain_CLD))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_POStockInBillMain_K3))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_POStockInBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_OtherOutBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_ICStockBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_EntrustOutBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsQC_NoPassProdCheckBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsCg_POInStockBillMain_K3))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsCg_POInStockBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_ProductInBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_MouldProdInBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_OtherInBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_MouldStockBillMain))]
-    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.3752.0")]
-    [System.SerializableAttribute()]
-    [System.Diagnostics.DebuggerStepThroughAttribute()]
-    [System.ComponentModel.DesignerCategoryAttribute("code")]
-    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
-    public partial class ClsXt_BaseBillMain {
-        
-        private long hYearField;
-        
-        private long hPeriodField;
-        
-        private string hBillTypeField;
-        
-        private string hBillSubTypeField;
-        
-        private long hInterIDField;
-        
-        private System.DateTime hDateField;
-        
-        private string hBillNoField;
-        
-        private int hBillStatusField;
-        
-        private long hCheckItemNowIDField;
-        
-        private long hCheckItemNextIDField;
-        
-        private long hCheckFlowIDField;
-        
-        private string hRemarkField;
-        
-        private string hEmpCodeField;
-        
-        private string hMakerField;
-        
-        private string hMakeDateField;
-        
-        private string hUpDaterField;
-        
-        private string hUpDateDateField;
-        
-        private string hCheckerField;
-        
-        private string hCheckDateField;
-        
-        private string hBackerField;
-        
-        private string hBackDateField;
-        
-        private string hBackRemarkField;
-        
-        private string hCloseManField;
-        
-        private string hCloseDateField;
-        
-        private bool hCloseTypeField;
-        
-        private string hDeleteManField;
-        
-        private string hDeleteDateField;
-        
-        private long hBillerIDField;
-        
-        private string hMainSourceBillNoField;
-        
-        private string hMainSourceBillTypeField;
-        
-        private long hMainSourceInterIDField;
-        
-        private long hMainSourceEntryIDField;
-        
-        /// <remarks/>
-        public long HYear {
-            get {
-                return this.hYearField;
-            }
-            set {
-                this.hYearField = value;
+                this.hSupNameField = value;
             }
         }
         
         /// <remarks/>
-        public long HPeriod {
+        public string HSourceBillNo {
             get {
-                return this.hPeriodField;
+                return this.hSourceBillNoField;
             }
             set {
-                this.hPeriodField = value;
+                this.hSourceBillNoField = value;
             }
         }
         
         /// <remarks/>
-        public string HBillType {
+        public string HSourceBillType {
             get {
-                return this.hBillTypeField;
+                return this.hSourceBillTypeField;
             }
             set {
-                this.hBillTypeField = value;
+                this.hSourceBillTypeField = value;
             }
         }
         
         /// <remarks/>
-        public string HBillSubType {
+        public long HOWNERID {
             get {
-                return this.hBillSubTypeField;
+                return this.hOWNERIDField;
             }
             set {
-                this.hBillSubTypeField = value;
+                this.hOWNERIDField = value;
             }
         }
         
         /// <remarks/>
-        public long HInterID {
+        public string HOWNERNAME {
             get {
-                return this.hInterIDField;
+                return this.hOWNERNAMEField;
             }
             set {
-                this.hInterIDField = value;
+                this.hOWNERNAMEField = value;
             }
         }
         
         /// <remarks/>
-        public System.DateTime HDate {
+        public string HCustom {
             get {
-                return this.hDateField;
+                return this.hCustomField;
             }
             set {
-                this.hDateField = value;
+                this.hCustomField = value;
             }
         }
         
         /// <remarks/>
-        public string HBillNo {
+        public long HMulSourceFlag {
             get {
-                return this.hBillNoField;
+                return this.hMulSourceFlagField;
             }
             set {
-                this.hBillNoField = value;
+                this.hMulSourceFlagField = value;
             }
         }
         
         /// <remarks/>
-        public int HBillStatus {
+        public string HStockStyle {
             get {
-                return this.hBillStatusField;
+                return this.hStockStyleField;
             }
             set {
-                this.hBillStatusField = value;
+                this.hStockStyleField = value;
             }
         }
         
         /// <remarks/>
-        public long HCheckItemNowID {
+        public long HStockInOrgID {
             get {
-                return this.hCheckItemNowIDField;
+                return this.hStockInOrgIDField;
             }
             set {
-                this.hCheckItemNowIDField = value;
+                this.hStockInOrgIDField = value;
             }
         }
         
         /// <remarks/>
-        public long HCheckItemNextID {
+        public string HStockInOrgName {
             get {
-                return this.hCheckItemNextIDField;
+                return this.hStockInOrgNameField;
             }
             set {
-                this.hCheckItemNextIDField = value;
+                this.hStockInOrgNameField = value;
             }
         }
         
         /// <remarks/>
-        public long HCheckFlowID {
+        public long HStockOutOrgID {
             get {
-                return this.hCheckFlowIDField;
+                return this.hStockOutOrgIDField;
             }
             set {
-                this.hCheckFlowIDField = value;
+                this.hStockOutOrgIDField = value;
             }
         }
         
         /// <remarks/>
-        public string HRemark {
+        public string HStockOutOrgName {
             get {
-                return this.hRemarkField;
+                return this.hStockOutOrgNameField;
             }
             set {
-                this.hRemarkField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HEmpCode {
-            get {
-                return this.hEmpCodeField;
-            }
-            set {
-                this.hEmpCodeField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HMaker {
-            get {
-                return this.hMakerField;
-            }
-            set {
-                this.hMakerField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HMakeDate {
-            get {
-                return this.hMakeDateField;
-            }
-            set {
-                this.hMakeDateField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HUpDater {
-            get {
-                return this.hUpDaterField;
-            }
-            set {
-                this.hUpDaterField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HUpDateDate {
-            get {
-                return this.hUpDateDateField;
-            }
-            set {
-                this.hUpDateDateField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HChecker {
-            get {
-                return this.hCheckerField;
-            }
-            set {
-                this.hCheckerField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HCheckDate {
-            get {
-                return this.hCheckDateField;
-            }
-            set {
-                this.hCheckDateField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HBacker {
-            get {
-                return this.hBackerField;
-            }
-            set {
-                this.hBackerField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HBackDate {
-            get {
-                return this.hBackDateField;
-            }
-            set {
-                this.hBackDateField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HBackRemark {
-            get {
-                return this.hBackRemarkField;
-            }
-            set {
-                this.hBackRemarkField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HCloseMan {
-            get {
-                return this.hCloseManField;
-            }
-            set {
-                this.hCloseManField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HCloseDate {
-            get {
-                return this.hCloseDateField;
-            }
-            set {
-                this.hCloseDateField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public bool HCloseType {
-            get {
-                return this.hCloseTypeField;
-            }
-            set {
-                this.hCloseTypeField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HDeleteMan {
-            get {
-                return this.hDeleteManField;
-            }
-            set {
-                this.hDeleteManField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HDeleteDate {
-            get {
-                return this.hDeleteDateField;
-            }
-            set {
-                this.hDeleteDateField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HBillerID {
-            get {
-                return this.hBillerIDField;
-            }
-            set {
-                this.hBillerIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HMainSourceBillNo {
-            get {
-                return this.hMainSourceBillNoField;
-            }
-            set {
-                this.hMainSourceBillNoField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HMainSourceBillType {
-            get {
-                return this.hMainSourceBillTypeField;
-            }
-            set {
-                this.hMainSourceBillTypeField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HMainSourceInterID {
-            get {
-                return this.hMainSourceInterIDField;
-            }
-            set {
-                this.hMainSourceInterIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HMainSourceEntryID {
-            get {
-                return this.hMainSourceEntryIDField;
-            }
-            set {
-                this.hMainSourceEntryIDField = value;
+                this.hStockOutOrgNameField = value;
             }
         }
     }
@@ -36509,327 +36350,6 @@
     [System.Diagnostics.DebuggerStepThroughAttribute()]
     [System.ComponentModel.DesignerCategoryAttribute("code")]
     [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
-    public partial class ClsKf_ICStockBill_Mould {
-        
-        private long hItemIDField;
-        
-        private string hBarTypeField;
-        
-        private long hWhIDField;
-        
-        private string hWhNumberField;
-        
-        private string hWhNameField;
-        
-        private bool hSPFlagField;
-        
-        private long hSPIDField;
-        
-        private string hSPNumberField;
-        
-        private string hSPNameField;
-        
-        private long hDeptIDField;
-        
-        private string hDeptNumberField;
-        
-        private string hDeptNameField;
-        
-        private long hSupIDField;
-        
-        private string hSupNumberField;
-        
-        private string hSupNameField;
-        
-        private string hSourceBillNoField;
-        
-        private string hSourceBillTypeField;
-        
-        private long hOWNERIDField;
-        
-        private string hOWNERNAMEField;
-        
-        private string hCustomField;
-        
-        private long hMulSourceFlagField;
-        
-        private string hStockStyleField;
-        
-        private long hStockInOrgIDField;
-        
-        private string hStockInOrgNameField;
-        
-        private long hStockOutOrgIDField;
-        
-        private string hStockOutOrgNameField;
-        
-        /// <remarks/>
-        public long HItemID {
-            get {
-                return this.hItemIDField;
-            }
-            set {
-                this.hItemIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HBarType {
-            get {
-                return this.hBarTypeField;
-            }
-            set {
-                this.hBarTypeField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HWhID {
-            get {
-                return this.hWhIDField;
-            }
-            set {
-                this.hWhIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HWhNumber {
-            get {
-                return this.hWhNumberField;
-            }
-            set {
-                this.hWhNumberField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HWhName {
-            get {
-                return this.hWhNameField;
-            }
-            set {
-                this.hWhNameField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public bool HSPFlag {
-            get {
-                return this.hSPFlagField;
-            }
-            set {
-                this.hSPFlagField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HSPID {
-            get {
-                return this.hSPIDField;
-            }
-            set {
-                this.hSPIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HSPNumber {
-            get {
-                return this.hSPNumberField;
-            }
-            set {
-                this.hSPNumberField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HSPName {
-            get {
-                return this.hSPNameField;
-            }
-            set {
-                this.hSPNameField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HDeptID {
-            get {
-                return this.hDeptIDField;
-            }
-            set {
-                this.hDeptIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HDeptNumber {
-            get {
-                return this.hDeptNumberField;
-            }
-            set {
-                this.hDeptNumberField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HDeptName {
-            get {
-                return this.hDeptNameField;
-            }
-            set {
-                this.hDeptNameField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HSupID {
-            get {
-                return this.hSupIDField;
-            }
-            set {
-                this.hSupIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HSupNumber {
-            get {
-                return this.hSupNumberField;
-            }
-            set {
-                this.hSupNumberField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HSupName {
-            get {
-                return this.hSupNameField;
-            }
-            set {
-                this.hSupNameField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HSourceBillNo {
-            get {
-                return this.hSourceBillNoField;
-            }
-            set {
-                this.hSourceBillNoField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HSourceBillType {
-            get {
-                return this.hSourceBillTypeField;
-            }
-            set {
-                this.hSourceBillTypeField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HOWNERID {
-            get {
-                return this.hOWNERIDField;
-            }
-            set {
-                this.hOWNERIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HOWNERNAME {
-            get {
-                return this.hOWNERNAMEField;
-            }
-            set {
-                this.hOWNERNAMEField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HCustom {
-            get {
-                return this.hCustomField;
-            }
-            set {
-                this.hCustomField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HMulSourceFlag {
-            get {
-                return this.hMulSourceFlagField;
-            }
-            set {
-                this.hMulSourceFlagField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HStockStyle {
-            get {
-                return this.hStockStyleField;
-            }
-            set {
-                this.hStockStyleField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HStockInOrgID {
-            get {
-                return this.hStockInOrgIDField;
-            }
-            set {
-                this.hStockInOrgIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HStockInOrgName {
-            get {
-                return this.hStockInOrgNameField;
-            }
-            set {
-                this.hStockInOrgNameField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HStockOutOrgID {
-            get {
-                return this.hStockOutOrgIDField;
-            }
-            set {
-                this.hStockOutOrgIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HStockOutOrgName {
-            get {
-                return this.hStockOutOrgNameField;
-            }
-            set {
-                this.hStockOutOrgNameField = value;
-            }
-        }
-    }
-    
-    /// <remarks/>
-    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.3752.0")]
-    [System.SerializableAttribute()]
-    [System.Diagnostics.DebuggerStepThroughAttribute()]
-    [System.ComponentModel.DesignerCategoryAttribute("code")]
-    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
     public partial class ClsXt_SystemParameterMain {
         
         private string sc_ICMOReportBill_AutoCheckField;
@@ -36900,6 +36420,12 @@
         
         private string kf_POStockInBill_DeleterAndMakerMustSameField;
         
+        private string kf_POStockInBillCheck_MustQtyCtlField;
+        
+        private string kf_POStockInBillCheck_WHSPCtlField;
+        
+        private string kf_POStockInBillCheck_MultilineCtlField;
+        
         private string kf_ProductInBill_AutoCheckField;
         
         private string kf_ProductInBill_SaveAutoAddnewField;
@@ -36925,6 +36451,12 @@
         private string kf_ProductInBill_DisplayField;
         
         private string kf_ProductInBill_DeleterAndMakerMustSameField;
+        
+        private string kf_ProductInBillCheck_MustQtyCtlField;
+        
+        private string kf_ProductInBillCheck_WHSPCtlField;
+        
+        private string kf_ProductInBillCheck_MultilineCtlField;
         
         private string kf_OtherInBill_AutoCheckField;
         
@@ -37514,6 +37046,72 @@
         
         private string barCode_DeleterAndMakerMustSameField;
         
+        private string sc_MouldProdInBill_AutoCheckField;
+        
+        private string sc_MouldProdInBill_BarCodeQtyField;
+        
+        private string sc_MouldProdOutBill_AutoCheckField;
+        
+        private string sc_MouldProdOutBill_BarCodeQtyField;
+        
+        private string sc_MouldProdOutBill_SaveAutoAddnewField;
+        
+        private string sc_MouldProdOutBill_DeleterAndMakerMustSameField;
+        
+        private string sc_MouldProdOutBill_MouldLifeCtrlField;
+        
+        private string sc_MouldProdOutBill_MouldLifeCtrlTypeField;
+        
+        private string sc_MouldProdBackBill_AutoCheckField;
+        
+        private string sc_MouldProdBackBill_BarCodeQtyField;
+        
+        private string sc_MouldRepairOutBill_AutoCheckField;
+        
+        private string sc_MouldRepairOutBill_BarCodeQtyField;
+        
+        private string sc_MouldRepairInBill_AutoCheckField;
+        
+        private string sc_MouldRepairInBill_BarCodeQtyField;
+        
+        private string sc_MouldOtherInBill_AutoCheckField;
+        
+        private string sc_MouldOtherInBill_BarCodeQtyField;
+        
+        private string sc_MouldOtherOutBill_AutoCheckField;
+        
+        private string sc_MouldOtherOutBill_BarCodeQtyField;
+        
+        private string sc_MouldBorrowInBill_AutoCheckField;
+        
+        private string sc_MouldBorrowInBill_BarCodeQtyField;
+        
+        private string sc_MouldBorrowOutBill_AutoCheckField;
+        
+        private string sc_MouldBorrowOutBill_BarCodeQtyField;
+        
+        private string sc_MouldScrapInBill_AutoCheckField;
+        
+        private string sc_MouldScrapInBill_BarCodeQtyField;
+        
+        private string sc_MouldScrapOutBill_AutoCheckField;
+        
+        private string sc_MouldScrapOutBill_BarCodeQtyField;
+        
+        private string sc_MouldProdMoveBill_AutoCheckField;
+        
+        private string sc_MouldProdMoveBill_BarCodeQtyField;
+        
+        private string sc_MouldMoveStockStepOutBill_AutoCheckField;
+        
+        private string sc_MouldMoveStockStepOutBill_BarCodeQtyField;
+        
+        private string sc_MouldMoveStockStepInBill_AutoCheckField;
+        
+        private string sc_MouldMoveStockStepInBill_BarCodeQtyField;
+        
+        private string sc_MouldProdCheckStockBill_AutoCheckField;
+        
         private string sc_ICMOBill_AutoCheckField;
         
         private string sc_ICMOBill_SaveAutoAddnewField;
@@ -37529,6 +37127,8 @@
         private string sc_ProcessExchangeBill_AutoBarCodeField;
         
         private string sc_ProcessExchangeBill_DeleterAndMakerMustSameField;
+        
+        private string sc_ProcessExchangeBill_SaveDeptIsNullField;
         
         private string mES_StationInBill_AutoCheckField;
         
@@ -37561,6 +37161,8 @@
         private string mES_StationInBill_QtyRateCtlField;
         
         private string mES_StationInBill_DyCentralInspectionControlField;
+        
+        private string mES_StationInBill_DefQtyField;
         
         private string mES_StationOutBill_AutoCheckField;
         
@@ -37595,6 +37197,8 @@
         private string mES_StationOutBill_NextQtyCtlField;
         
         private string mES_StationOutBill_QtyRateCtlField;
+        
+        private string mES_StationOutBill_MustBeginWorkCtlField;
         
         private string qC_NoPassProdCheckBill_AutoCheckField;
         
@@ -37635,6 +37239,10 @@
         private string sc_MESBeginWorkBill_SaveAutoAddnewField;
         
         private string sc_MESBeginWorkBill_DeleterAndMakerMustSameField;
+        
+        private string sc_MESBeginWorkBill_SwipeCardStartField;
+        
+        private string sc_MESBeginWorkBill_MouldUpperField;
         
         private string sc_MESReturnWorkBill_AutoCheckField;
         
@@ -37684,6 +37292,8 @@
         
         private string oA_ErrMsgBackBill_DeleterAndMakerMustSameField;
         
+        private string oA_ErrMsgBackBill_SendDingDingMsgField;
+        
         private string sc_MESProceReportWorkBill_AutoCheckField;
         
         private string sc_MESProceReportWorkBill_SaveAutoAddnewField;
@@ -37714,15 +37324,7 @@
         
         private string qC_ProcessCheckBill_QCSchemeSourceField;
         
-        private string sc_MouldProdOutBill_AutoCheckField;
-        
-        private string sc_MouldProdOutBill_SaveAutoAddnewField;
-        
-        private string sc_MouldProdOutBill_DeleterAndMakerMustSameField;
-        
-        private string sc_MouldProdOutBill_MouldLifeCtrlField;
-        
-        private string sc_MouldProdOutBill_MouldLifeCtrlTypeField;
+        private string sB_EquipICMOTechParamBill_MustBeginWorkCtlField;
         
         private string gy_RoutingBill_AutoCheckField;
         
@@ -37731,6 +37333,28 @@
         private string gy_RoutingBill_DeleterAndMakerMustSameField;
         
         private string gy_RoutingBill_SaveAutoLastProcField;
+        
+        private string gy_RoutingBill_EnableMultiLevelField;
+        
+        private string kf_StockInRequestBill_AutoCheckField;
+        
+        private string cg_POOrderBill_AutoCheckField;
+        
+        private string cg_PayableBill_AutoCheckField;
+        
+        private string yF_PayMentBill_AutoCheckField;
+        
+        private string xs_SeOrderBill_AutoCheckField;
+        
+        private string xs_SeOutStockBill_AutoCheckField;
+        
+        private string xs_ReceivableBill_AutoCheckField;
+        
+        private string yS_ReceiveBill_AutoCheckField;
+        
+        private string pay_WorkTimesBill_AutoCheckField;
+        
+        private string sc_MouldLowerBill_MouldUpperField;
         
         /// <remarks/>
         public string Sc_ICMOReportBill_AutoCheck {
@@ -38073,6 +37697,36 @@
         }
         
         /// <remarks/>
+        public string Kf_POStockInBillCheck_MustQtyCtl {
+            get {
+                return this.kf_POStockInBillCheck_MustQtyCtlField;
+            }
+            set {
+                this.kf_POStockInBillCheck_MustQtyCtlField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Kf_POStockInBillCheck_WHSPCtl {
+            get {
+                return this.kf_POStockInBillCheck_WHSPCtlField;
+            }
+            set {
+                this.kf_POStockInBillCheck_WHSPCtlField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Kf_POStockInBillCheck_MultilineCtl {
+            get {
+                return this.kf_POStockInBillCheck_MultilineCtlField;
+            }
+            set {
+                this.kf_POStockInBillCheck_MultilineCtlField = value;
+            }
+        }
+        
+        /// <remarks/>
         public string Kf_ProductInBill_AutoCheck {
             get {
                 return this.kf_ProductInBill_AutoCheckField;
@@ -38199,6 +37853,36 @@
             }
             set {
                 this.kf_ProductInBill_DeleterAndMakerMustSameField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Kf_ProductInBillCheck_MustQtyCtl {
+            get {
+                return this.kf_ProductInBillCheck_MustQtyCtlField;
+            }
+            set {
+                this.kf_ProductInBillCheck_MustQtyCtlField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Kf_ProductInBillCheck_WHSPCtl {
+            get {
+                return this.kf_ProductInBillCheck_WHSPCtlField;
+            }
+            set {
+                this.kf_ProductInBillCheck_WHSPCtlField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Kf_ProductInBillCheck_MultilineCtl {
+            get {
+                return this.kf_ProductInBillCheck_MultilineCtlField;
+            }
+            set {
+                this.kf_ProductInBillCheck_MultilineCtlField = value;
             }
         }
         
@@ -41143,6 +40827,336 @@
         }
         
         /// <remarks/>
+        public string Sc_MouldProdInBill_AutoCheck {
+            get {
+                return this.sc_MouldProdInBill_AutoCheckField;
+            }
+            set {
+                this.sc_MouldProdInBill_AutoCheckField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MouldProdInBill_BarCodeQty {
+            get {
+                return this.sc_MouldProdInBill_BarCodeQtyField;
+            }
+            set {
+                this.sc_MouldProdInBill_BarCodeQtyField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MouldProdOutBill_AutoCheck {
+            get {
+                return this.sc_MouldProdOutBill_AutoCheckField;
+            }
+            set {
+                this.sc_MouldProdOutBill_AutoCheckField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MouldProdOutBill_BarCodeQty {
+            get {
+                return this.sc_MouldProdOutBill_BarCodeQtyField;
+            }
+            set {
+                this.sc_MouldProdOutBill_BarCodeQtyField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MouldProdOutBill_SaveAutoAddnew {
+            get {
+                return this.sc_MouldProdOutBill_SaveAutoAddnewField;
+            }
+            set {
+                this.sc_MouldProdOutBill_SaveAutoAddnewField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MouldProdOutBill_DeleterAndMakerMustSame {
+            get {
+                return this.sc_MouldProdOutBill_DeleterAndMakerMustSameField;
+            }
+            set {
+                this.sc_MouldProdOutBill_DeleterAndMakerMustSameField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MouldProdOutBill_MouldLifeCtrl {
+            get {
+                return this.sc_MouldProdOutBill_MouldLifeCtrlField;
+            }
+            set {
+                this.sc_MouldProdOutBill_MouldLifeCtrlField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MouldProdOutBill_MouldLifeCtrlType {
+            get {
+                return this.sc_MouldProdOutBill_MouldLifeCtrlTypeField;
+            }
+            set {
+                this.sc_MouldProdOutBill_MouldLifeCtrlTypeField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MouldProdBackBill_AutoCheck {
+            get {
+                return this.sc_MouldProdBackBill_AutoCheckField;
+            }
+            set {
+                this.sc_MouldProdBackBill_AutoCheckField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MouldProdBackBill_BarCodeQty {
+            get {
+                return this.sc_MouldProdBackBill_BarCodeQtyField;
+            }
+            set {
+                this.sc_MouldProdBackBill_BarCodeQtyField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MouldRepairOutBill_AutoCheck {
+            get {
+                return this.sc_MouldRepairOutBill_AutoCheckField;
+            }
+            set {
+                this.sc_MouldRepairOutBill_AutoCheckField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MouldRepairOutBill_BarCodeQty {
+            get {
+                return this.sc_MouldRepairOutBill_BarCodeQtyField;
+            }
+            set {
+                this.sc_MouldRepairOutBill_BarCodeQtyField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MouldRepairInBill_AutoCheck {
+            get {
+                return this.sc_MouldRepairInBill_AutoCheckField;
+            }
+            set {
+                this.sc_MouldRepairInBill_AutoCheckField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MouldRepairInBill_BarCodeQty {
+            get {
+                return this.sc_MouldRepairInBill_BarCodeQtyField;
+            }
+            set {
+                this.sc_MouldRepairInBill_BarCodeQtyField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MouldOtherInBill_AutoCheck {
+            get {
+                return this.sc_MouldOtherInBill_AutoCheckField;
+            }
+            set {
+                this.sc_MouldOtherInBill_AutoCheckField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MouldOtherInBill_BarCodeQty {
+            get {
+                return this.sc_MouldOtherInBill_BarCodeQtyField;
+            }
+            set {
+                this.sc_MouldOtherInBill_BarCodeQtyField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MouldOtherOutBill_AutoCheck {
+            get {
+                return this.sc_MouldOtherOutBill_AutoCheckField;
+            }
+            set {
+                this.sc_MouldOtherOutBill_AutoCheckField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MouldOtherOutBill_BarCodeQty {
+            get {
+                return this.sc_MouldOtherOutBill_BarCodeQtyField;
+            }
+            set {
+                this.sc_MouldOtherOutBill_BarCodeQtyField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MouldBorrowInBill_AutoCheck {
+            get {
+                return this.sc_MouldBorrowInBill_AutoCheckField;
+            }
+            set {
+                this.sc_MouldBorrowInBill_AutoCheckField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MouldBorrowInBill_BarCodeQty {
+            get {
+                return this.sc_MouldBorrowInBill_BarCodeQtyField;
+            }
+            set {
+                this.sc_MouldBorrowInBill_BarCodeQtyField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MouldBorrowOutBill_AutoCheck {
+            get {
+                return this.sc_MouldBorrowOutBill_AutoCheckField;
+            }
+            set {
+                this.sc_MouldBorrowOutBill_AutoCheckField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MouldBorrowOutBill_BarCodeQty {
+            get {
+                return this.sc_MouldBorrowOutBill_BarCodeQtyField;
+            }
+            set {
+                this.sc_MouldBorrowOutBill_BarCodeQtyField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MouldScrapInBill_AutoCheck {
+            get {
+                return this.sc_MouldScrapInBill_AutoCheckField;
+            }
+            set {
+                this.sc_MouldScrapInBill_AutoCheckField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MouldScrapInBill_BarCodeQty {
+            get {
+                return this.sc_MouldScrapInBill_BarCodeQtyField;
+            }
+            set {
+                this.sc_MouldScrapInBill_BarCodeQtyField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MouldScrapOutBill_AutoCheck {
+            get {
+                return this.sc_MouldScrapOutBill_AutoCheckField;
+            }
+            set {
+                this.sc_MouldScrapOutBill_AutoCheckField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MouldScrapOutBill_BarCodeQty {
+            get {
+                return this.sc_MouldScrapOutBill_BarCodeQtyField;
+            }
+            set {
+                this.sc_MouldScrapOutBill_BarCodeQtyField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MouldProdMoveBill_AutoCheck {
+            get {
+                return this.sc_MouldProdMoveBill_AutoCheckField;
+            }
+            set {
+                this.sc_MouldProdMoveBill_AutoCheckField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MouldProdMoveBill_BarCodeQty {
+            get {
+                return this.sc_MouldProdMoveBill_BarCodeQtyField;
+            }
+            set {
+                this.sc_MouldProdMoveBill_BarCodeQtyField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MouldMoveStockStepOutBill_AutoCheck {
+            get {
+                return this.sc_MouldMoveStockStepOutBill_AutoCheckField;
+            }
+            set {
+                this.sc_MouldMoveStockStepOutBill_AutoCheckField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MouldMoveStockStepOutBill_BarCodeQty {
+            get {
+                return this.sc_MouldMoveStockStepOutBill_BarCodeQtyField;
+            }
+            set {
+                this.sc_MouldMoveStockStepOutBill_BarCodeQtyField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MouldMoveStockStepInBill_AutoCheck {
+            get {
+                return this.sc_MouldMoveStockStepInBill_AutoCheckField;
+            }
+            set {
+                this.sc_MouldMoveStockStepInBill_AutoCheckField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MouldMoveStockStepInBill_BarCodeQty {
+            get {
+                return this.sc_MouldMoveStockStepInBill_BarCodeQtyField;
+            }
+            set {
+                this.sc_MouldMoveStockStepInBill_BarCodeQtyField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MouldProdCheckStockBill_AutoCheck {
+            get {
+                return this.sc_MouldProdCheckStockBill_AutoCheckField;
+            }
+            set {
+                this.sc_MouldProdCheckStockBill_AutoCheckField = value;
+            }
+        }
+        
+        /// <remarks/>
         public string Sc_ICMOBill_AutoCheck {
             get {
                 return this.sc_ICMOBill_AutoCheckField;
@@ -41219,6 +41233,16 @@
             }
             set {
                 this.sc_ProcessExchangeBill_DeleterAndMakerMustSameField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_ProcessExchangeBill_SaveDeptIsNull {
+            get {
+                return this.sc_ProcessExchangeBill_SaveDeptIsNullField;
+            }
+            set {
+                this.sc_ProcessExchangeBill_SaveDeptIsNullField = value;
             }
         }
         
@@ -41379,6 +41403,16 @@
             }
             set {
                 this.mES_StationInBill_DyCentralInspectionControlField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string MES_StationInBill_DefQty {
+            get {
+                return this.mES_StationInBill_DefQtyField;
+            }
+            set {
+                this.mES_StationInBill_DefQtyField = value;
             }
         }
         
@@ -41549,6 +41583,16 @@
             }
             set {
                 this.mES_StationOutBill_QtyRateCtlField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string MES_StationOutBill_MustBeginWorkCtl {
+            get {
+                return this.mES_StationOutBill_MustBeginWorkCtlField;
+            }
+            set {
+                this.mES_StationOutBill_MustBeginWorkCtlField = value;
             }
         }
         
@@ -41749,6 +41793,26 @@
             }
             set {
                 this.sc_MESBeginWorkBill_DeleterAndMakerMustSameField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MESBeginWorkBill_SwipeCardStart {
+            get {
+                return this.sc_MESBeginWorkBill_SwipeCardStartField;
+            }
+            set {
+                this.sc_MESBeginWorkBill_SwipeCardStartField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MESBeginWorkBill_MouldUpper {
+            get {
+                return this.sc_MESBeginWorkBill_MouldUpperField;
+            }
+            set {
+                this.sc_MESBeginWorkBill_MouldUpperField = value;
             }
         }
         
@@ -41993,6 +42057,16 @@
         }
         
         /// <remarks/>
+        public string OA_ErrMsgBackBill_SendDingDingMsg {
+            get {
+                return this.oA_ErrMsgBackBill_SendDingDingMsgField;
+            }
+            set {
+                this.oA_ErrMsgBackBill_SendDingDingMsgField = value;
+            }
+        }
+        
+        /// <remarks/>
         public string Sc_MESProceReportWorkBill_AutoCheck {
             get {
                 return this.sc_MESProceReportWorkBill_AutoCheckField;
@@ -42143,52 +42217,12 @@
         }
         
         /// <remarks/>
-        public string Sc_MouldProdOutBill_AutoCheck {
+        public string SB_EquipICMOTechParamBill_MustBeginWorkCtl {
             get {
-                return this.sc_MouldProdOutBill_AutoCheckField;
+                return this.sB_EquipICMOTechParamBill_MustBeginWorkCtlField;
             }
             set {
-                this.sc_MouldProdOutBill_AutoCheckField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string Sc_MouldProdOutBill_SaveAutoAddnew {
-            get {
-                return this.sc_MouldProdOutBill_SaveAutoAddnewField;
-            }
-            set {
-                this.sc_MouldProdOutBill_SaveAutoAddnewField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string Sc_MouldProdOutBill_DeleterAndMakerMustSame {
-            get {
-                return this.sc_MouldProdOutBill_DeleterAndMakerMustSameField;
-            }
-            set {
-                this.sc_MouldProdOutBill_DeleterAndMakerMustSameField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string Sc_MouldProdOutBill_MouldLifeCtrl {
-            get {
-                return this.sc_MouldProdOutBill_MouldLifeCtrlField;
-            }
-            set {
-                this.sc_MouldProdOutBill_MouldLifeCtrlField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string Sc_MouldProdOutBill_MouldLifeCtrlType {
-            get {
-                return this.sc_MouldProdOutBill_MouldLifeCtrlTypeField;
-            }
-            set {
-                this.sc_MouldProdOutBill_MouldLifeCtrlTypeField = value;
+                this.sB_EquipICMOTechParamBill_MustBeginWorkCtlField = value;
             }
         }
         
@@ -42229,6 +42263,116 @@
             }
             set {
                 this.gy_RoutingBill_SaveAutoLastProcField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Gy_RoutingBill_EnableMultiLevel {
+            get {
+                return this.gy_RoutingBill_EnableMultiLevelField;
+            }
+            set {
+                this.gy_RoutingBill_EnableMultiLevelField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Kf_StockInRequestBill_AutoCheck {
+            get {
+                return this.kf_StockInRequestBill_AutoCheckField;
+            }
+            set {
+                this.kf_StockInRequestBill_AutoCheckField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Cg_POOrderBill_AutoCheck {
+            get {
+                return this.cg_POOrderBill_AutoCheckField;
+            }
+            set {
+                this.cg_POOrderBill_AutoCheckField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Cg_PayableBill_AutoCheck {
+            get {
+                return this.cg_PayableBill_AutoCheckField;
+            }
+            set {
+                this.cg_PayableBill_AutoCheckField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string YF_PayMentBill_AutoCheck {
+            get {
+                return this.yF_PayMentBill_AutoCheckField;
+            }
+            set {
+                this.yF_PayMentBill_AutoCheckField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Xs_SeOrderBill_AutoCheck {
+            get {
+                return this.xs_SeOrderBill_AutoCheckField;
+            }
+            set {
+                this.xs_SeOrderBill_AutoCheckField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Xs_SeOutStockBill_AutoCheck {
+            get {
+                return this.xs_SeOutStockBill_AutoCheckField;
+            }
+            set {
+                this.xs_SeOutStockBill_AutoCheckField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Xs_ReceivableBill_AutoCheck {
+            get {
+                return this.xs_ReceivableBill_AutoCheckField;
+            }
+            set {
+                this.xs_ReceivableBill_AutoCheckField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string YS_ReceiveBill_AutoCheck {
+            get {
+                return this.yS_ReceiveBill_AutoCheckField;
+            }
+            set {
+                this.yS_ReceiveBill_AutoCheckField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Pay_WorkTimesBill_AutoCheck {
+            get {
+                return this.pay_WorkTimesBill_AutoCheckField;
+            }
+            set {
+                this.pay_WorkTimesBill_AutoCheckField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string Sc_MouldLowerBill_MouldUpper {
+            get {
+                return this.sc_MouldLowerBill_MouldUpperField;
+            }
+            set {
+                this.sc_MouldLowerBill_MouldUpperField = value;
             }
         }
     }
@@ -42906,6 +43050,12 @@
         
         private string hBillNoField;
         
+        private string hRemarkField;
+        
+        private string hBackField;
+        
+        private bool hSourceBarCodeFlagField;
+        
         /// <remarks/>
         public long HItemID {
             get {
@@ -43253,6 +43403,464 @@
             }
             set {
                 this.hBillNoField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HRemark {
+            get {
+                return this.hRemarkField;
+            }
+            set {
+                this.hRemarkField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HBack {
+            get {
+                return this.hBackField;
+            }
+            set {
+                this.hBackField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public bool HSourceBarCodeFlag {
+            get {
+                return this.hSourceBarCodeFlagField;
+            }
+            set {
+                this.hSourceBarCodeFlagField = value;
+            }
+        }
+    }
+    
+    /// <remarks/>
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_ProcExchReportMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_PackUnionBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_PackDoubleBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_PackSplitBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_MoveStockStepOutBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_MoveStockBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_QualityReportBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_ICMOReportBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_DoorOutCheckBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_EntrustInBackBillMain_CLD))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_EntrustReplenishOutBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_MateReplenishOutBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_MateOutBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_StdWorkQtyBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_MESBeginWorkBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_StationInBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_SellOutBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_MoveStockStepInBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_EntrustInBillMain_K3))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_EntrustInBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_ProductInBillMain_K3))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_AGVRequestBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_ProductInBillMain_CLD))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_POStockInBillMain_K3))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_POStockInBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_OtherOutBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_ICStockBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_EntrustOutBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsQC_NoPassProdCheckBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsCg_POInStockBillMain_K3))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsCg_POInStockBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_ProductInBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_MouldProdInBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_OtherInBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_MouldStockBillMain))]
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.3752.0")]
+    [System.SerializableAttribute()]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.ComponentModel.DesignerCategoryAttribute("code")]
+    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
+    public partial class ClsXt_BaseBillMain {
+        
+        private long hYearField;
+        
+        private long hPeriodField;
+        
+        private string hBillTypeField;
+        
+        private string hBillSubTypeField;
+        
+        private long hInterIDField;
+        
+        private System.DateTime hDateField;
+        
+        private string hBillNoField;
+        
+        private int hBillStatusField;
+        
+        private long hCheckItemNowIDField;
+        
+        private long hCheckItemNextIDField;
+        
+        private long hCheckFlowIDField;
+        
+        private string hRemarkField;
+        
+        private string hEmpCodeField;
+        
+        private string hMakerField;
+        
+        private string hMakeDateField;
+        
+        private string hUpDaterField;
+        
+        private string hUpDateDateField;
+        
+        private string hCheckerField;
+        
+        private string hCheckDateField;
+        
+        private string hBackerField;
+        
+        private string hBackDateField;
+        
+        private string hBackRemarkField;
+        
+        private string hCloseManField;
+        
+        private string hCloseDateField;
+        
+        private bool hCloseTypeField;
+        
+        private string hDeleteManField;
+        
+        private string hDeleteDateField;
+        
+        private long hBillerIDField;
+        
+        private string hMainSourceBillNoField;
+        
+        private string hMainSourceBillTypeField;
+        
+        private long hMainSourceInterIDField;
+        
+        private long hMainSourceEntryIDField;
+        
+        /// <remarks/>
+        public long HYear {
+            get {
+                return this.hYearField;
+            }
+            set {
+                this.hYearField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HPeriod {
+            get {
+                return this.hPeriodField;
+            }
+            set {
+                this.hPeriodField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HBillType {
+            get {
+                return this.hBillTypeField;
+            }
+            set {
+                this.hBillTypeField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HBillSubType {
+            get {
+                return this.hBillSubTypeField;
+            }
+            set {
+                this.hBillSubTypeField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HInterID {
+            get {
+                return this.hInterIDField;
+            }
+            set {
+                this.hInterIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public System.DateTime HDate {
+            get {
+                return this.hDateField;
+            }
+            set {
+                this.hDateField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HBillNo {
+            get {
+                return this.hBillNoField;
+            }
+            set {
+                this.hBillNoField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public int HBillStatus {
+            get {
+                return this.hBillStatusField;
+            }
+            set {
+                this.hBillStatusField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HCheckItemNowID {
+            get {
+                return this.hCheckItemNowIDField;
+            }
+            set {
+                this.hCheckItemNowIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HCheckItemNextID {
+            get {
+                return this.hCheckItemNextIDField;
+            }
+            set {
+                this.hCheckItemNextIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HCheckFlowID {
+            get {
+                return this.hCheckFlowIDField;
+            }
+            set {
+                this.hCheckFlowIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HRemark {
+            get {
+                return this.hRemarkField;
+            }
+            set {
+                this.hRemarkField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HEmpCode {
+            get {
+                return this.hEmpCodeField;
+            }
+            set {
+                this.hEmpCodeField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HMaker {
+            get {
+                return this.hMakerField;
+            }
+            set {
+                this.hMakerField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HMakeDate {
+            get {
+                return this.hMakeDateField;
+            }
+            set {
+                this.hMakeDateField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HUpDater {
+            get {
+                return this.hUpDaterField;
+            }
+            set {
+                this.hUpDaterField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HUpDateDate {
+            get {
+                return this.hUpDateDateField;
+            }
+            set {
+                this.hUpDateDateField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HChecker {
+            get {
+                return this.hCheckerField;
+            }
+            set {
+                this.hCheckerField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HCheckDate {
+            get {
+                return this.hCheckDateField;
+            }
+            set {
+                this.hCheckDateField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HBacker {
+            get {
+                return this.hBackerField;
+            }
+            set {
+                this.hBackerField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HBackDate {
+            get {
+                return this.hBackDateField;
+            }
+            set {
+                this.hBackDateField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HBackRemark {
+            get {
+                return this.hBackRemarkField;
+            }
+            set {
+                this.hBackRemarkField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HCloseMan {
+            get {
+                return this.hCloseManField;
+            }
+            set {
+                this.hCloseManField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HCloseDate {
+            get {
+                return this.hCloseDateField;
+            }
+            set {
+                this.hCloseDateField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public bool HCloseType {
+            get {
+                return this.hCloseTypeField;
+            }
+            set {
+                this.hCloseTypeField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HDeleteMan {
+            get {
+                return this.hDeleteManField;
+            }
+            set {
+                this.hDeleteManField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HDeleteDate {
+            get {
+                return this.hDeleteDateField;
+            }
+            set {
+                this.hDeleteDateField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HBillerID {
+            get {
+                return this.hBillerIDField;
+            }
+            set {
+                this.hBillerIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HMainSourceBillNo {
+            get {
+                return this.hMainSourceBillNoField;
+            }
+            set {
+                this.hMainSourceBillNoField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HMainSourceBillType {
+            get {
+                return this.hMainSourceBillTypeField;
+            }
+            set {
+                this.hMainSourceBillTypeField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HMainSourceInterID {
+            get {
+                return this.hMainSourceInterIDField;
+            }
+            set {
+                this.hMainSourceInterIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HMainSourceEntryID {
+            get {
+                return this.hMainSourceEntryIDField;
+            }
+            set {
+                this.hMainSourceEntryIDField = value;
             }
         }
     }
@@ -49648,6 +50256,239 @@
     }
     
     /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.3752.0")]
+    [System.SerializableAttribute()]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.ComponentModel.DesignerCategoryAttribute("code")]
+    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
+    public partial class ClsSc_MouldStockBillMain : ClsXt_BaseBillMain {
+        
+        private long hSCWHIDField;
+        
+        private long hSupIDField;
+        
+        private long hEmpIDField;
+        
+        private long hManagerIDField;
+        
+        private long hWHIDField;
+        
+        private long hSecManagerIDField;
+        
+        private long hKeeperIDField;
+        
+        private long hDeptIDField;
+        
+        private string hExplanationField;
+        
+        private string hInnerBillNoField;
+        
+        private bool hRedBlueFlagField;
+        
+        private string hRepairTypeField;
+        
+        private long hCorrespondentTypeIDField;
+        
+        /// <remarks/>
+        public long HSCWHID {
+            get {
+                return this.hSCWHIDField;
+            }
+            set {
+                this.hSCWHIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HSupID {
+            get {
+                return this.hSupIDField;
+            }
+            set {
+                this.hSupIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HEmpID {
+            get {
+                return this.hEmpIDField;
+            }
+            set {
+                this.hEmpIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HManagerID {
+            get {
+                return this.hManagerIDField;
+            }
+            set {
+                this.hManagerIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HWHID {
+            get {
+                return this.hWHIDField;
+            }
+            set {
+                this.hWHIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HSecManagerID {
+            get {
+                return this.hSecManagerIDField;
+            }
+            set {
+                this.hSecManagerIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HKeeperID {
+            get {
+                return this.hKeeperIDField;
+            }
+            set {
+                this.hKeeperIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HDeptID {
+            get {
+                return this.hDeptIDField;
+            }
+            set {
+                this.hDeptIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HExplanation {
+            get {
+                return this.hExplanationField;
+            }
+            set {
+                this.hExplanationField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HInnerBillNo {
+            get {
+                return this.hInnerBillNoField;
+            }
+            set {
+                this.hInnerBillNoField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public bool HRedBlueFlag {
+            get {
+                return this.hRedBlueFlagField;
+            }
+            set {
+                this.hRedBlueFlagField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HRepairType {
+            get {
+                return this.hRepairTypeField;
+            }
+            set {
+                this.hRepairTypeField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HCorrespondentTypeID {
+            get {
+                return this.hCorrespondentTypeIDField;
+            }
+            set {
+                this.hCorrespondentTypeIDField = value;
+            }
+        }
+    }
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
+    public delegate void get_CheckTypeByMouldSourceCompletedEventHandler(object sender, get_CheckTypeByMouldSourceCompletedEventArgs e);
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.ComponentModel.DesignerCategoryAttribute("code")]
+    public partial class get_CheckTypeByMouldSourceCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+        
+        private object[] results;
+        
+        internal get_CheckTypeByMouldSourceCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
+                base(exception, cancelled, userState) {
+            this.results = results;
+        }
+        
+        /// <remarks/>
+        public ClsKf_ICStockBill_Mould Result {
+            get {
+                this.RaiseExceptionIfNecessary();
+                return ((ClsKf_ICStockBill_Mould)(this.results[0]));
+            }
+        }
+        
+        /// <remarks/>
+        public string sErrMsg {
+            get {
+                this.RaiseExceptionIfNecessary();
+                return ((string)(this.results[1]));
+            }
+        }
+    }
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
+    public delegate void getMouldSourceBillListCompletedEventHandler(object sender, getMouldSourceBillListCompletedEventArgs e);
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.ComponentModel.DesignerCategoryAttribute("code")]
+    public partial class getMouldSourceBillListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+        
+        private object[] results;
+        
+        internal getMouldSourceBillListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
+                base(exception, cancelled, userState) {
+            this.results = results;
+        }
+        
+        /// <remarks/>
+        public ClsKf_ICStockBill_Mould Result {
+            get {
+                this.RaiseExceptionIfNecessary();
+                return ((ClsKf_ICStockBill_Mould)(this.results[0]));
+            }
+        }
+        
+        /// <remarks/>
+        public string sErrMsg {
+            get {
+                this.RaiseExceptionIfNecessary();
+                return ((string)(this.results[1]));
+            }
+        }
+    }
+    
+    /// <remarks/>
     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
     public delegate void Get_CheckTypeByMouldBarCode_ProdCheckStockCompletedEventHandler(object sender, Get_CheckTypeByMouldBarCode_ProdCheckStockCompletedEventArgs e);
     
@@ -51895,6 +52736,48 @@
             get {
                 this.RaiseExceptionIfNecessary();
                 return ((string)(this.results[7]));
+            }
+        }
+    }
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
+    public delegate void get_InfoByBarCode_SourceCompletedEventHandler(object sender, get_InfoByBarCode_SourceCompletedEventArgs e);
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.ComponentModel.DesignerCategoryAttribute("code")]
+    public partial class get_InfoByBarCode_SourceCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+        
+        private object[] results;
+        
+        internal get_InfoByBarCode_SourceCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
+                base(exception, cancelled, userState) {
+            this.results = results;
+        }
+        
+        /// <remarks/>
+        public ClsGy_BarCodeBill_WMS_Model_View Result {
+            get {
+                this.RaiseExceptionIfNecessary();
+                return ((ClsGy_BarCodeBill_WMS_Model_View)(this.results[0]));
+            }
+        }
+        
+        /// <remarks/>
+        public bool sBool {
+            get {
+                this.RaiseExceptionIfNecessary();
+                return ((bool)(this.results[1]));
+            }
+        }
+        
+        /// <remarks/>
+        public string sErrMsg {
+            get {
+                this.RaiseExceptionIfNecessary();
+                return ((string)(this.results[2]));
             }
         }
     }
@@ -55105,60 +55988,26 @@
     
     /// <remarks/>
     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
-    public delegate void get_CheckTypeByMouldSourceCompletedEventHandler(object sender, get_CheckTypeByMouldSourceCompletedEventArgs e);
+    public delegate void GetJXBarCode_SiMoErCompletedEventHandler(object sender, GetJXBarCode_SiMoErCompletedEventArgs e);
     
     /// <remarks/>
     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
     [System.Diagnostics.DebuggerStepThroughAttribute()]
     [System.ComponentModel.DesignerCategoryAttribute("code")]
-    public partial class get_CheckTypeByMouldSourceCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+    public partial class GetJXBarCode_SiMoErCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
         
         private object[] results;
         
-        internal get_CheckTypeByMouldSourceCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
+        internal GetJXBarCode_SiMoErCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                 base(exception, cancelled, userState) {
             this.results = results;
         }
         
         /// <remarks/>
-        public ClsKf_ICStockBill_Mould Result {
+        public bool Result {
             get {
                 this.RaiseExceptionIfNecessary();
-                return ((ClsKf_ICStockBill_Mould)(this.results[0]));
-            }
-        }
-        
-        /// <remarks/>
-        public string sErrMsg {
-            get {
-                this.RaiseExceptionIfNecessary();
-                return ((string)(this.results[1]));
-            }
-        }
-    }
-    
-    /// <remarks/>
-    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
-    public delegate void getMouldSourceBillListCompletedEventHandler(object sender, getMouldSourceBillListCompletedEventArgs e);
-    
-    /// <remarks/>
-    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
-    [System.Diagnostics.DebuggerStepThroughAttribute()]
-    [System.ComponentModel.DesignerCategoryAttribute("code")]
-    public partial class getMouldSourceBillListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
-        
-        private object[] results;
-        
-        internal getMouldSourceBillListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
-                base(exception, cancelled, userState) {
-            this.results = results;
-        }
-        
-        /// <remarks/>
-        public ClsKf_ICStockBill_Mould Result {
-            get {
-                this.RaiseExceptionIfNecessary();
-                return ((ClsKf_ICStockBill_Mould)(this.results[0]));
+                return ((bool)(this.results[0]));
             }
         }
         
@@ -55380,6 +56229,74 @@
         private object[] results;
         
         internal set_SaveOtherInBill_BillCheckCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
+                base(exception, cancelled, userState) {
+            this.results = results;
+        }
+        
+        /// <remarks/>
+        public bool Result {
+            get {
+                this.RaiseExceptionIfNecessary();
+                return ((bool)(this.results[0]));
+            }
+        }
+        
+        /// <remarks/>
+        public string sErrMsg {
+            get {
+                this.RaiseExceptionIfNecessary();
+                return ((string)(this.results[1]));
+            }
+        }
+    }
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
+    public delegate void set_SaveOtherInBill_CLD_BillCheckCompletedEventHandler(object sender, set_SaveOtherInBill_CLD_BillCheckCompletedEventArgs e);
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.ComponentModel.DesignerCategoryAttribute("code")]
+    public partial class set_SaveOtherInBill_CLD_BillCheckCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+        
+        private object[] results;
+        
+        internal set_SaveOtherInBill_CLD_BillCheckCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
+                base(exception, cancelled, userState) {
+            this.results = results;
+        }
+        
+        /// <remarks/>
+        public bool Result {
+            get {
+                this.RaiseExceptionIfNecessary();
+                return ((bool)(this.results[0]));
+            }
+        }
+        
+        /// <remarks/>
+        public string sErrMsg {
+            get {
+                this.RaiseExceptionIfNecessary();
+                return ((string)(this.results[1]));
+            }
+        }
+    }
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
+    public delegate void set_SaveOtherInBill_CLD_BillCheck_VerifyCompletedEventHandler(object sender, set_SaveOtherInBill_CLD_BillCheck_VerifyCompletedEventArgs e);
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.ComponentModel.DesignerCategoryAttribute("code")]
+    public partial class set_SaveOtherInBill_CLD_BillCheck_VerifyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+        
+        private object[] results;
+        
+        internal set_SaveOtherInBill_CLD_BillCheck_VerifyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                 base(exception, cancelled, userState) {
             this.results = results;
         }
@@ -57469,48 +58386,6 @@
             get {
                 this.RaiseExceptionIfNecessary();
                 return ((string)(this.results[1]));
-            }
-        }
-    }
-    
-    /// <remarks/>
-    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
-    public delegate void get_InfoByBarCode_SourceCompletedEventHandler(object sender, get_InfoByBarCode_SourceCompletedEventArgs e);
-    
-    /// <remarks/>
-    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
-    [System.Diagnostics.DebuggerStepThroughAttribute()]
-    [System.ComponentModel.DesignerCategoryAttribute("code")]
-    public partial class get_InfoByBarCode_SourceCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
-        
-        private object[] results;
-        
-        internal get_InfoByBarCode_SourceCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
-                base(exception, cancelled, userState) {
-            this.results = results;
-        }
-        
-        /// <remarks/>
-        public ClsGy_BarCodeBill_WMS_Model_View Result {
-            get {
-                this.RaiseExceptionIfNecessary();
-                return ((ClsGy_BarCodeBill_WMS_Model_View)(this.results[0]));
-            }
-        }
-        
-        /// <remarks/>
-        public bool sBool {
-            get {
-                this.RaiseExceptionIfNecessary();
-                return ((bool)(this.results[1]));
-            }
-        }
-        
-        /// <remarks/>
-        public string sErrMsg {
-            get {
-                this.RaiseExceptionIfNecessary();
-                return ((string)(this.results[2]));
             }
         }
     }
diff --git a/WebAPI/Web References/WebS/Reference.map b/WebAPI/Web References/WebS/Reference.map
index 164e0a1..b8ffde2 100644
--- a/WebAPI/Web References/WebS/Reference.map
+++ b/WebAPI/Web References/WebS/Reference.map
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <DiscoveryClientResultsFile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <Results>
-    <DiscoveryClientResult referenceType="System.Web.Services.Discovery.DiscoveryDocumentReference" url="http://192.168.0.81/WEBS-WMS/WebService1.asmx?disco" filename="WebService1.disco" />
-    <DiscoveryClientResult referenceType="System.Web.Services.Discovery.ContractReference" url="http://192.168.0.81/WEBS-WMS/WebService1.asmx?wsdl" filename="WebService1.wsdl" />
+    <DiscoveryClientResult referenceType="System.Web.Services.Discovery.ContractReference" url="http://192.168.0.11/WEBS-WMS/WebService1.asmx?wsdl" filename="WebService1.wsdl" />
+    <DiscoveryClientResult referenceType="System.Web.Services.Discovery.DiscoveryDocumentReference" url="http://192.168.0.11/WEBS-WMS/WebService1.asmx?disco" filename="WebService1.disco" />
   </Results>
 </DiscoveryClientResultsFile>
\ No newline at end of file
diff --git a/WebAPI/Web References/WebS/WebService1.disco b/WebAPI/Web References/WebS/WebService1.disco
index a6596e9..c207c4d 100644
--- a/WebAPI/Web References/WebS/WebService1.disco
+++ b/WebAPI/Web References/WebS/WebService1.disco
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/">
-  <contractRef ref="http://192.168.0.81/WEBS-WMS/WebService1.asmx?wsdl" docRef="http://192.168.0.81/WEBS-WMS/WebService1.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
-  <soap address="http://192.168.0.81/WEBS-WMS/WebService1.asmx" xmlns:q1="http://tempuri.org/" binding="q1:WebService1Soap" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
-  <soap address="http://192.168.0.81/WEBS-WMS/WebService1.asmx" xmlns:q2="http://tempuri.org/" binding="q2:WebService1Soap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
+  <contractRef ref="http://192.168.0.11/WEBS-WMS/WebService1.asmx?wsdl" docRef="http://192.168.0.11/WEBS-WMS/WebService1.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
+  <soap address="http://192.168.0.11/WEBS-WMS/WebService1.asmx" xmlns:q1="http://tempuri.org/" binding="q1:WebService1Soap" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
+  <soap address="http://192.168.0.11/WEBS-WMS/WebService1.asmx" xmlns:q2="http://tempuri.org/" binding="q2:WebService1Soap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
 </discovery>
\ No newline at end of file
diff --git a/WebAPI/Web References/WebS/WebService1.wsdl b/WebAPI/Web References/WebS/WebService1.wsdl
index dc40be4..4f87e92 100644
--- a/WebAPI/Web References/WebS/WebService1.wsdl
+++ b/WebAPI/Web References/WebS/WebService1.wsdl
@@ -2,6 +2,80 @@
 <wsdl:definitions xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://tempuri.org/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
   <wsdl:types>
     <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
+      <s:element name="get_CheckTypeByMouldSource">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="1" maxOccurs="1" name="HInterID" type="s:long" />
+            <s:element minOccurs="0" maxOccurs="1" name="HBillNo" type="s:string" />
+            <s:element minOccurs="0" maxOccurs="1" name="HBillType" type="s:string" />
+            <s:element minOccurs="0" maxOccurs="1" name="HSourceBillNo" type="s:string" />
+            <s:element minOccurs="0" maxOccurs="1" name="HSourceBillType" type="s:string" />
+            <s:element minOccurs="0" maxOccurs="1" name="HHMaker" type="s:string" />
+            <s:element minOccurs="1" maxOccurs="1" name="HOWNERID" type="s:long" />
+            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="get_CheckTypeByMouldSourceResponse">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="get_CheckTypeByMouldSourceResult" type="tns:ClsKf_ICStockBill_Mould" />
+            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:complexType name="ClsKf_ICStockBill_Mould">
+        <s:sequence>
+          <s:element minOccurs="1" maxOccurs="1" name="HItemID" type="s:long" />
+          <s:element minOccurs="0" maxOccurs="1" name="HBarType" type="s:string" />
+          <s:element minOccurs="1" maxOccurs="1" name="HWhID" type="s:long" />
+          <s:element minOccurs="0" maxOccurs="1" name="HWhNumber" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="HWhName" type="s:string" />
+          <s:element minOccurs="1" maxOccurs="1" name="HSPFlag" type="s:boolean" />
+          <s:element minOccurs="1" maxOccurs="1" name="HSPID" type="s:long" />
+          <s:element minOccurs="0" maxOccurs="1" name="HSPNumber" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="HSPName" type="s:string" />
+          <s:element minOccurs="1" maxOccurs="1" name="HDeptID" type="s:long" />
+          <s:element minOccurs="0" maxOccurs="1" name="HDeptNumber" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="HDeptName" type="s:string" />
+          <s:element minOccurs="1" maxOccurs="1" name="HSupID" type="s:long" />
+          <s:element minOccurs="0" maxOccurs="1" name="HSupNumber" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="HSupName" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="HSourceBillNo" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="HSourceBillType" type="s:string" />
+          <s:element minOccurs="1" maxOccurs="1" name="HOWNERID" type="s:long" />
+          <s:element minOccurs="0" maxOccurs="1" name="HOWNERNAME" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="HCustom" type="s:string" />
+          <s:element minOccurs="1" maxOccurs="1" name="HMulSourceFlag" type="s:long" />
+          <s:element minOccurs="0" maxOccurs="1" name="HStockStyle" type="s:string" />
+          <s:element minOccurs="1" maxOccurs="1" name="HStockInOrgID" type="s:long" />
+          <s:element minOccurs="0" maxOccurs="1" name="HStockInOrgName" type="s:string" />
+          <s:element minOccurs="1" maxOccurs="1" name="HStockOutOrgID" type="s:long" />
+          <s:element minOccurs="0" maxOccurs="1" name="HStockOutOrgName" type="s:string" />
+        </s:sequence>
+      </s:complexType>
+      <s:element name="getMouldSourceBillList">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="1" maxOccurs="1" name="HInterID" type="s:long" />
+            <s:element minOccurs="0" maxOccurs="1" name="HBillNo" type="s:string" />
+            <s:element minOccurs="0" maxOccurs="1" name="HBillType" type="s:string" />
+            <s:element minOccurs="0" maxOccurs="1" name="HSourceBillNo" type="s:string" />
+            <s:element minOccurs="0" maxOccurs="1" name="HSourceBillType" type="s:string" />
+            <s:element minOccurs="0" maxOccurs="1" name="HHMaker" type="s:string" />
+            <s:element minOccurs="1" maxOccurs="1" name="HOWNERID" type="s:long" />
+            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="getMouldSourceBillListResponse">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="getMouldSourceBillListResult" type="tns:ClsKf_ICStockBill_Mould" />
+            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
       <s:element name="Get_CheckTypeByMouldBarCode_ProdCheckStock">
         <s:complexType>
           <s:sequence>
@@ -345,6 +419,9 @@
           <s:element minOccurs="0" maxOccurs="1" name="HStockOutOrgName" type="s:string" />
           <s:element minOccurs="1" maxOccurs="1" name="HInterID" type="s:long" />
           <s:element minOccurs="0" maxOccurs="1" name="HBillNo" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="HRemark" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="HBack" type="s:string" />
+          <s:element minOccurs="1" maxOccurs="1" name="HSourceBarCodeFlag" type="s:boolean" />
         </s:sequence>
       </s:complexType>
       <s:element name="get_CheckTypeByBarCode_PackUnion">
@@ -1137,6 +1214,9 @@
           <s:element minOccurs="0" maxOccurs="1" name="Kf_POStockInBill_SourceWHSPCtl" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="Kf_POStockInBill_AutoBarCode" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="Kf_POStockInBill_DeleterAndMakerMustSame" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_POStockInBillCheck_MustQtyCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_POStockInBillCheck_WHSPCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_POStockInBillCheck_MultilineCtl" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="Kf_ProductInBill_AutoCheck" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="Kf_ProductInBill_SaveAutoAddnew" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="Kf_ProductInBill_ERPMode" type="s:string" />
@@ -1150,6 +1230,9 @@
           <s:element minOccurs="0" maxOccurs="1" name="Kf_ProductInBill_SourceWHSPCtl" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="Kf_ProductInBill_Display" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="Kf_ProductInBill_DeleterAndMakerMustSame" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_ProductInBillCheck_MustQtyCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_ProductInBillCheck_WHSPCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_ProductInBillCheck_MultilineCtl" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherInBill_AutoCheck" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherInBill_SaveAutoAddnew" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherInBill_ERPMode" type="s:string" />
@@ -1444,6 +1527,39 @@
           <s:element minOccurs="0" maxOccurs="1" name="BarCode_AutoMateOutBackBillWMS" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="BarCode_AutoSellOutBackBillWMS" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="BarCode_DeleterAndMakerMustSame" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldProdInBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldProdInBill_BarCodeQty" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldProdOutBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldProdOutBill_BarCodeQty" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldProdOutBill_SaveAutoAddnew" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldProdOutBill_DeleterAndMakerMustSame" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldProdOutBill_MouldLifeCtrl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldProdOutBill_MouldLifeCtrlType" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldProdBackBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldProdBackBill_BarCodeQty" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldRepairOutBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldRepairOutBill_BarCodeQty" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldRepairInBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldRepairInBill_BarCodeQty" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldOtherInBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldOtherInBill_BarCodeQty" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldOtherOutBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldOtherOutBill_BarCodeQty" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldBorrowInBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldBorrowInBill_BarCodeQty" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldBorrowOutBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldBorrowOutBill_BarCodeQty" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldScrapInBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldScrapInBill_BarCodeQty" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldScrapOutBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldScrapOutBill_BarCodeQty" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldProdMoveBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldProdMoveBill_BarCodeQty" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldMoveStockStepOutBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldMoveStockStepOutBill_BarCodeQty" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldMoveStockStepInBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldMoveStockStepInBill_BarCodeQty" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldProdCheckStockBill_AutoCheck" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="Sc_ICMOBill_AutoCheck" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="Sc_ICMOBill_SaveAutoAddnew" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="Sc_ICMOBill_AutoProcExchBill" type="s:string" />
@@ -1452,6 +1568,7 @@
           <s:element minOccurs="0" maxOccurs="1" name="Sc_ProcessExchangeBill_SaveAutoAddnew" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="Sc_ProcessExchangeBill_AutoBarCode" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="Sc_ProcessExchangeBill_DeleterAndMakerMustSame" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_ProcessExchangeBill_SaveDeptIsNull" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="MES_StationInBill_AutoCheck" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="MES_StationInBill_FIFOCtl" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="MES_StationInBill_FullMoveCtl" type="s:string" />
@@ -1468,6 +1585,7 @@
           <s:element minOccurs="0" maxOccurs="1" name="MES_StationInBill_PreQtyCtl" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="MES_StationInBill_QtyRateCtl" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="MES_StationInBill_DyCentralInspectionControl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="MES_StationInBill_DefQty" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="MES_StationOutBill_AutoCheck" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="MES_StationOutBill_QtyCtl" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="MES_StationOutBill_QtyPreQtyCtl" type="s:string" />
@@ -1485,6 +1603,7 @@
           <s:element minOccurs="0" maxOccurs="1" name="MES_StationOutBill_DeleteRelationCtl" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="MES_StationOutBill_NextQtyCtl" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="MES_StationOutBill_QtyRateCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="MES_StationOutBill_MustBeginWorkCtl" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="QC_NoPassProdCheckBill_AutoCheck" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="QC_NoPassProdCheckBill_QtyCtl" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="QC_NoPassProdCheckBill_BadReasonQtyCtrl" type="s:string" />
@@ -1505,6 +1624,8 @@
           <s:element minOccurs="0" maxOccurs="1" name="Sc_MESBeginWorkBill_AutoCheck" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="Sc_MESBeginWorkBill_SaveAutoAddnew" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="Sc_MESBeginWorkBill_DeleterAndMakerMustSame" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MESBeginWorkBill_SwipeCardStart" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MESBeginWorkBill_MouldUpper" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="Sc_MESReturnWorkBill_AutoCheck" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="Sc_MESReturnWorkBill_SaveAutoAddnew" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="Sc_MESReturnWorkBill_DeleterAndMakerMustSame" type="s:string" />
@@ -1529,6 +1650,7 @@
           <s:element minOccurs="0" maxOccurs="1" name="OA_ErrMsgBackBill_AutoCheck" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="OA_ErrMsgBackBill_SaveAutoAddnew" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="OA_ErrMsgBackBill_DeleterAndMakerMustSame" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="OA_ErrMsgBackBill_SendDingDingMsg" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="Sc_MESProceReportWorkBill_AutoCheck" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="Sc_MESProceReportWorkBill_SaveAutoAddnew" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="Sc_MESProceReportWorkBill_DeleterAndMakerMustSame" type="s:string" />
@@ -1544,15 +1666,22 @@
           <s:element minOccurs="0" maxOccurs="1" name="QC_ProcessCheckBill_SaveAutoAddnew" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="QC_ProcessCheckBill_DeleterAndMakerMustSame" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="QC_ProcessCheckBill_QCSchemeSource" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldProdOutBill_AutoCheck" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldProdOutBill_SaveAutoAddnew" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldProdOutBill_DeleterAndMakerMustSame" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldProdOutBill_MouldLifeCtrl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldProdOutBill_MouldLifeCtrlType" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="SB_EquipICMOTechParamBill_MustBeginWorkCtl" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="Gy_RoutingBill_AutoCheck" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="Gy_RoutingBill_SaveAutoAddnew" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="Gy_RoutingBill_DeleterAndMakerMustSame" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="Gy_RoutingBill_SaveAutoLastProc" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Gy_RoutingBill_EnableMultiLevel" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_StockInRequestBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Cg_POOrderBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Cg_PayableBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="YF_PayMentBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Xs_SeOrderBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Xs_SeOutStockBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Xs_ReceivableBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="YS_ReceiveBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Pay_WorkTimesBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MouldLowerBill_MouldUpper" type="s:string" />
         </s:sequence>
       </s:complexType>
       <s:element name="set_SavePonderationBillMain_Temp_BarCode_MoveStockBillCheckResponse">
@@ -1959,36 +2088,6 @@
           </s:sequence>
         </s:complexType>
       </s:element>
-      <s:complexType name="ClsKf_ICStockBill_Mould">
-        <s:sequence>
-          <s:element minOccurs="1" maxOccurs="1" name="HItemID" type="s:long" />
-          <s:element minOccurs="0" maxOccurs="1" name="HBarType" type="s:string" />
-          <s:element minOccurs="1" maxOccurs="1" name="HWhID" type="s:long" />
-          <s:element minOccurs="0" maxOccurs="1" name="HWhNumber" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="HWhName" type="s:string" />
-          <s:element minOccurs="1" maxOccurs="1" name="HSPFlag" type="s:boolean" />
-          <s:element minOccurs="1" maxOccurs="1" name="HSPID" type="s:long" />
-          <s:element minOccurs="0" maxOccurs="1" name="HSPNumber" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="HSPName" type="s:string" />
-          <s:element minOccurs="1" maxOccurs="1" name="HDeptID" type="s:long" />
-          <s:element minOccurs="0" maxOccurs="1" name="HDeptNumber" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="HDeptName" type="s:string" />
-          <s:element minOccurs="1" maxOccurs="1" name="HSupID" type="s:long" />
-          <s:element minOccurs="0" maxOccurs="1" name="HSupNumber" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="HSupName" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="HSourceBillNo" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="HSourceBillType" type="s:string" />
-          <s:element minOccurs="1" maxOccurs="1" name="HOWNERID" type="s:long" />
-          <s:element minOccurs="0" maxOccurs="1" name="HOWNERNAME" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="HCustom" type="s:string" />
-          <s:element minOccurs="1" maxOccurs="1" name="HMulSourceFlag" type="s:long" />
-          <s:element minOccurs="0" maxOccurs="1" name="HStockStyle" type="s:string" />
-          <s:element minOccurs="1" maxOccurs="1" name="HStockInOrgID" type="s:long" />
-          <s:element minOccurs="0" maxOccurs="1" name="HStockInOrgName" type="s:string" />
-          <s:element minOccurs="1" maxOccurs="1" name="HStockOutOrgID" type="s:long" />
-          <s:element minOccurs="0" maxOccurs="1" name="HStockOutOrgName" type="s:string" />
-        </s:sequence>
-      </s:complexType>
       <s:element name="DeleteMould">
         <s:complexType>
           <s:sequence>
@@ -2047,6 +2146,25 @@
             <s:element minOccurs="0" maxOccurs="1" name="sHSupName" type="s:string" />
             <s:element minOccurs="1" maxOccurs="1" name="sHDeptID" type="s:long" />
             <s:element minOccurs="0" maxOccurs="1" name="sHDeptName" type="s:string" />
+            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="get_InfoByBarCode_Source">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="sBarCode" type="s:string" />
+            <s:element minOccurs="1" maxOccurs="1" name="sInterID" type="s:long" />
+            <s:element minOccurs="1" maxOccurs="1" name="sBool" type="s:boolean" />
+            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="get_InfoByBarCode_SourceResponse">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="get_InfoByBarCode_SourceResult" type="tns:ClsGy_BarCodeBill_WMS_Model_View" />
+            <s:element minOccurs="1" maxOccurs="1" name="sBool" type="s:boolean" />
             <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
           </s:sequence>
         </s:complexType>
@@ -4152,46 +4270,19 @@
           </s:sequence>
         </s:complexType>
       </s:element>
-      <s:element name="get_CheckTypeByMouldSource">
+      <s:element name="GetJXBarCode_SiMoEr">
         <s:complexType>
           <s:sequence>
-            <s:element minOccurs="1" maxOccurs="1" name="HInterID" type="s:long" />
-            <s:element minOccurs="0" maxOccurs="1" name="HBillNo" type="s:string" />
-            <s:element minOccurs="0" maxOccurs="1" name="HBillType" type="s:string" />
-            <s:element minOccurs="0" maxOccurs="1" name="HSourceBillNo" type="s:string" />
-            <s:element minOccurs="0" maxOccurs="1" name="HSourceBillType" type="s:string" />
-            <s:element minOccurs="0" maxOccurs="1" name="HHMaker" type="s:string" />
-            <s:element minOccurs="1" maxOccurs="1" name="HOWNERID" type="s:long" />
+            <s:element minOccurs="0" maxOccurs="1" name="sBarCode" type="s:string" />
+            <s:element minOccurs="1" maxOccurs="1" name="HQty" type="s:double" />
             <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
           </s:sequence>
         </s:complexType>
       </s:element>
-      <s:element name="get_CheckTypeByMouldSourceResponse">
+      <s:element name="GetJXBarCode_SiMoErResponse">
         <s:complexType>
           <s:sequence>
-            <s:element minOccurs="0" maxOccurs="1" name="get_CheckTypeByMouldSourceResult" type="tns:ClsKf_ICStockBill_Mould" />
-            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
-          </s:sequence>
-        </s:complexType>
-      </s:element>
-      <s:element name="getMouldSourceBillList">
-        <s:complexType>
-          <s:sequence>
-            <s:element minOccurs="1" maxOccurs="1" name="HInterID" type="s:long" />
-            <s:element minOccurs="0" maxOccurs="1" name="HBillNo" type="s:string" />
-            <s:element minOccurs="0" maxOccurs="1" name="HBillType" type="s:string" />
-            <s:element minOccurs="0" maxOccurs="1" name="HSourceBillNo" type="s:string" />
-            <s:element minOccurs="0" maxOccurs="1" name="HSourceBillType" type="s:string" />
-            <s:element minOccurs="0" maxOccurs="1" name="HHMaker" type="s:string" />
-            <s:element minOccurs="1" maxOccurs="1" name="HOWNERID" type="s:long" />
-            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
-          </s:sequence>
-        </s:complexType>
-      </s:element>
-      <s:element name="getMouldSourceBillListResponse">
-        <s:complexType>
-          <s:sequence>
-            <s:element minOccurs="0" maxOccurs="1" name="getMouldSourceBillListResult" type="tns:ClsKf_ICStockBill_Mould" />
+            <s:element minOccurs="1" maxOccurs="1" name="GetJXBarCode_SiMoErResult" type="s:boolean" />
             <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
           </s:sequence>
         </s:complexType>
@@ -4363,6 +4454,38 @@
         <s:complexType>
           <s:sequence>
             <s:element minOccurs="1" maxOccurs="1" name="set_SaveOtherInBill_BillCheckResult" type="s:boolean" />
+            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="set_SaveOtherInBill_CLD_BillCheck">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_OtherInBillMain" />
+            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="set_SaveOtherInBill_CLD_BillCheckResponse">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="1" maxOccurs="1" name="set_SaveOtherInBill_CLD_BillCheckResult" type="s:boolean" />
+            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="set_SaveOtherInBill_CLD_BillCheck_Verify">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_OtherInBillMain" />
+            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="set_SaveOtherInBill_CLD_BillCheck_VerifyResponse">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="1" maxOccurs="1" name="set_SaveOtherInBill_CLD_BillCheck_VerifyResult" type="s:boolean" />
             <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
           </s:sequence>
         </s:complexType>
@@ -5751,25 +5874,6 @@
         <s:complexType>
           <s:sequence>
             <s:element minOccurs="1" maxOccurs="1" name="Get_CheckWhAndSP_BeUpdateResult" type="s:boolean" />
-            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
-          </s:sequence>
-        </s:complexType>
-      </s:element>
-      <s:element name="get_InfoByBarCode_Source">
-        <s:complexType>
-          <s:sequence>
-            <s:element minOccurs="0" maxOccurs="1" name="sBarCode" type="s:string" />
-            <s:element minOccurs="1" maxOccurs="1" name="sInterID" type="s:long" />
-            <s:element minOccurs="1" maxOccurs="1" name="sBool" type="s:boolean" />
-            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
-          </s:sequence>
-        </s:complexType>
-      </s:element>
-      <s:element name="get_InfoByBarCode_SourceResponse">
-        <s:complexType>
-          <s:sequence>
-            <s:element minOccurs="0" maxOccurs="1" name="get_InfoByBarCode_SourceResult" type="tns:ClsGy_BarCodeBill_WMS_Model_View" />
-            <s:element minOccurs="1" maxOccurs="1" name="sBool" type="s:boolean" />
             <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
           </s:sequence>
         </s:complexType>
@@ -13977,6 +14081,18 @@
       </s:element>
     </s:schema>
   </wsdl:types>
+  <wsdl:message name="get_CheckTypeByMouldSourceSoapIn">
+    <wsdl:part name="parameters" element="tns:get_CheckTypeByMouldSource" />
+  </wsdl:message>
+  <wsdl:message name="get_CheckTypeByMouldSourceSoapOut">
+    <wsdl:part name="parameters" element="tns:get_CheckTypeByMouldSourceResponse" />
+  </wsdl:message>
+  <wsdl:message name="getMouldSourceBillListSoapIn">
+    <wsdl:part name="parameters" element="tns:getMouldSourceBillList" />
+  </wsdl:message>
+  <wsdl:message name="getMouldSourceBillListSoapOut">
+    <wsdl:part name="parameters" element="tns:getMouldSourceBillListResponse" />
+  </wsdl:message>
   <wsdl:message name="Get_CheckTypeByMouldBarCode_ProdCheckStockSoapIn">
     <wsdl:part name="parameters" element="tns:Get_CheckTypeByMouldBarCode_ProdCheckStock" />
   </wsdl:message>
@@ -14372,6 +14488,12 @@
   </wsdl:message>
   <wsdl:message name="set_SavePonderationBillMain_Temp_BarCode_MouldSoapOut">
     <wsdl:part name="parameters" element="tns:set_SavePonderationBillMain_Temp_BarCode_MouldResponse" />
+  </wsdl:message>
+  <wsdl:message name="get_InfoByBarCode_SourceSoapIn">
+    <wsdl:part name="parameters" element="tns:get_InfoByBarCode_Source" />
+  </wsdl:message>
+  <wsdl:message name="get_InfoByBarCode_SourceSoapOut">
+    <wsdl:part name="parameters" element="tns:get_InfoByBarCode_SourceResponse" />
   </wsdl:message>
   <wsdl:message name="get_InfoByBarCodeForReportSoapIn">
     <wsdl:part name="parameters" element="tns:get_InfoByBarCodeForReport" />
@@ -14865,17 +14987,11 @@
   <wsdl:message name="set_SavePonderationBillMain_Temp_BarCode_Pack_MoveStock_ZhuoLiSoapOut">
     <wsdl:part name="parameters" element="tns:set_SavePonderationBillMain_Temp_BarCode_Pack_MoveStock_ZhuoLiResponse" />
   </wsdl:message>
-  <wsdl:message name="get_CheckTypeByMouldSourceSoapIn">
-    <wsdl:part name="parameters" element="tns:get_CheckTypeByMouldSource" />
+  <wsdl:message name="GetJXBarCode_SiMoErSoapIn">
+    <wsdl:part name="parameters" element="tns:GetJXBarCode_SiMoEr" />
   </wsdl:message>
-  <wsdl:message name="get_CheckTypeByMouldSourceSoapOut">
-    <wsdl:part name="parameters" element="tns:get_CheckTypeByMouldSourceResponse" />
-  </wsdl:message>
-  <wsdl:message name="getMouldSourceBillListSoapIn">
-    <wsdl:part name="parameters" element="tns:getMouldSourceBillList" />
-  </wsdl:message>
-  <wsdl:message name="getMouldSourceBillListSoapOut">
-    <wsdl:part name="parameters" element="tns:getMouldSourceBillListResponse" />
+  <wsdl:message name="GetJXBarCode_SiMoErSoapOut">
+    <wsdl:part name="parameters" element="tns:GetJXBarCode_SiMoErResponse" />
   </wsdl:message>
   <wsdl:message name="set_CheckOtherInBillSoapIn">
     <wsdl:part name="parameters" element="tns:set_CheckOtherInBill" />
@@ -14918,6 +15034,18 @@
   </wsdl:message>
   <wsdl:message name="set_SaveOtherInBill_BillCheckSoapOut">
     <wsdl:part name="parameters" element="tns:set_SaveOtherInBill_BillCheckResponse" />
+  </wsdl:message>
+  <wsdl:message name="set_SaveOtherInBill_CLD_BillCheckSoapIn">
+    <wsdl:part name="parameters" element="tns:set_SaveOtherInBill_CLD_BillCheck" />
+  </wsdl:message>
+  <wsdl:message name="set_SaveOtherInBill_CLD_BillCheckSoapOut">
+    <wsdl:part name="parameters" element="tns:set_SaveOtherInBill_CLD_BillCheckResponse" />
+  </wsdl:message>
+  <wsdl:message name="set_SaveOtherInBill_CLD_BillCheck_VerifySoapIn">
+    <wsdl:part name="parameters" element="tns:set_SaveOtherInBill_CLD_BillCheck_Verify" />
+  </wsdl:message>
+  <wsdl:message name="set_SaveOtherInBill_CLD_BillCheck_VerifySoapOut">
+    <wsdl:part name="parameters" element="tns:set_SaveOtherInBill_CLD_BillCheck_VerifyResponse" />
   </wsdl:message>
   <wsdl:message name="set_SaveMouldProdInBill_NewSoapIn">
     <wsdl:part name="parameters" element="tns:set_SaveMouldProdInBill_New" />
@@ -15302,12 +15430,6 @@
   </wsdl:message>
   <wsdl:message name="Get_CheckWhAndSP_BeUpdateSoapOut">
     <wsdl:part name="parameters" element="tns:Get_CheckWhAndSP_BeUpdateResponse" />
-  </wsdl:message>
-  <wsdl:message name="get_InfoByBarCode_SourceSoapIn">
-    <wsdl:part name="parameters" element="tns:get_InfoByBarCode_Source" />
-  </wsdl:message>
-  <wsdl:message name="get_InfoByBarCode_SourceSoapOut">
-    <wsdl:part name="parameters" element="tns:get_InfoByBarCode_SourceResponse" />
   </wsdl:message>
   <wsdl:message name="set_SaveEntrustOutBill_BillCheckSoapIn">
     <wsdl:part name="parameters" element="tns:set_SaveEntrustOutBill_BillCheck" />
@@ -17362,6 +17484,14 @@
     <wsdl:part name="parameters" element="tns:GetSc_ICMOBackBillListResponse" />
   </wsdl:message>
   <wsdl:portType name="WebService1Soap">
+    <wsdl:operation name="get_CheckTypeByMouldSource">
+      <wsdl:input message="tns:get_CheckTypeByMouldSourceSoapIn" />
+      <wsdl:output message="tns:get_CheckTypeByMouldSourceSoapOut" />
+    </wsdl:operation>
+    <wsdl:operation name="getMouldSourceBillList">
+      <wsdl:input message="tns:getMouldSourceBillListSoapIn" />
+      <wsdl:output message="tns:getMouldSourceBillListSoapOut" />
+    </wsdl:operation>
     <wsdl:operation name="Get_CheckTypeByMouldBarCode_ProdCheckStock">
       <wsdl:input message="tns:Get_CheckTypeByMouldBarCode_ProdCheckStockSoapIn" />
       <wsdl:output message="tns:Get_CheckTypeByMouldBarCode_ProdCheckStockSoapOut" />
@@ -17625,6 +17755,10 @@
     <wsdl:operation name="set_SavePonderationBillMain_Temp_BarCode_Mould">
       <wsdl:input message="tns:set_SavePonderationBillMain_Temp_BarCode_MouldSoapIn" />
       <wsdl:output message="tns:set_SavePonderationBillMain_Temp_BarCode_MouldSoapOut" />
+    </wsdl:operation>
+    <wsdl:operation name="get_InfoByBarCode_Source">
+      <wsdl:input message="tns:get_InfoByBarCode_SourceSoapIn" />
+      <wsdl:output message="tns:get_InfoByBarCode_SourceSoapOut" />
     </wsdl:operation>
     <wsdl:operation name="get_InfoByBarCodeForReport">
       <wsdl:input message="tns:get_InfoByBarCodeForReportSoapIn" />
@@ -17954,13 +18088,9 @@
       <wsdl:input message="tns:set_SavePonderationBillMain_Temp_BarCode_Pack_MoveStock_ZhuoLiSoapIn" />
       <wsdl:output message="tns:set_SavePonderationBillMain_Temp_BarCode_Pack_MoveStock_ZhuoLiSoapOut" />
     </wsdl:operation>
-    <wsdl:operation name="get_CheckTypeByMouldSource">
-      <wsdl:input message="tns:get_CheckTypeByMouldSourceSoapIn" />
-      <wsdl:output message="tns:get_CheckTypeByMouldSourceSoapOut" />
-    </wsdl:operation>
-    <wsdl:operation name="getMouldSourceBillList">
-      <wsdl:input message="tns:getMouldSourceBillListSoapIn" />
-      <wsdl:output message="tns:getMouldSourceBillListSoapOut" />
+    <wsdl:operation name="GetJXBarCode_SiMoEr">
+      <wsdl:input message="tns:GetJXBarCode_SiMoErSoapIn" />
+      <wsdl:output message="tns:GetJXBarCode_SiMoErSoapOut" />
     </wsdl:operation>
     <wsdl:operation name="set_CheckOtherInBill">
       <wsdl:input message="tns:set_CheckOtherInBillSoapIn" />
@@ -17989,6 +18119,14 @@
     <wsdl:operation name="set_SaveOtherInBill_BillCheck">
       <wsdl:input message="tns:set_SaveOtherInBill_BillCheckSoapIn" />
       <wsdl:output message="tns:set_SaveOtherInBill_BillCheckSoapOut" />
+    </wsdl:operation>
+    <wsdl:operation name="set_SaveOtherInBill_CLD_BillCheck">
+      <wsdl:input message="tns:set_SaveOtherInBill_CLD_BillCheckSoapIn" />
+      <wsdl:output message="tns:set_SaveOtherInBill_CLD_BillCheckSoapOut" />
+    </wsdl:operation>
+    <wsdl:operation name="set_SaveOtherInBill_CLD_BillCheck_Verify">
+      <wsdl:input message="tns:set_SaveOtherInBill_CLD_BillCheck_VerifySoapIn" />
+      <wsdl:output message="tns:set_SaveOtherInBill_CLD_BillCheck_VerifySoapOut" />
     </wsdl:operation>
     <wsdl:operation name="set_SaveMouldProdInBill_New">
       <wsdl:input message="tns:set_SaveMouldProdInBill_NewSoapIn" />
@@ -18245,10 +18383,6 @@
     <wsdl:operation name="Get_CheckWhAndSP_BeUpdate">
       <wsdl:input message="tns:Get_CheckWhAndSP_BeUpdateSoapIn" />
       <wsdl:output message="tns:Get_CheckWhAndSP_BeUpdateSoapOut" />
-    </wsdl:operation>
-    <wsdl:operation name="get_InfoByBarCode_Source">
-      <wsdl:input message="tns:get_InfoByBarCode_SourceSoapIn" />
-      <wsdl:output message="tns:get_InfoByBarCode_SourceSoapOut" />
     </wsdl:operation>
     <wsdl:operation name="set_SaveEntrustOutBill_BillCheck">
       <wsdl:input message="tns:set_SaveEntrustOutBill_BillCheckSoapIn" />
@@ -19621,6 +19755,24 @@
   </wsdl:portType>
   <wsdl:binding name="WebService1Soap" type="tns:WebService1Soap">
     <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
+    <wsdl:operation name="get_CheckTypeByMouldSource">
+      <soap:operation soapAction="http://tempuri.org/get_CheckTypeByMouldSource" style="document" />
+      <wsdl:input>
+        <soap:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="getMouldSourceBillList">
+      <soap:operation soapAction="http://tempuri.org/getMouldSourceBillList" style="document" />
+      <wsdl:input>
+        <soap:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
     <wsdl:operation name="Get_CheckTypeByMouldBarCode_ProdCheckStock">
       <soap:operation soapAction="http://tempuri.org/Get_CheckTypeByMouldBarCode_ProdCheckStock" style="document" />
       <wsdl:input>
@@ -20208,6 +20360,15 @@
     </wsdl:operation>
     <wsdl:operation name="set_SavePonderationBillMain_Temp_BarCode_Mould">
       <soap:operation soapAction="http://tempuri.org/set_SavePonderationBillMain_Temp_BarCode_Mould" style="document" />
+      <wsdl:input>
+        <soap:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="get_InfoByBarCode_Source">
+      <soap:operation soapAction="http://tempuri.org/get_InfoByBarCode_Source" style="document" />
       <wsdl:input>
         <soap:body use="literal" />
       </wsdl:input>
@@ -20953,17 +21114,8 @@
         <soap:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
-    <wsdl:operation name="get_CheckTypeByMouldSource">
-      <soap:operation soapAction="http://tempuri.org/get_CheckTypeByMouldSource" style="document" />
-      <wsdl:input>
-        <soap:body use="literal" />
-      </wsdl:input>
-      <wsdl:output>
-        <soap:body use="literal" />
-      </wsdl:output>
-    </wsdl:operation>
-    <wsdl:operation name="getMouldSourceBillList">
-      <soap:operation soapAction="http://tempuri.org/getMouldSourceBillList" style="document" />
+    <wsdl:operation name="GetJXBarCode_SiMoEr">
+      <soap:operation soapAction="http://tempuri.org/GetJXBarCode_SiMoEr" style="document" />
       <wsdl:input>
         <soap:body use="literal" />
       </wsdl:input>
@@ -21027,6 +21179,24 @@
     </wsdl:operation>
     <wsdl:operation name="set_SaveOtherInBill_BillCheck">
       <soap:operation soapAction="http://tempuri.org/set_SaveOtherInBill_BillCheck" style="document" />
+      <wsdl:input>
+        <soap:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="set_SaveOtherInBill_CLD_BillCheck">
+      <soap:operation soapAction="http://tempuri.org/set_SaveOtherInBill_CLD_BillCheck" style="document" />
+      <wsdl:input>
+        <soap:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="set_SaveOtherInBill_CLD_BillCheck_Verify">
+      <soap:operation soapAction="http://tempuri.org/set_SaveOtherInBill_CLD_BillCheck_Verify" style="document" />
       <wsdl:input>
         <soap:body use="literal" />
       </wsdl:input>
@@ -21603,15 +21773,6 @@
     </wsdl:operation>
     <wsdl:operation name="Get_CheckWhAndSP_BeUpdate">
       <soap:operation soapAction="http://tempuri.org/Get_CheckWhAndSP_BeUpdate" style="document" />
-      <wsdl:input>
-        <soap:body use="literal" />
-      </wsdl:input>
-      <wsdl:output>
-        <soap:body use="literal" />
-      </wsdl:output>
-    </wsdl:operation>
-    <wsdl:operation name="get_InfoByBarCode_Source">
-      <soap:operation soapAction="http://tempuri.org/get_InfoByBarCode_Source" style="document" />
       <wsdl:input>
         <soap:body use="literal" />
       </wsdl:input>
@@ -24700,6 +24861,24 @@
   </wsdl:binding>
   <wsdl:binding name="WebService1Soap12" type="tns:WebService1Soap">
     <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
+    <wsdl:operation name="get_CheckTypeByMouldSource">
+      <soap12:operation soapAction="http://tempuri.org/get_CheckTypeByMouldSource" style="document" />
+      <wsdl:input>
+        <soap12:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap12:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="getMouldSourceBillList">
+      <soap12:operation soapAction="http://tempuri.org/getMouldSourceBillList" style="document" />
+      <wsdl:input>
+        <soap12:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap12:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
     <wsdl:operation name="Get_CheckTypeByMouldBarCode_ProdCheckStock">
       <soap12:operation soapAction="http://tempuri.org/Get_CheckTypeByMouldBarCode_ProdCheckStock" style="document" />
       <wsdl:input>
@@ -25287,6 +25466,15 @@
     </wsdl:operation>
     <wsdl:operation name="set_SavePonderationBillMain_Temp_BarCode_Mould">
       <soap12:operation soapAction="http://tempuri.org/set_SavePonderationBillMain_Temp_BarCode_Mould" style="document" />
+      <wsdl:input>
+        <soap12:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap12:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="get_InfoByBarCode_Source">
+      <soap12:operation soapAction="http://tempuri.org/get_InfoByBarCode_Source" style="document" />
       <wsdl:input>
         <soap12:body use="literal" />
       </wsdl:input>
@@ -26032,17 +26220,8 @@
         <soap12:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
-    <wsdl:operation name="get_CheckTypeByMouldSource">
-      <soap12:operation soapAction="http://tempuri.org/get_CheckTypeByMouldSource" style="document" />
-      <wsdl:input>
-        <soap12:body use="literal" />
-      </wsdl:input>
-      <wsdl:output>
-        <soap12:body use="literal" />
-      </wsdl:output>
-    </wsdl:operation>
-    <wsdl:operation name="getMouldSourceBillList">
-      <soap12:operation soapAction="http://tempuri.org/getMouldSourceBillList" style="document" />
+    <wsdl:operation name="GetJXBarCode_SiMoEr">
+      <soap12:operation soapAction="http://tempuri.org/GetJXBarCode_SiMoEr" style="document" />
       <wsdl:input>
         <soap12:body use="literal" />
       </wsdl:input>
@@ -26106,6 +26285,24 @@
     </wsdl:operation>
     <wsdl:operation name="set_SaveOtherInBill_BillCheck">
       <soap12:operation soapAction="http://tempuri.org/set_SaveOtherInBill_BillCheck" style="document" />
+      <wsdl:input>
+        <soap12:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap12:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="set_SaveOtherInBill_CLD_BillCheck">
+      <soap12:operation soapAction="http://tempuri.org/set_SaveOtherInBill_CLD_BillCheck" style="document" />
+      <wsdl:input>
+        <soap12:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap12:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="set_SaveOtherInBill_CLD_BillCheck_Verify">
+      <soap12:operation soapAction="http://tempuri.org/set_SaveOtherInBill_CLD_BillCheck_Verify" style="document" />
       <wsdl:input>
         <soap12:body use="literal" />
       </wsdl:input>
@@ -26682,15 +26879,6 @@
     </wsdl:operation>
     <wsdl:operation name="Get_CheckWhAndSP_BeUpdate">
       <soap12:operation soapAction="http://tempuri.org/Get_CheckWhAndSP_BeUpdate" style="document" />
-      <wsdl:input>
-        <soap12:body use="literal" />
-      </wsdl:input>
-      <wsdl:output>
-        <soap12:body use="literal" />
-      </wsdl:output>
-    </wsdl:operation>
-    <wsdl:operation name="get_InfoByBarCode_Source">
-      <soap12:operation soapAction="http://tempuri.org/get_InfoByBarCode_Source" style="document" />
       <wsdl:input>
         <soap12:body use="literal" />
       </wsdl:input>
@@ -29779,10 +29967,10 @@
   </wsdl:binding>
   <wsdl:service name="WebService1">
     <wsdl:port name="WebService1Soap" binding="tns:WebService1Soap">
-      <soap:address location="http://192.168.0.81/WEBS-WMS/WebService1.asmx" />
+      <soap:address location="http://192.168.0.11/WEBS-WMS/WebService1.asmx" />
     </wsdl:port>
     <wsdl:port name="WebService1Soap12" binding="tns:WebService1Soap12">
-      <soap12:address location="http://192.168.0.81/WEBS-WMS/WebService1.asmx" />
+      <soap12:address location="http://192.168.0.11/WEBS-WMS/WebService1.asmx" />
     </wsdl:port>
   </wsdl:service>
 </wsdl:definitions>
\ No newline at end of file
diff --git a/WebAPI/Web.config b/WebAPI/Web.config
index b480901..469abe0 100644
--- a/WebAPI/Web.config
+++ b/WebAPI/Web.config
@@ -8,10 +8,10 @@
 
 
 
-		<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-			<section name="WebAPI.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
-		</sectionGroup>
-	</configSections>
+  <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
+   <section name="WebAPI.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
+  </sectionGroup>
+ </configSections>
 	<connectionStrings>
 		<add name="YqnConn" connectionString="Data Source=192.168.0.175;Initial Catalog=HX_LimsSys;User Id=HX_USER,Password=lc@841022;Integrated Security=True" />
 
@@ -35,7 +35,7 @@
 		<!--<add key="sUrl" value="http://47.96.97.237/WEBS-WMS/WebService1.asmx"/> --> <!--娴嬭瘯鏈嶅姟鍣�-->
 		<!--<add key="surl" value="http://localhost:8082/webs/webservice1.asmx"/>    鏈湴-->
 		<!--<add key="sUrl" value="http://192.168.110.57:81/WEBS/WebService1.asmx"/>-->	<!--闄堥洴闈欐湰鍦伴厤缃�-->
-		<add key="surl" value="http://localhost/webs-web/webservice1.asmx" />	<!--缈佹稕娑涙湰鍦伴厤缃�-->
+		<!--<add key="surl" value="http://localhost/webs-web/webservice1.asmx" />-->	<!--缈佹稕娑涙湰鍦伴厤缃�-->
 		<!--<add key="sUrl" value="http://192.168.1.57:8082/WEBS-WMS/WebService1.asmx"/>涔濊彵-->
 		<!--<add key="sUrl" value="http://61.130.182.102:18181/WEBSCS/WebService1.asmx"/>--><!--鏂帿灏�-->
 		
@@ -106,15 +106,15 @@
 			</basicHttpBinding>
 		</bindings>
 		<client>
-			<endpoint address="http://localhost/webs-web/webservice1.asmx" binding="basicHttpBinding" bindingConfiguration="WebService1Soap" contract="Webs1.WebService1Soap" name="WebService1Soap" />
+			<endpoint address="http://192.168.0.11/WEBS-WMS/WebService1.asmx" binding="basicHttpBinding" bindingConfiguration="WebService1Soap" contract="Webs1.WebService1Soap" name="WebService1Soap" />
 		</client>
 	</system.serviceModel>
-	<applicationSettings>
-		<WebAPI.Properties.Settings>
-			<setting name="WebAPI_WebS_WebService1" serializeAs="String">
-				<value>http://localhost/webs-web/webservice1.asmx</value>
-			</setting>
-		</WebAPI.Properties.Settings>
-	</applicationSettings>
+ <applicationSettings>
+  <WebAPI.Properties.Settings>
+   <setting name="WebAPI_WebS_WebService1" serializeAs="String">
+    <value>http://192.168.0.11/WEBS-WMS/WebService1.asmx</value>
+   </setting>
+  </WebAPI.Properties.Settings>
+ </applicationSettings>
 </configuration>
 <!--ProjectGuid: 5B60CE0C-963C-4DC2-91B3-0B471AAC5438-->
\ No newline at end of file
diff --git a/WebAPI/WebAPI.csproj b/WebAPI/WebAPI.csproj
index 60de33b..bb89ef7 100644
--- a/WebAPI/WebAPI.csproj
+++ b/WebAPI/WebAPI.csproj
@@ -354,10 +354,10 @@
     <Content Include="Web References\WebS\ClsKf_ICStockBill_WMS.datasource">
       <DependentUpon>Reference.map</DependentUpon>
     </Content>
-    <Content Include="Web References\WebS\Reference.map">
+    <None Include="Web References\WebS\Reference.map">
       <Generator>MSDiscoCodeGenerator</Generator>
       <LastGenOutput>Reference.cs</LastGenOutput>
-    </Content>
+    </None>
     <None Include="Web References\WebS\WebService1.disco" />
     <Content Include="Web.config">
       <SubType>Designer</SubType>
@@ -1273,10 +1273,10 @@
     </ProjectReference>
   </ItemGroup>
   <ItemGroup>
-    <WebReferenceUrl Include="http://192.168.0.81/WEBS-WMS/WebService1.asmx">
+    <WebReferenceUrl Include="http://192.168.0.11/WEBS-WMS/WebService1.asmx">
       <UrlBehavior>Dynamic</UrlBehavior>
       <RelPath>Web References\WebS\</RelPath>
-      <UpdateFromURL>http://192.168.0.81/WEBS-WMS/WebService1.asmx</UpdateFromURL>
+      <UpdateFromURL>http://192.168.0.11/WEBS-WMS/WebService1.asmx</UpdateFromURL>
       <ServiceLocationURL>
       </ServiceLocationURL>
       <CachedDynamicPropName>

--
Gitblit v1.9.1