From 0982828eb77839908b11cabd0a868cb991c5d004 Mon Sep 17 00:00:00 2001
From: zrg <z18737863051@163.com>
Date: 星期四, 13 二月 2025 17:27:15 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API

---
 SyntacticSugar/bin/Release/SyntacticSugar.dll                               |    0 
 WebAPI/WebAPI.csproj.user                                                   |    4 
 DAL/计划管理/ClsGy_SourceMouldBillMain.cs                                       |  271 ++++
 DBUtility/bin/Release/Pub_Class.dll                                         |    0 
 SyntacticSugar/bin/Release/SyntacticSugar.pdb                               |    0 
 Model/bin/Release/Pub_Control.pdb                                           |    0 
 sdk_dingding/TopSdk/obj/Release/TopSdk.pdb                                  |    0 
 Model/bin/Release/Pub_Class.pdb                                             |    0 
 sdk_dingding/TopSdk/obj/Release/TopSdk.dll                                  |    0 
 sdk_dingding/TopSdk/bin/Release/TopSdk.dll                                  |    0 
 Model/obj/Release/Model.pdb                                                 |    0 
 BLL/bin/Release/BLL.pdb                                                     |    0 
 SyntacticSugar/obj/Release/SyntacticSugar.csproj.FileListAbsolute.txt       |    6 
 Model/bin/Release/Pub_Control.dll                                           |    0 
 Model/计划管理/ClsGy_ICBomBillMain.cs                                           |    1 
 Pub_Control/bin/Release/Pub_Class.pdb                                       |    0 
 DAL/计划管理/ClsGy_ICBomBill.cs                                                 |   11 
 WebAPI/Controllers/SCGL/Sc_PPBomBillController.cs                           |  254 ++++
 sdk_dingding/TopSdk/bin/Release/TopSdk.pdb                                  |    0 
 WebAPI/ListModels.cs                                                        |   24 
 Pub_Control/bin/Release/Pub_Class.dll                                       |    0 
 WebAPI/WebAPI.csproj                                                        |    1 
 Model/计划管理/ClsGy_SourceMouldBillMain.cs                                     |   17 
 BLL/bin/Release/Pub_Control.pdb                                             |    0 
 Pub_Control/bin/Release/Pub_Control.dll                                     |    0 
 WebAPI/Web References/WebS/WebService1.wsdl                                 |  510 ++++----
 BLL/bin/Release/DBUtility.pdb                                               |    0 
 DAL/bin/Release/SQLHelper.dll                                               |    0 
 Model/bin/Release/DBUtility.pdb                                             |    0 
 SQLHelper/bin/Release/SQLHelper.dll                                         |    0 
 WebAPI/Controllers/条码管理/WEBSController.cs                                   |  128 ++
 Model/Model.csproj                                                          |    2 
 BLL/bin/Release/Pub_Control.dll                                             |    0 
 DAL/bin/Release/SQLHelper.pdb                                               |    0 
 DAL/生产管理/ClsSc_ShiftsBeginInfoBill.cs                                       |    5 
 DBUtility/obj/Release/DBUtility.csproj.GenerateResource.Cache               |    0 
 SQLHelper/bin/Release/SQLHelper.pdb                                         |    0 
 DBUtility/obj/Release/DBUtility.pdb                                         |    0 
 Model/bin/Release/DBUtility.dll                                             |    0 
 WebAPI/Web References/WebS/Reference.cs                                     | 1152 +++++++++---------
 BLL/bin/Release/DBUtility.dll                                               |    0 
 DBUtility/obj/Release/DBUtility.csproj.ResolveComReference.cache            |    0 
 WebAPI/Web.config                                                           |    2 
 BLL/bin/Release/BLL.dll                                                     |    0 
 Pub_Control/bin/Release/Pub_Control.pdb                                     |    0 
 DBUtility/obj/Release/DBUtility.dll                                         |    0 
 sdk_dingding/TopSdk/bin/Debug/TopSdk.pdb                                    |    0 
 Model/obj/Release/Model.dll                                                 |    0 
 BLL/bin/Release/Pub_Class.dll                                               |    0 
 DBUtility/bin/Release/SQLHelper.dll                                         |    0 
 DBUtility/bin/Release/SQLHelper.pdb                                         |    0 
 Model/bin/Release/Pub_Class.dll                                             |    0 
 BLL/bin/Release/Pub_Class.pdb                                               |    0 
 SyntacticSugar/obj/Debug/SyntacticSugar.csproj.FileListAbsolute.txt         |    5 
 BLL/bin/Release/DAL.dll                                                     |    0 
 BLL/bin/Release/SQLHelper.pdb                                               |    0 
 DAL/bin/Release/DBUtility.dll                                               |    0 
 DAL/bin/Release/Pub_Control.dll                                             |    0 
 DBUtility/bin/Release/Pub_Control.pdb                                       |    0 
 Model/计划管理/ClsGy_SourceMouldBillSub.cs                                      |   14 
 SyntacticSugar/bin/Debug/SyntacticSugar.pdb                                 |    0 
 BLL/bin/Release/SQLHelper.dll                                               |    0 
 DAL/bin/Release/DBUtility.pdb                                               |    0 
 DAL/bin/Release/Model.dll                                                   |    0 
 SyntacticSugar/obj/Release/.NETFramework,Version=v4.5.AssemblyAttributes.cs |    4 
 WebAPI/Properties/PublishProfiles/FolderProfile1.pubxml.user                |  166 +-
 SyntacticSugar/obj/Debug/SyntacticSugar.dll                                 |    0 
 DBUtility/bin/Release/Pub_Control.dll                                       |    0 
 Model/bin/Release/SQLHelper.pdb                                             |    0 
 DAL/bin/Release/Pub_Control.pdb                                             |    0 
 DAL/bin/Release/DAL.pdb                                                     |    0 
 SQLHelper/obj/Release/SQLHelper.dll                                         |    0 
 BLL/bin/Release/Model.dll                                                   |    0 
 BLL/bin/Release/DAL.pdb                                                     |    0 
 Model/生产管理/ClsSc_ShiftsBeginInfoBillMain.cs                                 |    1 
 BLL/bin/Release/Model.pdb                                                   |    0 
 DAL/bin/Release/DAL.dll                                                     |    0 
 SyntacticSugar/bin/Debug/SyntacticSugar.dll                                 |    0 
 DAL/bin/Release/Model.pdb                                                   |    0 
 WebAPI/Controllers/SCGL/Sc_ICBomBillController.cs                           |  327 +++++
 sdk_dingding/TopSdk/bin/Debug/TopSdk.dll                                    |    0 
 Pub_Class/bin/Release/SyntacticSugar.pdb                                    |    0 
 SQLHelper/obj/Release/SQLHelper.pdb                                         |    0 
 DBUtility/bin/Release/DBUtility.pdb                                         |    0 
 DBUtility/bin/Release/DBUtility.dll                                         |    0 
 sdk_dingding/TopSdk/obj/Debug/TopSdk.dll                                    |    0 
 Pub_Class/bin/Release/SyntacticSugar.dll                                    |    0 
 sdk_dingding/TopSdk/obj/Release/TopSdk.csproj.CoreCompileInputs.cache       |    1 
 sdk_dingding/TopSdk/obj/Release/TopSdk.csproj.AssemblyReference.cache       |    0 
 DBUtility/obj/Release/DBUtility.csproj.AssemblyReference.cache              |    0 
 WebAPI/Controllers/JHGL/Gy_SourceMouldBillController.cs                     |  648 ++++++++++
 sdk_dingding/TopSdk/obj/Debug/TopSdk.csproj.FileListAbsolute.txt            |    5 
 SyntacticSugar/obj/Debug/SyntacticSugar.pdb                                 |    0 
 sdk_dingding/TopSdk/obj/Debug/TopSdk.pdb                                    |    0 
 DAL/DAL.csproj                                                              |    1 
 Pub_Class/bin/Release/Pub_Class.pdb                                         |    0 
 SyntacticSugar/obj/Release/SyntacticSugar.dll                               |    0 
 SQLHelper/bin/Release/Pub_Class.pdb                                         |    0 
 WebAPI/Controllers/LMESController.cs                                        |    2 
 Pub_Class/bin/Release/Pub_Class.dll                                         |    0 
 SyntacticSugar/obj/Release/SyntacticSugar.pdb                               |    0 
 SQLHelper/bin/Release/Pub_Class.dll                                         |    0 
 Model/生产管理/ClsSc_PPBomBillMain.cs                                           |    1 
 DAL/bin/Release/Pub_Class.pdb                                               |    0 
 SyntacticSugar/obj/Release/SyntacticSugar.csproj.CoreCompileInputs.cache    |    1 
 WebAPI/Properties/PublishProfiles/FolderProfile8.pubxml.user                |   46 
 sdk_dingding/TopSdk/obj/Release/TopSdk.csproj.FileListAbsolute.txt          |    6 
 Model/bin/Release/Model.pdb                                                 |    0 
 DAL/bin/Release/Pub_Class.dll                                               |    0 
 Model/bin/Release/Model.dll                                                 |    0 
 /dev/null                                                                   |    0 
 DBUtility/bin/Release/Pub_Class.pdb                                         |    0 
 Model/bin/Release/SQLHelper.dll                                             |    0 
 113 files changed, 2,674 insertions(+), 942 deletions(-)

diff --git a/BLL/bin/Release/BLL.dll b/BLL/bin/Release/BLL.dll
index 9a52248..1ec660d 100644
--- a/BLL/bin/Release/BLL.dll
+++ b/BLL/bin/Release/BLL.dll
Binary files differ
diff --git a/BLL/bin/Release/BLL.pdb b/BLL/bin/Release/BLL.pdb
index cf43243..d1bd9b4 100644
--- a/BLL/bin/Release/BLL.pdb
+++ b/BLL/bin/Release/BLL.pdb
Binary files differ
diff --git a/BLL/bin/Release/DAL.dll b/BLL/bin/Release/DAL.dll
index 015f001..d61fe8b 100644
--- a/BLL/bin/Release/DAL.dll
+++ b/BLL/bin/Release/DAL.dll
Binary files differ
diff --git a/BLL/bin/Release/DAL.pdb b/BLL/bin/Release/DAL.pdb
index f4c09af..8d9a21f 100644
--- a/BLL/bin/Release/DAL.pdb
+++ b/BLL/bin/Release/DAL.pdb
Binary files differ
diff --git a/BLL/bin/Release/DBUtility.dll b/BLL/bin/Release/DBUtility.dll
index be76b79..a587901 100644
--- a/BLL/bin/Release/DBUtility.dll
+++ b/BLL/bin/Release/DBUtility.dll
Binary files differ
diff --git a/BLL/bin/Release/DBUtility.pdb b/BLL/bin/Release/DBUtility.pdb
index e723f06..7dc7c89 100644
--- a/BLL/bin/Release/DBUtility.pdb
+++ b/BLL/bin/Release/DBUtility.pdb
Binary files differ
diff --git a/BLL/bin/Release/Model.dll b/BLL/bin/Release/Model.dll
index af5e753..15b2d96 100644
--- a/BLL/bin/Release/Model.dll
+++ b/BLL/bin/Release/Model.dll
Binary files differ
diff --git a/BLL/bin/Release/Model.pdb b/BLL/bin/Release/Model.pdb
index acfd881..a2a5157 100644
--- a/BLL/bin/Release/Model.pdb
+++ b/BLL/bin/Release/Model.pdb
Binary files differ
diff --git a/BLL/bin/Release/Pub_Class.dll b/BLL/bin/Release/Pub_Class.dll
index 4e5a491..041fefe 100644
--- a/BLL/bin/Release/Pub_Class.dll
+++ b/BLL/bin/Release/Pub_Class.dll
Binary files differ
diff --git a/BLL/bin/Release/Pub_Class.pdb b/BLL/bin/Release/Pub_Class.pdb
index 360e388..a559d46 100644
--- a/BLL/bin/Release/Pub_Class.pdb
+++ b/BLL/bin/Release/Pub_Class.pdb
Binary files differ
diff --git a/BLL/bin/Release/Pub_Control.dll b/BLL/bin/Release/Pub_Control.dll
index 218dd50..2fe6d1f 100644
--- a/BLL/bin/Release/Pub_Control.dll
+++ b/BLL/bin/Release/Pub_Control.dll
Binary files differ
diff --git a/BLL/bin/Release/Pub_Control.pdb b/BLL/bin/Release/Pub_Control.pdb
index 350fdb5..b5b9127 100644
--- a/BLL/bin/Release/Pub_Control.pdb
+++ b/BLL/bin/Release/Pub_Control.pdb
Binary files differ
diff --git a/BLL/bin/Release/SQLHelper.dll b/BLL/bin/Release/SQLHelper.dll
index e55a70d..ad7d020 100644
--- a/BLL/bin/Release/SQLHelper.dll
+++ b/BLL/bin/Release/SQLHelper.dll
Binary files differ
diff --git a/BLL/bin/Release/SQLHelper.pdb b/BLL/bin/Release/SQLHelper.pdb
index a822bfd..db8dd94 100644
--- a/BLL/bin/Release/SQLHelper.pdb
+++ b/BLL/bin/Release/SQLHelper.pdb
Binary files differ
diff --git a/DAL/DAL.csproj b/DAL/DAL.csproj
index ed4923e..e801991 100644
--- a/DAL/DAL.csproj
+++ b/DAL/DAL.csproj
@@ -95,6 +95,7 @@
     <Compile Include="婧愬崟\InterFace婧愬崟\Cls_S_IF_ICMOBillList_CusBarCodeBill.cs" />
     <Compile Include="婧愬崟\InterFace婧愬崟\Cls_S_IF_ICMOReportBillList_CusBarCodeBill.cs" />
     <Compile Include="绯荤粺鍏敤\ClsXt_DefineBillMainSet.cs" />
+    <Compile Include="璁″垝绠$悊\ClsGy_SourceMouldBillMain.cs" />
     <Compile Include="璐ㄦ绠$悊\ClsQC_EnvironmentTestDotCheckBillMain.cs" />
     <Compile Include="璐ㄦ绠$悊\ClsQC_MonthTarGetBill.cs" />
     <Compile Include="鐢熶骇绠$悊\璁惧绠$悊\ClsSb_EquipRepairSignBill.cs" />
diff --git a/DAL/bin/Release/DAL.dll b/DAL/bin/Release/DAL.dll
index 015f001..d61fe8b 100644
--- a/DAL/bin/Release/DAL.dll
+++ b/DAL/bin/Release/DAL.dll
Binary files differ
diff --git a/DAL/bin/Release/DAL.pdb b/DAL/bin/Release/DAL.pdb
index f4c09af..8d9a21f 100644
--- a/DAL/bin/Release/DAL.pdb
+++ b/DAL/bin/Release/DAL.pdb
Binary files differ
diff --git a/DAL/bin/Release/DBUtility.dll b/DAL/bin/Release/DBUtility.dll
index be76b79..a587901 100644
--- a/DAL/bin/Release/DBUtility.dll
+++ b/DAL/bin/Release/DBUtility.dll
Binary files differ
diff --git a/DAL/bin/Release/DBUtility.pdb b/DAL/bin/Release/DBUtility.pdb
index e723f06..7dc7c89 100644
--- a/DAL/bin/Release/DBUtility.pdb
+++ b/DAL/bin/Release/DBUtility.pdb
Binary files differ
diff --git a/DAL/bin/Release/Model.dll b/DAL/bin/Release/Model.dll
index af5e753..15b2d96 100644
--- a/DAL/bin/Release/Model.dll
+++ b/DAL/bin/Release/Model.dll
Binary files differ
diff --git a/DAL/bin/Release/Model.pdb b/DAL/bin/Release/Model.pdb
index acfd881..a2a5157 100644
--- a/DAL/bin/Release/Model.pdb
+++ b/DAL/bin/Release/Model.pdb
Binary files differ
diff --git a/DAL/bin/Release/Pub_Class.dll b/DAL/bin/Release/Pub_Class.dll
index 4e5a491..041fefe 100644
--- a/DAL/bin/Release/Pub_Class.dll
+++ b/DAL/bin/Release/Pub_Class.dll
Binary files differ
diff --git a/DAL/bin/Release/Pub_Class.pdb b/DAL/bin/Release/Pub_Class.pdb
index 360e388..a559d46 100644
--- a/DAL/bin/Release/Pub_Class.pdb
+++ b/DAL/bin/Release/Pub_Class.pdb
Binary files differ
diff --git a/DAL/bin/Release/Pub_Control.dll b/DAL/bin/Release/Pub_Control.dll
index 218dd50..2fe6d1f 100644
--- a/DAL/bin/Release/Pub_Control.dll
+++ b/DAL/bin/Release/Pub_Control.dll
Binary files differ
diff --git a/DAL/bin/Release/Pub_Control.pdb b/DAL/bin/Release/Pub_Control.pdb
index 350fdb5..b5b9127 100644
--- a/DAL/bin/Release/Pub_Control.pdb
+++ b/DAL/bin/Release/Pub_Control.pdb
Binary files differ
diff --git a/DAL/bin/Release/SQLHelper.dll b/DAL/bin/Release/SQLHelper.dll
index e55a70d..ad7d020 100644
--- a/DAL/bin/Release/SQLHelper.dll
+++ b/DAL/bin/Release/SQLHelper.dll
Binary files differ
diff --git a/DAL/bin/Release/SQLHelper.pdb b/DAL/bin/Release/SQLHelper.pdb
index a822bfd..db8dd94 100644
--- a/DAL/bin/Release/SQLHelper.pdb
+++ b/DAL/bin/Release/SQLHelper.pdb
Binary files differ
diff --git "a/DAL/\347\224\237\344\272\247\347\256\241\347\220\206/ClsSc_ShiftsBeginInfoBill.cs" "b/DAL/\347\224\237\344\272\247\347\256\241\347\220\206/ClsSc_ShiftsBeginInfoBill.cs"
index 2fa0d02..dc95f8e 100644
--- "a/DAL/\347\224\237\344\272\247\347\256\241\347\220\206/ClsSc_ShiftsBeginInfoBill.cs"
+++ "b/DAL/\347\224\237\344\272\247\347\256\241\347\220\206/ClsSc_ShiftsBeginInfoBill.cs"
@@ -72,6 +72,7 @@
                 ",HGroupID =" + omodel.HGroupID.ToString() +
                 ",HGroupLeaderID =" + omodel.HGroupLeaderID.ToString() +
                 ",HStdEmpQty =" + omodel.HStdEmpQty.ToString() +
+                ",HPlanShutdownTimes =" + omodel.HPlanShutdownTimes.ToString() +
 
                 " where HInterID=" + lngBillKey.ToString());
                 //鍒犻櫎鍏宠仈
@@ -169,7 +170,7 @@
                 //涓昏〃
                 string mainSql = "insert into Sc_ShiftsBeginInfoBillMain" +
                     "(HYear,HPeriod,HBillType,HBillSubType,HInterID,HDate,HBillNo,HRemark,HMaker,HMakeDate" +
-                    ",HDeptID,HWorkCenterID,HShiftsID,HSourceID,HGroupID,HGroupLeaderID,HStdEmpQty) " +
+                    ",HDeptID,HWorkCenterID,HShiftsID,HSourceID,HGroupID,HGroupLeaderID,HStdEmpQty,HPlanShutdownTimes) " +
                     "values(" +
                     "" + (omodel.HYear.ToString() != "0" ? omodel.HYear.ToString() : DateTime.Now.Year.ToString()) +
                     "," + omodel.HPeriod.ToString() +
@@ -188,7 +189,7 @@
                     "','" + omodel.HGroupID +
                     "','" + omodel.HGroupLeaderID +
                     "','" + omodel.HStdEmpQty +
-
+                    "','" + omodel.HPlanShutdownTimes +
                     "')";
 
                 oCn.RunProc(mainSql);
diff --git "a/DAL/\350\256\241\345\210\222\347\256\241\347\220\206/ClsGy_ICBomBill.cs" "b/DAL/\350\256\241\345\210\222\347\256\241\347\220\206/ClsGy_ICBomBill.cs"
index 79c75ae..c027bbd 100644
--- "a/DAL/\350\256\241\345\210\222\347\256\241\347\220\206/ClsGy_ICBomBill.cs"
+++ "b/DAL/\350\256\241\345\210\222\347\256\241\347\220\206/ClsGy_ICBomBill.cs"
@@ -39,9 +39,9 @@
                 //鏇存柊涓昏〃
                 oCn.RunProc("UpDate Gy_ICBomBillMain set  " +
                 " HBillNo='" + omodel.HBillNo + "'" +
-                ",HDate='" + omodel.HDate + "'" +
-                ",HYear='" + omodel.HYear.ToString() + "'" +
-                ",HPeriod='" + omodel.HPeriod.ToString() + "'" +
+                //",HDate='" + omodel.HDate + "'" +
+                //",HYear='" + omodel.HYear.ToString() + "'" +
+                //",HPeriod='" + omodel.HPeriod.ToString() + "'" +
                 ",HRemark='" + omodel.HRemark + "'" +
                 ",HUpDater='" + omodel.HUpDater + "'" +
                 ",HUpDateDate='" + omodel.HUpDateDate + "'" +
@@ -56,6 +56,7 @@
                 ",HProdRate=" + omodel.HProdRate.ToString() +
                 ",HQty=" + omodel.HQty.ToString() +
                 ",HJump='" + omodel.HJump + "'" +
+                ",HBomType='" + omodel.HBomType + "'" +
                 " where HInterID=" + lngBillKey.ToString());
                 //鍒犻櫎鍏宠仈
                 DeleteRelation(ref sReturn, lngBillKey);
@@ -104,12 +105,12 @@
                 "(HBillType,HInterID,HBillNo,HDate" + 
                 ",HYear,HPeriod,HRemark,HMaker,HMakeDate,HMaterTypeID,HStatus" +
                 ",HMaterID,HParentID,HVersion,HPicNo,HPropertyID" +
-                ",HUnitID,HQty,HProdRate,HJump" +
+                ",HUnitID,HQty,HProdRate,HJump,HBomType" +
                 ") " +
                 " values('" + this.BillType + "'," + omodel.HInterID.ToString() + ",'" + omodel.HBillNo + "','" + omodel.HDate + "'" +
                 "," + omodel.HYear.ToString() + "," + omodel.HPeriod.ToString() + ",'" + omodel.HRemark + "','" + DBUtility.ClsPub.CurUserName + "',getdate(),'" + omodel.HMaterTypeID.ToString() + "','" + omodel.HStatus +
                 "','" + omodel.HMaterID.ToString() + "'," + omodel.HParentID.ToString() + ",'" + omodel.HVersion + "','" + omodel.HPicNo + "'," +omodel.HPropertyID.ToString() +
-                ","+omodel.HUnitID.ToString()+","+omodel.HQty.ToString()+","+omodel.HProdRate.ToString()+",'"+omodel.HJump +"'"+
+                ","+omodel.HUnitID.ToString()+","+omodel.HQty.ToString()+","+omodel.HProdRate.ToString()+",'"+omodel.HJump +"','"+omodel.HBomType + "'"+
                 ") ");
                 //鎻掑叆瀛愯〃
                 foreach (Model.ClsGy_ICBomBillSub oSub in DetailColl)
diff --git "a/DAL/\350\256\241\345\210\222\347\256\241\347\220\206/ClsGy_SourceMouldBillMain.cs" "b/DAL/\350\256\241\345\210\222\347\256\241\347\220\206/ClsGy_SourceMouldBillMain.cs"
new file mode 100644
index 0000000..5514547
--- /dev/null
+++ "b/DAL/\350\256\241\345\210\222\347\256\241\347\220\206/ClsGy_SourceMouldBillMain.cs"
@@ -0,0 +1,271 @@
+锘縰sing System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+
+namespace DAL
+{
+    public class ClsGy_SourceMouldBillMain : DBUtility.ClsXt_BaseBill
+    {
+        public Model.ClsGy_SourceMouldBillMain omodel = new Model.ClsGy_SourceMouldBillMain();
+        public List<Model.ClsGy_SourceMouldBillSub> DetailColl = new List<Model.ClsGy_SourceMouldBillSub>();
+
+        public ClsGy_SourceMouldBillMain()
+        {
+            base.MvarItemKeySub = "Gy_SourceMouldBillSub";
+            base.MvarItemKeySub2 = "";
+            base.MvarItemKeySub3 = "";
+            base.MvarItemKeySub4 = "";
+            base.MvarItemKey = "Gy_SourceMouldBillMain";
+            base.MvarReportTitle = "浜х嚎鍣ㄥ叿娓呭崟";
+            base.BillType = "4617";
+            base.HBillSubType = "4617";
+
+        }
+
+        #region 鍥哄畾浠g爜
+        #region 鏃犲弬鏋勯�犲嚱鏁�
+        ~ClsGy_SourceMouldBillMain()
+        {
+            DetailColl = null;
+        }
+        #endregion
+        #endregion
+
+        //#region 淇敼鍗曟嵁
+        public override bool ModifyBill(Int64 lngBillKey, ref string sReturn)
+        {
+            try
+            {
+                oCn.BeginTran();
+                //鏇存柊涓昏〃
+                string mainSql = "update Gy_SourceMouldBillMain set " +
+                    " HBillNo = '" + omodel.HBillNo +
+                    "', HDate = '" + omodel.HDate +
+                    "', HRemark = '" + omodel.HRemark +
+                    "', HUpDater = '" + omodel.HUpDater +
+                    "', HUpDateDate = getdate()" +
+                     //===============================================================
+
+                     ", HDeptID = '" + omodel.HDeptID +
+                    "', HEmpID = '" + omodel.HEmpID +
+                    "', HSourceID = '" + omodel.HSourceID +
+                    "', HWorkCenterID = '" + omodel.HWorkCenterID +
+                    "', HEquipID  = '" + omodel.HEquipID +
+                    "', HOrgID	  = '" + omodel.HOrgID +
+                    "', HProcID	  = " + omodel.HProcID +
+                    " where HInterID = " + omodel.HInterID;
+
+                oCn.RunProc(mainSql);
+                //鍒犻櫎鍏宠仈
+                DeleteRelation(ref sReturn, lngBillKey);
+                //鍒犻櫎瀛愯〃
+                DeleteBillSub(lngBillKey);
+
+                //鎻掑叆瀛愯〃
+                omodel.HInterID = lngBillKey;
+                foreach (Model.ClsGy_SourceMouldBillSub oSub in DetailColl)
+                {
+                    string subSql = "insert into Gy_SourceMouldBillSub" +
+                            "(HInterID,HEntryID,HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType" +
+                            ",HMouldID,HQty,HMouldQty,HRate) " +
+                            " values(" +
+                            "" + omodel.HInterID.ToString() +
+                            "," + oSub.HEntryID.ToString() +
+                            "," + oSub.HSourceInterID +
+                            "," + oSub.HSourceEntryID +
+                            ",'" + oSub.HSourceBillNo +
+                            "','" + oSub.HSourceBillType +
+                            "','" + oSub.HMouldID +
+                            "'," + oSub.HQty +
+                            "," + oSub.HMouldQty +
+                            ",'" + oSub.HRate +
+                            "')";
+                    oCn.RunProc(subSql);
+                }
+
+                sReturn = "淇敼鍗曟嵁鎴愬姛锛�";
+                oCn.Commit();
+                return true;
+            }
+            catch (Exception e)
+            {
+                sReturn = e.Message;
+                oCn.RollBack();
+                throw (e);
+            }
+        }
+        //#endregion
+
+        #region  鏂板鍗曟嵁
+        public override bool AddBill(ref string sReturn)
+        {
+            try
+            {
+                DataSet ds;
+
+
+                oCn.BeginTran();
+
+                //妫�鏌ヤ富琛ㄥ唴鐮佹槸鍚﹂噸澶嶏紝鑻ラ噸澶嶅垯閲嶆柊鐢熸垚骞剁户缁鏌ワ紝鐩村埌涓嶅啀閲嶅
+                while (true)
+                {
+                    ds = oCn.RunProcReturn("select * from Gy_SourceMouldBillMain where HInterID = " + omodel.HInterID, "Gy_SourceMouldBillMain");
+                    if (ds != null && ds.Tables[0].Rows.Count > 0)
+                    {
+                        omodel.HInterID = DBUtility.ClsPub.CreateBillID(BillType, ref DBUtility.ClsPub.sExeReturnInfo);
+                    }
+                    else
+                    {
+                        break;
+                    }
+                }
+
+                //鎻掑叆涓昏〃
+                string mainSql = "insert into Gy_SourceMouldBillMain" +
+                    "(HYear,HPeriod,HBillType,HBillSubType,HInterID,HDate,HBillNo,HRemark,HMaker,HMakeDate" +
+                    ",HDeptID,HEmpID,HSourceID,HWorkCenterID,HEquipID,HOrgID,HProcID) " +
+                    "values(" +
+                    "" + omodel.HYear.ToString() +
+                    "," + omodel.HPeriod.ToString() +
+                    ",'" + this.BillType +
+                    "','" + this.HBillSubType +
+                    "'," + omodel.HInterID +
+                    ",'" + omodel.HDate +
+                    "','" + omodel.HBillNo +
+                    "','" + omodel.HRemark +
+                    "','" + omodel.HMaker +
+                    "',getdate()" +
+                    "," + omodel.HDeptID +
+                    "," + omodel.HEmpID +
+                    ",'" + omodel.HSourceID +
+                    "','" + omodel.HWorkCenterID +
+                    "','" + omodel.HEquipID +
+                    "','" + omodel.HOrgID +
+                    "'," + omodel.HProcID +
+                    ")";
+
+                oCn.RunProc(mainSql);
+
+                //鎻掑叆瀛愯〃
+                foreach (Model.ClsGy_SourceMouldBillSub oSub in DetailColl)
+                {
+                    string subSql = "insert into Gy_SourceMouldBillSub" +
+                           "" +
+                           "" +
+                           "" +
+                           "(HInterID,HEntryID,HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType" +
+                           ",HMouldID,HQty,HMouldQty,HRate) " +
+                           " values(" +
+                           "" + omodel.HInterID.ToString() +
+                           "," + oSub.HEntryID.ToString() +
+                           "," + oSub.HSourceInterID +
+                           "," + oSub.HSourceEntryID +
+                           ",'" + oSub.HSourceBillNo +
+                           "','" + oSub.HSourceBillType +
+                           "','" + oSub.HMouldID +
+                           "'," + oSub.HQty +
+                           "," + oSub.HMouldQty +
+                           ",'" + oSub.HRate +
+                           "')";
+                    oCn.RunProc(subSql);
+                }
+                sReturn = "鏂板鍗曟嵁鎴愬姛锛�";
+                oCn.Commit();
+                return true;
+            }
+            catch (Exception e)
+            {
+                sReturn = e.Message;
+                oCn.RollBack();
+                throw (e);
+            }
+        }
+        #endregion
+
+        #region 鏄剧ず鍗曟嵁
+        public override bool ShowBill(Int64 lngBillKey, ref string sReturn)
+        {
+            try
+            {
+                //鏌ヨ涓昏〃
+                DataSet Ds;
+                Ds = oCn.RunProcReturn("select * from Gy_SourceMouldBillMain Where HInterID = " + lngBillKey.ToString(), "Gy_SourceMouldBillMain");
+                if (Ds.Tables[0].Rows.Count == 0)
+                {
+                    sReturn = "鍗曟嵁鏈壘鍒帮紒";
+                    return false;
+                }
+
+                //鍥哄畾璧嬪��===========================================
+                omodel.HYear = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HYear"]);
+                omodel.HPeriod = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HPeriod"]);
+                omodel.HBillType = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HBillType"]);
+                omodel.HBillSubType = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HBillSubType"]);
+                omodel.HInterID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HInterID"]);
+                omodel.HDate = DBUtility.ClsPub.isDate(Ds.Tables[0].Rows[0]["HDate"]);
+                omodel.HBillNo = Ds.Tables[0].Rows[0]["HBillNo"].ToString().Trim();
+                omodel.HBillStatus = DBUtility.ClsPub.isInt(Ds.Tables[0].Rows[0]["HBillStatus"]);
+                omodel.HCheckItemNowID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HCheckItemNowID"]);
+                omodel.HCheckItemNextID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HCheckItemNextID"]);
+                omodel.HCheckFlowID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HCheckFlowID"]);
+                omodel.HRemark = Ds.Tables[0].Rows[0]["HRemark"].ToString().Trim();
+                omodel.HBackDate = Ds.Tables[0].Rows[0]["HBackDate"].ToString().Trim();
+                omodel.HBacker = Ds.Tables[0].Rows[0]["HBacker"].ToString().Trim();
+                omodel.HCheckDate = Ds.Tables[0].Rows[0]["HCheckDate"].ToString().Trim();
+                omodel.HChecker = Ds.Tables[0].Rows[0]["HChecker"].ToString().Trim();
+                omodel.HMaker = Ds.Tables[0].Rows[0]["HMaker"].ToString().Trim();
+                omodel.HMakeDate = Ds.Tables[0].Rows[0]["HMakeDate"].ToString().Trim();
+                omodel.HUpDateDate = Ds.Tables[0].Rows[0]["HUpDateDate"].ToString().Trim();
+                omodel.HUpDater = Ds.Tables[0].Rows[0]["HUpDater"].ToString().Trim();
+                omodel.HCloseDate = Ds.Tables[0].Rows[0]["HCloseDate"].ToString().Trim();
+                omodel.HCloseMan = Ds.Tables[0].Rows[0]["HCloseMan"].ToString().Trim();
+                omodel.HCloseType = DBUtility.ClsPub.isBool(Ds.Tables[0].Rows[0]["HCloseType"]);
+                omodel.HDeleteDate = Ds.Tables[0].Rows[0]["HDeleteDate"].ToString().Trim();
+                omodel.HDeleteMan = Ds.Tables[0].Rows[0]["HDeleteMan"].ToString().Trim();
+                //========================================================
+
+                omodel.HOrgID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HOrgID"]);
+
+
+                //
+
+                //寰幆
+                DataSet DsSub;
+                DsSub = oCn.RunProcReturn("select * from Gy_SourceMouldBillSub where HInterID = " + lngBillKey.ToString() + "order by HEntryID", "Gy_SourceMouldBillSub");
+                DetailColl.Clear();//娓呯┖
+                for (int i = 0; i < DsSub.Tables[0].Rows.Count; i++)
+                {
+                    Model.ClsGy_SourceMouldBillSub oSub = new Model.ClsGy_SourceMouldBillSub();
+                    // 鍥哄畾璧嬪��===============================================
+                    oSub.HInterID = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HInterID"]);
+                    oSub.HEntryID = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HEntryID"]);
+                    oSub.HSourceInterID = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HSourceInterID"]);
+                    oSub.HSourceEntryID = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HSourceEntryID"]);
+                    oSub.HSourceBillType = DsSub.Tables[0].Rows[i]["HSourceBillType"].ToString().Trim();
+                    oSub.HSourceBillNo = DsSub.Tables[0].Rows[i]["HSourceBillNo"].ToString().Trim();
+                    oSub.HRelationQty = DBUtility.ClsPub.isDoule(DsSub.Tables[0].Rows[i]["HRelationQty"]);
+                    oSub.HRelationMoney = DBUtility.ClsPub.isDoule(DsSub.Tables[0].Rows[i]["HRelationMoney"]);
+                    oSub.HCloseMan = DBUtility.ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HCloseMan"]);
+                    oSub.HCloseType = DBUtility.ClsPub.isBool(DsSub.Tables[0].Rows[i]["HCloseType"]);
+                    oSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DsSub.Tables[0].Rows[i]["HEntryCloseDate"]);
+                    oSub.HRemark = DsSub.Tables[0].Rows[i]["HRemark"].ToString().Trim();
+                    //===================================================
+
+
+                    DetailColl.Add(oSub);
+                }
+                sReturn = "鏄剧ず鍗曟嵁鎴愬姛锛�";
+                return true;
+            }
+            catch (Exception e)
+            {
+                sReturn = e.Message;
+                throw (e);
+            }
+        }
+        #endregion
+
+    }
+
+}
diff --git a/DBUtility/bin/Release/DBUtility.dll b/DBUtility/bin/Release/DBUtility.dll
index be76b79..a587901 100644
--- a/DBUtility/bin/Release/DBUtility.dll
+++ b/DBUtility/bin/Release/DBUtility.dll
Binary files differ
diff --git a/DBUtility/bin/Release/DBUtility.pdb b/DBUtility/bin/Release/DBUtility.pdb
index e723f06..7dc7c89 100644
--- a/DBUtility/bin/Release/DBUtility.pdb
+++ b/DBUtility/bin/Release/DBUtility.pdb
Binary files differ
diff --git a/DBUtility/bin/Release/Pub_Class.dll b/DBUtility/bin/Release/Pub_Class.dll
index 4e5a491..041fefe 100644
--- a/DBUtility/bin/Release/Pub_Class.dll
+++ b/DBUtility/bin/Release/Pub_Class.dll
Binary files differ
diff --git a/DBUtility/bin/Release/Pub_Class.pdb b/DBUtility/bin/Release/Pub_Class.pdb
index 360e388..a559d46 100644
--- a/DBUtility/bin/Release/Pub_Class.pdb
+++ b/DBUtility/bin/Release/Pub_Class.pdb
Binary files differ
diff --git a/DBUtility/bin/Release/Pub_Control.dll b/DBUtility/bin/Release/Pub_Control.dll
index 218dd50..2fe6d1f 100644
--- a/DBUtility/bin/Release/Pub_Control.dll
+++ b/DBUtility/bin/Release/Pub_Control.dll
Binary files differ
diff --git a/DBUtility/bin/Release/Pub_Control.pdb b/DBUtility/bin/Release/Pub_Control.pdb
index 350fdb5..b5b9127 100644
--- a/DBUtility/bin/Release/Pub_Control.pdb
+++ b/DBUtility/bin/Release/Pub_Control.pdb
Binary files differ
diff --git a/DBUtility/bin/Release/SQLHelper.dll b/DBUtility/bin/Release/SQLHelper.dll
index e55a70d..ad7d020 100644
--- a/DBUtility/bin/Release/SQLHelper.dll
+++ b/DBUtility/bin/Release/SQLHelper.dll
Binary files differ
diff --git a/DBUtility/bin/Release/SQLHelper.pdb b/DBUtility/bin/Release/SQLHelper.pdb
index a822bfd..db8dd94 100644
--- a/DBUtility/bin/Release/SQLHelper.pdb
+++ b/DBUtility/bin/Release/SQLHelper.pdb
Binary files differ
diff --git a/DBUtility/obj/Release/DBUtility.csproj.AssemblyReference.cache b/DBUtility/obj/Release/DBUtility.csproj.AssemblyReference.cache
index 7f5ae12..5ca7a74 100644
--- a/DBUtility/obj/Release/DBUtility.csproj.AssemblyReference.cache
+++ b/DBUtility/obj/Release/DBUtility.csproj.AssemblyReference.cache
Binary files differ
diff --git a/DBUtility/obj/Release/DBUtility.csproj.GenerateResource.Cache b/DBUtility/obj/Release/DBUtility.csproj.GenerateResource.Cache
index 749f75b..0e5831b 100644
--- a/DBUtility/obj/Release/DBUtility.csproj.GenerateResource.Cache
+++ b/DBUtility/obj/Release/DBUtility.csproj.GenerateResource.Cache
Binary files differ
diff --git a/DBUtility/obj/Release/DBUtility.csproj.ResolveComReference.cache b/DBUtility/obj/Release/DBUtility.csproj.ResolveComReference.cache
index 28ba0b1..60ffbb5 100644
--- a/DBUtility/obj/Release/DBUtility.csproj.ResolveComReference.cache
+++ b/DBUtility/obj/Release/DBUtility.csproj.ResolveComReference.cache
Binary files differ
diff --git a/DBUtility/obj/Release/DBUtility.dll b/DBUtility/obj/Release/DBUtility.dll
index be76b79..a587901 100644
--- a/DBUtility/obj/Release/DBUtility.dll
+++ b/DBUtility/obj/Release/DBUtility.dll
Binary files differ
diff --git a/DBUtility/obj/Release/DBUtility.pdb b/DBUtility/obj/Release/DBUtility.pdb
index e723f06..7dc7c89 100644
--- a/DBUtility/obj/Release/DBUtility.pdb
+++ b/DBUtility/obj/Release/DBUtility.pdb
Binary files differ
diff --git a/Model/Model.csproj b/Model/Model.csproj
index 594fa4d..cde9819 100644
--- a/Model/Model.csproj
+++ b/Model/Model.csproj
@@ -155,6 +155,8 @@
     <Compile Include="鐢熶骇绠$悊\妯″叿绠$悊\ClsSc_MouldMaintainPlanBillSub_Plan.cs" />
     <Compile Include="绯荤粺鍏敤\ClsXt_DefineBillMainSetSub.cs" />
     <Compile Include="绯荤粺鍏敤\ClsXt_DefineBillMainSetMain.cs" />
+    <Compile Include="璁″垝绠$悊\ClsGy_SourceMouldBillMain.cs" />
+    <Compile Include="璁″垝绠$悊\ClsGy_SourceMouldBillSub.cs" />
     <Compile Include="璐ㄦ绠$悊\ClsQC_EnvironmentTestDotCheckBillMain.cs" />
     <Compile Include="璐ㄦ绠$悊\ClsQC_EnvironmentTestDotCheckBillSub.cs" />
     <Compile Include="璐ㄦ绠$悊\ClsQC_MonthTarGetBillMain.cs" />
diff --git a/Model/bin/Release/DBUtility.dll b/Model/bin/Release/DBUtility.dll
index be76b79..a587901 100644
--- a/Model/bin/Release/DBUtility.dll
+++ b/Model/bin/Release/DBUtility.dll
Binary files differ
diff --git a/Model/bin/Release/DBUtility.pdb b/Model/bin/Release/DBUtility.pdb
index e723f06..7dc7c89 100644
--- a/Model/bin/Release/DBUtility.pdb
+++ b/Model/bin/Release/DBUtility.pdb
Binary files differ
diff --git a/Model/bin/Release/Model.dll b/Model/bin/Release/Model.dll
index af5e753..15b2d96 100644
--- a/Model/bin/Release/Model.dll
+++ b/Model/bin/Release/Model.dll
Binary files differ
diff --git a/Model/bin/Release/Model.pdb b/Model/bin/Release/Model.pdb
index acfd881..a2a5157 100644
--- a/Model/bin/Release/Model.pdb
+++ b/Model/bin/Release/Model.pdb
Binary files differ
diff --git a/Model/bin/Release/Pub_Class.dll b/Model/bin/Release/Pub_Class.dll
index 4e5a491..041fefe 100644
--- a/Model/bin/Release/Pub_Class.dll
+++ b/Model/bin/Release/Pub_Class.dll
Binary files differ
diff --git a/Model/bin/Release/Pub_Class.pdb b/Model/bin/Release/Pub_Class.pdb
index 360e388..a559d46 100644
--- a/Model/bin/Release/Pub_Class.pdb
+++ b/Model/bin/Release/Pub_Class.pdb
Binary files differ
diff --git a/Model/bin/Release/Pub_Control.dll b/Model/bin/Release/Pub_Control.dll
index 218dd50..2fe6d1f 100644
--- a/Model/bin/Release/Pub_Control.dll
+++ b/Model/bin/Release/Pub_Control.dll
Binary files differ
diff --git a/Model/bin/Release/Pub_Control.pdb b/Model/bin/Release/Pub_Control.pdb
index 350fdb5..b5b9127 100644
--- a/Model/bin/Release/Pub_Control.pdb
+++ b/Model/bin/Release/Pub_Control.pdb
Binary files differ
diff --git a/Model/bin/Release/SQLHelper.dll b/Model/bin/Release/SQLHelper.dll
index e55a70d..ad7d020 100644
--- a/Model/bin/Release/SQLHelper.dll
+++ b/Model/bin/Release/SQLHelper.dll
Binary files differ
diff --git a/Model/bin/Release/SQLHelper.pdb b/Model/bin/Release/SQLHelper.pdb
index a822bfd..db8dd94 100644
--- a/Model/bin/Release/SQLHelper.pdb
+++ b/Model/bin/Release/SQLHelper.pdb
Binary files differ
diff --git a/Model/obj/Release/Model.dll b/Model/obj/Release/Model.dll
index af5e753..15b2d96 100644
--- a/Model/obj/Release/Model.dll
+++ b/Model/obj/Release/Model.dll
Binary files differ
diff --git a/Model/obj/Release/Model.pdb b/Model/obj/Release/Model.pdb
index acfd881..a2a5157 100644
--- a/Model/obj/Release/Model.pdb
+++ b/Model/obj/Release/Model.pdb
Binary files differ
diff --git "a/Model/\347\224\237\344\272\247\347\256\241\347\220\206/ClsSc_PPBomBillMain.cs" "b/Model/\347\224\237\344\272\247\347\256\241\347\220\206/ClsSc_PPBomBillMain.cs"
index a89bf0e..c79a7e4 100644
--- "a/Model/\347\224\237\344\272\247\347\256\241\347\220\206/ClsSc_PPBomBillMain.cs"
+++ "b/Model/\347\224\237\344\272\247\347\256\241\347\220\206/ClsSc_PPBomBillMain.cs"
@@ -46,6 +46,7 @@
         public Int64 HSeOrderEntrySEQ;  //閿�鍞鍗曡鍙�
         public Int64 HICMOEntrySEQ;  //鐢熶骇璁㈠崟琛屽彿
         public string HREQSRC;   //闇�姹傛潵婧�
+        public string HICMOBillNo;   //闇�姹傛潵婧�
 
         public Int64 HICMOEntryID;
         public Int64 HPRDORGID;
diff --git "a/Model/\347\224\237\344\272\247\347\256\241\347\220\206/ClsSc_ShiftsBeginInfoBillMain.cs" "b/Model/\347\224\237\344\272\247\347\256\241\347\220\206/ClsSc_ShiftsBeginInfoBillMain.cs"
index 8d07019..c8e44c2 100644
--- "a/Model/\347\224\237\344\272\247\347\256\241\347\220\206/ClsSc_ShiftsBeginInfoBillMain.cs"
+++ "b/Model/\347\224\237\344\272\247\347\256\241\347\220\206/ClsSc_ShiftsBeginInfoBillMain.cs"
@@ -14,6 +14,7 @@
         public Int64 HGroupID;          // int --生产班组(gy_Group)
         public Int64 HGroupLeaderID;          // int --班组长(gy_Employee)
         public Int64 HStdEmpQty;          // int 应到岗人数
+        public decimal HPlanShutdownTimes;         
 
 
     }
diff --git "a/Model/\350\256\241\345\210\222\347\256\241\347\220\206/ClsGy_ICBomBillMain.cs" "b/Model/\350\256\241\345\210\222\347\256\241\347\220\206/ClsGy_ICBomBillMain.cs"
index 892b27b..a118f82 100644
--- "a/Model/\350\256\241\345\210\222\347\256\241\347\220\206/ClsGy_ICBomBillMain.cs"
+++ "b/Model/\350\256\241\345\210\222\347\256\241\347\220\206/ClsGy_ICBomBillMain.cs"
@@ -17,6 +17,7 @@
         public double  HQty;                  //数量
         public Single  HProdRate;             //成品率
         public string HJump;                 //跳层
+        public string HBomType;                
         
         
     }
diff --git "a/Model/\350\256\241\345\210\222\347\256\241\347\220\206/ClsGy_SourceMouldBillMain.cs" "b/Model/\350\256\241\345\210\222\347\256\241\347\220\206/ClsGy_SourceMouldBillMain.cs"
new file mode 100644
index 0000000..959d94e
--- /dev/null
+++ "b/Model/\350\256\241\345\210\222\347\256\241\347\220\206/ClsGy_SourceMouldBillMain.cs"
@@ -0,0 +1,17 @@
+锘縰sing System;
+using System.Collections.Generic;
+using System.Text;
+namespace Model
+{
+    public class ClsGy_SourceMouldBillMain : DBUtility.ClsXt_BaseBillMain
+    {
+        public Int64 HOrgID;        //int       缁勭粐
+        public Int64 HDeptID;         //int       閮ㄩ棬
+        public Int64 HEmpID;         //int       璐熻矗浜�
+        public Int64 HSourceID;         //int       浜х嚎
+        public Int64 HWorkCenterID;    //int       宸ヤ綔涓績
+        public Int64 HEquipID;    //int      璁惧ID
+
+        public Int64 HProcID; //宸ュ簭ID
+    }
+}
diff --git "a/Model/\350\256\241\345\210\222\347\256\241\347\220\206/ClsGy_SourceMouldBillSub.cs" "b/Model/\350\256\241\345\210\222\347\256\241\347\220\206/ClsGy_SourceMouldBillSub.cs"
new file mode 100644
index 0000000..d1f52d2
--- /dev/null
+++ "b/Model/\350\256\241\345\210\222\347\256\241\347\220\206/ClsGy_SourceMouldBillSub.cs"
@@ -0,0 +1,14 @@
+锘縰sing System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace Model
+{
+    public class ClsGy_SourceMouldBillSub : DBUtility.ClsXt_BaseBillSub
+    {
+        public Int64 HMouldID;
+        public Int64 HMouldQty;
+        public decimal HQty;
+        public decimal HRate;
+    }
+}
diff --git a/Pub_Class/bin/Release/Pub_Class.dll b/Pub_Class/bin/Release/Pub_Class.dll
index 4e5a491..041fefe 100644
--- a/Pub_Class/bin/Release/Pub_Class.dll
+++ b/Pub_Class/bin/Release/Pub_Class.dll
Binary files differ
diff --git a/Pub_Class/bin/Release/Pub_Class.pdb b/Pub_Class/bin/Release/Pub_Class.pdb
index 360e388..a559d46 100644
--- a/Pub_Class/bin/Release/Pub_Class.pdb
+++ b/Pub_Class/bin/Release/Pub_Class.pdb
Binary files differ
diff --git a/Pub_Class/bin/Release/SyntacticSugar.dll b/Pub_Class/bin/Release/SyntacticSugar.dll
index 9a5be6e..609cfaf 100644
--- a/Pub_Class/bin/Release/SyntacticSugar.dll
+++ b/Pub_Class/bin/Release/SyntacticSugar.dll
Binary files differ
diff --git a/Pub_Class/bin/Release/SyntacticSugar.pdb b/Pub_Class/bin/Release/SyntacticSugar.pdb
index 310ad83..f3f20ec 100644
--- a/Pub_Class/bin/Release/SyntacticSugar.pdb
+++ b/Pub_Class/bin/Release/SyntacticSugar.pdb
Binary files differ
diff --git a/Pub_Control/bin/Release/Pub_Class.dll b/Pub_Control/bin/Release/Pub_Class.dll
index 4e5a491..041fefe 100644
--- a/Pub_Control/bin/Release/Pub_Class.dll
+++ b/Pub_Control/bin/Release/Pub_Class.dll
Binary files differ
diff --git a/Pub_Control/bin/Release/Pub_Class.pdb b/Pub_Control/bin/Release/Pub_Class.pdb
index 360e388..a559d46 100644
--- a/Pub_Control/bin/Release/Pub_Class.pdb
+++ b/Pub_Control/bin/Release/Pub_Class.pdb
Binary files differ
diff --git a/Pub_Control/bin/Release/Pub_Control.dll b/Pub_Control/bin/Release/Pub_Control.dll
index 218dd50..2fe6d1f 100644
--- a/Pub_Control/bin/Release/Pub_Control.dll
+++ b/Pub_Control/bin/Release/Pub_Control.dll
Binary files differ
diff --git a/Pub_Control/bin/Release/Pub_Control.pdb b/Pub_Control/bin/Release/Pub_Control.pdb
index 350fdb5..b5b9127 100644
--- a/Pub_Control/bin/Release/Pub_Control.pdb
+++ b/Pub_Control/bin/Release/Pub_Control.pdb
Binary files differ
diff --git a/SQLHelper/bin/Release/Pub_Class.dll b/SQLHelper/bin/Release/Pub_Class.dll
index 4e5a491..041fefe 100644
--- a/SQLHelper/bin/Release/Pub_Class.dll
+++ b/SQLHelper/bin/Release/Pub_Class.dll
Binary files differ
diff --git a/SQLHelper/bin/Release/Pub_Class.pdb b/SQLHelper/bin/Release/Pub_Class.pdb
index 360e388..a559d46 100644
--- a/SQLHelper/bin/Release/Pub_Class.pdb
+++ b/SQLHelper/bin/Release/Pub_Class.pdb
Binary files differ
diff --git a/SQLHelper/bin/Release/SQLHelper.dll b/SQLHelper/bin/Release/SQLHelper.dll
index e55a70d..ad7d020 100644
--- a/SQLHelper/bin/Release/SQLHelper.dll
+++ b/SQLHelper/bin/Release/SQLHelper.dll
Binary files differ
diff --git a/SQLHelper/bin/Release/SQLHelper.pdb b/SQLHelper/bin/Release/SQLHelper.pdb
index a822bfd..db8dd94 100644
--- a/SQLHelper/bin/Release/SQLHelper.pdb
+++ b/SQLHelper/bin/Release/SQLHelper.pdb
Binary files differ
diff --git a/SQLHelper/obj/Release/SQLHelper.dll b/SQLHelper/obj/Release/SQLHelper.dll
index e55a70d..ad7d020 100644
--- a/SQLHelper/obj/Release/SQLHelper.dll
+++ b/SQLHelper/obj/Release/SQLHelper.dll
Binary files differ
diff --git a/SQLHelper/obj/Release/SQLHelper.pdb b/SQLHelper/obj/Release/SQLHelper.pdb
index a822bfd..db8dd94 100644
--- a/SQLHelper/obj/Release/SQLHelper.pdb
+++ b/SQLHelper/obj/Release/SQLHelper.pdb
Binary files differ
diff --git a/SyntacticSugar/bin/Debug/SyntacticSugar.dll b/SyntacticSugar/bin/Debug/SyntacticSugar.dll
index 95849dc..e3df359 100644
--- a/SyntacticSugar/bin/Debug/SyntacticSugar.dll
+++ b/SyntacticSugar/bin/Debug/SyntacticSugar.dll
Binary files differ
diff --git a/SyntacticSugar/bin/Debug/SyntacticSugar.pdb b/SyntacticSugar/bin/Debug/SyntacticSugar.pdb
index be6ecd0..da50a01 100644
--- a/SyntacticSugar/bin/Debug/SyntacticSugar.pdb
+++ b/SyntacticSugar/bin/Debug/SyntacticSugar.pdb
Binary files differ
diff --git a/SyntacticSugar/bin/Release/SyntacticSugar.dll b/SyntacticSugar/bin/Release/SyntacticSugar.dll
index 9a5be6e..609cfaf 100644
--- a/SyntacticSugar/bin/Release/SyntacticSugar.dll
+++ b/SyntacticSugar/bin/Release/SyntacticSugar.dll
Binary files differ
diff --git a/SyntacticSugar/bin/Release/SyntacticSugar.pdb b/SyntacticSugar/bin/Release/SyntacticSugar.pdb
index 310ad83..f3f20ec 100644
--- a/SyntacticSugar/bin/Release/SyntacticSugar.pdb
+++ b/SyntacticSugar/bin/Release/SyntacticSugar.pdb
Binary files differ
diff --git a/SyntacticSugar/obj/Debug/SyntacticSugar.csproj.AssemblyReference.cache b/SyntacticSugar/obj/Debug/SyntacticSugar.csproj.AssemblyReference.cache
deleted file mode 100644
index f5e894a..0000000
--- a/SyntacticSugar/obj/Debug/SyntacticSugar.csproj.AssemblyReference.cache
+++ /dev/null
Binary files differ
diff --git a/SyntacticSugar/obj/Debug/SyntacticSugar.csproj.FileListAbsolute.txt b/SyntacticSugar/obj/Debug/SyntacticSugar.csproj.FileListAbsolute.txt
index 2aa7ccc..a7160ea 100644
--- a/SyntacticSugar/obj/Debug/SyntacticSugar.csproj.FileListAbsolute.txt
+++ b/SyntacticSugar/obj/Debug/SyntacticSugar.csproj.FileListAbsolute.txt
@@ -10,3 +10,8 @@
 D:\宸ヤ綔浠g爜\鏅轰簯杩堟�漒MES\MES-WEB-API\SyntacticSugar\obj\Debug\SyntacticSugar.csproj.CoreCompileInputs.cache
 D:\宸ヤ綔浠g爜\鏅轰簯杩堟�漒MES\MES-WEB-API\SyntacticSugar\obj\Debug\SyntacticSugar.dll
 D:\宸ヤ綔浠g爜\鏅轰簯杩堟�漒MES\MES-WEB-API\SyntacticSugar\obj\Debug\SyntacticSugar.pdb
+E:\鏅轰簯mes\mes\MES-WEB-API\SyntacticSugar\bin\Debug\SyntacticSugar.dll
+E:\鏅轰簯mes\mes\MES-WEB-API\SyntacticSugar\bin\Debug\SyntacticSugar.pdb
+E:\鏅轰簯mes\mes\MES-WEB-API\SyntacticSugar\obj\Debug\SyntacticSugar.csproj.CoreCompileInputs.cache
+E:\鏅轰簯mes\mes\MES-WEB-API\SyntacticSugar\obj\Debug\SyntacticSugar.dll
+E:\鏅轰簯mes\mes\MES-WEB-API\SyntacticSugar\obj\Debug\SyntacticSugar.pdb
diff --git a/SyntacticSugar/obj/Debug/SyntacticSugar.dll b/SyntacticSugar/obj/Debug/SyntacticSugar.dll
index 95849dc..e3df359 100644
--- a/SyntacticSugar/obj/Debug/SyntacticSugar.dll
+++ b/SyntacticSugar/obj/Debug/SyntacticSugar.dll
Binary files differ
diff --git a/SyntacticSugar/obj/Debug/SyntacticSugar.pdb b/SyntacticSugar/obj/Debug/SyntacticSugar.pdb
index be6ecd0..da50a01 100644
--- a/SyntacticSugar/obj/Debug/SyntacticSugar.pdb
+++ b/SyntacticSugar/obj/Debug/SyntacticSugar.pdb
Binary files differ
diff --git a/SyntacticSugar/obj/Release/.NETFramework,Version=v4.5.AssemblyAttributes.cs b/SyntacticSugar/obj/Release/.NETFramework,Version=v4.5.AssemblyAttributes.cs
new file mode 100644
index 0000000..e5dc9b8
--- /dev/null
+++ b/SyntacticSugar/obj/Release/.NETFramework,Version=v4.5.AssemblyAttributes.cs
@@ -0,0 +1,4 @@
+// <autogenerated />
+using System;
+using System.Reflection;
+[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5", FrameworkDisplayName = ".NET Framework 4.5")]
diff --git a/SyntacticSugar/obj/Release/SyntacticSugar.csproj.CoreCompileInputs.cache b/SyntacticSugar/obj/Release/SyntacticSugar.csproj.CoreCompileInputs.cache
new file mode 100644
index 0000000..bfb772c
--- /dev/null
+++ b/SyntacticSugar/obj/Release/SyntacticSugar.csproj.CoreCompileInputs.cache
@@ -0,0 +1 @@
+5dd9c82feb12f833c78ecebea7d9a46c99f29e3f
diff --git a/SyntacticSugar/obj/Release/SyntacticSugar.csproj.FileListAbsolute.txt b/SyntacticSugar/obj/Release/SyntacticSugar.csproj.FileListAbsolute.txt
new file mode 100644
index 0000000..4a9376d
--- /dev/null
+++ b/SyntacticSugar/obj/Release/SyntacticSugar.csproj.FileListAbsolute.txt
@@ -0,0 +1,6 @@
+E:\鏅轰簯mes\mes\MES-WEB-API\SyntacticSugar\bin\Release\SyntacticSugar.dll
+E:\鏅轰簯mes\mes\MES-WEB-API\SyntacticSugar\bin\Release\SyntacticSugar.pdb
+E:\鏅轰簯mes\mes\MES-WEB-API\SyntacticSugar\obj\Release\SyntacticSugar.csproj.AssemblyReference.cache
+E:\鏅轰簯mes\mes\MES-WEB-API\SyntacticSugar\obj\Release\SyntacticSugar.csproj.CoreCompileInputs.cache
+E:\鏅轰簯mes\mes\MES-WEB-API\SyntacticSugar\obj\Release\SyntacticSugar.dll
+E:\鏅轰簯mes\mes\MES-WEB-API\SyntacticSugar\obj\Release\SyntacticSugar.pdb
diff --git a/SyntacticSugar/obj/Release/SyntacticSugar.dll b/SyntacticSugar/obj/Release/SyntacticSugar.dll
new file mode 100644
index 0000000..609cfaf
--- /dev/null
+++ b/SyntacticSugar/obj/Release/SyntacticSugar.dll
Binary files differ
diff --git a/SyntacticSugar/obj/Release/SyntacticSugar.pdb b/SyntacticSugar/obj/Release/SyntacticSugar.pdb
new file mode 100644
index 0000000..f3f20ec
--- /dev/null
+++ b/SyntacticSugar/obj/Release/SyntacticSugar.pdb
Binary files differ
diff --git a/WebAPI/Controllers/JHGL/Gy_SourceMouldBillController.cs b/WebAPI/Controllers/JHGL/Gy_SourceMouldBillController.cs
new file mode 100644
index 0000000..4fd3b93
--- /dev/null
+++ b/WebAPI/Controllers/JHGL/Gy_SourceMouldBillController.cs
@@ -0,0 +1,648 @@
+锘縰sing DBUtility;
+using Model;
+using Newtonsoft.Json;
+using Newtonsoft.Json.Linq;
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Linq;
+using System.Web;
+using System.Web.Http;
+using System.Windows.Forms;
+using WebAPI.Models;
+
+
+namespace WebAPI.Controllers.JHGL
+{
+    public class Gy_SourceMouldBillController : ApiController
+    {
+        private json objJsonResult = new json();
+        public DataSet ds = new DataSet();
+        SQLHelper.ClsCN oCN = new SQLHelper.ClsCN();
+        public DAL.ClsGy_SourceMouldBillMain BillNew1 = new DAL.ClsGy_SourceMouldBillMain();   //浜у搧鍣ㄥ叿娓呭崟瀵瑰簲鍗曟嵁绫�
+        public DAL.ClsGy_SourceMouldBillMain BillOld1 = new DAL.ClsGy_SourceMouldBillMain();
+        public DBUtility.ClsPub.Enum_BillStatus BillStatus;//鍗曟嵁鐘舵�侊紙鏂板锛屼慨鏀癸紝娴忚锛屾洿鏂板崟浠凤紝鍙樻洿锛�
+
+
+        #region 浜х嚎鍣ㄥ叿娓呭崟鍗曞垪琛�
+        [Route("Gy_SourceMouldBill/Gy_SourceMouldBillList")]
+        [HttpGet]
+        public object Gy_SourceMouldBillList(string sWhere, string user)
+        {
+            try
+            {
+                List<object> columnNameList = new List<object>();
+                //鏌ヨ鏉冮檺
+                if (!DBUtility.ClsPub.Security_Log("Gy_SourceMouldBill_Query", 1, false, user))
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "鏃犳煡鐪嬫潈闄愶紒";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
+                if (sWhere == null || sWhere.Equals(""))
+                {
+                    ds = oCN.RunProcReturn("select * from h_v_Gy_SourceMouldBillMainList order by 鍗曟嵁鍙� desc", "h_v_Gy_SourceMouldBillMainList");
+                }
+                else
+                {
+                    string sql1 = "select * from h_v_Gy_SourceMouldBillMainList where 1 = 1 ";
+                    string sql = sql1 + sWhere + " order by 鍗曟嵁鍙� desc";
+                    ds = oCN.RunProcReturn(sql, "h_v_Gy_SourceMouldBillMainList");
+                }
+                //娣诲姞鍒楀悕
+                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 = "1";
+                objJsonResult.count = 1;
+                objJsonResult.Message = "Sucess锛�";
+                objJsonResult.data = ds.Tables[0];
+                objJsonResult.list = columnNameList;
+                return objJsonResult;
+            }
+            catch (Exception ex)
+            {
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = "娌℃湁杩斿洖浠讳綍璁板綍锛�" + ex.ToString();
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+        }
+        #endregion
+
+        #region 浜у搧鍣ㄥ叿娓呭崟缂栬緫鏃惰幏鍙栬〃浣撴暟鎹�
+        [Route("Gy_SourceMouldBill/Gy_SourceMouldBillEditList")]
+        [HttpGet]
+        public object Gy_SourceMouldBillEditList(string HInterID, string User)
+        {
+            try
+            {
+                //鏌ョ湅鏉冮檺
+                if (!DBUtility.ClsPub.Security_Log("Gy_SourceMouldBill_Edit", 1, false, User))
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "鏃犳煡鐪嬫潈闄愶紒";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
+                if (HInterID == null || HInterID.Equals(""))
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "HInterID涓嶈兘涓虹┖锛�";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
+                ds = oCN.RunProcReturn("select * from h_v_Gy_SourceMouldBill_Edit where HInterID = " + HInterID, "h_v_Gy_SourceMouldBill_Edit");
+
+                if (ds != null && ds.Tables.Count > 0)
+                {
+                    objJsonResult.code = "1";
+                    objJsonResult.count = 1;
+                    objJsonResult.Message = "Sucess锛�";
+                    objJsonResult.data = ds.Tables[0];
+                    return objJsonResult;
+                }
+                else
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "娌℃湁鏌ヨ鍒版暟鎹紒";
+                    objJsonResult.data = "";
+                    return objJsonResult;
+                }                
+            }
+            catch (Exception e)
+            {
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = "Exception锛�" + e.ToString();
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+        }
+        #endregion
+
+        #region 浜у搧鍣ㄥ叿娓呭崟 淇濆瓨/缂栬緫
+        /// <summary>
+        /// 淇濆瓨妯″叿缁翠慨鍗�
+        /// </summary>
+        /// <param name="msg"></param>
+        /// <returns></returns>
+        [Route("Gy_SourceMouldBill/SaveGy_SourceMouldBillMain")]
+        [HttpPost]
+        public object SaveGy_SourceMouldBillMain([FromBody] JObject sMainSub)
+        {
+            var _value = sMainSub["sMainSub"].ToString();
+            string msg1 = _value.ToString();
+            string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries);
+            string msg2 = sArray[0].ToString();
+            string msg3 = sArray[1].ToString(); //瀛愯〃
+            string refSav = sArray[2].ToString();//鎿嶄綔鏂瑰紡鏁版嵁绫诲瀷 1娣诲姞 3淇敼 2 澶嶅埗
+            string user = sArray[3].ToString();//鐢ㄦ埛鍚�
+
+            string UserName = "";
+            string s = "";
+            ListModels oListModels = new ListModels();
+            try
+            {
+                //淇濆瓨鏉冮檺
+                if (!DBUtility.ClsPub.Security_Log_second("Gy_SourceMouldBill_Edit", 1, false, user))
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "鏃犱繚瀛樻潈闄愶紒";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
+                DAL.ClsGy_SourceMouldBillMain oBill = new DAL.ClsGy_SourceMouldBillMain();
+                List<Model.ClsGy_SourceMouldBillMain> lsmain = new List<Model.ClsGy_SourceMouldBillMain>();
+                msg2 = msg2.Replace("\\", "");
+                msg2 = msg2.Replace("\n", "");  //\n
+                lsmain = oListModels.getObjectByJson_Gy_SourceMouldBillMain(msg2);
+                foreach (Model.ClsGy_SourceMouldBillMain oItem in lsmain)
+                {
+                    if (refSav == "Add")
+                    {
+                        //鍗曟嵁鍙锋槸鍚﹂噸澶�
+                        if (BillNew1.IsExistBillNo(ref ClsPub.sExeReturnInfo, oItem.HBillNo, BillStatus, BillOld1.omodel.HInterID))
+                        {
+                            objJsonResult.code = "0";
+                            objJsonResult.count = 0;
+                            objJsonResult.Message = "鍗曟嵁鍙烽噸澶嶏紒涓嶅厑璁镐繚瀛橈紒";
+                            objJsonResult.data = 1;
+                            return objJsonResult;
+                        }
+                    }
+                    if (refSav == "Update")
+                    {
+                        if (BillOld1.ShowBill(oItem.HInterID, ref s) == false)
+                        {
+                            objJsonResult.code = "0";
+                            objJsonResult.count = 0;
+                            objJsonResult.Message = "姝ゅ崟鎹湁璇紒";
+                            objJsonResult.data = 1;
+                            return objJsonResult;
+                        }
+                        //鍒ゆ柇鏄惁鍙紪杈�
+                        if (BillOld1.omodel.HChecker != "" && BillOld1.omodel.HChecker != null)
+                        {
+                            objJsonResult.code = "0";
+                            objJsonResult.count = 0;
+                            objJsonResult.Message = "姝ゅ崟鎹凡缁忚瀹℃牳锛屼笉鍏佽淇敼锛�";
+                            objJsonResult.data = 1;
+                            return objJsonResult;
+                        }
+                        if (BillOld1.omodel.HBillStatus > 1)
+                        {
+                            objJsonResult.code = "0";
+                            objJsonResult.count = 0;
+                            objJsonResult.Message = "姝ゅ崟鎹浜庝笉鍙紪杈戠姸鎬侊紝涓嶅厑璁镐慨鏀癸紒";
+                            objJsonResult.data = 1;
+                            return objJsonResult;
+                        }
+                        if (!DBUtility.Xt_BaseBillFun.Fun_AllowEditBill(BillOld1, ref s))
+                        {
+                            objJsonResult.code = "0";
+                            objJsonResult.count = 0;
+                            objJsonResult.Message = s + "锛屼笉鍏佽淇敼";
+                            objJsonResult.data = 1;
+                            return objJsonResult;
+                        }
+                    }
+                    UserName = oItem.HMaker;  //鍒跺崟浜�
+                    oItem.HBillType = "4617";
+                    oItem.HBillSubType = "4617";
+
+                    oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year);
+                    oItem.HPeriod = DBUtility.ClsPub.isLong(DateTime.Now.Month);
+                    oItem.HMakeDate = DBUtility.ClsPub.isStrNull(DateTime.Now.ToString("yyyy-MM-dd"));
+
+                    if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "")
+                    {
+                        objJsonResult.code = "0";
+                        objJsonResult.count = 0;
+                        objJsonResult.Message = "淇濆瓨澶辫触锛佹病鏈夊崟鎹棩鏈燂紝鏃犳硶淇濆瓨锛�";
+                        objJsonResult.data = 1;
+                        return objJsonResult;
+                    }
+                    oBill.omodel = oItem;
+                }
+                // 琛ㄤ綋鏁版嵁
+                //鎸� },{鏉ユ媶鍒嗘暟缁� //鍘绘帀銆愬拰銆�
+                msg3 = msg3.Substring(1, msg3.Length - 2);
+                msg3 = msg3.Replace("\\", "");
+                msg3 = msg3.Replace("\n", "");  //\n
+                List<Model.ClsGy_SourceMouldBillSub> ls = new List<Model.ClsGy_SourceMouldBillSub>();
+                ls = oListModels.getObjectByJson_Gy_SourceMouldBillSub(msg3);
+                int i = 0;
+                foreach (Model.ClsGy_SourceMouldBillSub oItemSub in ls)
+                {
+                    i++;
+                    oItemSub.HEntryID = i;
+
+                    oItemSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DateTime.Now);
+                    oItemSub.HCloseType = false;   //鍏抽棴绫诲瀷
+
+                    oBill.DetailColl.Add(oItemSub);
+
+                }
+                //淇濆瓨
+                //淇濆瓨瀹屾瘯鍚庡鐞�
+                bool bResult;
+                if (refSav == "Add")
+                {
+
+                    bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo);
+                }
+                else if (refSav == "Update")
+                {
+                    bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo);
+                }
+                else
+                {
+                    bResult = false;
+                }
+                if (bResult)
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 1;
+                    objJsonResult.Message = "淇濆瓨鎴愬姛锛�";
+                    objJsonResult.data = 1;
+                    return objJsonResult;
+                }
+                else
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "淇濆瓨澶辫触锛�" + DBUtility.ClsPub.sExeReturnInfo;
+                    objJsonResult.data = 1;
+                    return objJsonResult;
+                }
+            }
+            catch (Exception e)
+            {
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = "淇濆瓨澶辫触锛�" + e.ToString();
+                objJsonResult.data = 1;
+                return objJsonResult;
+            }
+        }
+        #endregion
+
+        #region 浜х嚎鍣ㄥ叿娓呭崟璁板綍鍒犻櫎鍔熻兘
+        [Route("Gy_SourceMouldBill/DeleteGy_SourceMould")]
+        [HttpGet]
+        public object DeleteGy_SourceMould(string HInterID, string user)
+        {
+            try
+            {
+                //鍒犻櫎鏉冮檺
+                if (!DBUtility.ClsPub.Security_Log("Gy_SourceMouldBill_Delete", 1, false, user))
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "鏃犲垹闄ゆ潈闄愶紒";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
+                if (HInterID == null || HInterID.Equals(""))
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "HInterID涓嶈兘涓虹┖锛�";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
+                oCN.BeginTran();
+
+                oCN.RunProc("delete from Gy_SourceMouldBillMain where HInterID = " + HInterID);
+                oCN.RunProc("delete from Gy_SourceMouldBillSub where HInterID = " + HInterID);
+
+                oCN.Commit();
+
+                objJsonResult.code = "1";
+                objJsonResult.count = 1;
+                objJsonResult.Message = "鍒犻櫎鎴愬姛锛�";
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+            catch (Exception e)
+            {
+                oCN.RollBack();
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = "Exception锛�" + e.ToString();
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+        }
+        #endregion
+
+        #region 浜у搧鍣ㄥ叿娓呭崟鍒楄〃 瀹℃牳/鍙嶅鏍稿姛鑳�
+        [Route("Gy_SourceMouldBill/CheckGy_SourceMouldBillMain")]
+        [HttpGet]
+        public object CheckGy_SourceMouldBillMain(int HInterID, int IsAudit, string CurUserName)
+        {
+            DBUtility.ClsPub.CurUserName = CurUserName;
+            try
+            {
+                //瀹℃牳鏉冮檺
+                if (!DBUtility.ClsPub.Security_Log_second("Gy_SourceMouldBill_Check", 1, false, CurUserName))
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "瀹℃牳澶辫触锛佹棤鏉冮檺锛�";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
+                //HInterID鏁版嵁鍒ゆ柇
+                if (HInterID <= 0)
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "HInterID灏忎簬0锛�";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
+
+                Int64 lngBillKey = 0;
+                lngBillKey = DBUtility.ClsPub.isLong(HInterID);                                         //瀵笻InterID杩涜绫诲瀷鐨勮浆鎹�
+                DAL.ClsGy_SourceMouldBillMain oBill = new DAL.ClsGy_SourceMouldBillMain();                              //瀹炰緥鍖栧崟鎹搷浣滅被锛岀敤浜庤繘琛岀浉鍏虫搷浣�
+
+                //閽堝闇�瑕佽繘琛岀殑鎿嶄綔锛屾楠屽綋鍓嶅崟鎹殑鐘舵�佹槸鍚︽敮鎸侀渶瑕佽繘琛岀殑鎿嶄綔
+                if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo))                    //鏍规嵁HInterID鑾峰彇璇ュ崟鎹殑鏁版嵁
+                {
+                    if (oBill.omodel.HCloseMan.Trim() != "")
+                    {
+                        objJsonResult.code = "0";
+                        objJsonResult.count = 0;
+                        objJsonResult.Message = "鍗曟嵁宸插叧闂�!涓嶈兘鍐嶆瀹℃牳锛�";
+                        objJsonResult.data = null;
+                        return objJsonResult;
+                    }
+                    if (oBill.omodel.HDeleteMan.Trim() != "")
+                    {
+                        objJsonResult.code = "0";
+                        objJsonResult.count = 0;
+                        objJsonResult.Message = "鍗曟嵁宸蹭綔搴�!涓嶈兘鍐嶆瀹℃牳锛�";
+                        objJsonResult.data = null;
+                        return objJsonResult;
+                    }
+                    if (IsAudit == 0)  //瀹℃牳鍒ゆ柇
+                    {
+                        if (oBill.omodel.HChecker.Trim() != "")
+                        {
+                            objJsonResult.code = "0";
+                            objJsonResult.count = 0;
+                            objJsonResult.Message = "鍗曟嵁宸插鏍�!涓嶈兘鍐嶆瀹℃牳锛�";
+                            objJsonResult.data = null;
+                            return objJsonResult;
+                        }
+                    }
+                    if (IsAudit == 1) //鍙嶅鏍稿垽鏂�
+                    {
+                        if (oBill.omodel.HChecker.Trim() == "")
+                        {
+                            objJsonResult.code = "0";
+                            objJsonResult.count = 0;
+                            objJsonResult.Message = "鍗曟嵁鏈鏍�!涓嶉渶瑕佸弽瀹℃牳!";
+                            objJsonResult.data = null;
+                            return objJsonResult;
+                        }
+                    }
+                }
+                else
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "鍗曟嵁涓嶅瓨鍦�!鍘熷洜:" + DBUtility.ClsPub.sExeReturnInfo;
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
+
+                //杩涜闇�瑕佽繘琛岀殑瀹℃牳/鍙嶅鏍告搷浣�
+                if (IsAudit == 0) //瀹℃牳鎻愪氦
+                {
+                    oCN.BeginTran();
+
+                    //璁板綍杩斿洖淇℃伅
+                    string msg = "";
+
+
+
+                    //瀹℃牳鍓嶆帶鍒�=========================================      
+                    string sql1 = "exec h_p_Gy_SourceMouldBill_BeforeCheckCtrl " + oBill.omodel.HInterID + ",'" + oBill.omodel.HBillNo + "','" + CurUserName + "'";
+                    ds = oCN.RunProcReturn(sql1, "h_p_Gy_SourceMouldBill_BeforeCheckCtrl");
+                    if (ds == null || ds.Tables.Count == 0 || ds.Tables[0].Rows.Count == 0)
+                    {
+                        objJsonResult.code = "0";
+                        objJsonResult.count = 1;
+                        objJsonResult.Message = "瀹℃牳澶辫触!鍘熷洜:瀹℃牳鍓嶅垽鏂け璐ワ紝璇蜂笌缃戠粶绠$悊浜哄憳鑱旂郴";
+                        objJsonResult.data = null;
+                        oCN.RollBack();
+                        return objJsonResult;
+                    }
+
+                    if (ds.Tables[0].Rows[0]["HBack"].ToString() != "0")
+                    {
+                        objJsonResult.code = "0";
+                        objJsonResult.count = 1;
+                        objJsonResult.Message = "瀹℃牳澶辫触!鍘熷洜:" + ds.Tables[0].Rows[0]["HRemark"].ToString(); ;
+                        objJsonResult.data = null;
+                        oCN.RollBack();
+                        return objJsonResult;
+                    }
+                    //==================================================================================      
+
+                    //瀹℃牳鎻愪氦
+                    if (oBill.CheckBill(oBill.omodel.HInterID, oBill.omodel.HBillNo, "h_p_Gy_SourceMouldBill_AfterCheckCtrl", CurUserName, ref DBUtility.ClsPub.sExeReturnInfo) == true)
+                    {
+                        oCN.Commit();
+
+                        objJsonResult.code = "1";
+                        objJsonResult.count = 1;
+                        objJsonResult.Message = "瀹℃牳鎴愬姛锛�" + msg;
+                        objJsonResult.data = null;
+                        return objJsonResult;
+                    }
+                    else
+                    {
+                        oCN.RollBack();
+
+                        objJsonResult.code = "0";
+                        objJsonResult.count = 0;
+                        objJsonResult.Message = "瀹℃牳澶辫触!鍘熷洜:" + DBUtility.ClsPub.sExeReturnInfo;
+                        objJsonResult.data = null;
+                        return objJsonResult;
+                    }
+                }
+                if (IsAudit == 1) //鍙嶅鏍告彁浜�
+                {
+
+                    //鍙嶅鏍稿墠鎺у埗=========================================        
+                    string sql1 = "exec h_p_Gy_SourceMouldBill_BeforeUnCheckCtrl " + oBill.omodel.HInterID + ",'" + oBill.omodel.HBillNo + "','" + CurUserName + "'";
+                    ds = oCN.RunProcReturn(sql1, "h_p_Gy_SourceMouldBill_BeforeUnCheckCtrl");
+                    if (ds == null || ds.Tables.Count == 0 || ds.Tables[0].Rows.Count == 0)
+                    {
+                        objJsonResult.code = "0";
+                        objJsonResult.count = 1;
+                        objJsonResult.Message = "鍙嶅鏍稿け璐�!鍘熷洜:鍙嶅鏍稿墠鍒ゆ柇澶辫触锛岃涓庣綉缁滅鐞嗕汉鍛樿仈绯�";
+                        objJsonResult.data = null;
+                        return objJsonResult;
+
+                    }
+                    if (ds.Tables[0].Rows[0]["HBack"].ToString() != "0")
+                    {
+                        objJsonResult.code = "0";
+                        objJsonResult.count = 1;
+                        objJsonResult.Message = "鍙嶅鏍稿け璐�!鍘熷洜:" + ds.Tables[0].Rows[0]["HRemark"].ToString(); ;
+                        objJsonResult.data = null;
+                        return objJsonResult;
+                    }
+                    //===========================================================          
+
+                    //鍙嶅鏍告彁浜bandonCheck
+                    if (oBill.AbandonCheck(oBill.omodel.HInterID, oBill.omodel.HBillNo, "h_p_Gy_SourceMouldBill_AfterUnCheckCtrl", CurUserName, ref DBUtility.ClsPub.sExeReturnInfo) == true)
+                    {
+                        objJsonResult.code = "1";
+                        objJsonResult.count = 1;
+                        objJsonResult.Message = "鍙嶅鏍告垚鍔�";
+                        objJsonResult.data = null;
+                        return objJsonResult;
+                    }
+                    else
+                    {
+                        objJsonResult.code = "0";
+                        objJsonResult.count = 0;
+                        objJsonResult.Message = "鍙嶅鏍稿け璐�!鍘熷洜:" + DBUtility.ClsPub.sExeReturnInfo;
+                        objJsonResult.data = null;
+                        return objJsonResult;
+                    }
+                }
+                return objJsonResult;
+            }
+            catch (Exception e)
+            {
+                oCN.RollBack();
+
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = "瀹℃牳澶辫触鎴栬�呭弽瀹℃牳澶辫触锛�" + e.ToString();
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+
+        }
+        #endregion
+
+        #region 浜х嚎鍣ㄥ叿娓呭崟鍒楄〃 鍏抽棴/鍙嶅叧闂姛鑳�
+        [Route("Gy_SourceMouldBill/CloseGy_SourceMouldBillMain")]
+        [HttpGet]
+        public object CloseGy_SourceMouldBillMain(string HInterID, int IsAudit, string user)
+        {
+            try
+            {
+                //鍒ゆ柇鏄惁鏈夊叧闂潈闄�
+                if (!DBUtility.ClsPub.Security_Log("Gy_SourceMouldBill_Close", 1, false, user))
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "鏃犳潈闄愬叧闂�!";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
+
+                var ds = oCN.RunProcReturn("select * from Gy_SourceMouldBillMain  where HInterID=" + HInterID, "Gy_SourceMouldBillMain");
+                if (ds.Tables[0].Rows.Count > 0)
+                {
+                    if (IsAudit == 0)  //鍏抽棴鍒ゆ柇
+                    {
+                        if (ds.Tables[0].Rows[0]["HCloseMan"].ToString() != "")
+                        {
+                            objJsonResult.code = "0";
+                            objJsonResult.count = 0;
+                            objJsonResult.Message = "鍗曟嵁宸插叧闂�!涓嶈兘鍐嶆鍏抽棴锛�";
+                            objJsonResult.data = null;
+                            return objJsonResult;
+                        }
+                    }
+                    if (IsAudit == 1) //鍙嶅叧闂垽鏂�
+                    {
+                        if (ds.Tables[0].Rows[0]["HCloseMan"].ToString() == "")
+                        {
+                            objJsonResult.code = "0";
+                            objJsonResult.count = 0;
+                            objJsonResult.Message = "鍗曟嵁鏈叧闂�!涓嶉渶瑕佸弽鍏抽棴!";
+                            objJsonResult.data = null;
+                            return objJsonResult;
+                        }
+                    }
+                }
+                else
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "鍗曟嵁涓嶅瓨鍦�!";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
+                oCN.BeginTran();
+
+                if (IsAudit == 0)  //鍏抽棴鍒ゆ柇
+                {
+                    oCN.RunProc("update Gy_SourceMouldBillMain  set HCloseMan='" + user + "',HCloseDate=getdate() where HInterID=" + HInterID);
+
+                    objJsonResult.code = "1";
+                    objJsonResult.count = 1;
+                    objJsonResult.Message = "鍏抽棴鎴愬姛";
+                    objJsonResult.data = null;
+                }
+                if (IsAudit == 1) //鍙嶅鏍稿垽鏂�
+                {
+                    oCN.RunProc("update Gy_SourceMouldBillMain  set HCloseMan='',HCloseDate=null where HInterID=" + HInterID);
+
+                    objJsonResult.code = "1";
+                    objJsonResult.count = 1;
+                    objJsonResult.Message = "鍙嶅叧闂垚鍔�";
+                    objJsonResult.data = null;
+                }
+                oCN.Commit();
+
+                return objJsonResult;
+
+            }
+            catch (Exception e)
+            {
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = "鎵ц澶辫触锛�" + e.ToString();
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+        }
+        #endregion
+
+    }
+}
diff --git a/WebAPI/Controllers/LMESController.cs b/WebAPI/Controllers/LMESController.cs
index 04b9bc9..7d0c01f 100644
--- a/WebAPI/Controllers/LMESController.cs
+++ b/WebAPI/Controllers/LMESController.cs
@@ -192,7 +192,7 @@
                 SQLHelper.ClsCN oCN = new SQLHelper.ClsCN();
 
 
-                ds = oCN.RunProcReturn("select * from h_v_Sc_ProcessExchangeBillList_Query where 1 = 1 " + sWhere + " order by 鍗曟嵁鍙� desc ", "h_v_Sc_ProcessExchangeBillList_Query");
+                ds = oCN.RunProcReturn("select top 1000 * from h_v_Sc_ProcessExchangeBillList_Query where 1 = 1 " + sWhere + " order by 鍗曟嵁鍙� desc ", "h_v_Sc_ProcessExchangeBillList_Query");
 
 
                 //娣诲姞鍒楀悕
diff --git a/WebAPI/Controllers/SCGL/Sc_ICBomBillController.cs b/WebAPI/Controllers/SCGL/Sc_ICBomBillController.cs
index 1841ada..c026cb6 100644
--- a/WebAPI/Controllers/SCGL/Sc_ICBomBillController.cs
+++ b/WebAPI/Controllers/SCGL/Sc_ICBomBillController.cs
@@ -1,4 +1,6 @@
-锘縰sing System;
+锘縰sing DAL;
+using Newtonsoft.Json.Linq;
+using System;
 using System.Collections.Generic;
 using System.Data;
 using System.Linq;
@@ -41,12 +43,12 @@
 
                 if (sWhere == null || sWhere.Equals(""))
                 {
-                    ds = oCN.RunProcReturn("select * from h_v_Gy_ICBomBillList order by hmainid desc ", "h_v_Gy_ICBomBillList");
+                    ds = oCN.RunProcReturn("select * from h_v_Gy_ICBomBillList order by 鏃ユ湡 desc,hmainid desc ", "h_v_Gy_ICBomBillList");
                 }
                 else
                 {
                     string sql1 = "select * from h_v_Gy_ICBomBillList where 1 = 1 ";
-                    string sql = sql1 + sWhere+ " order by hmainid desc ";
+                    string sql = sql1 + sWhere+ " order by 鏃ユ湡 desc,hmainid desc ";
                     ds = oCN.RunProcReturn(sql, "h_v_Gy_ICBomBillList");
                 }
 
@@ -78,5 +80,324 @@
             }
         }
         #endregion
+
+        #region 鐢熶骇鐗╂枡娓呭崟  缂栬緫鏌ヨ
+        /// <summary>
+        /// 鐢熶骇BOM/鐢熶骇鐗╂枡娓呭崟
+        /// </summary>
+        /// <param name="sWhere"></param>
+        /// <param name="user"></param>
+        /// <returns></returns>
+        [Route("Sc_ICBomBill/Editlist")]
+        [HttpGet]
+        public object Editlist(string sWhere)
+        {
+            try
+            {
+                ds = oCN.RunProcReturn("select * from h_v_Gy_ICBomBillEditList where 1=1 "+ sWhere + " order by hmainid desc ", "h_v_Gy_ICBomBillEditList");
+
+               
+                objJsonResult.code = "1";
+                objJsonResult.count = 1;
+                objJsonResult.Message = "Sucess锛�";
+                objJsonResult.data = ds.Tables[0];
+                return objJsonResult;
+            }
+            catch (Exception e)
+            {
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = "Exception锛�" + e.ToString();
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+        }
+        #endregion
+
+        #region 鐢熶骇鐗╂枡娓呭崟  鏂板
+        /// <summary>
+        /// 鐢熶骇BOM/鐢熶骇鐗╂枡娓呭崟
+        /// </summary>
+        /// <param name="sWhere"></param>
+        /// <param name="user"></param>
+        /// <returns></returns>
+        [Route("sc_Gy_ICBomBill/sc_Gy_ICBomBillAdd")]
+        [HttpPost]
+        public object sc_Gy_ICBomBillAdd([FromBody] JObject sMainSub)
+        {
+            var _value = sMainSub["sMainSub"].ToString();
+            string msg1 = _value.ToString();
+            string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries);
+            try
+            {
+                string msg2 = sArray[0].ToString(); //涓昏〃鏁版嵁
+                string msg3 = sArray[1].ToString(); //瀛愯〃鏁版嵁
+                int OperationType = int.Parse(sArray[2].ToString()); // 鏁版嵁绫诲瀷 1娣诲姞 3淇敼
+                string user = sArray[3].ToString();
+
+                //鍒ゆ柇鏄惁鏈夋煡璇㈡潈闄�
+                if (!DBUtility.ClsPub.Security_Log("Gy_ICBomBill_Edit", 1, false, user))
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "鏃犳潈闄愭煡璇�!";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
+                ClsGy_ICBomBill oBill = new ClsGy_ICBomBill();
+                msg2 = "[" + msg2 + "]";
+                List<Model.ClsGy_ICBomBillMain> lsmain = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsGy_ICBomBillMain>>(msg2);
+                foreach (Model.ClsGy_ICBomBillMain oItem in lsmain)
+                {
+                    //oItem.HMaker = "";
+                    oItem.HMaker = user;  //鍒跺崟浜�
+                    oItem.HBillType = "3302";
+                    oItem.HBillSubType = "3302";
+                    oItem.HBillStatus = 1;
+                    oItem.HUpDater = user;
+                    oItem.HUpDateDate = DateTime.Now.ToString();
+                    DBUtility.ClsPub.CurUserName = user;
+                    oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year);
+
+                    if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "")
+                    {
+                        objJsonResult.code = "0";
+                        objJsonResult.count = 0;
+                        objJsonResult.Message = "淇濆瓨澶辫触锛佹病鏈夊崟鎹棩鏈燂紝鏃犳硶淇濆瓨锛�";
+                        objJsonResult.data = 1;
+                        return objJsonResult;
+                    }
+                    oBill.omodel = oItem;
+                }
+
+                List<Model.ClsGy_ICBomBillSub> DetailColl = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsGy_ICBomBillSub>>(msg3);
+                int i = 0;
+                foreach (Model.ClsGy_ICBomBillSub oItemSub in DetailColl)
+                {
+                    i++;
+                    oItemSub.HEntryID = i;
+                    oItemSub.HRemark2 = "";
+                    oItemSub.HRemark3 = "";
+                    oItemSub.HRemark4 = "";
+                    oItemSub.HChildType = "";
+                    oItemSub.HCloseMan = "";
+                    oItemSub.HSourceBillNo = "";
+                    oItemSub.HSourceBillType = "";
+                    oItemSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DateTime.Now);
+                    oItemSub.HCloseType = false;   //鍏抽棴绫诲瀷
+                   
+                    oBill.DetailColl.Add(oItemSub);
+
+                }
+
+
+                bool bResult;
+                if (OperationType == 1)
+                {
+                    bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo);
+                }
+                else if (OperationType == 3)
+                {
+                    bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo);
+                }
+                else {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "鎿嶄綔绫诲瀷鏃犳晥锛�";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
+                if (bResult)
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 1;
+                    objJsonResult.Message = "淇濆瓨鎴愬姛锛�";
+                    objJsonResult.data = 1;
+                    return objJsonResult;
+                }
+                else
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "淇濆瓨澶辫触锛�" + DBUtility.ClsPub.sExeReturnInfo;
+                    objJsonResult.data = 1;
+                    return objJsonResult;
+                }
+            
+
+            }
+            catch (Exception e)
+            {
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = "Exception锛�" + e.ToString();
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+        }
+        #endregion
+
+        #region 鐢熶骇鐗╂枡娓呭崟 鍒犻櫎
+        [Route("sc_Gy_ICBomBill/DeltetICBomBill")]
+        [HttpGet]
+        public object DeltetICBomBill(string HInterID,string user)
+        {
+            try
+            {
+                //鍒ゆ柇鏄惁鏈夋煡璇㈡潈闄�
+                if (!DBUtility.ClsPub.Security_Log("Gy_ICBomBill_Delete", 1, false, user))
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "鏃犳潈闄愬垹闄�!";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
+                oCN.BeginTran();
+                oCN.RunProc("Delete From Gy_ICBomBillMain where HInterID = " + HInterID);
+                oCN.RunProc("Delete From Gy_ICBomBillSub where HInterID = " + HInterID);
+                oCN.Commit();
+                objJsonResult.code = "1";
+                objJsonResult.count = 1;
+                objJsonResult.Message = "鍒犻櫎鎴愬姛锛�";
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+            catch (Exception e)
+            {
+                oCN.RollBack();
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = "Exception锛�" + e.ToString();
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+        }
+        #endregion
+
+        #region 鐢熶骇鐗╂枡娓呭崟 瀹℃牳鍙婂弽瀹℃牳
+        [Route("sc_Gy_ICBomBill/AuditBomBill")]
+        [HttpGet]
+        public object AuditBomBill(int HInterID, int IsAudit, string CurUserName)
+        {
+
+            try
+            {
+                //IsAudit=1 瀹℃牳锛�  IsAudit=2 鍙嶅鏍�
+                //缂栬緫鏉冮檺
+                if (!DBUtility.ClsPub.Security_Log_second("Gy_ICBomBill_Check", 1, false, CurUserName))
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "鏃犲鏍告潈闄愶紒";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
+                Int64 lngBillKey = 0;
+                lngBillKey = DBUtility.ClsPub.isLong(HInterID);
+                if (lngBillKey == 0)
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "鍗曟嵁ID涓虹┖锛�";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+ 
+
+
+               ClsGy_ICBomBill oBill = new ClsGy_ICBomBill();
+                if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo))
+                {
+                    if (oBill.omodel.HCloseMan != "")
+                    {
+                        objJsonResult.code = "0";
+                        objJsonResult.count = 0;
+                        objJsonResult.Message = "鍗曟嵁宸插叧闂�,涓嶈兘杩涜瀹℃牳";
+                        objJsonResult.data = null;
+                        return objJsonResult;
+                    }
+
+                    if (oBill.omodel.HDeleteMan != "")
+                    {
+                        objJsonResult.code = "0";
+                        objJsonResult.count = 0;
+                        objJsonResult.Message = "鍗曟嵁宸蹭綔搴�,涓嶈兘杩涜瀹℃牳";
+                        objJsonResult.data = null;
+                        return objJsonResult;
+                    }
+
+                    if (IsAudit == 1)
+                    {
+                        if (oBill.omodel.HBillStatus == 2)
+                        {
+                            objJsonResult.code = "0";
+                            objJsonResult.count = 0;
+                            objJsonResult.Message = "褰撳墠鍗曟嵁宸插鏍革紝鏃犻渶鍐嶆瀹℃牳";
+                            objJsonResult.data = null;
+                            return objJsonResult;
+                        }
+                        else
+                        {
+                            string HCheckDate = DateTime.Now.Date.ToString();
+                            oCN.BeginTran();
+                            oCN.RunProc(" Update Gy_ICBomBillMain set HChecker='" + CurUserName + "',HCheckDate='" + HCheckDate + "',HBillStatus=2 Where   HInterID=" + HInterID);
+
+                            oCN.Commit();
+                            objJsonResult.code = "0";
+                            objJsonResult.count = 1;
+                            objJsonResult.Message = "瀹℃牳鎴愬姛锛�";
+                            objJsonResult.data = 1;
+                            return objJsonResult;
+                        }
+                    }
+                    else
+                    {
+                        if (oBill.omodel.HBillStatus == 1)
+                        {
+                            objJsonResult.code = "0";
+                            objJsonResult.count = 0;
+                            objJsonResult.Message = "褰撳墠鍗曟嵁鏈鏍革紝鏃犻渶鍙嶅鏍�";
+                            objJsonResult.data = null;
+                            return objJsonResult;
+                        }
+                        else
+                        {
+                            string HCheckDate = DateTime.Now.Date.ToString();
+                            oCN.BeginTran();
+                            oCN.RunProc(" Update Gy_ICBomBillMain set HChecker=' ',HCheckDate=null,HBillStatus=1 Where  HInterID=" + HInterID);
+
+                            oCN.Commit();
+                            objJsonResult.code = "0";
+                            objJsonResult.count = 1;
+                            objJsonResult.Message = "鍙嶅鏍告垚鍔燂紒";
+                            objJsonResult.data = 1;
+                            return objJsonResult;
+                        }
+                    }
+                }
+                else
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    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
     }
 }
\ No newline at end of file
diff --git a/WebAPI/Controllers/SCGL/Sc_PPBomBillController.cs b/WebAPI/Controllers/SCGL/Sc_PPBomBillController.cs
index 6465722..5f3ddc6 100644
--- a/WebAPI/Controllers/SCGL/Sc_PPBomBillController.cs
+++ b/WebAPI/Controllers/SCGL/Sc_PPBomBillController.cs
@@ -91,6 +91,50 @@
             }
         }
 
+        [Route("Sc_PPBomBill/Editlist")]
+        [HttpGet]
+        public object Editlist(string sWhere)
+        {
+            try
+            {
+                List<object> a = new List<object>();
+                //鍒ゆ柇鏄惁鏈夋煡璇㈡潈闄�
+               
+
+                if (sWhere == null || sWhere.Equals(""))
+                {
+                    ds = oCN.RunProcReturn("select * from h_v_IF_PPBomBillList order by hmainid desc ", "h_v_IF_PPBomBillList");
+                }
+                else
+                {
+                    string sql1 = "select * from h_v_IF_PPBomBillList where 1 = 1 ";
+                    string sql = sql1 + sWhere + " order by hmainid desc ";
+                    ds = oCN.RunProcReturn(sql, "h_v_IF_PPBomBillList");
+                }
+                foreach (DataColumn col in ds.Tables[0].Columns)//閬嶅巻ds涓涓�涓〃锛圱ables[0]锛夌殑鎵�鏈夊垪锛圕olumns锛夋瘡娆″惊鐜腑锛宑ol鍙橀噺浼氭寔鏈夊綋鍓嶅垪鐨勫紩鐢�
+                {
+                    Type dataType = col.DataType; //鑾峰彇褰撳墠鏁版嵁绫诲瀷浼犲叆 鑷畾涔夊彉閲廳atadataType
+                    string ColmString = "{\"ColmCols\":\"" + col.ColumnName + "\",\"ColmType\":\"" + dataType.Name + "\"}"; //瀛楃涓叉嫾鎺�         // 灏嗗垪鍚嶅拰鏁版嵁绫诲瀷淇℃伅鎷兼帴鎴愪竴涓狫SON鏍煎紡鐨勫瓧绗︿覆
+                    a.Add(JsonConvert.DeserializeObject(ColmString));//鑾峰彇鍒癉ataColumn鍒楀璞$殑鍒楀悕
+                }
+
+                objJsonResult.code = "1";
+                objJsonResult.count = 1;
+                objJsonResult.Message = "Sucess锛�";
+                objJsonResult.data = ds.Tables[0];
+                objJsonResult.list = a;
+                return objJsonResult;
+            }
+            catch (Exception e)
+            {
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = "Exception锛�" + e.ToString();
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+        }
+
 
         #region 鐢熶骇鐢ㄦ枡娓呭崟鍒楄〃鍒嗛〉鍒楄〃
         [Route("Sc_PPBomBill/page")]
@@ -304,6 +348,216 @@
         }
         #endregion
 
+        #region 鐢熶骇鐢ㄦ枡鍗� 淇濆瓨/缂栬緫鍔熻兘 鏂版柟娉�
+        [Route("Sc_PPBomBill/sc_PPBomBillAdd")]
+        [HttpPost]
+        public object sc_PPBomBillAdd([FromBody] JObject sMainSub)
+        {
+            var _value = sMainSub["sMainSub"].ToString();
+            string msg1 = _value.ToString();
+            string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries);
+         
+            try
+            {
+                string msg2 = sArray[0].ToString(); //涓昏〃鏁版嵁
+                string msg3 = sArray[1].ToString(); //瀛愯〃鏁版嵁
+                int OperationType = int.Parse(sArray[2].ToString()); // 鏁版嵁绫诲瀷 1娣诲姞 3淇敼
+                string user = sArray[3].ToString();
+
+                //鍒ゆ柇鏄惁鏈夌紪杈戞潈闄�
+                if (!DBUtility.ClsPub.Security_Log("QC_TestSampleCheckBill_Edit", 1, false, user))
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "鏃犵紪杈戞潈闄�!";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
+                ClsSc_PPBomBillMain list = Newtonsoft.Json.JsonConvert.DeserializeObject<ClsSc_PPBomBillMain>(msg2);
+                string BillType = "3720";
+                string HBillSubType = "3720";
+                long HInterID = list.HInterID;//閫掑叆type寰楀埌鐨勫崟鎹甀D
+                string HBillNo = list.HBillNo;//閫掑叆type寰楀埌鐨勫崟鎹彿
+                int HBillStatus = 1;
+                string HMaker = user;//鍒跺崟浜�
+                int HYear = DateTime.Now.Year;
+                double HPeriod = DateTime.Now.Month;
+                long HICMOInterID = list.HICMOInterID;//浠诲姟鍗旾D
+                long HICMOEntryID = list.HICMOEntryID;//浠诲姟鍗旾D
+                string HICMOBillNo = list.HICMOBillNo;//浠诲姟鍗旾D
+                long HMaterID = list.HMaterID;//浜у搧ID
+                long HUnitID = list.HUnitID;//璁¢噺鍗曚綅
+                long HPRDORGID = list.HPRDORGID;//缁勭粐ID
+                long HICMOEntrySEQ = list.HICMOEntrySEQ; 
+                DateTime HDate = list.HDate; 
+                double HQty = list.HQty;
+                long HDeptID = list.HDeptID;
+                string HRemark = list.HRemark;
+                string HChecker = "";
+                string HCheckDate = "";
+                string HSeOrderBillNo = "";
+                long HSeOrderInterID = 0;
+                long HSeOrderEntryID = 0;
+                long HENTRUSTORGID = 0;
+                long HPARENTOWNERID = 0;
+                long HPARENTOWNERTYPEID = 0;
+                long HERPInterID = 0;
+                long HSeOrderEntrySEQ = 0;
+                string HERPBillType = "";
+                string HREQSRC = "";
+
+                oCN.BeginTran();
+                if (OperationType== 1)
+                {
+                    ds = oCN.RunProcReturn("select * from Sc_PPBomBillMain where HBillNo='" + HBillNo + "'", "Sc_PPBomBillMain");
+                    if (ds.Tables[0].Rows.Count == 1)
+                    {
+                        oCN.RollBack();
+                        objJsonResult.code = "0";
+                        objJsonResult.count = 0;
+                        objJsonResult.Message = "鍗曟嵁鍙烽噸澶嶏紒";
+                        objJsonResult.data = null;
+                        return objJsonResult;
+                    }
+                    //涓昏〃
+                    oCN.RunProc(@"Insert Into Sc_PPBomBillMain   
+                        (HInterID,HYear,HPeriod,HBillType,HBillSubType,HDate,HBillNo,HBillStatus,HICMOInterID
+                        ,HICMOEntryID,HMaterID,HUnitID,HQty,HDeptID,HMaker,HMakeDate,HChecker,HCheckDate
+                        ,HSeOrderBillNo,HSeOrderInterID,HSeOrderEntryID,HPRDORGID,HENTRUSTORGID,HPARENTOWNERID
+                        ,HPARENTOWNERTYPEID,HERPInterID,HERPBillType,HSeOrderEntrySEQ,HICMOEntrySEQ,HREQSRC,HRemark)
+                        values(" + HInterID + "," + DateTime.Now.Year + "," + DateTime.Now.Month + ",'" + BillType + "','" +
+                    HBillSubType + "','" + HDate + "','" + HBillNo + "','" + HBillStatus + "'," + HICMOInterID +
+                    "," + HICMOEntryID + ",'" + HMaterID + "'," + HUnitID + "," + HQty + "," + HDeptID +
+                    ",'" + HMaker + "',getdate(),'" + HChecker + "','" + HCheckDate + "','" + HSeOrderBillNo + "'," + HSeOrderInterID + "," + HSeOrderEntryID + "," + HPRDORGID + "," + HENTRUSTORGID + "," + HPARENTOWNERID + "," +
+                    HPARENTOWNERTYPEID + "," + HERPInterID + ",'" + HERPBillType + "'," + HSeOrderEntrySEQ + "," + HICMOEntrySEQ + ",'" + HREQSRC + "','"+ HRemark + "')");
+                }
+                else  if (OperationType == 3 )
+                { //淇敼
+                    oCN.RunProc("update Sc_PPBomBillMain  set " +
+                                "HRemark='" + HRemark + "', HChecker='" + HMaker + "', HCheckDate=getdate()" +
+                                ",HDeptID=" + HDeptID + ",HICMOInterID=" + HICMOInterID + ",HICMOEntryID=" + HICMOEntryID + ",HMaterID=" + HMaterID + ",HUnitID=" + HUnitID + ",HICMOEntrySEQ=" + HICMOEntrySEQ + " ,HQty=" + HQty + " where HInterID=" + HInterID);
+
+                    //鍒犻櫎瀛愯〃
+                    oCN.RunProc("delete from Sc_PPBomBillSub where HInterID='" + HInterID + "'");
+                }
+                else
+                {
+                    oCN.RollBack();
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "鎿嶄綔绫诲瀷鏃犳晥锛�";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
+                List<ClsSc_PPBomBillSub> DetailColl = Newtonsoft.Json.JsonConvert.DeserializeObject<List<ClsSc_PPBomBillSub>>(msg3);
+                int i = 0;
+                foreach (ClsSc_PPBomBillSub oSub in DetailColl)
+                {
+                    i++;
+                    string HMaterNumber = oSub.HMaterNumber;
+                    string HUnitNumber = oSub.HUnitNumber;
+                    long HQtyMust = 0;
+                    long HSourceInterID = oSub.HSourceInterID;
+                    long HSourceEntryID = oSub.HSourceEntryID;
+                    long HCHILDSUPPLYORGID = oSub.HCHILDSUPPLYORGID;
+                    long HSUPPLYORGID = oSub.HSUPPLYORGID;
+                    long HENTRUSTPICKORGID = oSub.HENTRUSTPICKORGID;
+                    long HSRCTRANSORGID = oSub.HSRCTRANSORGID;
+                    long HGROUPBYOWNERID = oSub.HGROUPBYOWNERID;
+                    long HOWNERID = oSub.HOWNERID;
+                    long HAuxPropID = oSub.HAuxPropID;
+                    long HERPEntryID = oSub.HERPEntryID;
+                    long HProcessID = oSub.HProcessID;
+                    long HICMOENTRYSEQ = oSub.HICMOENTRYSEQ;
+                    long HOPERID = oSub.HOPERID;
+                    long HSEQ = i;
+                    long HSTOCKSTATUSID = oSub.HSTOCKSTATUSID;
+                    long HOPTQUEUE = oSub.HOPTQUEUE;
+                    long HLOT = oSub.HLOT;
+                    long HRESERVETYPE = oSub.HRESERVETYPE;
+                    string HOWNERTYPEID = oSub.HOWNERTYPEID;
+                    double HRelationQty = oSub.HRelationQty;
+                    double HMoveStockQty = oSub.HMoveStockQty;
+                    double HQtyScrap = oSub.HQtyScrap;
+                    double HBackRelationQty = oSub.HBackRelationQty;
+                    double HNumerator = oSub.HNumerator;
+                    double HDenominator = oSub.HDenominator;
+                    double HSelPickedQty = oSub.HSelPickedQty;
+                    double HSELPRCDRETURNQTY = oSub.HSELPRCDRETURNQTY;
+                    string HSourceBillNo = oSub.HSourceBillNo;
+                    string HSourceBillType = oSub.HSourceBillType;
+                    string HBatchNO = oSub.HBatchNO;
+                    string HMTONo = oSub.HMTONo;
+                    string HPROJECTNO = oSub.HPROJECTNO;
+
+                    if (oSub.HQty <= 0 || oSub.HQty == null)
+                    {
+                        objJsonResult.code = "0";
+                        objJsonResult.count = 0;
+                        objJsonResult.Message = "绗�" + i + "琛岋紝鏁伴噺涓嶈兘涓�0鎴栬�呭皬浜�0";
+                        objJsonResult.data = null;
+                        return objJsonResult;
+                    }
+
+                    if (oSub.HMaterID == 0)
+                    {
+                        objJsonResult.code = "0";
+                        objJsonResult.count = 0;
+                        objJsonResult.Message = "绗�" + i + "琛岋紝鐗╂枡涓嶈兘涓虹┖";
+                        objJsonResult.data = null;
+                        return objJsonResult;
+                    }
+
+                    if (oSub.HUnitID == 0)
+                    {
+                        objJsonResult.code = "0";
+                        objJsonResult.count = 0;
+                        objJsonResult.Message = "绗�" + i + "琛岋紝璁¢噺鍗曚綅涓嶈兘涓虹┖";
+                        objJsonResult.data = null;
+                        return objJsonResult;
+                    }
+
+                    Int64 NewHEntryID = i;
+
+                    oCN.RunProc($@"Insert into Sc_PPBomBillSub 
+                (HInterID,HEntryID,HMaterID,HMaterNumber,HUnitID,HUnitNumber,HSPID,HQty,HQtyMust,HWHID,HRemark
+	            ,HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HICMOInterID,HICMOEntryID,HICMOBillNo
+	            ,HCHILDSUPPLYORGID,HSUPPLYORGID,HENTRUSTPICKORGID,HSRCTRANSORGID,HGROUPBYOWNERID,HOWNERID,HOWNERTYPEID
+	            ,HRelationQty,HMoveStockQty,HAuxPropID,HBatchNO,HMTONo,HQtyScrap,HERPInterID,HERPEntryID
+	            ,HBackRelationQty,HNumerator,HDenominator,HBASEUNITID,HProcessID,HICMOENTRYSEQ,HPROJECTNO
+                ,HOPERID,HSEQ,HSTOCKSTATUSID,HLOT,HOPTQUEUE,HRESERVETYPE,HSelPickedQty,HSELPRCDRETURNQTY) 
+                 values({HInterID},{NewHEntryID},{oSub.HMaterID},'{HMaterNumber}',{oSub.HUnitID},'{HUnitNumber}',{oSub.HSPID},{(oSub.HQty == null ? 0 : oSub.HQty)}
+                ,{HQtyMust},{oSub.HWHID},'{oSub.HRemark}',{HSourceInterID},{HSourceEntryID},'{HSourceBillNo}','{HSourceBillType}',{HICMOInterID},{HICMOEntryID},'{HICMOBillNo}',{HCHILDSUPPLYORGID},{HSUPPLYORGID},{HENTRUSTPICKORGID},{HSRCTRANSORGID},{HGROUPBYOWNERID},{HOWNERID},'{HOWNERTYPEID}',{HRelationQty},{HMoveStockQty},{HAuxPropID},'{HBatchNO}','{HMTONo}',{HQtyScrap},{HERPInterID},
+                  {HERPEntryID},{HBackRelationQty},{HNumerator},{HDenominator},{oSub.HBASEUNITID},{HProcessID},{HICMOENTRYSEQ},'{HPROJECTNO}',{HOPERID},{HSEQ},{HSTOCKSTATUSID},{HLOT},{HOPTQUEUE},{HRESERVETYPE},{HSelPickedQty},{HSELPRCDRETURNQTY})");
+                }
+
+
+
+                oCN.Commit();
+
+                objJsonResult.code = "1";
+                objJsonResult.count = 1;
+                objJsonResult.Message = "鏂板鍗曟嵁鎴愬姛锛�";
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+            catch (Exception e)
+            {
+                oCN.RollBack();
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = "Exception锛�" + e.ToString();
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+        }
+
+       
+
+        #endregion
+
         #region 鐢熶骇鐢ㄦ枡鍗� 淇濆瓨/缂栬緫鍔熻兘
         [Route("Sc_PPBomBill/PPBomBillEdit")]
         [HttpPost]
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 b422d37..6f9dd00 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"
@@ -3871,6 +3871,92 @@
 
         #endregion
 
+        #region 閿�鍞��璐�    涓婁紶鐢熷崟
+
+        #region 閿�鍞��璐�    鏂板妯″紡
+
+        /// <summary>
+        /// 閿�鍞��璐ф柊澧炰笂浼�
+        /// </summary>
+        /// <returns></returns>
+        [Route("WEBSController/set_SaveSellOutBackBill_Json")]
+        [HttpPost]
+        public object set_SaveSellOutBackBill_Json([FromBody] JObject oMain)
+        {
+            var _value = oMain["oMain"].ToString();
+            string msg1 = _value.ToString();
+            try
+            {
+                List<Model.ClsKf_ICStockBillMain> lsmain = new List<Model.ClsKf_ICStockBillMain>();
+                ListModels oListModels = new ListModels();
+                lsmain = oListModels.getICStockBillMainByJson(msg1);
+                WebS.ClsKf_ICStockBillMain websLsmain = new WebS.ClsKf_ICStockBillMain();
+                string sSourceType = lsmain[0].HMainSourceBillType;
+                websLsmain.HInterID = lsmain[0].HInterID;
+                websLsmain.HBillNo = lsmain[0].HBillNo;
+                websLsmain.HBillType = lsmain[0].HBillType;
+                websLsmain.HDate = lsmain[0].HDate;
+                websLsmain.HDeptID = lsmain[0].HDeptID;
+                websLsmain.HWHID = lsmain[0].HWHID;
+                websLsmain.HSCWHID = lsmain[0].HSCWHID;
+                websLsmain.HSupID = lsmain[0].HSupID;
+                websLsmain.HKeeperID = lsmain[0].HKeeperID;
+                websLsmain.HSecManagerID = lsmain[0].HSecManagerID;
+                websLsmain.HEmpID = lsmain[0].HEmpID;
+                websLsmain.HManagerID = lsmain[0].HManagerID;
+                websLsmain.HRemark = lsmain[0].HRemark;
+                websLsmain.HExplanation = lsmain[0].HExplanation;
+                websLsmain.HInnerBillNo = lsmain[0].HInnerBillNo;
+                websLsmain.HRedBlueFlag = lsmain[0].HRedBlueFlag;
+                websLsmain.HBillSubType = lsmain[0].HBillSubType;
+                if (lsmain[0].HMainSourceBillType == "1403")
+                {
+                    websLsmain.HMainSourceBillType = "閫�璐ч�氱煡鍗�";
+                }
+                else if (lsmain[0].HMainSourceBillType == "1401")
+                {
+                    websLsmain.HMainSourceBillType = "閿�鍞鍗�";
+                }
+                else
+                {
+                    websLsmain.HMainSourceBillType = "鎵嬪伐褰曞叆";
+                }
+                websLsmain.HMaker = lsmain[0].HMaker;
+                websLsmain.HBillerID = lsmain[0].HBillerID;
+                websLsmain.HSTOCKORGID = lsmain[0].HSTOCKORGID;
+                websLsmain.HOWNERID = lsmain[0].HSTOCKORGID;
+
+                if (oWebs.set_SaveSellOutBackBill_New(websLsmain, sSourceType, 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;
+            }
+        }
+
+        #endregion
+
+        #endregion
+
         #region 鐢熶骇缁勬墭鍗�    涓婁紶鐢熷崟
 
         /// <summary>
@@ -4719,6 +4805,48 @@
 
         #endregion
 
+        #region 閿�鍞��璐�    鎵弿婧愬崟鏉$爜
+
+        /// <summary>
+        /// 閿�鍞��璐�    鎵弿婧愬崟鏉$爜
+        /// </summary>
+        /// <returns></returns>
+        [Route("WEBSController/Get_SourceBarCode_SellOutBack_Json")]
+        [HttpGet]
+        public object Get_SourceBarCode_SellOutBack_Json(Int64 HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, Int64 HStockOrgID)
+        {
+            try
+            {
+                WebSoBar = oWebs.get_SourceBarCode_SellOutBack(HInterID, HBillNo, HBillType, HSourceBillNo, HSourceBillType, HMaker, HStockOrgID, ref DBUtility.ClsPub.sErrInfo);
+                if (WebSoBar == null)
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = DBUtility.ClsPub.sErrInfo;
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+                else
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 1;
+                    objJsonResult.Message = "鎴愬姛";
+                    objJsonResult.data = WebSoBar;
+                    return objJsonResult;
+                }
+            }
+            catch (Exception e)
+            {
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = "鎵弿婧愬崟鏉$爜澶辫触锛�" + e.ToString();
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+        }
+
+        #endregion
+
         #endregion
 
 
diff --git a/WebAPI/ListModels.cs b/WebAPI/ListModels.cs
index 201b0bd..8d41335 100644
--- a/WebAPI/ListModels.cs
+++ b/WebAPI/ListModels.cs
@@ -1637,6 +1637,30 @@
         }
 
         /// <summary>
+        /// 澶勭悊鏂板浜х嚎鍣ㄥ叿娓呭崟琛ㄧ殑json
+        /// </summary>
+        /// <param name="jsonString"></param>
+        /// <returns></returns>
+        public List<Model.ClsGy_SourceMouldBillMain> getObjectByJson_Gy_SourceMouldBillMain(string jsonString)
+        {
+            jsonString = "[" + jsonString.ToString() + "]";
+            List<Model.ClsGy_SourceMouldBillMain> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsGy_SourceMouldBillMain>>(jsonString);
+            return list;
+        }
+
+        /// <summary>
+        /// 澶勭悊鏂板浜х嚎鍣ㄥ叿娓呭崟瀛愯〃鐨刯son
+        /// </summary>
+        /// <param name="jsonString"></param>
+        /// <returns></returns>
+        public List<Model.ClsGy_SourceMouldBillSub> getObjectByJson_Gy_SourceMouldBillSub(string jsonString)
+        {
+            jsonString = "[" + jsonString.ToString() + "]";
+            List<Model.ClsGy_SourceMouldBillSub> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsGy_SourceMouldBillSub>>(jsonString);
+            return list;
+        }
+
+        /// <summary>
         /// 澶勭悊鏂板浜у搧宸ヨ壓鍙傛暟娓呭崟琛ㄧ殑json
         /// </summary>
         /// <param name="jsonString"></param>
diff --git a/WebAPI/Properties/PublishProfiles/FolderProfile1.pubxml.user b/WebAPI/Properties/PublishProfiles/FolderProfile1.pubxml.user
index 0c14a89..64be831 100644
--- a/WebAPI/Properties/PublishProfiles/FolderProfile1.pubxml.user
+++ b/WebAPI/Properties/PublishProfiles/FolderProfile1.pubxml.user
@@ -4,12 +4,12 @@
 -->
 <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
   <PropertyGroup>
-    <History>True|2025-01-18T01:42:50.3629397Z;False|2025-01-18T09:39:16.1773412+08:00;True|2025-01-17T11:15:39.4147082+08:00;False|2025-01-17T11:15:09.0033498+08:00;True|2025-01-14T10:20:31.1504093+08:00;False|2025-01-14T10:19:59.1429931+08:00;True|2025-01-10T16:29:54.8671377+08:00;False|2025-01-10T16:29:05.0650370+08:00;True|2025-01-04T14:30:56.5041884+08:00;True|2025-01-04T14:26:52.7448761+08:00;True|2025-01-04T14:23:27.9956967+08:00;True|2025-01-04T14:12:46.2410106+08:00;True|2025-01-04T14:09:33.1727375+08:00;True|2025-01-04T14:07:16.3373347+08:00;False|2025-01-04T14:06:33.4982458+08:00;True|2024-12-31T13:36:55.7394582+08:00;False|2024-12-31T13:35:58.6205647+08:00;True|2024-12-28T15:59:32.1394796+08:00;True|2024-12-28T13:48:20.4283118+08:00;True|2024-12-28T13:43:39.8159616+08:00;True|2024-12-28T13:23:58.4183285+08:00;True|2024-12-28T13:19:13.0583263+08:00;True|2024-12-28T13:12:03.2648502+08:00;True|2024-12-28T13:04:22.6803754+08:00;False|2024-12-28T13:03:56.5993252+08:00;True|2024-12-28T10:50:06.1597154+08:00;True|2024-12-28T10:27:58.7075320+08:00;False|2024-12-28T10:27:09.9450571+08:00;True|2024-12-24T10:52:25.3403292+08:00;False|2024-12-24T10:51:41.8017370+08:00;True|2024-12-23T15:45:21.7729300+08:00;True|2024-12-23T15:31:38.8549407+08:00;True|2024-12-23T15:20:26.2361671+08:00;True|2024-12-23T13:40:03.2774116+08:00;False|2024-12-23T13:39:39.8510770+08:00;True|2024-12-23T13:11:15.3232454+08:00;True|2024-12-23T13:05:43.3057458+08:00;True|2024-12-16T10:57:23.0694936+08:00;True|2024-12-16T10:03:48.1938775+08:00;True|2024-12-16T09:38:57.3052219+08:00;False|2024-12-16T09:38:31.7097388+08:00;True|2024-12-16T09:25:38.3751534+08:00;False|2024-12-16T09:24:19.3952981+08:00;True|2024-12-11T22:41:13.2881405+08:00;False|2024-12-11T22:40:26.3239379+08:00;True|2024-12-11T22:14:41.4392948+08:00;True|2024-12-11T22:03:03.6823866+08:00;True|2024-12-11T21:48:51.7423044+08:00;False|2024-12-11T21:47:55.6236616+08:00;True|2024-12-02T14:57:10.0773563+08:00;False|2024-12-02T14:56:35.6440156+08:00;True|2024-11-26T08:55:53.9125170+08:00;True|2024-11-26T08:24:31.3112433+08:00;False|2024-11-26T08:23:46.0894924+08:00;True|2024-11-20T10:16:03.7893118+08:00;False|2024-11-20T10:15:23.2632533+08:00;True|2024-11-20T09:06:55.2799108+08:00;False|2024-11-20T09:05:45.8751214+08:00;True|2024-11-15T10:50:02.2079520+08:00;False|2024-11-15T10:49:22.4156447+08:00;True|2024-11-11T16:53:33.6615343+08:00;False|2024-11-11T16:52:17.7499691+08:00;False|2024-11-06T11:32:23.8339166+08:00;True|2024-10-24T20:08:16.1196372+08:00;True|2024-10-24T14:53:21.0804405+08:00;False|2024-10-24T14:50:14.4659302+08:00;</History>
+    <History>True|2025-02-12T06:05:06.1068587Z;False|2025-02-12T14:03:43.3961038+08:00;True|2025-01-18T09:42:50.3629397+08:00;True|2025-01-18T09:39:16.1773412+08:00;True|2025-01-17T11:15:39.4147082+08:00;False|2025-01-17T11:15:09.0033498+08:00;True|2025-01-14T10:20:31.1504093+08:00;False|2025-01-14T10:19:59.1429931+08:00;True|2025-01-10T16:29:54.8671377+08:00;False|2025-01-10T16:29:05.0650370+08:00;True|2025-01-04T14:30:56.5041884+08:00;True|2025-01-04T14:26:52.7448761+08:00;True|2025-01-04T14:23:27.9956967+08:00;True|2025-01-04T14:12:46.2410106+08:00;True|2025-01-04T14:09:33.1727375+08:00;True|2025-01-04T14:07:16.3373347+08:00;False|2025-01-04T14:06:33.4982458+08:00;True|2024-12-31T13:36:55.7394582+08:00;False|2024-12-31T13:35:58.6205647+08:00;True|2024-12-28T15:59:32.1394796+08:00;True|2024-12-28T13:48:20.4283118+08:00;True|2024-12-28T13:43:39.8159616+08:00;True|2024-12-28T13:23:58.4183285+08:00;True|2024-12-28T13:19:13.0583263+08:00;True|2024-12-28T13:12:03.2648502+08:00;True|2024-12-28T13:04:22.6803754+08:00;False|2024-12-28T13:03:56.5993252+08:00;True|2024-12-28T10:50:06.1597154+08:00;True|2024-12-28T10:27:58.7075320+08:00;False|2024-12-28T10:27:09.9450571+08:00;True|2024-12-24T10:52:25.3403292+08:00;False|2024-12-24T10:51:41.8017370+08:00;True|2024-12-23T15:45:21.7729300+08:00;True|2024-12-23T15:31:38.8549407+08:00;True|2024-12-23T15:20:26.2361671+08:00;True|2024-12-23T13:40:03.2774116+08:00;False|2024-12-23T13:39:39.8510770+08:00;True|2024-12-23T13:11:15.3232454+08:00;True|2024-12-23T13:05:43.3057458+08:00;True|2024-12-16T10:57:23.0694936+08:00;True|2024-12-16T10:03:48.1938775+08:00;True|2024-12-16T09:38:57.3052219+08:00;False|2024-12-16T09:38:31.7097388+08:00;True|2024-12-16T09:25:38.3751534+08:00;False|2024-12-16T09:24:19.3952981+08:00;True|2024-12-11T22:41:13.2881405+08:00;False|2024-12-11T22:40:26.3239379+08:00;True|2024-12-11T22:14:41.4392948+08:00;True|2024-12-11T22:03:03.6823866+08:00;True|2024-12-11T21:48:51.7423044+08:00;False|2024-12-11T21:47:55.6236616+08:00;True|2024-12-02T14:57:10.0773563+08:00;False|2024-12-02T14:56:35.6440156+08:00;True|2024-11-26T08:55:53.9125170+08:00;True|2024-11-26T08:24:31.3112433+08:00;False|2024-11-26T08:23:46.0894924+08:00;True|2024-11-20T10:16:03.7893118+08:00;False|2024-11-20T10:15:23.2632533+08:00;True|2024-11-20T09:06:55.2799108+08:00;False|2024-11-20T09:05:45.8751214+08:00;True|2024-11-15T10:50:02.2079520+08:00;False|2024-11-15T10:49:22.4156447+08:00;True|2024-11-11T16:53:33.6615343+08:00;False|2024-11-11T16:52:17.7499691+08:00;False|2024-11-06T11:32:23.8339166+08:00;True|2024-10-24T20:08:16.1196372+08:00;True|2024-10-24T14:53:21.0804405+08:00;False|2024-10-24T14:50:14.4659302+08:00;</History>
     <_PublishTargetUrl>D:\缃戠珯鍙戝竷\鏅轰簯MESWMS\API</_PublishTargetUrl>
   </PropertyGroup>
   <ItemGroup>
     <File Include="apiapp.json">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="bin/AlibabaCloud.EndpointUtil.dll">
       <publishTime>04/07/2020 16:33:48</publishTime>
@@ -45,28 +45,28 @@
       <publishTime>02/22/2013 16:43:40</publishTime>
     </File>
     <File Include="bin/BLL.dll">
-      <publishTime>01/10/2025 16:29:22</publishTime>
+      <publishTime>02/12/2025 14:04:56</publishTime>
     </File>
     <File Include="bin/BLL.pdb">
-      <publishTime>01/10/2025 16:29:22</publishTime>
+      <publishTime>02/12/2025 14:04:56</publishTime>
     </File>
     <File Include="bin/BouncyCastle.Crypto.dll">
       <publishTime>12/18/2020 05:32:28</publishTime>
     </File>
     <File Include="bin/DAL.dll">
-      <publishTime>01/10/2025 16:29:21</publishTime>
+      <publishTime>02/12/2025 14:04:53</publishTime>
     </File>
     <File Include="bin/DAL.pdb">
-      <publishTime>01/10/2025 16:29:21</publishTime>
+      <publishTime>02/12/2025 14:04:53</publishTime>
     </File>
     <File Include="bin/Dapper.dll">
       <publishTime>07/22/2016 22:52:40</publishTime>
     </File>
     <File Include="bin/DBUtility.dll">
-      <publishTime>01/10/2025 16:29:16</publishTime>
+      <publishTime>02/12/2025 14:04:51</publishTime>
     </File>
     <File Include="bin/DBUtility.pdb">
-      <publishTime>01/10/2025 16:29:16</publishTime>
+      <publishTime>02/12/2025 14:04:51</publishTime>
     </File>
     <File Include="bin/Grpc.Core.Api.dll">
       <publishTime>03/22/2022 13:17:26</publishTime>
@@ -93,7 +93,7 @@
       <publishTime>05/09/2021 01:08:30</publishTime>
     </File>
     <File Include="bin/Kingdee.BOS.WebApi.Client.dll">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>02/08/2023 09:47:46</publishTime>
     </File>
     <File Include="bin/libgrpc_csharp_ext.x64.dylib">
       <publishTime>03/19/2022 07:38:44</publishTime>
@@ -111,13 +111,13 @@
       <publishTime>07/25/2012 19:48:56</publishTime>
     </File>
     <File Include="bin/Model.dll">
-      <publishTime>01/10/2025 16:29:17</publishTime>
+      <publishTime>02/12/2025 14:04:51</publishTime>
     </File>
     <File Include="bin/Model.pdb">
-      <publishTime>01/10/2025 16:29:17</publishTime>
+      <publishTime>02/12/2025 14:04:51</publishTime>
     </File>
     <File Include="bin/Models/ClsSc_MouldScrapOutBillMain.cs">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="bin/Newtonsoft.Json.dll">
       <publishTime>03/08/2023 15:09:56</publishTime>
@@ -147,34 +147,34 @@
       <publishTime>10/23/2021 17:07:54</publishTime>
     </File>
     <File Include="bin/Pub_Class.dll">
-      <publishTime>01/10/2025 16:29:14</publishTime>
+      <publishTime>02/12/2025 14:04:49</publishTime>
     </File>
     <File Include="bin/Pub_Class.pdb">
-      <publishTime>01/10/2025 16:29:14</publishTime>
+      <publishTime>02/12/2025 14:04:49</publishTime>
     </File>
     <File Include="bin/Pub_Control.dll">
-      <publishTime>01/10/2025 16:29:16</publishTime>
+      <publishTime>02/12/2025 14:04:50</publishTime>
     </File>
     <File Include="bin/Pub_Control.pdb">
-      <publishTime>01/10/2025 16:29:16</publishTime>
+      <publishTime>02/12/2025 14:04:50</publishTime>
     </File>
     <File Include="bin/RestSharp.dll">
       <publishTime>08/31/2012 06:22:50</publishTime>
     </File>
     <File Include="bin/SQLHelper.dll">
-      <publishTime>01/10/2025 16:29:16</publishTime>
+      <publishTime>02/12/2025 14:04:50</publishTime>
     </File>
     <File Include="bin/SQLHelper.pdb">
-      <publishTime>01/10/2025 16:29:16</publishTime>
+      <publishTime>02/12/2025 14:04:50</publishTime>
     </File>
     <File Include="bin/Swashbuckle.Core.dll">
       <publishTime>02/16/2015 01:57:08</publishTime>
     </File>
     <File Include="bin/SyntacticSugar.dll">
-      <publishTime>01/10/2025 16:29:12</publishTime>
+      <publishTime>02/12/2025 14:04:48</publishTime>
     </File>
     <File Include="bin/SyntacticSugar.pdb">
-      <publishTime>01/10/2025 16:29:12</publishTime>
+      <publishTime>02/12/2025 14:04:48</publishTime>
     </File>
     <File Include="bin/System.Buffers.dll">
       <publishTime>07/19/2017 18:01:28</publishTime>
@@ -252,7 +252,7 @@
       <publishTime>11/28/2018 21:01:00</publishTime>
     </File>
     <File Include="bin/System.Web.Http.WebHost.dll">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="bin/System.Web.Mvc.dll">
       <publishTime>01/28/2015 12:02:18</publishTime>
@@ -285,22 +285,22 @@
       <publishTime>05/09/2023 10:43:40</publishTime>
     </File>
     <File Include="bin/TopSdk.dll">
-      <publishTime>01/10/2025 16:29:17</publishTime>
+      <publishTime>02/12/2025 14:04:50</publishTime>
     </File>
     <File Include="bin/TopSdk.pdb">
-      <publishTime>01/10/2025 16:29:17</publishTime>
+      <publishTime>02/12/2025 14:04:50</publishTime>
     </File>
     <File Include="bin/WebActivatorEx.dll">
       <publishTime>11/24/2014 19:18:48</publishTime>
     </File>
     <File Include="bin/WebAPI.dll">
-      <publishTime>01/18/2025 09:41:44</publishTime>
+      <publishTime>02/12/2025 14:05:00</publishTime>
     </File>
     <File Include="bin/WebAPI.pdb">
-      <publishTime>01/18/2025 09:41:44</publishTime>
+      <publishTime>02/12/2025 14:05:00</publishTime>
     </File>
     <File Include="bin/WebAPI.XmlSerializers.dll">
-      <publishTime>01/18/2025 09:42:41</publishTime>
+      <publishTime>02/12/2025 14:05:04</publishTime>
     </File>
     <File Include="bin/WebGrease.dll">
       <publishTime>07/18/2013 01:03:52</publishTime>
@@ -312,58 +312,58 @@
       <publishTime>11/29/2018 21:26:30</publishTime>
     </File>
     <File Include="Config/kdapi.config">
-      <publishTime>04/06/2023 15:57:01</publishTime>
+      <publishTime>08/15/2022 15:46:13</publishTime>
     </File>
     <File Include="Content/bootstrap.css">
-      <publishTime>04/06/2023 15:57:01</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="Content/bootstrap.min.css">
-      <publishTime>04/06/2023 15:57:01</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="Content/Site.css">
-      <publishTime>04/06/2023 15:57:01</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="DLL/BLL.dll">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="DLL/DAL.dll">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="DLL/DBUtility.dll">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="DLL/Kingdee.BOS.WebApi.Client.dll">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>02/08/2023 09:47:46</publishTime>
     </File>
     <File Include="DLL/Model.dll">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="DLL/Newtonsoft.Json.Net35.dll">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="DLL/Pub_Class.dll">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="DLL/Pub_Control.dll">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="DLL/SQLHelper.dll">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="fonts/glyphicons-halflings-regular.eot">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="fonts/glyphicons-halflings-regular.svg">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="fonts/glyphicons-halflings-regular.ttf">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="fonts/glyphicons-halflings-regular.woff">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="Global.asax">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="grpc_csharp_ext.x64.dll">
       <publishTime>03/22/2022 13:17:22</publishTime>
@@ -372,7 +372,7 @@
       <publishTime>03/22/2022 13:17:22</publishTime>
     </File>
     <File Include="Index.html">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="libgrpc_csharp_ext.x64.dylib">
       <publishTime>03/19/2022 07:38:44</publishTime>
@@ -381,121 +381,121 @@
       <publishTime>03/19/2022 07:38:42</publishTime>
     </File>
     <File Include="libman.json">
-      <publishTime>07/12/2023 08:14:21</publishTime>
+      <publishTime>07/18/2023 17:26:29</publishTime>
     </File>
     <File Include="Metadata/deploymentTemplates/apiappconfig.azureresource.json">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="packages.config">
-      <publishTime>09/19/2024 10:10:46</publishTime>
+      <publishTime>09/19/2024 08:47:56</publishTime>
     </File>
     <File Include="Views/Scripts/bootstrap.js">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="Views/Scripts/bootstrap.min.js">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="Views/Scripts/jquery-1.10.2.js">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="Views/Scripts/jquery-1.10.2.min.js">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="Views/Scripts/jquery-1.10.2.min.map">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="Views/Scripts/jquery.validate.js">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="Views/Scripts/jquery.validate.min.js">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="Views/Scripts/jquery.validate.unobtrusive.js">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="Views/Scripts/jquery.validate.unobtrusive.min.js">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="Views/Scripts/modernizr-2.6.2.js">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="Views/Shared/Error.cshtml">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="Views/Shared/_Layout.cshtml">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="Views/web.config">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="Views/_ViewStart.cshtml">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/15/2022 10:06:42</publishTime>
     </File>
     <File Include="Web References/WebS/ClsCLD_Customer_Model.datasource">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/31/2023 09:57:08</publishTime>
     </File>
     <File Include="Web References/WebS/ClsCLD_Department_Model.datasource">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/31/2023 09:57:08</publishTime>
     </File>
     <File Include="Web References/WebS/ClsCLD_Employee_Model.datasource">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/31/2023 09:57:08</publishTime>
     </File>
     <File Include="Web References/WebS/ClsCLD_StockPlace_Model.datasource">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/31/2023 09:57:08</publishTime>
     </File>
     <File Include="Web References/WebS/ClsCLD_Supplier_Model.datasource">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/31/2023 09:57:08</publishTime>
     </File>
     <File Include="Web References/WebS/ClsCLD_Warehouse_Model.datasource">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/31/2023 09:57:08</publishTime>
     </File>
     <File Include="Web References/WebS/ClsGy_BadReason_Model.datasource">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/31/2023 09:57:08</publishTime>
     </File>
     <File Include="Web References/WebS/ClsGy_BarCodeBill_WMS_Model.datasource">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/31/2023 09:57:08</publishTime>
     </File>
     <File Include="Web References/WebS/ClsGy_BarCodeBill_WMS_Model_View.datasource">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/31/2023 09:57:09</publishTime>
     </File>
     <File Include="Web References/WebS/ClsGy_Customer_Model.datasource">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/31/2023 09:57:08</publishTime>
     </File>
     <File Include="Web References/WebS/ClsGy_Department_Model.datasource">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/31/2023 09:57:08</publishTime>
     </File>
     <File Include="Web References/WebS/ClsGy_Employee_Model.datasource">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/31/2023 09:57:08</publishTime>
     </File>
     <File Include="Web References/WebS/ClsGy_Group_Model.datasource">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/31/2023 09:57:08</publishTime>
     </File>
     <File Include="Web References/WebS/ClsGy_Item30JiTai_Model.datasource">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/31/2023 09:57:08</publishTime>
     </File>
     <File Include="Web References/WebS/ClsGy_Source_Model.datasource">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/31/2023 09:57:08</publishTime>
     </File>
     <File Include="Web References/WebS/ClsGy_StockPlace_Model.datasource">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/31/2023 09:57:08</publishTime>
     </File>
     <File Include="Web References/WebS/ClsGy_Supplier_Model.datasource">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/31/2023 09:57:08</publishTime>
     </File>
     <File Include="Web References/WebS/ClsGy_Warehouse_Model.datasource">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/31/2023 09:57:08</publishTime>
     </File>
     <File Include="Web References/WebS/ClsKf_ICStockBill_Mould.datasource">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/31/2023 09:57:08</publishTime>
     </File>
     <File Include="Web References/WebS/ClsKf_ICStockBill_WMS.datasource">
-      <publishTime>04/06/2023 15:57:02</publishTime>
+      <publishTime>03/31/2023 09:57:08</publishTime>
     </File>
     <File Include="Web References/WebS/Reference.map">
       <publishTime>05/06/2024 13:47:57</publishTime>
     </File>
     <File Include="Web.config">
-      <publishTime>01/10/2025 16:29:53</publishTime>
+      <publishTime>02/12/2025 14:05:05</publishTime>
     </File>
   </ItemGroup>
 </Project>
\ No newline at end of file
diff --git a/WebAPI/Properties/PublishProfiles/FolderProfile8.pubxml.user b/WebAPI/Properties/PublishProfiles/FolderProfile8.pubxml.user
index d081fb5..a5e7253 100644
--- a/WebAPI/Properties/PublishProfiles/FolderProfile8.pubxml.user
+++ b/WebAPI/Properties/PublishProfiles/FolderProfile8.pubxml.user
@@ -5,7 +5,7 @@
 <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
   <PropertyGroup>
     <_PublishTargetUrl>D:\缃戠珯鍙戝竷\鏅轰簯MESWMS\API</_PublishTargetUrl>
-    <History>True|2024-11-29T05:29:48.1554947Z;</History>
+    <History>True|2025-02-12T06:57:08.1380239Z;True|2025-02-12T14:47:58.0901509+08:00;True|2025-02-12T14:15:10.5288654+08:00;True|2025-02-12T14:12:22.5382196+08:00;True|2025-02-12T14:07:11.7831540+08:00;True|2024-11-29T13:29:48.1554947+08:00;</History>
   </PropertyGroup>
   <ItemGroup>
     <File Include="apiapp.json">
@@ -45,28 +45,28 @@
       <publishTime>02/22/2013 16:43:40</publishTime>
     </File>
     <File Include="bin/BLL.dll">
-      <publishTime>11/29/2024 13:29:25</publishTime>
+      <publishTime>02/12/2025 14:04:56</publishTime>
     </File>
     <File Include="bin/BLL.pdb">
-      <publishTime>11/29/2024 13:29:25</publishTime>
+      <publishTime>02/12/2025 14:04:56</publishTime>
     </File>
     <File Include="bin/BouncyCastle.Crypto.dll">
       <publishTime>12/18/2020 05:32:28</publishTime>
     </File>
     <File Include="bin/DAL.dll">
-      <publishTime>11/29/2024 13:29:24</publishTime>
+      <publishTime>02/12/2025 14:04:53</publishTime>
     </File>
     <File Include="bin/DAL.pdb">
-      <publishTime>11/29/2024 13:29:24</publishTime>
+      <publishTime>02/12/2025 14:04:53</publishTime>
     </File>
     <File Include="bin/Dapper.dll">
       <publishTime>07/22/2016 22:52:40</publishTime>
     </File>
     <File Include="bin/DBUtility.dll">
-      <publishTime>11/29/2024 13:29:21</publishTime>
+      <publishTime>02/12/2025 14:04:51</publishTime>
     </File>
     <File Include="bin/DBUtility.pdb">
-      <publishTime>11/29/2024 13:29:21</publishTime>
+      <publishTime>02/12/2025 14:04:51</publishTime>
     </File>
     <File Include="bin/Grpc.Core.Api.dll">
       <publishTime>03/22/2022 13:17:26</publishTime>
@@ -111,10 +111,10 @@
       <publishTime>07/25/2012 19:48:56</publishTime>
     </File>
     <File Include="bin/Model.dll">
-      <publishTime>11/29/2024 13:29:22</publishTime>
+      <publishTime>02/12/2025 14:04:51</publishTime>
     </File>
     <File Include="bin/Model.pdb">
-      <publishTime>11/29/2024 13:29:22</publishTime>
+      <publishTime>02/12/2025 14:04:51</publishTime>
     </File>
     <File Include="bin/Models/ClsSc_MouldScrapOutBillMain.cs">
       <publishTime>03/15/2022 10:06:42</publishTime>
@@ -147,34 +147,34 @@
       <publishTime>10/23/2021 17:07:54</publishTime>
     </File>
     <File Include="bin/Pub_Class.dll">
-      <publishTime>11/29/2024 13:29:19</publishTime>
+      <publishTime>02/12/2025 14:04:49</publishTime>
     </File>
     <File Include="bin/Pub_Class.pdb">
-      <publishTime>11/29/2024 13:29:19</publishTime>
+      <publishTime>02/12/2025 14:04:49</publishTime>
     </File>
     <File Include="bin/Pub_Control.dll">
-      <publishTime>11/29/2024 13:29:20</publishTime>
+      <publishTime>02/12/2025 14:04:50</publishTime>
     </File>
     <File Include="bin/Pub_Control.pdb">
-      <publishTime>11/29/2024 13:29:20</publishTime>
+      <publishTime>02/12/2025 14:04:50</publishTime>
     </File>
     <File Include="bin/RestSharp.dll">
       <publishTime>08/31/2012 06:22:50</publishTime>
     </File>
     <File Include="bin/SQLHelper.dll">
-      <publishTime>11/29/2024 13:29:20</publishTime>
+      <publishTime>02/12/2025 14:04:50</publishTime>
     </File>
     <File Include="bin/SQLHelper.pdb">
-      <publishTime>11/29/2024 13:29:20</publishTime>
+      <publishTime>02/12/2025 14:04:50</publishTime>
     </File>
     <File Include="bin/Swashbuckle.Core.dll">
       <publishTime>02/16/2015 01:57:08</publishTime>
     </File>
     <File Include="bin/SyntacticSugar.dll">
-      <publishTime>11/29/2024 13:29:17</publishTime>
+      <publishTime>02/12/2025 14:04:48</publishTime>
     </File>
     <File Include="bin/SyntacticSugar.pdb">
-      <publishTime>11/29/2024 13:29:17</publishTime>
+      <publishTime>02/12/2025 14:04:48</publishTime>
     </File>
     <File Include="bin/System.Buffers.dll">
       <publishTime>07/19/2017 18:01:28</publishTime>
@@ -285,22 +285,22 @@
       <publishTime>05/09/2023 10:43:40</publishTime>
     </File>
     <File Include="bin/TopSdk.dll">
-      <publishTime>11/29/2024 13:29:20</publishTime>
+      <publishTime>02/12/2025 14:04:50</publishTime>
     </File>
     <File Include="bin/TopSdk.pdb">
-      <publishTime>11/29/2024 13:29:20</publishTime>
+      <publishTime>02/12/2025 14:04:50</publishTime>
     </File>
     <File Include="bin/WebActivatorEx.dll">
       <publishTime>11/24/2014 19:18:48</publishTime>
     </File>
     <File Include="bin/WebAPI.dll">
-      <publishTime>11/29/2024 13:29:42</publishTime>
+      <publishTime>02/12/2025 14:57:02</publishTime>
     </File>
     <File Include="bin/WebAPI.pdb">
-      <publishTime>11/29/2024 13:29:42</publishTime>
+      <publishTime>02/12/2025 14:57:02</publishTime>
     </File>
     <File Include="bin/WebAPI.XmlSerializers.dll">
-      <publishTime>11/29/2024 13:29:46</publishTime>
+      <publishTime>02/12/2025 14:57:06</publishTime>
     </File>
     <File Include="bin/WebGrease.dll">
       <publishTime>07/18/2013 01:03:52</publishTime>
@@ -492,7 +492,7 @@
       <publishTime>03/31/2023 09:57:08</publishTime>
     </File>
     <File Include="Web.config">
-      <publishTime>11/29/2024 13:29:46</publishTime>
+      <publishTime>02/12/2025 14:07:07</publishTime>
     </File>
   </ItemGroup>
 </Project>
\ No newline at end of file
diff --git a/WebAPI/Web References/WebS/Reference.cs b/WebAPI/Web References/WebS/Reference.cs
index 9d1a960..f4be136 100644
--- a/WebAPI/Web References/WebS/Reference.cs
+++ b/WebAPI/Web References/WebS/Reference.cs
@@ -34,7 +34,11 @@
     [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsXt_BaseBillMain))]
     public partial class WebService1 : System.Web.Services.Protocols.SoapHttpClientProtocol {
         
+        private System.Threading.SendOrPostCallback get_SourceBarCode_POStockInBackOperationCompleted;
+        
         private System.Threading.SendOrPostCallback get_SourceBarCode_MateOutBackOperationCompleted;
+        
+        private System.Threading.SendOrPostCallback get_SourceBarCode_SellOutBackOperationCompleted;
         
         private System.Threading.SendOrPostCallback get_BarCodeOperationCompleted;
         
@@ -197,6 +201,8 @@
         private System.Threading.SendOrPostCallback DeleteMouldOperationCompleted;
         
         private System.Threading.SendOrPostCallback set_SavePonderationBillMain_Temp_BarCode_MouldOperationCompleted;
+        
+        private System.Threading.SendOrPostCallback get_ORGANIZATIONS_UserByOrgRelationOperationCompleted;
         
         private System.Threading.SendOrPostCallback get_ORGANIZATIONSIDByNameOperationCompleted;
         
@@ -364,7 +370,7 @@
         
         private System.Threading.SendOrPostCallback get_SourceBarCode_MoveStockStepInOperationCompleted;
         
-        private System.Threading.SendOrPostCallback get_SourceBarCode_POStockInBackOperationCompleted;
+        private System.Threading.SendOrPostCallback set_CheckEntrustInBillOperationCompleted;
         
         private System.Threading.SendOrPostCallback set_AuditEntrustInBillOperationCompleted;
         
@@ -496,7 +502,7 @@
         
         private System.Threading.SendOrPostCallback get_ORGANIZATIONSOperationCompleted;
         
-        private System.Threading.SendOrPostCallback get_ORGANIZATIONS_UserByOrgRelationOperationCompleted;
+        private System.Threading.SendOrPostCallback set_SaveEntrustOutBill_NewOperationCompleted;
         
         private System.Threading.SendOrPostCallback set_SaveEntrustOutBill_CLD_NewOperationCompleted;
         
@@ -592,7 +598,7 @@
         
         private System.Threading.SendOrPostCallback set_CheckAddEntrustInBillOperationCompleted;
         
-        private System.Threading.SendOrPostCallback set_CheckEntrustInBillOperationCompleted;
+        private System.Threading.SendOrPostCallback set_SaveMoveStockStepOutBill_CLD_NewOperationCompleted;
         
         private System.Threading.SendOrPostCallback set_SaveMoveStockStepInBill_NewOperationCompleted;
         
@@ -691,8 +697,6 @@
         private System.Threading.SendOrPostCallback set_AuditEntrustOutBillOperationCompleted;
         
         private System.Threading.SendOrPostCallback GetKf_EntrustOutBill_K3_SourceOperationCompleted;
-        
-        private System.Threading.SendOrPostCallback set_SaveEntrustOutBill_NewOperationCompleted;
         
         private System.Threading.SendOrPostCallback set_ClearPonderationBillMain_Temp_ChangGuiOperationCompleted;
         
@@ -824,11 +828,7 @@
         
         private System.Threading.SendOrPostCallback set_SaveMoveStockBill_BillCheckOperationCompleted;
         
-        private System.Threading.SendOrPostCallback set_SaveMoveStockBill_CLD_BillCheckOperationCompleted;
-        
         private System.Threading.SendOrPostCallback set_SaveMoveStockStepOutBill_NewOperationCompleted;
-        
-        private System.Threading.SendOrPostCallback set_SaveMoveStockStepOutBill_CLD_NewOperationCompleted;
         
         private System.Threading.SendOrPostCallback GetSc_ICMOBillListOperationCompleted;
         
@@ -1209,7 +1209,13 @@
         }
         
         /// <remarks/>
+        public event get_SourceBarCode_POStockInBackCompletedEventHandler get_SourceBarCode_POStockInBackCompleted;
+        
+        /// <remarks/>
         public event get_SourceBarCode_MateOutBackCompletedEventHandler get_SourceBarCode_MateOutBackCompleted;
+        
+        /// <remarks/>
+        public event get_SourceBarCode_SellOutBackCompletedEventHandler get_SourceBarCode_SellOutBackCompleted;
         
         /// <remarks/>
         public event get_BarCodeCompletedEventHandler get_BarCodeCompleted;
@@ -1453,6 +1459,9 @@
         
         /// <remarks/>
         public event set_SavePonderationBillMain_Temp_BarCode_MouldCompletedEventHandler set_SavePonderationBillMain_Temp_BarCode_MouldCompleted;
+        
+        /// <remarks/>
+        public event get_ORGANIZATIONS_UserByOrgRelationCompletedEventHandler get_ORGANIZATIONS_UserByOrgRelationCompleted;
         
         /// <remarks/>
         public event get_ORGANIZATIONSIDByNameCompletedEventHandler get_ORGANIZATIONSIDByNameCompleted;
@@ -1704,7 +1713,7 @@
         public event get_SourceBarCode_MoveStockStepInCompletedEventHandler get_SourceBarCode_MoveStockStepInCompleted;
         
         /// <remarks/>
-        public event get_SourceBarCode_POStockInBackCompletedEventHandler get_SourceBarCode_POStockInBackCompleted;
+        public event set_CheckEntrustInBillCompletedEventHandler set_CheckEntrustInBillCompleted;
         
         /// <remarks/>
         public event set_AuditEntrustInBillCompletedEventHandler set_AuditEntrustInBillCompleted;
@@ -1902,7 +1911,7 @@
         public event get_ORGANIZATIONSCompletedEventHandler get_ORGANIZATIONSCompleted;
         
         /// <remarks/>
-        public event get_ORGANIZATIONS_UserByOrgRelationCompletedEventHandler get_ORGANIZATIONS_UserByOrgRelationCompleted;
+        public event set_SaveEntrustOutBill_NewCompletedEventHandler set_SaveEntrustOutBill_NewCompleted;
         
         /// <remarks/>
         public event set_SaveEntrustOutBill_CLD_NewCompletedEventHandler set_SaveEntrustOutBill_CLD_NewCompleted;
@@ -2046,7 +2055,7 @@
         public event set_CheckAddEntrustInBillCompletedEventHandler set_CheckAddEntrustInBillCompleted;
         
         /// <remarks/>
-        public event set_CheckEntrustInBillCompletedEventHandler set_CheckEntrustInBillCompleted;
+        public event set_SaveMoveStockStepOutBill_CLD_NewCompletedEventHandler set_SaveMoveStockStepOutBill_CLD_NewCompleted;
         
         /// <remarks/>
         public event set_SaveMoveStockStepInBill_NewCompletedEventHandler set_SaveMoveStockStepInBill_NewCompleted;
@@ -2194,9 +2203,6 @@
         
         /// <remarks/>
         public event GetKf_EntrustOutBill_K3_SourceCompletedEventHandler GetKf_EntrustOutBill_K3_SourceCompleted;
-        
-        /// <remarks/>
-        public event set_SaveEntrustOutBill_NewCompletedEventHandler set_SaveEntrustOutBill_NewCompleted;
         
         /// <remarks/>
         public event set_ClearPonderationBillMain_Temp_ChangGuiCompletedEventHandler set_ClearPonderationBillMain_Temp_ChangGuiCompleted;
@@ -2394,13 +2400,7 @@
         public event set_SaveMoveStockBill_BillCheckCompletedEventHandler set_SaveMoveStockBill_BillCheckCompleted;
         
         /// <remarks/>
-        public event set_SaveMoveStockBill_CLD_BillCheckCompletedEventHandler set_SaveMoveStockBill_CLD_BillCheckCompleted;
-        
-        /// <remarks/>
         public event set_SaveMoveStockStepOutBill_NewCompletedEventHandler set_SaveMoveStockStepOutBill_NewCompleted;
-        
-        /// <remarks/>
-        public event set_SaveMoveStockStepOutBill_CLD_NewCompletedEventHandler set_SaveMoveStockStepOutBill_CLD_NewCompleted;
         
         /// <remarks/>
         public event GetSc_ICMOBillListCompletedEventHandler GetSc_ICMOBillListCompleted;
@@ -2913,6 +2913,50 @@
         public event GetSc_ICMOBackBillListCompletedEventHandler GetSc_ICMOBackBillListCompleted;
         
         /// <remarks/>
+        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/get_SourceBarCode_POStockInBack", 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_WMS get_SourceBarCode_POStockInBack(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, ref string sErrMsg) {
+            object[] results = this.Invoke("get_SourceBarCode_POStockInBack", new object[] {
+                        HInterID,
+                        HBillNo,
+                        HBillType,
+                        HSourceBillNo,
+                        HSourceBillType,
+                        HMaker,
+                        HStockOrgID,
+                        sErrMsg});
+            sErrMsg = ((string)(results[1]));
+            return ((ClsKf_ICStockBill_WMS)(results[0]));
+        }
+        
+        /// <remarks/>
+        public void get_SourceBarCode_POStockInBackAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, string sErrMsg) {
+            this.get_SourceBarCode_POStockInBackAsync(HInterID, HBillNo, HBillType, HSourceBillNo, HSourceBillType, HMaker, HStockOrgID, sErrMsg, null);
+        }
+        
+        /// <remarks/>
+        public void get_SourceBarCode_POStockInBackAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, string sErrMsg, object userState) {
+            if ((this.get_SourceBarCode_POStockInBackOperationCompleted == null)) {
+                this.get_SourceBarCode_POStockInBackOperationCompleted = new System.Threading.SendOrPostCallback(this.Onget_SourceBarCode_POStockInBackOperationCompleted);
+            }
+            this.InvokeAsync("get_SourceBarCode_POStockInBack", new object[] {
+                        HInterID,
+                        HBillNo,
+                        HBillType,
+                        HSourceBillNo,
+                        HSourceBillType,
+                        HMaker,
+                        HStockOrgID,
+                        sErrMsg}, this.get_SourceBarCode_POStockInBackOperationCompleted, userState);
+        }
+        
+        private void Onget_SourceBarCode_POStockInBackOperationCompleted(object arg) {
+            if ((this.get_SourceBarCode_POStockInBackCompleted != null)) {
+                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
+                this.get_SourceBarCode_POStockInBackCompleted(this, new get_SourceBarCode_POStockInBackCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+            }
+        }
+        
+        /// <remarks/>
         [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/get_SourceBarCode_MateOutBack", 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_WMS get_SourceBarCode_MateOutBack(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, ref string sErrMsg) {
             object[] results = this.Invoke("get_SourceBarCode_MateOutBack", new object[] {
@@ -2953,6 +2997,50 @@
             if ((this.get_SourceBarCode_MateOutBackCompleted != null)) {
                 System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                 this.get_SourceBarCode_MateOutBackCompleted(this, new get_SourceBarCode_MateOutBackCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+            }
+        }
+        
+        /// <remarks/>
+        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/get_SourceBarCode_SellOutBack", 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_WMS get_SourceBarCode_SellOutBack(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, ref string sErrMsg) {
+            object[] results = this.Invoke("get_SourceBarCode_SellOutBack", new object[] {
+                        HInterID,
+                        HBillNo,
+                        HBillType,
+                        HSourceBillNo,
+                        HSourceBillType,
+                        HMaker,
+                        HStockOrgID,
+                        sErrMsg});
+            sErrMsg = ((string)(results[1]));
+            return ((ClsKf_ICStockBill_WMS)(results[0]));
+        }
+        
+        /// <remarks/>
+        public void get_SourceBarCode_SellOutBackAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, string sErrMsg) {
+            this.get_SourceBarCode_SellOutBackAsync(HInterID, HBillNo, HBillType, HSourceBillNo, HSourceBillType, HMaker, HStockOrgID, sErrMsg, null);
+        }
+        
+        /// <remarks/>
+        public void get_SourceBarCode_SellOutBackAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, string sErrMsg, object userState) {
+            if ((this.get_SourceBarCode_SellOutBackOperationCompleted == null)) {
+                this.get_SourceBarCode_SellOutBackOperationCompleted = new System.Threading.SendOrPostCallback(this.Onget_SourceBarCode_SellOutBackOperationCompleted);
+            }
+            this.InvokeAsync("get_SourceBarCode_SellOutBack", new object[] {
+                        HInterID,
+                        HBillNo,
+                        HBillType,
+                        HSourceBillNo,
+                        HSourceBillType,
+                        HMaker,
+                        HStockOrgID,
+                        sErrMsg}, this.get_SourceBarCode_SellOutBackOperationCompleted, userState);
+        }
+        
+        private void Onget_SourceBarCode_SellOutBackOperationCompleted(object arg) {
+            if ((this.get_SourceBarCode_SellOutBackCompleted != null)) {
+                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
+                this.get_SourceBarCode_SellOutBackCompleted(this, new get_SourceBarCode_SellOutBackCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
             }
         }
         
@@ -6837,6 +6925,37 @@
             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_ORGANIZATIONS_UserByOrgRelation", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+        public System.Data.DataSet get_ORGANIZATIONS_UserByOrgRelation(string HUserNumber, string HOrgName) {
+            object[] results = this.Invoke("get_ORGANIZATIONS_UserByOrgRelation", new object[] {
+                        HUserNumber,
+                        HOrgName});
+            return ((System.Data.DataSet)(results[0]));
+        }
+        
+        /// <remarks/>
+        public void get_ORGANIZATIONS_UserByOrgRelationAsync(string HUserNumber, string HOrgName) {
+            this.get_ORGANIZATIONS_UserByOrgRelationAsync(HUserNumber, HOrgName, null);
+        }
+        
+        /// <remarks/>
+        public void get_ORGANIZATIONS_UserByOrgRelationAsync(string HUserNumber, string HOrgName, object userState) {
+            if ((this.get_ORGANIZATIONS_UserByOrgRelationOperationCompleted == null)) {
+                this.get_ORGANIZATIONS_UserByOrgRelationOperationCompleted = new System.Threading.SendOrPostCallback(this.Onget_ORGANIZATIONS_UserByOrgRelationOperationCompleted);
+            }
+            this.InvokeAsync("get_ORGANIZATIONS_UserByOrgRelation", new object[] {
+                        HUserNumber,
+                        HOrgName}, this.get_ORGANIZATIONS_UserByOrgRelationOperationCompleted, userState);
+        }
+        
+        private void Onget_ORGANIZATIONS_UserByOrgRelationOperationCompleted(object arg) {
+            if ((this.get_ORGANIZATIONS_UserByOrgRelationCompleted != null)) {
+                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
+                this.get_ORGANIZATIONS_UserByOrgRelationCompleted(this, new get_ORGANIZATIONS_UserByOrgRelationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
             }
         }
         
@@ -11001,46 +11120,34 @@
         }
         
         /// <remarks/>
-        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/get_SourceBarCode_POStockInBack", 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_WMS get_SourceBarCode_POStockInBack(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, ref string sErrMsg) {
-            object[] results = this.Invoke("get_SourceBarCode_POStockInBack", new object[] {
-                        HInterID,
-                        HBillNo,
-                        HBillType,
-                        HSourceBillNo,
-                        HSourceBillType,
-                        HMaker,
-                        HStockOrgID,
+        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_CheckEntrustInBill", 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_CheckEntrustInBill(ClsKf_EntrustInBillMain_K3 oMain, ref string sErrMsg) {
+            object[] results = this.Invoke("set_CheckEntrustInBill", new object[] {
+                        oMain,
                         sErrMsg});
             sErrMsg = ((string)(results[1]));
-            return ((ClsKf_ICStockBill_WMS)(results[0]));
+            return ((bool)(results[0]));
         }
         
         /// <remarks/>
-        public void get_SourceBarCode_POStockInBackAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, string sErrMsg) {
-            this.get_SourceBarCode_POStockInBackAsync(HInterID, HBillNo, HBillType, HSourceBillNo, HSourceBillType, HMaker, HStockOrgID, sErrMsg, null);
+        public void set_CheckEntrustInBillAsync(ClsKf_EntrustInBillMain_K3 oMain, string sErrMsg) {
+            this.set_CheckEntrustInBillAsync(oMain, sErrMsg, null);
         }
         
         /// <remarks/>
-        public void get_SourceBarCode_POStockInBackAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, string sErrMsg, object userState) {
-            if ((this.get_SourceBarCode_POStockInBackOperationCompleted == null)) {
-                this.get_SourceBarCode_POStockInBackOperationCompleted = new System.Threading.SendOrPostCallback(this.Onget_SourceBarCode_POStockInBackOperationCompleted);
+        public void set_CheckEntrustInBillAsync(ClsKf_EntrustInBillMain_K3 oMain, string sErrMsg, object userState) {
+            if ((this.set_CheckEntrustInBillOperationCompleted == null)) {
+                this.set_CheckEntrustInBillOperationCompleted = new System.Threading.SendOrPostCallback(this.Onset_CheckEntrustInBillOperationCompleted);
             }
-            this.InvokeAsync("get_SourceBarCode_POStockInBack", new object[] {
-                        HInterID,
-                        HBillNo,
-                        HBillType,
-                        HSourceBillNo,
-                        HSourceBillType,
-                        HMaker,
-                        HStockOrgID,
-                        sErrMsg}, this.get_SourceBarCode_POStockInBackOperationCompleted, userState);
+            this.InvokeAsync("set_CheckEntrustInBill", new object[] {
+                        oMain,
+                        sErrMsg}, this.set_CheckEntrustInBillOperationCompleted, userState);
         }
         
-        private void Onget_SourceBarCode_POStockInBackOperationCompleted(object arg) {
-            if ((this.get_SourceBarCode_POStockInBackCompleted != null)) {
+        private void Onset_CheckEntrustInBillOperationCompleted(object arg) {
+            if ((this.set_CheckEntrustInBillCompleted != null)) {
                 System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
-                this.get_SourceBarCode_POStockInBackCompleted(this, new get_SourceBarCode_POStockInBackCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+                this.set_CheckEntrustInBillCompleted(this, new set_CheckEntrustInBillCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
             }
         }
         
@@ -13274,33 +13381,36 @@
         }
         
         /// <remarks/>
-        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/get_ORGANIZATIONS_UserByOrgRelation", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
-        public System.Data.DataSet get_ORGANIZATIONS_UserByOrgRelation(string HUserNumber, string HOrgName) {
-            object[] results = this.Invoke("get_ORGANIZATIONS_UserByOrgRelation", new object[] {
-                        HUserNumber,
-                        HOrgName});
-            return ((System.Data.DataSet)(results[0]));
+        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_SaveEntrustOutBill_New", 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_SaveEntrustOutBill_New(ClsKf_EntrustOutBillMain oMain, string sHSourceType, ref string sErrMsg) {
+            object[] results = this.Invoke("set_SaveEntrustOutBill_New", new object[] {
+                        oMain,
+                        sHSourceType,
+                        sErrMsg});
+            sErrMsg = ((string)(results[1]));
+            return ((bool)(results[0]));
         }
         
         /// <remarks/>
-        public void get_ORGANIZATIONS_UserByOrgRelationAsync(string HUserNumber, string HOrgName) {
-            this.get_ORGANIZATIONS_UserByOrgRelationAsync(HUserNumber, HOrgName, null);
+        public void set_SaveEntrustOutBill_NewAsync(ClsKf_EntrustOutBillMain oMain, string sHSourceType, string sErrMsg) {
+            this.set_SaveEntrustOutBill_NewAsync(oMain, sHSourceType, sErrMsg, null);
         }
         
         /// <remarks/>
-        public void get_ORGANIZATIONS_UserByOrgRelationAsync(string HUserNumber, string HOrgName, object userState) {
-            if ((this.get_ORGANIZATIONS_UserByOrgRelationOperationCompleted == null)) {
-                this.get_ORGANIZATIONS_UserByOrgRelationOperationCompleted = new System.Threading.SendOrPostCallback(this.Onget_ORGANIZATIONS_UserByOrgRelationOperationCompleted);
+        public void set_SaveEntrustOutBill_NewAsync(ClsKf_EntrustOutBillMain oMain, string sHSourceType, string sErrMsg, object userState) {
+            if ((this.set_SaveEntrustOutBill_NewOperationCompleted == null)) {
+                this.set_SaveEntrustOutBill_NewOperationCompleted = new System.Threading.SendOrPostCallback(this.Onset_SaveEntrustOutBill_NewOperationCompleted);
             }
-            this.InvokeAsync("get_ORGANIZATIONS_UserByOrgRelation", new object[] {
-                        HUserNumber,
-                        HOrgName}, this.get_ORGANIZATIONS_UserByOrgRelationOperationCompleted, userState);
+            this.InvokeAsync("set_SaveEntrustOutBill_New", new object[] {
+                        oMain,
+                        sHSourceType,
+                        sErrMsg}, this.set_SaveEntrustOutBill_NewOperationCompleted, userState);
         }
         
-        private void Onget_ORGANIZATIONS_UserByOrgRelationOperationCompleted(object arg) {
-            if ((this.get_ORGANIZATIONS_UserByOrgRelationCompleted != null)) {
+        private void Onset_SaveEntrustOutBill_NewOperationCompleted(object arg) {
+            if ((this.set_SaveEntrustOutBill_NewCompleted != null)) {
                 System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
-                this.get_ORGANIZATIONS_UserByOrgRelationCompleted(this, new get_ORGANIZATIONS_UserByOrgRelationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+                this.set_SaveEntrustOutBill_NewCompleted(this, new set_SaveEntrustOutBill_NewCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
             }
         }
         
@@ -14900,34 +15010,38 @@
         }
         
         /// <remarks/>
-        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_CheckEntrustInBill", 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_CheckEntrustInBill(ClsKf_EntrustInBillMain_K3 oMain, ref string sErrMsg) {
-            object[] results = this.Invoke("set_CheckEntrustInBill", new object[] {
+        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_SaveMoveStockStepOutBill_CLD_New", 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_SaveMoveStockStepOutBill_CLD_New(ClsKf_MoveStockStepOutBillMain oMain, string sHSourceType, ClsXt_SystemParameterMain oSystemParameterMain, ref string sErrMsg) {
+            object[] results = this.Invoke("set_SaveMoveStockStepOutBill_CLD_New", new object[] {
                         oMain,
+                        sHSourceType,
+                        oSystemParameterMain,
                         sErrMsg});
             sErrMsg = ((string)(results[1]));
             return ((bool)(results[0]));
         }
         
         /// <remarks/>
-        public void set_CheckEntrustInBillAsync(ClsKf_EntrustInBillMain_K3 oMain, string sErrMsg) {
-            this.set_CheckEntrustInBillAsync(oMain, sErrMsg, null);
+        public void set_SaveMoveStockStepOutBill_CLD_NewAsync(ClsKf_MoveStockStepOutBillMain oMain, string sHSourceType, ClsXt_SystemParameterMain oSystemParameterMain, string sErrMsg) {
+            this.set_SaveMoveStockStepOutBill_CLD_NewAsync(oMain, sHSourceType, oSystemParameterMain, sErrMsg, null);
         }
         
         /// <remarks/>
-        public void set_CheckEntrustInBillAsync(ClsKf_EntrustInBillMain_K3 oMain, string sErrMsg, object userState) {
-            if ((this.set_CheckEntrustInBillOperationCompleted == null)) {
-                this.set_CheckEntrustInBillOperationCompleted = new System.Threading.SendOrPostCallback(this.Onset_CheckEntrustInBillOperationCompleted);
+        public void set_SaveMoveStockStepOutBill_CLD_NewAsync(ClsKf_MoveStockStepOutBillMain oMain, string sHSourceType, ClsXt_SystemParameterMain oSystemParameterMain, string sErrMsg, object userState) {
+            if ((this.set_SaveMoveStockStepOutBill_CLD_NewOperationCompleted == null)) {
+                this.set_SaveMoveStockStepOutBill_CLD_NewOperationCompleted = new System.Threading.SendOrPostCallback(this.Onset_SaveMoveStockStepOutBill_CLD_NewOperationCompleted);
             }
-            this.InvokeAsync("set_CheckEntrustInBill", new object[] {
+            this.InvokeAsync("set_SaveMoveStockStepOutBill_CLD_New", new object[] {
                         oMain,
-                        sErrMsg}, this.set_CheckEntrustInBillOperationCompleted, userState);
+                        sHSourceType,
+                        oSystemParameterMain,
+                        sErrMsg}, this.set_SaveMoveStockStepOutBill_CLD_NewOperationCompleted, userState);
         }
         
-        private void Onset_CheckEntrustInBillOperationCompleted(object arg) {
-            if ((this.set_CheckEntrustInBillCompleted != null)) {
+        private void Onset_SaveMoveStockStepOutBill_CLD_NewOperationCompleted(object arg) {
+            if ((this.set_SaveMoveStockStepOutBill_CLD_NewCompleted != null)) {
                 System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
-                this.set_CheckEntrustInBillCompleted(this, new set_CheckEntrustInBillCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+                this.set_SaveMoveStockStepOutBill_CLD_NewCompleted(this, new set_SaveMoveStockStepOutBill_CLD_NewCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
             }
         }
         
@@ -16581,40 +16695,6 @@
             if ((this.GetKf_EntrustOutBill_K3_SourceCompleted != null)) {
                 System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                 this.GetKf_EntrustOutBill_K3_SourceCompleted(this, new GetKf_EntrustOutBill_K3_SourceCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
-            }
-        }
-        
-        /// <remarks/>
-        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_SaveEntrustOutBill_New", 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_SaveEntrustOutBill_New(ClsKf_EntrustOutBillMain oMain, string sHSourceType, ref string sErrMsg) {
-            object[] results = this.Invoke("set_SaveEntrustOutBill_New", new object[] {
-                        oMain,
-                        sHSourceType,
-                        sErrMsg});
-            sErrMsg = ((string)(results[1]));
-            return ((bool)(results[0]));
-        }
-        
-        /// <remarks/>
-        public void set_SaveEntrustOutBill_NewAsync(ClsKf_EntrustOutBillMain oMain, string sHSourceType, string sErrMsg) {
-            this.set_SaveEntrustOutBill_NewAsync(oMain, sHSourceType, sErrMsg, null);
-        }
-        
-        /// <remarks/>
-        public void set_SaveEntrustOutBill_NewAsync(ClsKf_EntrustOutBillMain oMain, string sHSourceType, string sErrMsg, object userState) {
-            if ((this.set_SaveEntrustOutBill_NewOperationCompleted == null)) {
-                this.set_SaveEntrustOutBill_NewOperationCompleted = new System.Threading.SendOrPostCallback(this.Onset_SaveEntrustOutBill_NewOperationCompleted);
-            }
-            this.InvokeAsync("set_SaveEntrustOutBill_New", new object[] {
-                        oMain,
-                        sHSourceType,
-                        sErrMsg}, this.set_SaveEntrustOutBill_NewOperationCompleted, userState);
-        }
-        
-        private void Onset_SaveEntrustOutBill_NewOperationCompleted(object arg) {
-            if ((this.set_SaveEntrustOutBill_NewCompleted != null)) {
-                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
-                this.set_SaveEntrustOutBill_NewCompleted(this, new set_SaveEntrustOutBill_NewCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
             }
         }
         
@@ -19163,38 +19243,6 @@
         }
         
         /// <remarks/>
-        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_SaveMoveStockBill_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_SaveMoveStockBill_CLD_BillCheck(ClsKf_MoveStockBillMain oMain, ref string sErrMsg) {
-            object[] results = this.Invoke("set_SaveMoveStockBill_CLD_BillCheck", new object[] {
-                        oMain,
-                        sErrMsg});
-            sErrMsg = ((string)(results[1]));
-            return ((bool)(results[0]));
-        }
-        
-        /// <remarks/>
-        public void set_SaveMoveStockBill_CLD_BillCheckAsync(ClsKf_MoveStockBillMain oMain, string sErrMsg) {
-            this.set_SaveMoveStockBill_CLD_BillCheckAsync(oMain, sErrMsg, null);
-        }
-        
-        /// <remarks/>
-        public void set_SaveMoveStockBill_CLD_BillCheckAsync(ClsKf_MoveStockBillMain oMain, string sErrMsg, object userState) {
-            if ((this.set_SaveMoveStockBill_CLD_BillCheckOperationCompleted == null)) {
-                this.set_SaveMoveStockBill_CLD_BillCheckOperationCompleted = new System.Threading.SendOrPostCallback(this.Onset_SaveMoveStockBill_CLD_BillCheckOperationCompleted);
-            }
-            this.InvokeAsync("set_SaveMoveStockBill_CLD_BillCheck", new object[] {
-                        oMain,
-                        sErrMsg}, this.set_SaveMoveStockBill_CLD_BillCheckOperationCompleted, userState);
-        }
-        
-        private void Onset_SaveMoveStockBill_CLD_BillCheckOperationCompleted(object arg) {
-            if ((this.set_SaveMoveStockBill_CLD_BillCheckCompleted != null)) {
-                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
-                this.set_SaveMoveStockBill_CLD_BillCheckCompleted(this, new set_SaveMoveStockBill_CLD_BillCheckCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
-            }
-        }
-        
-        /// <remarks/>
         [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_SaveMoveStockStepOutBill_New", 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_SaveMoveStockStepOutBill_New(ClsKf_MoveStockStepOutBillMain oMain, string sHSourceType, ref string sErrMsg) {
             object[] results = this.Invoke("set_SaveMoveStockStepOutBill_New", new object[] {
@@ -19225,42 +19273,6 @@
             if ((this.set_SaveMoveStockStepOutBill_NewCompleted != null)) {
                 System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                 this.set_SaveMoveStockStepOutBill_NewCompleted(this, new set_SaveMoveStockStepOutBill_NewCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
-            }
-        }
-        
-        /// <remarks/>
-        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_SaveMoveStockStepOutBill_CLD_New", 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_SaveMoveStockStepOutBill_CLD_New(ClsKf_MoveStockStepOutBillMain oMain, string sHSourceType, ClsXt_SystemParameterMain oSystemParameterMain, ref string sErrMsg) {
-            object[] results = this.Invoke("set_SaveMoveStockStepOutBill_CLD_New", new object[] {
-                        oMain,
-                        sHSourceType,
-                        oSystemParameterMain,
-                        sErrMsg});
-            sErrMsg = ((string)(results[1]));
-            return ((bool)(results[0]));
-        }
-        
-        /// <remarks/>
-        public void set_SaveMoveStockStepOutBill_CLD_NewAsync(ClsKf_MoveStockStepOutBillMain oMain, string sHSourceType, ClsXt_SystemParameterMain oSystemParameterMain, string sErrMsg) {
-            this.set_SaveMoveStockStepOutBill_CLD_NewAsync(oMain, sHSourceType, oSystemParameterMain, sErrMsg, null);
-        }
-        
-        /// <remarks/>
-        public void set_SaveMoveStockStepOutBill_CLD_NewAsync(ClsKf_MoveStockStepOutBillMain oMain, string sHSourceType, ClsXt_SystemParameterMain oSystemParameterMain, string sErrMsg, object userState) {
-            if ((this.set_SaveMoveStockStepOutBill_CLD_NewOperationCompleted == null)) {
-                this.set_SaveMoveStockStepOutBill_CLD_NewOperationCompleted = new System.Threading.SendOrPostCallback(this.Onset_SaveMoveStockStepOutBill_CLD_NewOperationCompleted);
-            }
-            this.InvokeAsync("set_SaveMoveStockStepOutBill_CLD_New", new object[] {
-                        oMain,
-                        sHSourceType,
-                        oSystemParameterMain,
-                        sErrMsg}, this.set_SaveMoveStockStepOutBill_CLD_NewOperationCompleted, userState);
-        }
-        
-        private void Onset_SaveMoveStockStepOutBill_CLD_NewOperationCompleted(object arg) {
-            if ((this.set_SaveMoveStockStepOutBill_CLD_NewCompleted != null)) {
-                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
-                this.set_SaveMoveStockStepOutBill_CLD_NewCompleted(this, new set_SaveMoveStockStepOutBill_CLD_NewCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
             }
         }
         
@@ -36546,7 +36558,6 @@
     [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))]
@@ -36560,6 +36571,7 @@
     [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_MoveStockStepOutBillMain))]
     [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_ProductInBillMain_K3))]
     [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_AGVRequestBillMain))]
     [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_ProductInBillMain_CLD))]
@@ -37397,279 +37409,6 @@
             }
             set {
                 this.hUnitIDField = 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 ClsKf_MoveStockStepOutBillMain : ClsXt_BaseBillMain {
-        
-        private long hSupIDField;
-        
-        private long hWHIDField;
-        
-        private long hSCWHIDField;
-        
-        private long hEmpIDField;
-        
-        private long hManagerIDField;
-        
-        private long hSecManagerIDField;
-        
-        private long hKeeperIDField;
-        
-        private long hDeptIDField;
-        
-        private string hExplanationField;
-        
-        private string hInnerBillNoField;
-        
-        private bool hRedBlueFlagField;
-        
-        private string hAddressField;
-        
-        private string hLinkManField;
-        
-        private string hLinkPhoneField;
-        
-        private long hConveyTypeIDField;
-        
-        private long hConveyCompIDField;
-        
-        private double hConveyMoneyField;
-        
-        private string hStockStyleField;
-        
-        private long hStockInOrgIDField;
-        
-        private long hStockOutOrgIDField;
-        
-        private long hSTOCKORGIDField;
-        
-        private long hOWNERIDField;
-        
-        /// <remarks/>
-        public long HSupID {
-            get {
-                return this.hSupIDField;
-            }
-            set {
-                this.hSupIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HWHID {
-            get {
-                return this.hWHIDField;
-            }
-            set {
-                this.hWHIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HSCWHID {
-            get {
-                return this.hSCWHIDField;
-            }
-            set {
-                this.hSCWHIDField = 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 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 HAddress {
-            get {
-                return this.hAddressField;
-            }
-            set {
-                this.hAddressField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HLinkMan {
-            get {
-                return this.hLinkManField;
-            }
-            set {
-                this.hLinkManField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HLinkPhone {
-            get {
-                return this.hLinkPhoneField;
-            }
-            set {
-                this.hLinkPhoneField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HConveyTypeID {
-            get {
-                return this.hConveyTypeIDField;
-            }
-            set {
-                this.hConveyTypeIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HConveyCompID {
-            get {
-                return this.hConveyCompIDField;
-            }
-            set {
-                this.hConveyCompIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public double HConveyMoney {
-            get {
-                return this.hConveyMoneyField;
-            }
-            set {
-                this.hConveyMoneyField = 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 long HStockOutOrgID {
-            get {
-                return this.hStockOutOrgIDField;
-            }
-            set {
-                this.hStockOutOrgIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HSTOCKORGID {
-            get {
-                return this.hSTOCKORGIDField;
-            }
-            set {
-                this.hSTOCKORGIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HOWNERID {
-            get {
-                return this.hOWNERIDField;
-            }
-            set {
-                this.hOWNERIDField = value;
             }
         }
     }
@@ -39985,6 +39724,279 @@
     [System.ComponentModel.DesignerCategoryAttribute("code")]
     [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
     public partial class ClsKf_MoveStockStepInBillMain : ClsXt_BaseBillMain {
+        
+        private long hSupIDField;
+        
+        private long hWHIDField;
+        
+        private long hSCWHIDField;
+        
+        private long hEmpIDField;
+        
+        private long hManagerIDField;
+        
+        private long hSecManagerIDField;
+        
+        private long hKeeperIDField;
+        
+        private long hDeptIDField;
+        
+        private string hExplanationField;
+        
+        private string hInnerBillNoField;
+        
+        private bool hRedBlueFlagField;
+        
+        private string hAddressField;
+        
+        private string hLinkManField;
+        
+        private string hLinkPhoneField;
+        
+        private long hConveyTypeIDField;
+        
+        private long hConveyCompIDField;
+        
+        private double hConveyMoneyField;
+        
+        private string hStockStyleField;
+        
+        private long hStockInOrgIDField;
+        
+        private long hStockOutOrgIDField;
+        
+        private long hSTOCKORGIDField;
+        
+        private long hOWNERIDField;
+        
+        /// <remarks/>
+        public long HSupID {
+            get {
+                return this.hSupIDField;
+            }
+            set {
+                this.hSupIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HWHID {
+            get {
+                return this.hWHIDField;
+            }
+            set {
+                this.hWHIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HSCWHID {
+            get {
+                return this.hSCWHIDField;
+            }
+            set {
+                this.hSCWHIDField = 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 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 HAddress {
+            get {
+                return this.hAddressField;
+            }
+            set {
+                this.hAddressField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HLinkMan {
+            get {
+                return this.hLinkManField;
+            }
+            set {
+                this.hLinkManField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HLinkPhone {
+            get {
+                return this.hLinkPhoneField;
+            }
+            set {
+                this.hLinkPhoneField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HConveyTypeID {
+            get {
+                return this.hConveyTypeIDField;
+            }
+            set {
+                this.hConveyTypeIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HConveyCompID {
+            get {
+                return this.hConveyCompIDField;
+            }
+            set {
+                this.hConveyCompIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public double HConveyMoney {
+            get {
+                return this.hConveyMoneyField;
+            }
+            set {
+                this.hConveyMoneyField = 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 long HStockOutOrgID {
+            get {
+                return this.hStockOutOrgIDField;
+            }
+            set {
+                this.hStockOutOrgIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HSTOCKORGID {
+            get {
+                return this.hSTOCKORGIDField;
+            }
+            set {
+                this.hSTOCKORGIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HOWNERID {
+            get {
+                return this.hOWNERIDField;
+            }
+            set {
+                this.hOWNERIDField = 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 ClsKf_MoveStockStepOutBillMain : ClsXt_BaseBillMain {
         
         private long hSupIDField;
         
@@ -51243,6 +51255,40 @@
     
     /// <remarks/>
     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
+    public delegate void get_SourceBarCode_POStockInBackCompletedEventHandler(object sender, get_SourceBarCode_POStockInBackCompletedEventArgs e);
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.ComponentModel.DesignerCategoryAttribute("code")]
+    public partial class get_SourceBarCode_POStockInBackCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+        
+        private object[] results;
+        
+        internal get_SourceBarCode_POStockInBackCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
+                base(exception, cancelled, userState) {
+            this.results = results;
+        }
+        
+        /// <remarks/>
+        public ClsKf_ICStockBill_WMS Result {
+            get {
+                this.RaiseExceptionIfNecessary();
+                return ((ClsKf_ICStockBill_WMS)(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_SourceBarCode_MateOutBackCompletedEventHandler(object sender, get_SourceBarCode_MateOutBackCompletedEventArgs e);
     
     /// <remarks/>
@@ -51254,6 +51300,40 @@
         private object[] results;
         
         internal get_SourceBarCode_MateOutBackCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
+                base(exception, cancelled, userState) {
+            this.results = results;
+        }
+        
+        /// <remarks/>
+        public ClsKf_ICStockBill_WMS Result {
+            get {
+                this.RaiseExceptionIfNecessary();
+                return ((ClsKf_ICStockBill_WMS)(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_SourceBarCode_SellOutBackCompletedEventHandler(object sender, get_SourceBarCode_SellOutBackCompletedEventArgs e);
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.ComponentModel.DesignerCategoryAttribute("code")]
+    public partial class get_SourceBarCode_SellOutBackCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+        
+        private object[] results;
+        
+        internal get_SourceBarCode_SellOutBackCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                 base(exception, cancelled, userState) {
             this.results = results;
         }
@@ -54105,6 +54185,32 @@
             get {
                 this.RaiseExceptionIfNecessary();
                 return ((string)(this.results[7]));
+            }
+        }
+    }
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
+    public delegate void get_ORGANIZATIONS_UserByOrgRelationCompletedEventHandler(object sender, get_ORGANIZATIONS_UserByOrgRelationCompletedEventArgs e);
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.ComponentModel.DesignerCategoryAttribute("code")]
+    public partial class get_ORGANIZATIONS_UserByOrgRelationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+        
+        private object[] results;
+        
+        internal get_ORGANIZATIONS_UserByOrgRelationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
+                base(exception, cancelled, userState) {
+            this.results = results;
+        }
+        
+        /// <remarks/>
+        public System.Data.DataSet Result {
+            get {
+                this.RaiseExceptionIfNecessary();
+                return ((System.Data.DataSet)(this.results[0]));
             }
         }
     }
@@ -57237,26 +57343,26 @@
     
     /// <remarks/>
     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
-    public delegate void get_SourceBarCode_POStockInBackCompletedEventHandler(object sender, get_SourceBarCode_POStockInBackCompletedEventArgs e);
+    public delegate void set_CheckEntrustInBillCompletedEventHandler(object sender, set_CheckEntrustInBillCompletedEventArgs e);
     
     /// <remarks/>
     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
     [System.Diagnostics.DebuggerStepThroughAttribute()]
     [System.ComponentModel.DesignerCategoryAttribute("code")]
-    public partial class get_SourceBarCode_POStockInBackCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+    public partial class set_CheckEntrustInBillCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
         
         private object[] results;
         
-        internal get_SourceBarCode_POStockInBackCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
+        internal set_CheckEntrustInBillCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                 base(exception, cancelled, userState) {
             this.results = results;
         }
         
         /// <remarks/>
-        public ClsKf_ICStockBill_WMS Result {
+        public bool Result {
             get {
                 this.RaiseExceptionIfNecessary();
-                return ((ClsKf_ICStockBill_WMS)(this.results[0]));
+                return ((bool)(this.results[0]));
             }
         }
         
@@ -59425,26 +59531,34 @@
     
     /// <remarks/>
     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
-    public delegate void get_ORGANIZATIONS_UserByOrgRelationCompletedEventHandler(object sender, get_ORGANIZATIONS_UserByOrgRelationCompletedEventArgs e);
+    public delegate void set_SaveEntrustOutBill_NewCompletedEventHandler(object sender, set_SaveEntrustOutBill_NewCompletedEventArgs e);
     
     /// <remarks/>
     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
     [System.Diagnostics.DebuggerStepThroughAttribute()]
     [System.ComponentModel.DesignerCategoryAttribute("code")]
-    public partial class get_ORGANIZATIONS_UserByOrgRelationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+    public partial class set_SaveEntrustOutBill_NewCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
         
         private object[] results;
         
-        internal get_ORGANIZATIONS_UserByOrgRelationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
+        internal set_SaveEntrustOutBill_NewCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                 base(exception, cancelled, userState) {
             this.results = results;
         }
         
         /// <remarks/>
-        public System.Data.DataSet Result {
+        public bool Result {
             get {
                 this.RaiseExceptionIfNecessary();
-                return ((System.Data.DataSet)(this.results[0]));
+                return ((bool)(this.results[0]));
+            }
+        }
+        
+        /// <remarks/>
+        public string sErrMsg {
+            get {
+                this.RaiseExceptionIfNecessary();
+                return ((string)(this.results[1]));
             }
         }
     }
@@ -61089,17 +61203,17 @@
     
     /// <remarks/>
     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
-    public delegate void set_CheckEntrustInBillCompletedEventHandler(object sender, set_CheckEntrustInBillCompletedEventArgs e);
+    public delegate void set_SaveMoveStockStepOutBill_CLD_NewCompletedEventHandler(object sender, set_SaveMoveStockStepOutBill_CLD_NewCompletedEventArgs e);
     
     /// <remarks/>
     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
     [System.Diagnostics.DebuggerStepThroughAttribute()]
     [System.ComponentModel.DesignerCategoryAttribute("code")]
-    public partial class set_CheckEntrustInBillCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+    public partial class set_SaveMoveStockStepOutBill_CLD_NewCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
         
         private object[] results;
         
-        internal set_CheckEntrustInBillCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
+        internal set_SaveMoveStockStepOutBill_CLD_NewCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                 base(exception, cancelled, userState) {
             this.results = results;
         }
@@ -62743,40 +62857,6 @@
             get {
                 this.RaiseExceptionIfNecessary();
                 return ((System.Data.DataSet)(this.results[0]));
-            }
-        }
-    }
-    
-    /// <remarks/>
-    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
-    public delegate void set_SaveEntrustOutBill_NewCompletedEventHandler(object sender, set_SaveEntrustOutBill_NewCompletedEventArgs e);
-    
-    /// <remarks/>
-    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
-    [System.Diagnostics.DebuggerStepThroughAttribute()]
-    [System.ComponentModel.DesignerCategoryAttribute("code")]
-    public partial class set_SaveEntrustOutBill_NewCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
-        
-        private object[] results;
-        
-        internal set_SaveEntrustOutBill_NewCompletedEventArgs(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]));
             }
         }
     }
@@ -64801,40 +64881,6 @@
     
     /// <remarks/>
     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
-    public delegate void set_SaveMoveStockBill_CLD_BillCheckCompletedEventHandler(object sender, set_SaveMoveStockBill_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_SaveMoveStockBill_CLD_BillCheckCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
-        
-        private object[] results;
-        
-        internal set_SaveMoveStockBill_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_SaveMoveStockStepOutBill_NewCompletedEventHandler(object sender, set_SaveMoveStockStepOutBill_NewCompletedEventArgs e);
     
     /// <remarks/>
@@ -64846,40 +64892,6 @@
         private object[] results;
         
         internal set_SaveMoveStockStepOutBill_NewCompletedEventArgs(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_SaveMoveStockStepOutBill_CLD_NewCompletedEventHandler(object sender, set_SaveMoveStockStepOutBill_CLD_NewCompletedEventArgs e);
-    
-    /// <remarks/>
-    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
-    [System.Diagnostics.DebuggerStepThroughAttribute()]
-    [System.ComponentModel.DesignerCategoryAttribute("code")]
-    public partial class set_SaveMoveStockStepOutBill_CLD_NewCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
-        
-        private object[] results;
-        
-        internal set_SaveMoveStockStepOutBill_CLD_NewCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                 base(exception, cancelled, userState) {
             this.results = results;
         }
diff --git a/WebAPI/Web References/WebS/WebService1.wsdl b/WebAPI/Web References/WebS/WebService1.wsdl
index 17599d7..424b76f 100644
--- a/WebAPI/Web References/WebS/WebService1.wsdl
+++ b/WebAPI/Web References/WebS/WebService1.wsdl
@@ -2,7 +2,7 @@
 <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_SourceBarCode_MateOutBack">
+      <s:element name="get_SourceBarCode_POStockInBack">
         <s:complexType>
           <s:sequence>
             <s:element minOccurs="1" maxOccurs="1" name="HInterID" type="s:long" />
@@ -16,10 +16,10 @@
           </s:sequence>
         </s:complexType>
       </s:element>
-      <s:element name="get_SourceBarCode_MateOutBackResponse">
+      <s:element name="get_SourceBarCode_POStockInBackResponse">
         <s:complexType>
           <s:sequence>
-            <s:element minOccurs="0" maxOccurs="1" name="get_SourceBarCode_MateOutBackResult" type="tns:ClsKf_ICStockBill_WMS" />
+            <s:element minOccurs="0" maxOccurs="1" name="get_SourceBarCode_POStockInBackResult" type="tns:ClsKf_ICStockBill_WMS" />
             <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
           </s:sequence>
         </s:complexType>
@@ -66,6 +66,50 @@
           <s:element minOccurs="1" maxOccurs="1" name="HSourceBarCodeFlag" type="s:boolean" />
         </s:sequence>
       </s:complexType>
+      <s:element name="get_SourceBarCode_MateOutBack">
+        <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="HMaker" type="s:string" />
+            <s:element minOccurs="1" maxOccurs="1" name="HStockOrgID" type="s:long" />
+            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="get_SourceBarCode_MateOutBackResponse">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="get_SourceBarCode_MateOutBackResult" type="tns:ClsKf_ICStockBill_WMS" />
+            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="get_SourceBarCode_SellOutBack">
+        <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="HMaker" type="s:string" />
+            <s:element minOccurs="1" maxOccurs="1" name="HStockOrgID" type="s:long" />
+            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="get_SourceBarCode_SellOutBackResponse">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="get_SourceBarCode_SellOutBackResult" type="tns:ClsKf_ICStockBill_WMS" />
+            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
       <s:element name="get_BarCode">
         <s:complexType>
           <s:sequence>
@@ -2603,6 +2647,28 @@
           </s:sequence>
         </s:complexType>
       </s:element>
+      <s:element name="get_ORGANIZATIONS_UserByOrgRelation">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="HUserNumber" type="s:string" />
+            <s:element minOccurs="0" maxOccurs="1" name="HOrgName" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="get_ORGANIZATIONS_UserByOrgRelationResponse">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="get_ORGANIZATIONS_UserByOrgRelationResult">
+              <s:complexType>
+                <s:sequence>
+                  <s:element ref="s:schema" />
+                  <s:any />
+                </s:sequence>
+              </s:complexType>
+            </s:element>
+          </s:sequence>
+        </s:complexType>
+      </s:element>
       <s:element name="get_ORGANIZATIONSIDByName">
         <s:complexType>
           <s:sequence>
@@ -4574,29 +4640,7 @@
           </s:sequence>
         </s:complexType>
       </s:element>
-      <s:element name="get_SourceBarCode_POStockInBack">
-        <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="HMaker" type="s:string" />
-            <s:element minOccurs="1" maxOccurs="1" name="HStockOrgID" type="s:long" />
-            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
-          </s:sequence>
-        </s:complexType>
-      </s:element>
-      <s:element name="get_SourceBarCode_POStockInBackResponse">
-        <s:complexType>
-          <s:sequence>
-            <s:element minOccurs="0" maxOccurs="1" name="get_SourceBarCode_POStockInBackResult" type="tns:ClsKf_ICStockBill_WMS" />
-            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
-          </s:sequence>
-        </s:complexType>
-      </s:element>
-      <s:element name="set_AuditEntrustInBill">
+      <s:element name="set_CheckEntrustInBill">
         <s:complexType>
           <s:sequence>
             <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_EntrustInBillMain_K3" />
@@ -4628,6 +4672,22 @@
           </s:extension>
         </s:complexContent>
       </s:complexType>
+      <s:element name="set_CheckEntrustInBillResponse">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="1" maxOccurs="1" name="set_CheckEntrustInBillResult" type="s:boolean" />
+            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="set_AuditEntrustInBill">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_EntrustInBillMain_K3" />
+            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
       <s:element name="set_AuditEntrustInBillResponse">
         <s:complexType>
           <s:sequence>
@@ -6141,34 +6201,11 @@
           </s:sequence>
         </s:complexType>
       </s:element>
-      <s:element name="get_ORGANIZATIONS_UserByOrgRelation">
-        <s:complexType>
-          <s:sequence>
-            <s:element minOccurs="0" maxOccurs="1" name="HUserNumber" type="s:string" />
-            <s:element minOccurs="0" maxOccurs="1" name="HOrgName" type="s:string" />
-          </s:sequence>
-        </s:complexType>
-      </s:element>
-      <s:element name="get_ORGANIZATIONS_UserByOrgRelationResponse">
-        <s:complexType>
-          <s:sequence>
-            <s:element minOccurs="0" maxOccurs="1" name="get_ORGANIZATIONS_UserByOrgRelationResult">
-              <s:complexType>
-                <s:sequence>
-                  <s:element ref="s:schema" />
-                  <s:any />
-                </s:sequence>
-              </s:complexType>
-            </s:element>
-          </s:sequence>
-        </s:complexType>
-      </s:element>
-      <s:element name="set_SaveEntrustOutBill_CLD_New">
+      <s:element name="set_SaveEntrustOutBill_New">
         <s:complexType>
           <s:sequence>
             <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_EntrustOutBillMain" />
             <s:element minOccurs="0" maxOccurs="1" name="sHSourceType" type="s:string" />
-            <s:element minOccurs="0" maxOccurs="1" name="oSystemParameterMain" type="tns:ClsXt_SystemParameterMain" />
             <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
           </s:sequence>
         </s:complexType>
@@ -6194,6 +6231,24 @@
           </s:extension>
         </s:complexContent>
       </s:complexType>
+      <s:element name="set_SaveEntrustOutBill_NewResponse">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="1" maxOccurs="1" name="set_SaveEntrustOutBill_NewResult" type="s:boolean" />
+            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="set_SaveEntrustOutBill_CLD_New">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_EntrustOutBillMain" />
+            <s:element minOccurs="0" maxOccurs="1" name="sHSourceType" type="s:string" />
+            <s:element minOccurs="0" maxOccurs="1" name="oSystemParameterMain" type="tns:ClsXt_SystemParameterMain" />
+            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
       <s:element name="set_SaveEntrustOutBill_CLD_NewResponse">
         <s:complexType>
           <s:sequence>
@@ -7153,18 +7208,50 @@
           </s:sequence>
         </s:complexType>
       </s:element>
-      <s:element name="set_CheckEntrustInBill">
+      <s:element name="set_SaveMoveStockStepOutBill_CLD_New">
         <s:complexType>
           <s:sequence>
-            <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_EntrustInBillMain_K3" />
+            <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_MoveStockStepOutBillMain" />
+            <s:element minOccurs="0" maxOccurs="1" name="sHSourceType" type="s:string" />
+            <s:element minOccurs="0" maxOccurs="1" name="oSystemParameterMain" type="tns:ClsXt_SystemParameterMain" />
             <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
           </s:sequence>
         </s:complexType>
       </s:element>
-      <s:element name="set_CheckEntrustInBillResponse">
+      <s:complexType name="ClsKf_MoveStockStepOutBillMain">
+        <s:complexContent mixed="false">
+          <s:extension base="tns:ClsXt_BaseBillMain">
+            <s:sequence>
+              <s:element minOccurs="1" maxOccurs="1" name="HSupID" type="s:long" />
+              <s:element minOccurs="1" maxOccurs="1" name="HWHID" type="s:long" />
+              <s:element minOccurs="1" maxOccurs="1" name="HSCWHID" type="s:long" />
+              <s:element minOccurs="1" maxOccurs="1" name="HEmpID" type="s:long" />
+              <s:element minOccurs="1" maxOccurs="1" name="HManagerID" type="s:long" />
+              <s:element minOccurs="1" maxOccurs="1" name="HSecManagerID" type="s:long" />
+              <s:element minOccurs="1" maxOccurs="1" name="HKeeperID" type="s:long" />
+              <s:element minOccurs="1" maxOccurs="1" name="HDeptID" type="s:long" />
+              <s:element minOccurs="0" maxOccurs="1" name="HExplanation" type="s:string" />
+              <s:element minOccurs="0" maxOccurs="1" name="HInnerBillNo" type="s:string" />
+              <s:element minOccurs="1" maxOccurs="1" name="HRedBlueFlag" type="s:boolean" />
+              <s:element minOccurs="0" maxOccurs="1" name="HAddress" type="s:string" />
+              <s:element minOccurs="0" maxOccurs="1" name="HLinkMan" type="s:string" />
+              <s:element minOccurs="0" maxOccurs="1" name="HLinkPhone" type="s:string" />
+              <s:element minOccurs="1" maxOccurs="1" name="HConveyTypeID" type="s:long" />
+              <s:element minOccurs="1" maxOccurs="1" name="HConveyCompID" type="s:long" />
+              <s:element minOccurs="1" maxOccurs="1" name="HConveyMoney" type="s:double" />
+              <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="1" maxOccurs="1" name="HStockOutOrgID" type="s:long" />
+              <s:element minOccurs="1" maxOccurs="1" name="HSTOCKORGID" type="s:long" />
+              <s:element minOccurs="1" maxOccurs="1" name="HOWNERID" type="s:long" />
+            </s:sequence>
+          </s:extension>
+        </s:complexContent>
+      </s:complexType>
+      <s:element name="set_SaveMoveStockStepOutBill_CLD_NewResponse">
         <s:complexType>
           <s:sequence>
-            <s:element minOccurs="1" maxOccurs="1" name="set_CheckEntrustInBillResult" type="s:boolean" />
+            <s:element minOccurs="1" maxOccurs="1" name="set_SaveMoveStockStepOutBill_CLD_NewResult" type="s:boolean" />
             <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
           </s:sequence>
         </s:complexType>
@@ -8438,23 +8525,6 @@
                 </s:sequence>
               </s:complexType>
             </s:element>
-          </s:sequence>
-        </s:complexType>
-      </s:element>
-      <s:element name="set_SaveEntrustOutBill_New">
-        <s:complexType>
-          <s:sequence>
-            <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_EntrustOutBillMain" />
-            <s:element minOccurs="0" maxOccurs="1" name="sHSourceType" type="s:string" />
-            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
-          </s:sequence>
-        </s:complexType>
-      </s:element>
-      <s:element name="set_SaveEntrustOutBill_NewResponse">
-        <s:complexType>
-          <s:sequence>
-            <s:element minOccurs="1" maxOccurs="1" name="set_SaveEntrustOutBill_NewResult" type="s:boolean" />
-            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
           </s:sequence>
         </s:complexType>
       </s:element>
@@ -10001,22 +10071,6 @@
           </s:sequence>
         </s:complexType>
       </s:element>
-      <s:element name="set_SaveMoveStockBill_CLD_BillCheck">
-        <s:complexType>
-          <s:sequence>
-            <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_MoveStockBillMain" />
-            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
-          </s:sequence>
-        </s:complexType>
-      </s:element>
-      <s:element name="set_SaveMoveStockBill_CLD_BillCheckResponse">
-        <s:complexType>
-          <s:sequence>
-            <s:element minOccurs="1" maxOccurs="1" name="set_SaveMoveStockBill_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_SaveMoveStockStepOutBill_New">
         <s:complexType>
           <s:sequence>
@@ -10026,58 +10080,10 @@
           </s:sequence>
         </s:complexType>
       </s:element>
-      <s:complexType name="ClsKf_MoveStockStepOutBillMain">
-        <s:complexContent mixed="false">
-          <s:extension base="tns:ClsXt_BaseBillMain">
-            <s:sequence>
-              <s:element minOccurs="1" maxOccurs="1" name="HSupID" type="s:long" />
-              <s:element minOccurs="1" maxOccurs="1" name="HWHID" type="s:long" />
-              <s:element minOccurs="1" maxOccurs="1" name="HSCWHID" type="s:long" />
-              <s:element minOccurs="1" maxOccurs="1" name="HEmpID" type="s:long" />
-              <s:element minOccurs="1" maxOccurs="1" name="HManagerID" type="s:long" />
-              <s:element minOccurs="1" maxOccurs="1" name="HSecManagerID" type="s:long" />
-              <s:element minOccurs="1" maxOccurs="1" name="HKeeperID" type="s:long" />
-              <s:element minOccurs="1" maxOccurs="1" name="HDeptID" type="s:long" />
-              <s:element minOccurs="0" maxOccurs="1" name="HExplanation" type="s:string" />
-              <s:element minOccurs="0" maxOccurs="1" name="HInnerBillNo" type="s:string" />
-              <s:element minOccurs="1" maxOccurs="1" name="HRedBlueFlag" type="s:boolean" />
-              <s:element minOccurs="0" maxOccurs="1" name="HAddress" type="s:string" />
-              <s:element minOccurs="0" maxOccurs="1" name="HLinkMan" type="s:string" />
-              <s:element minOccurs="0" maxOccurs="1" name="HLinkPhone" type="s:string" />
-              <s:element minOccurs="1" maxOccurs="1" name="HConveyTypeID" type="s:long" />
-              <s:element minOccurs="1" maxOccurs="1" name="HConveyCompID" type="s:long" />
-              <s:element minOccurs="1" maxOccurs="1" name="HConveyMoney" type="s:double" />
-              <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="1" maxOccurs="1" name="HStockOutOrgID" type="s:long" />
-              <s:element minOccurs="1" maxOccurs="1" name="HSTOCKORGID" type="s:long" />
-              <s:element minOccurs="1" maxOccurs="1" name="HOWNERID" type="s:long" />
-            </s:sequence>
-          </s:extension>
-        </s:complexContent>
-      </s:complexType>
       <s:element name="set_SaveMoveStockStepOutBill_NewResponse">
         <s:complexType>
           <s:sequence>
             <s:element minOccurs="1" maxOccurs="1" name="set_SaveMoveStockStepOutBill_NewResult" type="s:boolean" />
-            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
-          </s:sequence>
-        </s:complexType>
-      </s:element>
-      <s:element name="set_SaveMoveStockStepOutBill_CLD_New">
-        <s:complexType>
-          <s:sequence>
-            <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_MoveStockStepOutBillMain" />
-            <s:element minOccurs="0" maxOccurs="1" name="sHSourceType" type="s:string" />
-            <s:element minOccurs="0" maxOccurs="1" name="oSystemParameterMain" type="tns:ClsXt_SystemParameterMain" />
-            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
-          </s:sequence>
-        </s:complexType>
-      </s:element>
-      <s:element name="set_SaveMoveStockStepOutBill_CLD_NewResponse">
-        <s:complexType>
-          <s:sequence>
-            <s:element minOccurs="1" maxOccurs="1" name="set_SaveMoveStockStepOutBill_CLD_NewResult" type="s:boolean" />
             <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
           </s:sequence>
         </s:complexType>
@@ -14169,11 +14175,23 @@
       </s:element>
     </s:schema>
   </wsdl:types>
+  <wsdl:message name="get_SourceBarCode_POStockInBackSoapIn">
+    <wsdl:part name="parameters" element="tns:get_SourceBarCode_POStockInBack" />
+  </wsdl:message>
+  <wsdl:message name="get_SourceBarCode_POStockInBackSoapOut">
+    <wsdl:part name="parameters" element="tns:get_SourceBarCode_POStockInBackResponse" />
+  </wsdl:message>
   <wsdl:message name="get_SourceBarCode_MateOutBackSoapIn">
     <wsdl:part name="parameters" element="tns:get_SourceBarCode_MateOutBack" />
   </wsdl:message>
   <wsdl:message name="get_SourceBarCode_MateOutBackSoapOut">
     <wsdl:part name="parameters" element="tns:get_SourceBarCode_MateOutBackResponse" />
+  </wsdl:message>
+  <wsdl:message name="get_SourceBarCode_SellOutBackSoapIn">
+    <wsdl:part name="parameters" element="tns:get_SourceBarCode_SellOutBack" />
+  </wsdl:message>
+  <wsdl:message name="get_SourceBarCode_SellOutBackSoapOut">
+    <wsdl:part name="parameters" element="tns:get_SourceBarCode_SellOutBackResponse" />
   </wsdl:message>
   <wsdl:message name="get_BarCodeSoapIn">
     <wsdl:part name="parameters" element="tns:get_BarCode" />
@@ -14660,6 +14678,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_ORGANIZATIONS_UserByOrgRelationSoapIn">
+    <wsdl:part name="parameters" element="tns:get_ORGANIZATIONS_UserByOrgRelation" />
+  </wsdl:message>
+  <wsdl:message name="get_ORGANIZATIONS_UserByOrgRelationSoapOut">
+    <wsdl:part name="parameters" element="tns:get_ORGANIZATIONS_UserByOrgRelationResponse" />
   </wsdl:message>
   <wsdl:message name="get_ORGANIZATIONSIDByNameSoapIn">
     <wsdl:part name="parameters" element="tns:get_ORGANIZATIONSIDByName" />
@@ -15159,11 +15183,11 @@
   <wsdl:message name="get_SourceBarCode_MoveStockStepInSoapOut">
     <wsdl:part name="parameters" element="tns:get_SourceBarCode_MoveStockStepInResponse" />
   </wsdl:message>
-  <wsdl:message name="get_SourceBarCode_POStockInBackSoapIn">
-    <wsdl:part name="parameters" element="tns:get_SourceBarCode_POStockInBack" />
+  <wsdl:message name="set_CheckEntrustInBillSoapIn">
+    <wsdl:part name="parameters" element="tns:set_CheckEntrustInBill" />
   </wsdl:message>
-  <wsdl:message name="get_SourceBarCode_POStockInBackSoapOut">
-    <wsdl:part name="parameters" element="tns:get_SourceBarCode_POStockInBackResponse" />
+  <wsdl:message name="set_CheckEntrustInBillSoapOut">
+    <wsdl:part name="parameters" element="tns:set_CheckEntrustInBillResponse" />
   </wsdl:message>
   <wsdl:message name="set_AuditEntrustInBillSoapIn">
     <wsdl:part name="parameters" element="tns:set_AuditEntrustInBill" />
@@ -15555,11 +15579,11 @@
   <wsdl:message name="get_ORGANIZATIONSSoapOut">
     <wsdl:part name="parameters" element="tns:get_ORGANIZATIONSResponse" />
   </wsdl:message>
-  <wsdl:message name="get_ORGANIZATIONS_UserByOrgRelationSoapIn">
-    <wsdl:part name="parameters" element="tns:get_ORGANIZATIONS_UserByOrgRelation" />
+  <wsdl:message name="set_SaveEntrustOutBill_NewSoapIn">
+    <wsdl:part name="parameters" element="tns:set_SaveEntrustOutBill_New" />
   </wsdl:message>
-  <wsdl:message name="get_ORGANIZATIONS_UserByOrgRelationSoapOut">
-    <wsdl:part name="parameters" element="tns:get_ORGANIZATIONS_UserByOrgRelationResponse" />
+  <wsdl:message name="set_SaveEntrustOutBill_NewSoapOut">
+    <wsdl:part name="parameters" element="tns:set_SaveEntrustOutBill_NewResponse" />
   </wsdl:message>
   <wsdl:message name="set_SaveEntrustOutBill_CLD_NewSoapIn">
     <wsdl:part name="parameters" element="tns:set_SaveEntrustOutBill_CLD_New" />
@@ -15843,11 +15867,11 @@
   <wsdl:message name="set_CheckAddEntrustInBillSoapOut">
     <wsdl:part name="parameters" element="tns:set_CheckAddEntrustInBillResponse" />
   </wsdl:message>
-  <wsdl:message name="set_CheckEntrustInBillSoapIn">
-    <wsdl:part name="parameters" element="tns:set_CheckEntrustInBill" />
+  <wsdl:message name="set_SaveMoveStockStepOutBill_CLD_NewSoapIn">
+    <wsdl:part name="parameters" element="tns:set_SaveMoveStockStepOutBill_CLD_New" />
   </wsdl:message>
-  <wsdl:message name="set_CheckEntrustInBillSoapOut">
-    <wsdl:part name="parameters" element="tns:set_CheckEntrustInBillResponse" />
+  <wsdl:message name="set_SaveMoveStockStepOutBill_CLD_NewSoapOut">
+    <wsdl:part name="parameters" element="tns:set_SaveMoveStockStepOutBill_CLD_NewResponse" />
   </wsdl:message>
   <wsdl:message name="set_SaveMoveStockStepInBill_NewSoapIn">
     <wsdl:part name="parameters" element="tns:set_SaveMoveStockStepInBill_New" />
@@ -16142,12 +16166,6 @@
   </wsdl:message>
   <wsdl:message name="GetKf_EntrustOutBill_K3_SourceSoapOut">
     <wsdl:part name="parameters" element="tns:GetKf_EntrustOutBill_K3_SourceResponse" />
-  </wsdl:message>
-  <wsdl:message name="set_SaveEntrustOutBill_NewSoapIn">
-    <wsdl:part name="parameters" element="tns:set_SaveEntrustOutBill_New" />
-  </wsdl:message>
-  <wsdl:message name="set_SaveEntrustOutBill_NewSoapOut">
-    <wsdl:part name="parameters" element="tns:set_SaveEntrustOutBill_NewResponse" />
   </wsdl:message>
   <wsdl:message name="set_ClearPonderationBillMain_Temp_ChangGuiSoapIn">
     <wsdl:part name="parameters" element="tns:set_ClearPonderationBillMain_Temp_ChangGui" />
@@ -16539,23 +16557,11 @@
   <wsdl:message name="set_SaveMoveStockBill_BillCheckSoapOut">
     <wsdl:part name="parameters" element="tns:set_SaveMoveStockBill_BillCheckResponse" />
   </wsdl:message>
-  <wsdl:message name="set_SaveMoveStockBill_CLD_BillCheckSoapIn">
-    <wsdl:part name="parameters" element="tns:set_SaveMoveStockBill_CLD_BillCheck" />
-  </wsdl:message>
-  <wsdl:message name="set_SaveMoveStockBill_CLD_BillCheckSoapOut">
-    <wsdl:part name="parameters" element="tns:set_SaveMoveStockBill_CLD_BillCheckResponse" />
-  </wsdl:message>
   <wsdl:message name="set_SaveMoveStockStepOutBill_NewSoapIn">
     <wsdl:part name="parameters" element="tns:set_SaveMoveStockStepOutBill_New" />
   </wsdl:message>
   <wsdl:message name="set_SaveMoveStockStepOutBill_NewSoapOut">
     <wsdl:part name="parameters" element="tns:set_SaveMoveStockStepOutBill_NewResponse" />
-  </wsdl:message>
-  <wsdl:message name="set_SaveMoveStockStepOutBill_CLD_NewSoapIn">
-    <wsdl:part name="parameters" element="tns:set_SaveMoveStockStepOutBill_CLD_New" />
-  </wsdl:message>
-  <wsdl:message name="set_SaveMoveStockStepOutBill_CLD_NewSoapOut">
-    <wsdl:part name="parameters" element="tns:set_SaveMoveStockStepOutBill_CLD_NewResponse" />
   </wsdl:message>
   <wsdl:message name="GetSc_ICMOBillListSoapIn">
     <wsdl:part name="parameters" element="tns:GetSc_ICMOBillList" />
@@ -17578,9 +17584,17 @@
     <wsdl:part name="parameters" element="tns:GetSc_ICMOBackBillListResponse" />
   </wsdl:message>
   <wsdl:portType name="WebService1Soap">
+    <wsdl:operation name="get_SourceBarCode_POStockInBack">
+      <wsdl:input message="tns:get_SourceBarCode_POStockInBackSoapIn" />
+      <wsdl:output message="tns:get_SourceBarCode_POStockInBackSoapOut" />
+    </wsdl:operation>
     <wsdl:operation name="get_SourceBarCode_MateOutBack">
       <wsdl:input message="tns:get_SourceBarCode_MateOutBackSoapIn" />
       <wsdl:output message="tns:get_SourceBarCode_MateOutBackSoapOut" />
+    </wsdl:operation>
+    <wsdl:operation name="get_SourceBarCode_SellOutBack">
+      <wsdl:input message="tns:get_SourceBarCode_SellOutBackSoapIn" />
+      <wsdl:output message="tns:get_SourceBarCode_SellOutBackSoapOut" />
     </wsdl:operation>
     <wsdl:operation name="get_BarCode">
       <wsdl:input message="tns:get_BarCodeSoapIn" />
@@ -17905,6 +17919,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_ORGANIZATIONS_UserByOrgRelation">
+      <wsdl:input message="tns:get_ORGANIZATIONS_UserByOrgRelationSoapIn" />
+      <wsdl:output message="tns:get_ORGANIZATIONS_UserByOrgRelationSoapOut" />
     </wsdl:operation>
     <wsdl:operation name="get_ORGANIZATIONSIDByName">
       <wsdl:input message="tns:get_ORGANIZATIONSIDByNameSoapIn" />
@@ -18238,9 +18256,9 @@
       <wsdl:input message="tns:get_SourceBarCode_MoveStockStepInSoapIn" />
       <wsdl:output message="tns:get_SourceBarCode_MoveStockStepInSoapOut" />
     </wsdl:operation>
-    <wsdl:operation name="get_SourceBarCode_POStockInBack">
-      <wsdl:input message="tns:get_SourceBarCode_POStockInBackSoapIn" />
-      <wsdl:output message="tns:get_SourceBarCode_POStockInBackSoapOut" />
+    <wsdl:operation name="set_CheckEntrustInBill">
+      <wsdl:input message="tns:set_CheckEntrustInBillSoapIn" />
+      <wsdl:output message="tns:set_CheckEntrustInBillSoapOut" />
     </wsdl:operation>
     <wsdl:operation name="set_AuditEntrustInBill">
       <wsdl:input message="tns:set_AuditEntrustInBillSoapIn" />
@@ -18502,9 +18520,9 @@
       <wsdl:input message="tns:get_ORGANIZATIONSSoapIn" />
       <wsdl:output message="tns:get_ORGANIZATIONSSoapOut" />
     </wsdl:operation>
-    <wsdl:operation name="get_ORGANIZATIONS_UserByOrgRelation">
-      <wsdl:input message="tns:get_ORGANIZATIONS_UserByOrgRelationSoapIn" />
-      <wsdl:output message="tns:get_ORGANIZATIONS_UserByOrgRelationSoapOut" />
+    <wsdl:operation name="set_SaveEntrustOutBill_New">
+      <wsdl:input message="tns:set_SaveEntrustOutBill_NewSoapIn" />
+      <wsdl:output message="tns:set_SaveEntrustOutBill_NewSoapOut" />
     </wsdl:operation>
     <wsdl:operation name="set_SaveEntrustOutBill_CLD_New">
       <wsdl:input message="tns:set_SaveEntrustOutBill_CLD_NewSoapIn" />
@@ -18694,9 +18712,9 @@
       <wsdl:input message="tns:set_CheckAddEntrustInBillSoapIn" />
       <wsdl:output message="tns:set_CheckAddEntrustInBillSoapOut" />
     </wsdl:operation>
-    <wsdl:operation name="set_CheckEntrustInBill">
-      <wsdl:input message="tns:set_CheckEntrustInBillSoapIn" />
-      <wsdl:output message="tns:set_CheckEntrustInBillSoapOut" />
+    <wsdl:operation name="set_SaveMoveStockStepOutBill_CLD_New">
+      <wsdl:input message="tns:set_SaveMoveStockStepOutBill_CLD_NewSoapIn" />
+      <wsdl:output message="tns:set_SaveMoveStockStepOutBill_CLD_NewSoapOut" />
     </wsdl:operation>
     <wsdl:operation name="set_SaveMoveStockStepInBill_New">
       <wsdl:input message="tns:set_SaveMoveStockStepInBill_NewSoapIn" />
@@ -18893,10 +18911,6 @@
     <wsdl:operation name="GetKf_EntrustOutBill_K3_Source">
       <wsdl:input message="tns:GetKf_EntrustOutBill_K3_SourceSoapIn" />
       <wsdl:output message="tns:GetKf_EntrustOutBill_K3_SourceSoapOut" />
-    </wsdl:operation>
-    <wsdl:operation name="set_SaveEntrustOutBill_New">
-      <wsdl:input message="tns:set_SaveEntrustOutBill_NewSoapIn" />
-      <wsdl:output message="tns:set_SaveEntrustOutBill_NewSoapOut" />
     </wsdl:operation>
     <wsdl:operation name="set_ClearPonderationBillMain_Temp_ChangGui">
       <wsdl:input message="tns:set_ClearPonderationBillMain_Temp_ChangGuiSoapIn" />
@@ -19158,17 +19172,9 @@
       <wsdl:input message="tns:set_SaveMoveStockBill_BillCheckSoapIn" />
       <wsdl:output message="tns:set_SaveMoveStockBill_BillCheckSoapOut" />
     </wsdl:operation>
-    <wsdl:operation name="set_SaveMoveStockBill_CLD_BillCheck">
-      <wsdl:input message="tns:set_SaveMoveStockBill_CLD_BillCheckSoapIn" />
-      <wsdl:output message="tns:set_SaveMoveStockBill_CLD_BillCheckSoapOut" />
-    </wsdl:operation>
     <wsdl:operation name="set_SaveMoveStockStepOutBill_New">
       <wsdl:input message="tns:set_SaveMoveStockStepOutBill_NewSoapIn" />
       <wsdl:output message="tns:set_SaveMoveStockStepOutBill_NewSoapOut" />
-    </wsdl:operation>
-    <wsdl:operation name="set_SaveMoveStockStepOutBill_CLD_New">
-      <wsdl:input message="tns:set_SaveMoveStockStepOutBill_CLD_NewSoapIn" />
-      <wsdl:output message="tns:set_SaveMoveStockStepOutBill_CLD_NewSoapOut" />
     </wsdl:operation>
     <wsdl:operation name="GetSc_ICMOBillList">
       <wsdl:input message="tns:GetSc_ICMOBillListSoapIn" />
@@ -19853,8 +19859,26 @@
   </wsdl:portType>
   <wsdl:binding name="WebService1Soap" type="tns:WebService1Soap">
     <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
+    <wsdl:operation name="get_SourceBarCode_POStockInBack">
+      <soap:operation soapAction="http://tempuri.org/get_SourceBarCode_POStockInBack" style="document" />
+      <wsdl:input>
+        <soap:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
     <wsdl:operation name="get_SourceBarCode_MateOutBack">
       <soap:operation soapAction="http://tempuri.org/get_SourceBarCode_MateOutBack" style="document" />
+      <wsdl:input>
+        <soap:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="get_SourceBarCode_SellOutBack">
+      <soap:operation soapAction="http://tempuri.org/get_SourceBarCode_SellOutBack" style="document" />
       <wsdl:input>
         <soap:body use="literal" />
       </wsdl:input>
@@ -20584,6 +20608,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_ORGANIZATIONS_UserByOrgRelation">
+      <soap:operation soapAction="http://tempuri.org/get_ORGANIZATIONS_UserByOrgRelation" style="document" />
       <wsdl:input>
         <soap:body use="literal" />
       </wsdl:input>
@@ -21338,8 +21371,8 @@
         <soap:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
-    <wsdl:operation name="get_SourceBarCode_POStockInBack">
-      <soap:operation soapAction="http://tempuri.org/get_SourceBarCode_POStockInBack" style="document" />
+    <wsdl:operation name="set_CheckEntrustInBill">
+      <soap:operation soapAction="http://tempuri.org/set_CheckEntrustInBill" style="document" />
       <wsdl:input>
         <soap:body use="literal" />
       </wsdl:input>
@@ -21932,8 +21965,8 @@
         <soap:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
-    <wsdl:operation name="get_ORGANIZATIONS_UserByOrgRelation">
-      <soap:operation soapAction="http://tempuri.org/get_ORGANIZATIONS_UserByOrgRelation" style="document" />
+    <wsdl:operation name="set_SaveEntrustOutBill_New">
+      <soap:operation soapAction="http://tempuri.org/set_SaveEntrustOutBill_New" style="document" />
       <wsdl:input>
         <soap:body use="literal" />
       </wsdl:input>
@@ -22364,8 +22397,8 @@
         <soap:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
-    <wsdl:operation name="set_CheckEntrustInBill">
-      <soap:operation soapAction="http://tempuri.org/set_CheckEntrustInBill" style="document" />
+    <wsdl:operation name="set_SaveMoveStockStepOutBill_CLD_New">
+      <soap:operation soapAction="http://tempuri.org/set_SaveMoveStockStepOutBill_CLD_New" style="document" />
       <wsdl:input>
         <soap:body use="literal" />
       </wsdl:input>
@@ -22807,15 +22840,6 @@
     </wsdl:operation>
     <wsdl:operation name="GetKf_EntrustOutBill_K3_Source">
       <soap:operation soapAction="http://tempuri.org/GetKf_EntrustOutBill_K3_Source" style="document" />
-      <wsdl:input>
-        <soap:body use="literal" />
-      </wsdl:input>
-      <wsdl:output>
-        <soap:body use="literal" />
-      </wsdl:output>
-    </wsdl:operation>
-    <wsdl:operation name="set_SaveEntrustOutBill_New">
-      <soap:operation soapAction="http://tempuri.org/set_SaveEntrustOutBill_New" style="document" />
       <wsdl:input>
         <soap:body use="literal" />
       </wsdl:input>
@@ -23408,26 +23432,8 @@
         <soap:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
-    <wsdl:operation name="set_SaveMoveStockBill_CLD_BillCheck">
-      <soap:operation soapAction="http://tempuri.org/set_SaveMoveStockBill_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_SaveMoveStockStepOutBill_New">
       <soap:operation soapAction="http://tempuri.org/set_SaveMoveStockStepOutBill_New" style="document" />
-      <wsdl:input>
-        <soap:body use="literal" />
-      </wsdl:input>
-      <wsdl:output>
-        <soap:body use="literal" />
-      </wsdl:output>
-    </wsdl:operation>
-    <wsdl:operation name="set_SaveMoveStockStepOutBill_CLD_New">
-      <soap:operation soapAction="http://tempuri.org/set_SaveMoveStockStepOutBill_CLD_New" style="document" />
       <wsdl:input>
         <soap:body use="literal" />
       </wsdl:input>
@@ -24968,8 +24974,26 @@
   </wsdl:binding>
   <wsdl:binding name="WebService1Soap12" type="tns:WebService1Soap">
     <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
+    <wsdl:operation name="get_SourceBarCode_POStockInBack">
+      <soap12:operation soapAction="http://tempuri.org/get_SourceBarCode_POStockInBack" style="document" />
+      <wsdl:input>
+        <soap12:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap12:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
     <wsdl:operation name="get_SourceBarCode_MateOutBack">
       <soap12:operation soapAction="http://tempuri.org/get_SourceBarCode_MateOutBack" style="document" />
+      <wsdl:input>
+        <soap12:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap12:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="get_SourceBarCode_SellOutBack">
+      <soap12:operation soapAction="http://tempuri.org/get_SourceBarCode_SellOutBack" style="document" />
       <wsdl:input>
         <soap12:body use="literal" />
       </wsdl:input>
@@ -25699,6 +25723,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_ORGANIZATIONS_UserByOrgRelation">
+      <soap12:operation soapAction="http://tempuri.org/get_ORGANIZATIONS_UserByOrgRelation" style="document" />
       <wsdl:input>
         <soap12:body use="literal" />
       </wsdl:input>
@@ -26453,8 +26486,8 @@
         <soap12:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
-    <wsdl:operation name="get_SourceBarCode_POStockInBack">
-      <soap12:operation soapAction="http://tempuri.org/get_SourceBarCode_POStockInBack" style="document" />
+    <wsdl:operation name="set_CheckEntrustInBill">
+      <soap12:operation soapAction="http://tempuri.org/set_CheckEntrustInBill" style="document" />
       <wsdl:input>
         <soap12:body use="literal" />
       </wsdl:input>
@@ -27047,8 +27080,8 @@
         <soap12:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
-    <wsdl:operation name="get_ORGANIZATIONS_UserByOrgRelation">
-      <soap12:operation soapAction="http://tempuri.org/get_ORGANIZATIONS_UserByOrgRelation" style="document" />
+    <wsdl:operation name="set_SaveEntrustOutBill_New">
+      <soap12:operation soapAction="http://tempuri.org/set_SaveEntrustOutBill_New" style="document" />
       <wsdl:input>
         <soap12:body use="literal" />
       </wsdl:input>
@@ -27479,8 +27512,8 @@
         <soap12:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
-    <wsdl:operation name="set_CheckEntrustInBill">
-      <soap12:operation soapAction="http://tempuri.org/set_CheckEntrustInBill" style="document" />
+    <wsdl:operation name="set_SaveMoveStockStepOutBill_CLD_New">
+      <soap12:operation soapAction="http://tempuri.org/set_SaveMoveStockStepOutBill_CLD_New" style="document" />
       <wsdl:input>
         <soap12:body use="literal" />
       </wsdl:input>
@@ -27922,15 +27955,6 @@
     </wsdl:operation>
     <wsdl:operation name="GetKf_EntrustOutBill_K3_Source">
       <soap12:operation soapAction="http://tempuri.org/GetKf_EntrustOutBill_K3_Source" style="document" />
-      <wsdl:input>
-        <soap12:body use="literal" />
-      </wsdl:input>
-      <wsdl:output>
-        <soap12:body use="literal" />
-      </wsdl:output>
-    </wsdl:operation>
-    <wsdl:operation name="set_SaveEntrustOutBill_New">
-      <soap12:operation soapAction="http://tempuri.org/set_SaveEntrustOutBill_New" style="document" />
       <wsdl:input>
         <soap12:body use="literal" />
       </wsdl:input>
@@ -28523,26 +28547,8 @@
         <soap12:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
-    <wsdl:operation name="set_SaveMoveStockBill_CLD_BillCheck">
-      <soap12:operation soapAction="http://tempuri.org/set_SaveMoveStockBill_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_SaveMoveStockStepOutBill_New">
       <soap12:operation soapAction="http://tempuri.org/set_SaveMoveStockStepOutBill_New" style="document" />
-      <wsdl:input>
-        <soap12:body use="literal" />
-      </wsdl:input>
-      <wsdl:output>
-        <soap12:body use="literal" />
-      </wsdl:output>
-    </wsdl:operation>
-    <wsdl:operation name="set_SaveMoveStockStepOutBill_CLD_New">
-      <soap12:operation soapAction="http://tempuri.org/set_SaveMoveStockStepOutBill_CLD_New" style="document" />
       <wsdl:input>
         <soap12:body use="literal" />
       </wsdl:input>
diff --git a/WebAPI/Web.config b/WebAPI/Web.config
index 352a956..77d3f96 100644
--- a/WebAPI/Web.config
+++ b/WebAPI/Web.config
@@ -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"/>--><!--鏂帿灏�-->
 		
diff --git a/WebAPI/WebAPI.csproj b/WebAPI/WebAPI.csproj
index 06d7a93..2525845 100644
--- a/WebAPI/WebAPI.csproj
+++ b/WebAPI/WebAPI.csproj
@@ -441,6 +441,7 @@
     <Compile Include="Controllers\CJGL\Sc_KeyElementBindingController.cs" />
     <Compile Include="Controllers\CJGL\Sc_OEEReportController.cs" />
     <Compile Include="Controllers\CKGL\TMZD\Gy_BarCodeBillListController.cs" />
+    <Compile Include="Controllers\JHGL\Gy_SourceMouldBillController.cs" />
     <Compile Include="Controllers\Xt_DefineBillMainSetController.cs" />
     <Compile Include="Controllers\MJGL\Sc_MouldBatchWorkCheckBillController.cs" />
     <Compile Include="Controllers\SBGL\SBBB\Sb_EquipMentCollectionTechParamController.cs" />
diff --git a/WebAPI/WebAPI.csproj.user b/WebAPI/WebAPI.csproj.user
index eaff11a..e361317 100644
--- a/WebAPI/WebAPI.csproj.user
+++ b/WebAPI/WebAPI.csproj.user
@@ -3,8 +3,8 @@
   <PropertyGroup>
     <LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
     <NameOfLastUsedPublishProfile>D:\缃戠珯鍙戝竷\鍚庣浠g爜\MES-WEB-API\MES-WEB-API\WebAPI\Properties\PublishProfiles\FolderProfile2.pubxml</NameOfLastUsedPublishProfile>
-    <LastActiveSolutionConfig>Debug|x86</LastActiveSolutionConfig>
-    <NameOfLastUsedPublishProfile>D:\宸ヤ綔浠g爜\鏅轰簯杩堟�漒MES\MES-WEB-API\WebAPI\Properties\PublishProfiles\JFAPI.pubxml</NameOfLastUsedPublishProfile>
+    <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
+    <NameOfLastUsedPublishProfile>E:\鏅轰簯mes\mes\MES-WEB-API\WebAPI\Properties\PublishProfiles\FolderProfile8.pubxml</NameOfLastUsedPublishProfile>
     <UseIISExpress>true</UseIISExpress>
     <Use64BitIISExpress />
     <IISExpressSSLPort />
diff --git a/sdk_dingding/TopSdk/bin/Debug/TopSdk.dll b/sdk_dingding/TopSdk/bin/Debug/TopSdk.dll
index f879eab..5ff9fa5 100644
--- a/sdk_dingding/TopSdk/bin/Debug/TopSdk.dll
+++ b/sdk_dingding/TopSdk/bin/Debug/TopSdk.dll
Binary files differ
diff --git a/sdk_dingding/TopSdk/bin/Debug/TopSdk.pdb b/sdk_dingding/TopSdk/bin/Debug/TopSdk.pdb
index 1a02ad9..c3008d6 100644
--- a/sdk_dingding/TopSdk/bin/Debug/TopSdk.pdb
+++ b/sdk_dingding/TopSdk/bin/Debug/TopSdk.pdb
Binary files differ
diff --git a/sdk_dingding/TopSdk/bin/Release/TopSdk.dll b/sdk_dingding/TopSdk/bin/Release/TopSdk.dll
index 18bb960..3b080d6 100644
--- a/sdk_dingding/TopSdk/bin/Release/TopSdk.dll
+++ b/sdk_dingding/TopSdk/bin/Release/TopSdk.dll
Binary files differ
diff --git a/sdk_dingding/TopSdk/bin/Release/TopSdk.pdb b/sdk_dingding/TopSdk/bin/Release/TopSdk.pdb
index 06dc422..a5dace5 100644
--- a/sdk_dingding/TopSdk/bin/Release/TopSdk.pdb
+++ b/sdk_dingding/TopSdk/bin/Release/TopSdk.pdb
Binary files differ
diff --git a/sdk_dingding/TopSdk/obj/Debug/TopSdk.csproj.AssemblyReference.cache b/sdk_dingding/TopSdk/obj/Debug/TopSdk.csproj.AssemblyReference.cache
deleted file mode 100644
index f5e894a..0000000
--- a/sdk_dingding/TopSdk/obj/Debug/TopSdk.csproj.AssemblyReference.cache
+++ /dev/null
Binary files differ
diff --git a/sdk_dingding/TopSdk/obj/Debug/TopSdk.csproj.FileListAbsolute.txt b/sdk_dingding/TopSdk/obj/Debug/TopSdk.csproj.FileListAbsolute.txt
index a2d4543..effe126 100644
--- a/sdk_dingding/TopSdk/obj/Debug/TopSdk.csproj.FileListAbsolute.txt
+++ b/sdk_dingding/TopSdk/obj/Debug/TopSdk.csproj.FileListAbsolute.txt
@@ -10,3 +10,8 @@
 D:\宸ヤ綔浠g爜\鏅轰簯杩堟�漒MES\MES-WEB-API\sdk_dingding\TopSdk\obj\Debug\TopSdk.csproj.CoreCompileInputs.cache
 D:\宸ヤ綔浠g爜\鏅轰簯杩堟�漒MES\MES-WEB-API\sdk_dingding\TopSdk\obj\Debug\TopSdk.dll
 D:\宸ヤ綔浠g爜\鏅轰簯杩堟�漒MES\MES-WEB-API\sdk_dingding\TopSdk\obj\Debug\TopSdk.pdb
+E:\鏅轰簯mes\mes\MES-WEB-API\sdk_dingding\TopSdk\bin\Debug\TopSdk.dll
+E:\鏅轰簯mes\mes\MES-WEB-API\sdk_dingding\TopSdk\bin\Debug\TopSdk.pdb
+E:\鏅轰簯mes\mes\MES-WEB-API\sdk_dingding\TopSdk\obj\Debug\TopSdk.csproj.CoreCompileInputs.cache
+E:\鏅轰簯mes\mes\MES-WEB-API\sdk_dingding\TopSdk\obj\Debug\TopSdk.dll
+E:\鏅轰簯mes\mes\MES-WEB-API\sdk_dingding\TopSdk\obj\Debug\TopSdk.pdb
diff --git a/sdk_dingding/TopSdk/obj/Debug/TopSdk.dll b/sdk_dingding/TopSdk/obj/Debug/TopSdk.dll
index f879eab..5ff9fa5 100644
--- a/sdk_dingding/TopSdk/obj/Debug/TopSdk.dll
+++ b/sdk_dingding/TopSdk/obj/Debug/TopSdk.dll
Binary files differ
diff --git a/sdk_dingding/TopSdk/obj/Debug/TopSdk.pdb b/sdk_dingding/TopSdk/obj/Debug/TopSdk.pdb
index 1a02ad9..c3008d6 100644
--- a/sdk_dingding/TopSdk/obj/Debug/TopSdk.pdb
+++ b/sdk_dingding/TopSdk/obj/Debug/TopSdk.pdb
Binary files differ
diff --git a/sdk_dingding/TopSdk/obj/Release/TopSdk.csproj.AssemblyReference.cache b/sdk_dingding/TopSdk/obj/Release/TopSdk.csproj.AssemblyReference.cache
index 2eafeb3..f5e894a 100644
--- a/sdk_dingding/TopSdk/obj/Release/TopSdk.csproj.AssemblyReference.cache
+++ b/sdk_dingding/TopSdk/obj/Release/TopSdk.csproj.AssemblyReference.cache
Binary files differ
diff --git a/sdk_dingding/TopSdk/obj/Release/TopSdk.csproj.CoreCompileInputs.cache b/sdk_dingding/TopSdk/obj/Release/TopSdk.csproj.CoreCompileInputs.cache
new file mode 100644
index 0000000..0312216
--- /dev/null
+++ b/sdk_dingding/TopSdk/obj/Release/TopSdk.csproj.CoreCompileInputs.cache
@@ -0,0 +1 @@
+eb64bc61f5da8fdd8ad56e04c391e3a377d8ca59
diff --git a/sdk_dingding/TopSdk/obj/Release/TopSdk.csproj.FileListAbsolute.txt b/sdk_dingding/TopSdk/obj/Release/TopSdk.csproj.FileListAbsolute.txt
new file mode 100644
index 0000000..6d87007
--- /dev/null
+++ b/sdk_dingding/TopSdk/obj/Release/TopSdk.csproj.FileListAbsolute.txt
@@ -0,0 +1,6 @@
+E:\鏅轰簯mes\mes\MES-WEB-API\sdk_dingding\TopSdk\bin\Release\TopSdk.dll
+E:\鏅轰簯mes\mes\MES-WEB-API\sdk_dingding\TopSdk\bin\Release\TopSdk.pdb
+E:\鏅轰簯mes\mes\MES-WEB-API\sdk_dingding\TopSdk\obj\Release\TopSdk.csproj.AssemblyReference.cache
+E:\鏅轰簯mes\mes\MES-WEB-API\sdk_dingding\TopSdk\obj\Release\TopSdk.csproj.CoreCompileInputs.cache
+E:\鏅轰簯mes\mes\MES-WEB-API\sdk_dingding\TopSdk\obj\Release\TopSdk.dll
+E:\鏅轰簯mes\mes\MES-WEB-API\sdk_dingding\TopSdk\obj\Release\TopSdk.pdb
diff --git a/sdk_dingding/TopSdk/obj/Release/TopSdk.dll b/sdk_dingding/TopSdk/obj/Release/TopSdk.dll
new file mode 100644
index 0000000..3b080d6
--- /dev/null
+++ b/sdk_dingding/TopSdk/obj/Release/TopSdk.dll
Binary files differ
diff --git a/sdk_dingding/TopSdk/obj/Release/TopSdk.pdb b/sdk_dingding/TopSdk/obj/Release/TopSdk.pdb
new file mode 100644
index 0000000..a5dace5
--- /dev/null
+++ b/sdk_dingding/TopSdk/obj/Release/TopSdk.pdb
Binary files differ

--
Gitblit v1.9.1