From 22eec752e72650a42c7208397fefdcb0e61a749d Mon Sep 17 00:00:00 2001
From: zzr99 <1940172413@qq.com>
Date: 星期二, 19 四月 2022 10:34:27 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API

---
 LMES/bin/x86/Debug.zip                                         |    0 
 WebAPI/Models/JIT_NeedMaterPlanConfigBillSub.cs                |   26 
 WebAPI/Web References/WebS/WebService1.wsdl                    | 1586 ++++++++----
 WarM/条码打印/Sc_ICMOToBarCode.cs                                  |  142 
 WarM/条码打印/Sc_ICMOToBarCode.designer.cs                         |   39 
 WorkM/流转卡管理/MES_StationOutBill.cs                              |   29 
 WebAPI/Controllers/ProductInController.cs                      |  260 ++
 WebAPI/Models/Cg_PODemandPlanConfigBillSub.cs                  |   26 
 WebAPI/Web References/WebS/Reference.cs                        | 4343 ++++++++++++++++++++---------------
 DAL/基础资料/公用基础资料/ClsGy_Source_View.cs                           |   82 
 WebAPI/Controllers/SCGL/Sc_JIT_ComplementGoodBillController.cs |  703 +++++
 WebAPI/Models/Gy_WorkWarehouseBillMainSub.cs                   |   16 
 WebAPI/WebAPI.csproj                                           |    5 
 13 files changed, 4,751 insertions(+), 2,506 deletions(-)

diff --git "a/DAL/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/ClsGy_Source_View.cs" "b/DAL/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/ClsGy_Source_View.cs"
index 46a6ac1..9171336 100644
--- "a/DAL/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/ClsGy_Source_View.cs"
+++ "b/DAL/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/ClsGy_Source_View.cs"
@@ -31,19 +31,75 @@
             GC.SuppressFinalize(this);
         }
         //
-         
+
         //杩斿洖椤圭洰淇℃伅
         public override bool GetInfoByID(Int64 sItemID)
         {
-            DataSet DS ;
+            DataSet DS;
             try
             {
                 DS = oCn.RunProcReturn("Select * from " + MvarItemKey + " Where HItemID='" + sItemID + "'", MvarItemKey, ref DBUtility.ClsPub.sExeReturnInfo);
-                if (DS.Tables[0].Rows.Count  == 0)
+                if (DS.Tables[0].Rows.Count == 0)
                     return false;
                 else
                 {
                     return GetInfo(DS);
+                }
+            }
+            catch (Exception e)
+            {
+                throw (e);
+            }
+        }
+
+
+        //杩斿洖椤圭洰淇℃伅    濂ラ偊涓撶敤
+        public bool GetInfoByID_AoBang(Int64 sItemID)
+        {
+            DataSet DS;
+            try
+            {
+                Pub_Control.frmHlpInfo_View ofrm = new Pub_Control.frmHlpInfo_View();
+                ofrm.sTitle = MvarReportTitle;
+                ofrm.sBill = MvarItemKey;
+                ofrm.txtFindInfo.Text = WherePart;
+                DS = oCn.RunProcReturn("select  distinct HItemID,b.HNumber ,b.HName from Sc_ICMOBillStatus_Tmp a inner join  Gy_Source b on a.HSourceID = b.HItemID Where a.HEMPID =" + sItemID + " or a.HEMPID2 = " + sItemID + " or HEMPID3 =  " + sItemID + "", MvarItemKey, ref DBUtility.ClsPub.sExeReturnInfo);
+                if (DS.Tables[0].Rows.Count == 0)
+                    return false;
+                else
+                {
+                    //缁戝畾
+                    ofrm.grdShow.DataSource = DS.Tables[0].DefaultView;
+                    DS.Dispose();
+                    DS = null;
+                    ofrm.grdShow.SuspendLayout();
+                    ofrm.grdShow.Columns[0].Visible = false;
+                    ofrm.ShowDialog();
+                    //寰楀埌瀵瑰簲鍒� 
+                    int HItemIDCol = 0;
+                    int HNumberCol = 1;
+                    int HNameCol = 2;
+                    //
+                    if (ofrm.OKTag == Pub_Class.ClsPub.Enum_OKTag.OKTag_OK)
+                    {
+                        if (ofrm.grdShow.CurrentRow == null)
+                        {
+                            return false;
+                        }
+                        oModel = new DBUtility.ClsGy_Base_Model();
+                        oModel.HItemID = Pub_Class.ClsPub.isLong(ofrm.grdShow.Rows[ofrm.grdShow.CurrentRow.Index].Cells[0].Value);
+                        oModel.HNumber = Pub_Class.ClsPub.isStrNull(ofrm.grdShow.Rows[ofrm.grdShow.CurrentRow.Index].Cells[1].Value);
+                        oModel.HName = Pub_Class.ClsPub.isStrNull(ofrm.grdShow.Rows[ofrm.grdShow.CurrentRow.Index].Cells[2].Value);
+                    }
+                    else
+                    {
+                        return false;
+                    }
+                    //
+                    ofrm.Dispose();
+                    ofrm = null;
+                    //
+                    return true;
                 }
             }
             catch (Exception e)
@@ -117,6 +173,7 @@
                 omodel.HBarCode = DS.Tables[0].Rows[0]["HBarCodeForBase"].ToString().Trim();
                 omodel.HType = DS.Tables[0].Rows[0]["HType"].ToString().Trim();
                 omodel.HEquipFileID_K3 = Convert.ToInt64(DS.Tables[0].Rows[0]["HEquipFileID_K3"]);
+
                 //omodel.HGroupK3ID = Convert.ToInt64(DS.Tables[0].Rows[0]["HGroupK3ID"]);
                 //omodel.HGroupID = Convert.ToInt64(DS.Tables[0].Rows[0]["HGroupID"]);
                 //omodel.HDeptID = Convert.ToInt64(DS.Tables[0].Rows[0]["HDeptID"]);
@@ -135,6 +192,25 @@
             }
         }
 
+        //杩斿洖椤圭洰淇℃伅    濂ラ偊涓撶敤
+        public bool GetInfo_AoBang(DataSet DS)
+        {
+            try
+            {
+                omodel = new Model.ClsGy_Source_Model();
+
+                omodel.HItemID = Convert.ToInt64(DS.Tables[0].Rows[0]["HItemID"]);
+                omodel.HNumber = DS.Tables[0].Rows[0]["HNumber"].ToString().Trim();
+                omodel.HName = DS.Tables[0].Rows[0]["HName"].ToString().Trim();
+                return true;
+
+            }
+            catch (Exception e)
+            {
+                throw (e);
+            }
+        }
+
 
         /// <summary>
         /// 寰楀埌榛樿璧勬簮鏍规嵁閮ㄩ棬
diff --git a/LMES/bin/x86/Debug.zip b/LMES/bin/x86/Debug.zip
new file mode 100644
index 0000000..17052fa
--- /dev/null
+++ b/LMES/bin/x86/Debug.zip
Binary files differ
diff --git "a/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Sc_ICMOToBarCode.cs" "b/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Sc_ICMOToBarCode.cs"
index 0129631..9411e2a 100644
--- "a/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Sc_ICMOToBarCode.cs"
+++ "b/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Sc_ICMOToBarCode.cs"
@@ -107,6 +107,7 @@
             DSet = SubCn.RunProcReturn("exec h_p_KSTMSC '" + HSeOrderBillNo + "' ,'" + HICMOBillNo + "' , '" + HMaterName + "' , '" + HSourceName + "' ,'" + HEmpName + "' ,'" + HBeginDate + "'", "h_p_KSTMSC", ref DBUtility.ClsPub.sExeReturnInfo);
             //鐢熸垚棣栬鏍囬
             if (DSet == null)
+                //if (DSet == null|| DSet.Tables[0].Rows.Count == 0)
             {
                 MessageBox.Show("娌℃湁杩斿洖浠讳綍缁撴灉,璇峰湪杩囨护妗嗕腑鐐瑰嚮銆愭仮澶嶃�戞寜閽�,灏濊瘯鍐嶆鏌ヨ锛�" + DBUtility.ClsPub.sExeReturnInfo);
                 return;
@@ -118,6 +119,7 @@
                 if (DSet.Tables[0].Rows.Count > 0)
                 {
                     txtHMaterID.Tag = DBUtility.ClsPub.isInt(grdMain.Rows[0].Cells["HInterID"].Value);
+                    txtHMiniQty.Text = DBUtility.ClsPub.isStrNull(grdMain.Rows[0].Cells["鏍囧噯瑁呯"].Value);
                 }
                 else
                 {
@@ -219,6 +221,12 @@
             initGrid();
             cmbHBarCodeType.SelectedIndex = 0;
             dtpHBeginDate.Value = DateTime.Today;
+            string HUserName = "";
+            HUserName = ClsPub.isStrNull(DBUtility.ClsPub.CurUserName);
+            Int64 HUserID = 0;
+            HUserID = ClsPub.isInt(DBUtility.ClsPub.CurUserID);
+            txtHEmpID.Text = HUserName;
+            txtHEmpID.Tag = HUserID;
         }
 
         private void grdMain_DblClick(object sender, EventArgs e)
@@ -495,14 +503,14 @@
         private void Sub_SetReport(string sOpenTmp)
         {
             //鍒ゆ柇琛屾暟
-            for (int i = 0; i < grdList.Rows.Count; i++)
-            {
-                grdList.Rows[i].Cells[0].Value = "";
-            }
-            for (int i = 0; i < grdList.SelectedRows.Count; i++)
-            {
-                grdList.Rows[grdMain.SelectedRows[i].Index].Cells[0].Value = "*";
-            }
+            //for (int i = 0; i < grdList.Rows.Count; i++)
+            //{
+            //    grdList.Rows[i].Cells[0].Value = "";
+            //}
+            //for (int i = 0; i < grdList.SelectedRows.Count; i++)
+            //{
+            //    grdList.Rows[grdMain.SelectedRows[i].Index].Cells[0].Value = "*";
+            //}
             //
             Report = new GridppReport();
             Report.LoadFromFile(DBUtility.ClsPub.AppPath + @"\" + sOpenTmp + ".grf");  //here .
@@ -910,6 +918,11 @@
                         string HWorkLineName = "";
                         string HSeOrderBillNo = "";
                         string HInnerBillNo = "";
+                        Int64 HSourceID = 0;
+                        //姣涢噸
+                        Double HMZQty = 0;
+                        HMZQty = HZXQty * ClsPub.isDoule(grdMain.Rows[j].Cells[Fun_GetCol("鍏嬮噸")].Value)/1000;
+
                         HWei = WeiShu;
                         HBarCode = TM;
                         HBarCodeType = ClsPub.isStrNull(cmbHBarCodeType.Text);
@@ -939,20 +952,21 @@
                         HWorkLineName = "";
                         HSeOrderBillNo = "";
                         HInnerBillNo = sPackBarCode;
-                        oCn.RunProc("insert into Gy_BarCodeBill (HBarCode,HBarCodeType,HMaterID,HUnitID,HQty" +
+                        HSourceID = ClsPub.isInt(txtHSourceID.Tag);
+                        oCn.RunProc("insert into Gy_BarCodeBill (HBarCode,HBarCodeType,HMaterID,HUnitID,HQty,HMaterialMQty" +
                                             ",HBatchNo,HSupID,HGroupID,HMaker,HMakeDate,HPrintQty,HinitQty" +
                                             ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HEndQty " +
                                             ",HBarcodeQtys,HBarcodeNo,HDeptID,HWhID,HSPID,HRemark " +
                                             ",HCusID,HCusType,HEndDate,HWorkLineName,HBarCodeDate " +
-                                            ",HSTOCKORGID,HOWNERID,HSeOrderBillNo,HInterID " +
+                                            ",HSTOCKORGID,HOWNERID,HSeOrderBillNo,HSourceID,HInterID " +
                                             ",HMaterName,HMaterModel,HPinfan,HAuxPropID,HMTONo,HInnerBillNo " +
                                             ") values ("
-                                            + "'" + HBarCode + "','" + HBarCodeType + "'," + HMaterID1.ToString() + "," + HUnitID.ToString() + "," + HQty2.ToString()
+                                            + "'" + HBarCode + "','" + HBarCodeType + "'," + HMaterID1.ToString() + "," + HUnitID.ToString() + "," + HQty2.ToString() + ", " + HMZQty.ToString()
                                             + ",'" + HBatchNo2 + "'," + HSupID.ToString() + "," + HGroupID.ToString() + ",'" + ClsPub.CurUserName + "',getdate()," + HPrintQty.ToString() + "," + HQty2.ToString()
                                             + ", " + HSourceInterID.ToString() + "," + HSourceEntryID.ToString() + ",'" + HSourceBillNo + "','" + HSourceBillType + "','" + HWei + "'"
                                             + ", " + HBarcodeQtys.ToString() + "," + HBarcodeNo.ToString() + "," + HDeptID.ToString() + "," + HWhID.ToString() + "," + HSPID.ToString() + ",'" + HRemark + "'"
                                             + ", " + HCusID.ToString() + ",'" + HCusType + "','" + HEndDate.ToShortDateString() + "','" + HWorkLineName + "','" + HDate + "'"
-                                            + ", " + ClsPub.HOrgID.ToString() + "," + ClsPub.HOrgID.ToString() + ",'" + HSeOrderBillNo + "'," + HInterID.ToString()
+                                            + ", " + ClsPub.HOrgID.ToString() + "," + ClsPub.HOrgID.ToString() + ",'" + HSeOrderBillNo + "'," + HSourceID.ToString() + "," + HInterID.ToString()
                                             + ",'" + HMaterName + "','" + HMaterModel + "','" + HPinfan + "'," + HAuxPropID.ToString() + ",'" + HMTONo + "','" + HInnerBillNo + "')");
 
                         oCn.RunProc("exec h_p_WMS_SetMaxNo '" + HTMNumber + "'");
@@ -968,7 +982,7 @@
 
 
                 sPackBarCode = "";
-                DataSet DSet = oCn.RunProcReturn("select * from h_v_IF_BarCodeBillList Where HinterID=" + HInterID.ToString() + " and 鏉$爜绫诲瀷 = '鎵樼洏鏉$爜' order by HItemID", "h_v_IF_BarCodeBillList", ref DBUtility.ClsPub.sExeReturnInfo);
+                DataSet DSet = oCn.RunProcReturn("select * from h_v_IF_BarCodeBillList_CS Where HInterID=" + HInterID.ToString() + " and 鏉$爜绫诲瀷 = '鎵樼洏鏉$爜'", "h_v_IF_BarCodeBillList_CS", ref DBUtility.ClsPub.sExeReturnInfo);
                 //鐢熸垚棣栬鏍囬
                 if (DSet == null)
                 {
@@ -977,6 +991,7 @@
                 }
                 //
                 grdList.DataSource = DSet.Tables[0].DefaultView;
+                txtHZXQty.Text = "";
                 //鍐荤粨
                 int FrCol = 0;
                 string s = "鏄�";
@@ -995,7 +1010,7 @@
                 //0缁撴潫浜嬪姟
 
                 //
-                Display();
+                //Display();
                
 
             }
@@ -1012,22 +1027,30 @@
         {
             
             //鏍规嵁鏈鏁伴噺 鏉� 鍒嗛厤鍒� 姣忎釜鐢熶骇璁㈠崟涓婏紙鍒嗛厤鏃� 瑕佽�冭檻 璁㈠崟鍓╀綑鏁伴噺宸茬粡鏄� 璐熸暟鐨勬儏鍐碉級
-            //1.鍒ゆ柇鏈鏁伴噺 蹇呴』澶т簬0
+            //濡傛灉鏈夋爣鍑嗚绠辨暟閲� 鍏堥粯璁ゅ彇鏍囧噯瑁呯鏁伴噺  娌℃湁鍐嶅彇鎵嬭緭鐨勬湰绠辨暟閲�
+            //1.鍒ゆ柇鏈鏁伴噺 蹇呴』澶т簬0   
             double HZXQty = 0;//鏁寸鏁伴噺
-            HZXQty = ClsPub.isDoule(txtHZXQty.Text);
+            if (txtHZXQty.Text.Trim() != "")
+            {
+                HZXQty = ClsPub.isDoule(txtHZXQty.Text);
+            }
+            else
+            {
+                HZXQty = ClsPub.isDoule(txtHMiniQty.Text);
+            }
             if (HZXQty <= 0)
             {
                 MessageBox.Show("璇疯緭鍏ユ暣绠辨暟閲忥紒");
                 return;
             }
             //2.鍒锋柊缃戞牸
-            Display();
+            //Display();
             //3.鎶婃暣绠辨暟閲� 鍒嗛厤鍒� 缃戞牸涓嬮潰鐨勬瘡涓�涓� 鐢熶骇璁㈠崟涓婂幓銆�  寰幆缃戞牸
             for(int i =0;i<grdMain.Rows.Count;i++)
             {
-                if(HZXQty>0)
+                if (HZXQty > 0)
                 {
-                    if(HZXQty>DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells["鐢熶骇璁㈠崟鏁伴噺"].Value))
+                    if (HZXQty > DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells["鐢熶骇璁㈠崟鏁伴噺"].Value))
                     {
                         HZXQty = HZXQty - DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells["鐢熶骇璁㈠崟鏁伴噺"].Value);
                         grdMain.Rows[i].Cells["鏈鏁伴噺"].Value = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells["鐢熶骇璁㈠崟鏁伴噺"].Value);
@@ -1701,18 +1724,48 @@
 
         private void cmdHSourceID_Click(object sender, EventArgs e)
         {
+            Int64 HEmpID = 0;
+            HEmpID = ClsPub.isLong(txtHEmpID.Tag);
+            string HEmpName = "";
+            HEmpName = ClsPub.isStrNull(txtHEmpID.Text);
+
             DAL.ClsGy_Source_View oSource = new DAL.ClsGy_Source_View();
-            if (oSource.RefreshView())
+            if (HEmpName != "")
             {
-                this.txtHSourceID.Text = oSource.oModel.HName;
-                this.txtHSourceID.Tag = oSource.oModel.HItemID.ToString();
-                //
-                Display();
+                if (oSource.GetInfoByID(HEmpID))
+                {
+                    this.txtHSourceID.Text = oSource.oModel.HName;
+                    this.txtHSourceID.Tag = oSource.oModel.HItemID.ToString();
+                    //
+                    Display();
+                }
+                else
+                {
+                    this.txtHSourceID.Text = "";
+                }
             }
             else
             {
-                this.txtHSourceID.Text = "";
+
+                if (oSource.RefreshView())
+                {
+                    this.txtHSourceID.Text = oSource.oModel.HName;
+                    this.txtHSourceID.Tag = oSource.oModel.HItemID.ToString();
+                    //
+                    Display();
+                }
+                else
+                {
+                    this.txtHSourceID.Text = "";
+                }
             }
+            //if (oSource.RefreshView())
+            //{
+            //    this.txtHSourceID.Text = oSource.oModel.HName;
+            //    this.txtHSourceID.Tag = oSource.oModel.HItemID.ToString();
+            //    //
+            //    Display();
+            //}
 
             //DAL.ClsGy_WorkCenter_View oWork = new DAL.ClsGy_WorkCenter_View();
             //if (oWork.RefreshView())
@@ -1907,14 +1960,29 @@
             DataSet DSBefore;
             DSBefore =  SubCn.RunProcReturn("exec h_p_PreviousMater "+ HInterID, "h_p_PreviousMater", ref DBUtility.ClsPub.sExeReturnInfo);
             grdMain.DataSource = DSBefore.Tables[0].DefaultView;
-            if (DSBefore.Tables[0].Rows.Count > 0)
+            //if (DSBefore.Tables[0].Rows.Count > 0)
+            //{
+            //    txtHMaterID.Tag = DBUtility.ClsPub.isInt(grdMain.Rows[0].Cells["HInterID"].Value);
+            //}
+            //else
+            //{
+
+            //}
+            if (DSBefore == null || DSBefore.Tables[0].Rows.Count == 0)
+            //if (DSet == null|| DSet.Tables[0].Rows.Count == 0)
             {
-                txtHMaterID.Tag = DBUtility.ClsPub.isInt(grdMain.Rows[0].Cells["HInterID"].Value);
+                MessageBox.Show("娌℃湁涓婁竴涓墿鏂�,濡傛灉闇�瑕佽鎵炬満淇紒" + DBUtility.ClsPub.sExeReturnInfo);
+                return;
             }
             else
             {
-
+                grdMain.DataSource = DSBefore.Tables[0].DefaultView;
+                txtHMaterID.Tag = DBUtility.ClsPub.isInt(grdMain.Rows[0].Cells["HInterID"].Value);
+                txtHMiniQty.Text = DBUtility.ClsPub.isStrNull(grdMain.Rows[0].Cells["鏍囧噯瑁呯"].Value);
             }
+
+
+
         }
 
         private void button3_Click(object sender, EventArgs e)
@@ -1925,9 +1993,19 @@
             HInterID = DBUtility.ClsPub.isInt(txtHMaterID.Tag);
             DataSet DSBefore;
             DSBefore = SubCn.RunProcReturn("exec h_p_NextMater " + HInterID, "h_p_NextMater", ref DBUtility.ClsPub.sExeReturnInfo);
-            grdMain.DataSource = DSBefore.Tables[0].DefaultView;
-            txtHMaterID.Tag = DBUtility.ClsPub.isInt(grdMain.Rows[0].Cells["HInterID"].Value);
-            txtHMaterID.Text = DBUtility.ClsPub.isStrNull(grdMain.Rows[0].Cells["HInterID"].Value);
+            if (DSBefore == null || DSBefore.Tables[0].Rows.Count == 0)
+            //if (DSet == null|| DSet.Tables[0].Rows.Count == 0)
+            {
+                MessageBox.Show("娌℃湁涓嬩竴涓墿鏂�,濡傛灉闇�瑕佽鎵炬満淇紒" + DBUtility.ClsPub.sExeReturnInfo);
+                return;
+            }
+            else
+            {
+                grdMain.DataSource = DSBefore.Tables[0].DefaultView;
+                txtHMaterID.Tag = DBUtility.ClsPub.isInt(grdMain.Rows[0].Cells["HInterID"].Value);
+                txtHMiniQty.Text = DBUtility.ClsPub.isStrNull(grdMain.Rows[0].Cells["鏍囧噯瑁呯"].Value);
+            }
+            //txtHMaterID.Text = DBUtility.ClsPub.isStrNull(grdMain.Rows[0].Cells["HInterID"].Value);
         }
 
         //瓒呴鎵撳嵃
@@ -1943,7 +2021,7 @@
                 return;
             }
             //2.鍒锋柊缃戞牸
-            Display();
+            //Display();
             //3.寰幆缃戞牸锛岀疮璁″叏閮ㄥ墿浣欐暟閲忥紝鍒ゆ柇鏄惁 鍓╀綑鏁伴噺 灏忎簬 鏈鏁伴噺锛涘鏋� 澶т簬鍒欐姤閿� 閫�鍑恒��
             double sumLeftQty = 0;
             for (int i = 0; i < grdMain.Rows.Count; i++)
diff --git "a/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Sc_ICMOToBarCode.designer.cs" "b/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Sc_ICMOToBarCode.designer.cs"
index dca0cd7..8970d29 100644
--- "a/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Sc_ICMOToBarCode.designer.cs"
+++ "b/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Sc_ICMOToBarCode.designer.cs"
@@ -119,7 +119,7 @@
             this.Tool.Location = new System.Drawing.Point(0, 0);
             this.Tool.Name = "Tool";
             this.Tool.Padding = new System.Windows.Forms.Padding(0);
-            this.Tool.Size = new System.Drawing.Size(1172, 50);
+            this.Tool.Size = new System.Drawing.Size(1069, 50);
             this.Tool.Stretch = true;
             this.Tool.TabIndex = 16;
             this.Tool.Text = "toolStrip1";
@@ -224,7 +224,7 @@
             this.grdMain.ReadOnly = true;
             this.grdMain.RowHeadersWidth = 51;
             this.grdMain.RowTemplate.Height = 23;
-            this.grdMain.Size = new System.Drawing.Size(866, 263);
+            this.grdMain.Size = new System.Drawing.Size(867, 263);
             this.grdMain.TabIndex = 19;
             this.grdMain.Paint += new System.Windows.Forms.PaintEventHandler(this.grdMain_Paint);
             this.grdMain.DoubleClick += new System.EventHandler(this.grdMain_DblClick);
@@ -420,7 +420,7 @@
             // 
             this.cmdHSaveBill.BackColor = System.Drawing.Color.White;
             this.cmdHSaveBill.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.cmdHSaveBill.Location = new System.Drawing.Point(862, 68);
+            this.cmdHSaveBill.Location = new System.Drawing.Point(821, 68);
             this.cmdHSaveBill.Margin = new System.Windows.Forms.Padding(2);
             this.cmdHSaveBill.Name = "cmdHSaveBill";
             this.cmdHSaveBill.Size = new System.Drawing.Size(112, 50);
@@ -454,7 +454,7 @@
             // 
             this.button4.BackColor = System.Drawing.Color.White;
             this.button4.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.button4.Location = new System.Drawing.Point(1036, 189);
+            this.button4.Location = new System.Drawing.Point(932, 189);
             this.button4.Margin = new System.Windows.Forms.Padding(2);
             this.button4.Name = "button4";
             this.button4.Size = new System.Drawing.Size(112, 50);
@@ -467,7 +467,7 @@
             // 
             this.button5.BackColor = System.Drawing.Color.White;
             this.button5.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.button5.Location = new System.Drawing.Point(1036, 247);
+            this.button5.Location = new System.Drawing.Point(932, 247);
             this.button5.Margin = new System.Windows.Forms.Padding(2);
             this.button5.Name = "button5";
             this.button5.Size = new System.Drawing.Size(112, 42);
@@ -480,7 +480,7 @@
             // 
             this.button6.BackColor = System.Drawing.Color.White;
             this.button6.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.button6.Location = new System.Drawing.Point(1036, 296);
+            this.button6.Location = new System.Drawing.Point(932, 296);
             this.button6.Margin = new System.Windows.Forms.Padding(2);
             this.button6.Name = "button6";
             this.button6.Size = new System.Drawing.Size(112, 44);
@@ -491,7 +491,7 @@
             // 
             // txtHMiniQty
             // 
-            this.txtHMiniQty.Location = new System.Drawing.Point(898, 296);
+            this.txtHMiniQty.Location = new System.Drawing.Point(794, 296);
             this.txtHMiniQty.Multiline = true;
             this.txtHMiniQty.Name = "txtHMiniQty";
             this.txtHMiniQty.ReadOnly = true;
@@ -503,7 +503,7 @@
             // 
             this.鏍囧噯瑁呯.AutoSize = true;
             this.鏍囧噯瑁呯.Font = new System.Drawing.Font("瀹嬩綋", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.鏍囧噯瑁呯.Location = new System.Drawing.Point(894, 265);
+            this.鏍囧噯瑁呯.Location = new System.Drawing.Point(790, 265);
             this.鏍囧噯瑁呯.Name = "鏍囧噯瑁呯";
             this.鏍囧噯瑁呯.Size = new System.Drawing.Size(120, 27);
             this.鏍囧噯瑁呯.TabIndex = 142;
@@ -513,7 +513,7 @@
             // 
             this.label7.AutoSize = true;
             this.label7.Font = new System.Drawing.Font("瀹嬩綋", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label7.Location = new System.Drawing.Point(883, 349);
+            this.label7.Location = new System.Drawing.Point(779, 349);
             this.label7.Name = "label7";
             this.label7.Size = new System.Drawing.Size(174, 27);
             this.label7.TabIndex = 144;
@@ -522,7 +522,7 @@
             // 
             // txtHBQty
             // 
-            this.txtHBQty.Location = new System.Drawing.Point(901, 380);
+            this.txtHBQty.Location = new System.Drawing.Point(797, 380);
             this.txtHBQty.Multiline = true;
             this.txtHBQty.Name = "txtHBQty";
             this.txtHBQty.Size = new System.Drawing.Size(112, 42);
@@ -545,7 +545,7 @@
             this.groupBox1.Controls.Add(this.cmdHMaterID1);
             this.groupBox1.Location = new System.Drawing.Point(10, 485);
             this.groupBox1.Name = "groupBox1";
-            this.groupBox1.Size = new System.Drawing.Size(1148, 126);
+            this.groupBox1.Size = new System.Drawing.Size(1034, 126);
             this.groupBox1.TabIndex = 140;
             this.groupBox1.TabStop = false;
             // 
@@ -687,7 +687,7 @@
             // 
             this.鏁寸鏁伴噺.AutoSize = true;
             this.鏁寸鏁伴噺.Font = new System.Drawing.Font("瀹嬩綋", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.鏁寸鏁伴噺.Location = new System.Drawing.Point(900, 190);
+            this.鏁寸鏁伴噺.Location = new System.Drawing.Point(796, 190);
             this.鏁寸鏁伴噺.Name = "鏁寸鏁伴噺";
             this.鏁寸鏁伴噺.Size = new System.Drawing.Size(120, 27);
             this.鏁寸鏁伴噺.TabIndex = 148;
@@ -695,7 +695,7 @@
             // 
             // txtHZXQty
             // 
-            this.txtHZXQty.Location = new System.Drawing.Point(900, 221);
+            this.txtHZXQty.Location = new System.Drawing.Point(796, 221);
             this.txtHZXQty.Multiline = true;
             this.txtHZXQty.Name = "txtHZXQty";
             this.txtHZXQty.Size = new System.Drawing.Size(112, 42);
@@ -708,7 +708,7 @@
             this.tabControl1.Location = new System.Drawing.Point(9, 181);
             this.tabControl1.Name = "tabControl1";
             this.tabControl1.SelectedIndex = 0;
-            this.tabControl1.Size = new System.Drawing.Size(879, 298);
+            this.tabControl1.Size = new System.Drawing.Size(759, 298);
             this.tabControl1.TabIndex = 149;
             // 
             // tabPage1
@@ -717,7 +717,7 @@
             this.tabPage1.Location = new System.Drawing.Point(4, 22);
             this.tabPage1.Name = "tabPage1";
             this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
-            this.tabPage1.Size = new System.Drawing.Size(871, 272);
+            this.tabPage1.Size = new System.Drawing.Size(751, 272);
             this.tabPage1.TabIndex = 0;
             this.tabPage1.Text = "鐗╂枡淇℃伅";
             this.tabPage1.UseVisualStyleBackColor = true;
@@ -752,7 +752,7 @@
             // 
             this.button2.BackColor = System.Drawing.Color.White;
             this.button2.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.button2.Location = new System.Drawing.Point(900, 436);
+            this.button2.Location = new System.Drawing.Point(796, 436);
             this.button2.Margin = new System.Windows.Forms.Padding(2);
             this.button2.Name = "button2";
             this.button2.Size = new System.Drawing.Size(112, 44);
@@ -765,7 +765,7 @@
             // 
             this.button3.BackColor = System.Drawing.Color.White;
             this.button3.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.button3.Location = new System.Drawing.Point(1036, 378);
+            this.button3.Location = new System.Drawing.Point(932, 378);
             this.button3.Margin = new System.Windows.Forms.Padding(2);
             this.button3.Name = "button3";
             this.button3.Size = new System.Drawing.Size(112, 44);
@@ -778,7 +778,7 @@
             // 
             this.button7.BackColor = System.Drawing.Color.White;
             this.button7.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.button7.Location = new System.Drawing.Point(1036, 436);
+            this.button7.Location = new System.Drawing.Point(932, 436);
             this.button7.Margin = new System.Windows.Forms.Padding(2);
             this.button7.Name = "button7";
             this.button7.Size = new System.Drawing.Size(112, 44);
@@ -791,8 +791,9 @@
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.AutoSize = true;
             this.BackColor = System.Drawing.SystemColors.ActiveCaption;
-            this.ClientSize = new System.Drawing.Size(1172, 844);
+            this.ClientSize = new System.Drawing.Size(1069, 844);
             this.Controls.Add(this.button7);
             this.Controls.Add(this.button3);
             this.Controls.Add(this.button2);
diff --git a/WebAPI/Controllers/ProductInController.cs b/WebAPI/Controllers/ProductInController.cs
index ffcbd25..50c2e05 100644
--- a/WebAPI/Controllers/ProductInController.cs
+++ b/WebAPI/Controllers/ProductInController.cs
@@ -125,6 +125,75 @@
                 return objJsonResult;
             }
         }
+
+
+        /// <summary>
+        /// 鍏朵粬鍑哄簱鏍¢獙鎵弿鍗曟嵁鍙�/鐩存帴璋冪敤webservice
+        /// </summary>
+        /// <returns></returns>
+        //[Route("OtherOutBill_Check_New/BillNo")]
+        [Route("ProductIn/BillNo")]
+        [HttpGet]
+        public Object BillNo(string HBillNo, string HBillType, string HMaker, Int64 HOwnerID)
+        {
+            //if (sRedBlue == true)
+            //{
+            //    HBillType = "1245";
+            //}
+            //oBar = webserver.get_CheckTypeByBarCode(sCode, sInterID, sBillType, sBillNo, sMaker, WhID, SPID, sQty, sRedBlue, SourceFlag, sSourceBillNo, sSourceType, HOWNERID, ref DBUtility.ClsPub.sErrInfo);
+            WebS.WebService1 oWebs = new WebS.WebService1();
+            WebS.ClsKf_ICStockBill_WMS WebSoBar = new WebS.ClsKf_ICStockBill_WMS();
+            string sExpressNumber = "";
+            //WebSoBar = oWebs.get_CheckTypeByBarCode_All(sCode, sInterID, HBillType, sBillNo, sMaker, WhID, SPID, sQty, sRedBlue, SourceFlag, sSourceBillNo, sSourceType, HOWNERID, sExpressNumber, ref DBUtility.ClsPub.sErrInfo);
+            WebSoBar = oWebs.get_BillBarCode_OtherOutCheck(HBillNo, HBillType, HMaker, HOwnerID, 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 = DBUtility.ClsPub.sErrInfo;
+                objJsonResult.data = WebSoBar;
+                return objJsonResult;
+            }
+        }
+
+        /// <summary>
+        /// 鍏朵粬鍑哄簱鏍¢獙鎵弿鏉$爜/鐩存帴璋冪敤webservice
+        /// </summary>
+        /// <returns></returns>
+        [Route("OtherOutBill_Check_New/get_InfoByBarCode_Source_Json")]
+        [HttpGet]
+        public Object get_InfoByBarCode_Source_Json(string sCode, Int64 sInterID, string HBillType,string sBillNo, string sMaker, Int64 WhID, Int64 SPID, Int64 sQty, Int64 HOWNERID)
+        {
+            WebS.WebService1 oWebs = new WebS.WebService1();
+            WebS.ClsKf_ICStockBill_WMS WebSoBar = new WebS.ClsKf_ICStockBill_WMS();
+            string sExpressNumber = "";
+            //WebSoBar = oWebs.get_CheckTypeByBarCode_All(sCode, sInterID, HBillType, sBillNo, sMaker, WhID, SPID, sQty, sRedBlue, SourceFlag, sSourceBillNo, sSourceType, HOWNERID, sExpressNumber, ref DBUtility.ClsPub.sErrInfo);
+            WebSoBar = oWebs.get_CheckTypeByBarCode_BillCheck(sCode, sInterID, HBillType, sBillNo, sMaker,  WhID,  SPID,  sQty,  HOWNERID, 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 = DBUtility.ClsPub.sErrInfo;
+                objJsonResult.data = WebSoBar;
+                return objJsonResult;
+            }
+        }
         /// <summary>
         /// 涓�閿壂鐮�(绾㈠瓧)
         /// </summary>
@@ -182,6 +251,135 @@
                     objJsonResult.count = 1;
                     objJsonResult.Message = "鑾峰彇淇℃伅鎴愬姛锛�";
                     objJsonResult.data = ds.Tables[0];
+                    return objJsonResult;
+                }
+            }
+            catch (Exception e)
+            {
+
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = "娌℃湁杩斿洖浠讳綍璁板綍锛�" + e.ToString();
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+        }
+
+
+        /// <summary>
+        /// 鍏朵粬鍑哄簱鏍¢獙杩斿洖缃戞牸淇℃伅
+        /// </summary>
+        /// <returns></returns>
+        [Route("OtherOutBill_Check_New/DisBillEntryList_Webs_Json1")]
+        [HttpGet]
+        public object DisBillEntryList_Webs_Json1(long HBillID, string HBillType, string sWhere)
+        {
+            try
+            {
+                WebS.WebService1 oWebs = new WebS.WebService1();
+                ds = oWebs.GetKf_PonderationBillMain_Temp_BillCheck(HBillID, HBillType, sWhere);
+                if (ds == null || ds.Tables[0].Rows.Count <= 0)
+                {
+
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "娌℃湁杩斿洖浠讳綍璁板綍锛�";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                    //DBUtility.ClsPub.MessageBeep((int)DBUtility.ClsPub.BeepType.Warning);
+                }
+                else
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 1;
+                    objJsonResult.Message = "鑾峰彇淇℃伅鎴愬姛锛�";
+                    objJsonResult.data = ds.Tables[0];
+                    return objJsonResult;
+                }
+            }
+            catch (Exception e)
+            {
+
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = "娌℃湁杩斿洖浠讳綍璁板綍锛�" + e.ToString();
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+        }
+
+        /// <summary>
+        /// 鍏朵粬鍑哄簱鏍¢獙缂撳瓨鍒楄〃杩斿洖缃戞牸淇℃伅
+        /// </summary>
+        /// <returns></returns>
+        [Route("OtherOutBill_Check_New/DisPonderationBillMain_TempList_BillCheck")]
+        [HttpGet]
+        public object DisPonderationBillMain_TempList_BillCheck(string HBillType, string sHMaker, Int64 HOrgID)
+        {
+            try
+            {
+                WebS.WebService1 oWebs = new WebS.WebService1();
+                ds = oWebs.GetKf_PonderationBillMain_TempList_BillCheck(HBillType, sHMaker, HOrgID);
+                if (ds == null || ds.Tables[0].Rows.Count <= 0)
+                {
+
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "娌℃湁杩斿洖浠讳綍璁板綍锛�";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                    //DBUtility.ClsPub.MessageBeep((int)DBUtility.ClsPub.BeepType.Warning);
+                }
+                else
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 1;
+                    objJsonResult.Message = "鑾峰彇淇℃伅鎴愬姛锛�";
+                    objJsonResult.data = ds.Tables[0];
+                    return objJsonResult;
+                }
+            }
+            catch (Exception e)
+            {
+
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = "娌℃湁杩斿洖浠讳綍璁板綍锛�" + e.ToString();
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+        }
+
+
+        /// <summary>
+        /// 鍏朵粬鍑哄簱鏍¢獙缂撳瓨鍒楄〃缂栬緫杩斿洖淇℃伅
+        /// </summary>
+        /// <returns></returns>
+        [Route("OtherOutBill_Check_New/bj")]
+        [HttpGet]
+        public object bj(string HBillNo, string HBillType)
+        {
+            try
+            {
+                WebS.ClsKf_ICStockBill_WMS WebSoBar = new WebS.ClsKf_ICStockBill_WMS();
+                WebS.WebService1 oWebs = new WebS.WebService1();
+                WebSoBar = oWebs.GetSourceBillList_BillCheck(HBillNo, HBillType, ref DBUtility.ClsPub.sErrInfo);
+                if (WebSoBar == null)
+                {
+
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "娌℃湁杩斿洖浠讳綍璁板綍锛�";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                    //DBUtility.ClsPub.MessageBeep((int)DBUtility.ClsPub.BeepType.Warning);
+                }
+                else
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 1;
+                    objJsonResult.Message = "鑾峰彇淇℃伅鎴愬姛锛�";
+                    objJsonResult.data = WebSoBar;
                     return objJsonResult;
                 }
             }
@@ -760,6 +958,68 @@
             }
         }
 
+        /// <summary>
+        /// 鍏朵粬鍑哄簱鏍¢獙
+        /// </summary>
+        /// <returns></returns>
+        [Route("OtherOutBill_Check_New/set_SaveOtherOutBill_Check_New_Json")]
+        [HttpPost]
+        public object set_SaveOtherOutBill_Check_New_Json([FromBody] JObject oMain)
+        {
+            var _value = oMain["oMain"].ToString();
+            string msg1 = _value.ToString();
+            //List<Model.ClsKf_ProductInBillMain> lsmain = new List<Model.ClsKf_ProductInBillMain>();
+            //ListModels oListModels = new ListModels();
+            //lsmain = oListModels.getProductInBillMainByJson(msg1);
+            //lsmain[0].HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year);
+            //lsmain[0].HDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd"));
+            //string sSourceBillType = lsmain[0].HBillType;
+            //BLL.ClsKf_ProductInBill bll = new BLL.ClsKf_ProductInBill();
+            //return bll.set_SaveProductInBill_New(lsmain[0], sSourceBillType, ref DBUtility.ClsPub.sErrInfo);
+
+            try
+            {
+                List<Model.ClsKf_OtherOutBillMain> lsmain = new List<Model.ClsKf_OtherOutBillMain>();
+                ListModels oListModels = new ListModels();
+                lsmain = oListModels.getOtherOutBillMainByJson(msg1);
+                //lsmain[0].HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year);
+                //lsmain[0].HDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd"));
+                //string sSourceBillType = lsmain[0].HBillType;
+
+                WebAPI.WebS.ClsKf_OtherOutBillMain websLsmain = new WebS.ClsKf_OtherOutBillMain();
+
+                websLsmain.HInterID = lsmain[0].HInterID;
+                websLsmain.HBillNo = lsmain[0].HBillNo;
+                websLsmain.HBillType = "1206";
+
+                WebS.WebService1 oWebs = new WebS.WebService1();
+                if (oWebs.set_SaveOtherOutBill_BillCheck(websLsmain, ref DBUtility.ClsPub.sErrInfo))
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 1;
+                    objJsonResult.Message = "鍏朵粬鍑哄簱鍗曟牎楠屾垚鍔燂紒鍗曟嵁鍙蜂负锛�";
+                    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;
+            }
+        }
+
         [Route("ProductIn/Delete_Json_AN")]
         [HttpGet]
         public object Delete_Json_AN(long HInterID, long HMaterID, long HAuxPropID, string HMTONo, long HSourceInterID, long HSourceEntryID, string sHBillType)
diff --git a/WebAPI/Controllers/SCGL/Sc_JIT_ComplementGoodBillController.cs b/WebAPI/Controllers/SCGL/Sc_JIT_ComplementGoodBillController.cs
new file mode 100644
index 0000000..3a9d87e
--- /dev/null
+++ b/WebAPI/Controllers/SCGL/Sc_JIT_ComplementGoodBillController.cs
@@ -0,0 +1,703 @@
+锘縰sing DBUtility;
+using Newtonsoft.Json.Linq;
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Linq;
+using System.Web;
+using System.Web.Http;
+using WebAPI.Models;
+
+namespace WebAPI.Controllers.SCGL
+{
+    public class Sc_JIT_ComplementGoodBillController : ApiController
+    {
+        ClsXt_BaseBillMain omdelMian = new ClsXt_BaseBillMain();
+        List<Gy_WorkWarehouseBillMainSub> omodelsub = new  List<Gy_WorkWarehouseBillMainSub>();
+        List<Cg_PODemandPlanConfigBillSub> omodelPODsub = new  List<Cg_PODemandPlanConfigBillSub>();
+        List<JIT_NeedMaterPlanConfigBillSub> omodelNeedsub = new  List<JIT_NeedMaterPlanConfigBillSub>();
+        private json objJsonResult = new json();
+        SQLHelper.ClsCN oCN = new SQLHelper.ClsCN();
+        DataSet ds;
+
+        #region 鏃ヨ鍒掑钩鍙板熀纭�璧勬枡 杞﹂棿浠撳簱瀵圭収
+
+        #region 杞﹂棿浠撳簱瀵圭収鍒楄〃
+        [Route("Sc_JIT_ComplementGoodBill/ComplementGoodBillList")]
+        [HttpGet]
+        public object ComplementGoodBillList(string sWhere, string user)
+        {
+            try
+            {
+                //鏌ヨ鏉冮檺
+                if (!DBUtility.ClsPub.Security_Log_second("JIT_ComplementGoodBill_Query", 1, false, user))
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "鏃犳潈闄愭煡璇紒";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
+                ds = oCN.RunProcReturn("select * from h_v_JIT_Gy_WorkWarehouseBillList where 1=1 " + sWhere + " order by hmainid desc ", "h_v_JIT_Gy_WorkWarehouseBillList");
+
+                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 = e.ToString();
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+        }
+        #endregion
+
+        #region 杞﹂棿浠撳簱瀵圭収  娣诲姞/淇敼
+        [Route("Sc_JIT_ComplementGoodBill/AddComplementGoodBillList")]
+        [HttpPost]
+        public object AddComplementGoodBillList([FromBody] JObject sMainSub)
+        {
+            var _value = sMainSub["sMainSub"].ToString();
+            string msg1 = _value.ToString();
+            oCN.BeginTran();
+            //淇濆瓨涓昏〃
+            objJsonResult = AddBillMain(msg1);
+            if (objJsonResult.code == "0")
+            {
+                oCN.RollBack();
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = objJsonResult.Message;
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+            oCN.Commit();
+            objJsonResult.code = "1";
+            objJsonResult.count = 1;
+            objJsonResult.Message = "鏂板鍗曟嵁鎴愬姛锛�";
+            objJsonResult.data = null;
+            return objJsonResult;
+        }
+
+        public json AddBillMain(string msg1)
+        {
+            string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries);
+            string msg2 = sArray[0].ToString();
+            string msg3 = sArray[1].ToString();
+
+            int hentryid = int.Parse(sArray[2].ToString());//瀛愯〃鐨勯『搴廼d
+            int OperationType = int.Parse(sArray[3].ToString());//鏁版嵁绫诲瀷 1娣诲姞 3淇敼
+            string user = sArray[4].ToString();
+            try
+            {
+                if (!DBUtility.ClsPub.Security_Log("JIT_ComplementGoodBill_Edit", 1, false, user))
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "鏃犱繚瀛樻潈闄愶紒";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
+                omdelMian = Newtonsoft.Json.JsonConvert.DeserializeObject<ClsXt_BaseBillMain>(msg2);
+                string BillType = "4612";
+
+
+                if (OperationType == 1)//鏂板
+                {
+                    //涓昏〃
+                    oCN.RunProc("insert into Gy_WorkWarehouseBillMain(HInterID,HBillNo,HYear,HPeriod,HBillType,HBillSubType,HDate,HBillStatus,HMaker,HMakeDate,HOrgId)" +
+                       $"values({omdelMian.HInterID}, '{omdelMian.HBillNo}',{DateTime.Now.Year}, {DateTime.Now.Month}, '{BillType}', '{BillType}', GETDATE(), 1, '{omdelMian.HMaker}', GETDATE(),{omdelMian.HPRDORGID})");
+                }
+                else if (OperationType == 3)
+                {
+                    //淇敼
+                    oCN.RunProc("UpDate Gy_WorkWarehouseBillMain set  " +
+                " HOrgId='" + omdelMian.HPRDORGID + "'" +
+                ",HUpDater='" + omdelMian.HMaker + "'" +
+                ",HUpDateDate='" + DateTime.Now+ "'" +
+                " where HInterID=" + omdelMian.HInterID.ToString());
+
+                    //鍒犻櫎瀛愯〃
+                    oCN.RunProc("delete from Gy_WorkWarehouseBillMainSub where HInterID='" + omdelMian.HInterID.ToString() + "' and HEntryID='" + hentryid + "'");
+                }
+                //淇濆瓨瀛愯〃
+                objJsonResult = AddBillSub(msg3, hentryid);
+                if (objJsonResult.code == "0")
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = objJsonResult.Message;
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
+                objJsonResult.code = "1";
+                objJsonResult.count = 1;
+                objJsonResult.Message = null;
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+            catch (Exception e)
+            {
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = "Exception锛�" + e.ToString();
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+        }
+
+        public json AddBillSub(string msg3, int hentryid)
+        {
+            omodelsub = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Gy_WorkWarehouseBillMainSub>>(msg3);
+            int i = 1;
+            //鎻掑叆瀛愯〃
+            foreach (Models.Gy_WorkWarehouseBillMainSub oSub in omodelsub)
+            {
+                oCN.RunProc("insert into Gy_WorkWarehouseBillMainSub(HInterID,HEntryID,HRemark,HWorkShopID," +
+                    "HWorkShopName,HWHID,HWHName) " +
+                   "values("
+                   + omdelMian.HInterID.ToString() + "," + (hentryid == -1 ? i : hentryid) + ",'" + oSub.HRemark + "'," + (oSub.HWorkShopID==null?0:oSub.HWorkShopID)
+                   + ",'" +oSub.HWorkShopName + "'," + (oSub.HWHID==null?0: oSub.HWHID) + ",'" + oSub.HWHName.ToString()+ "') ");
+                i++;
+            }
+
+            objJsonResult.code = "1";
+            objJsonResult.count = 1;
+            objJsonResult.Message = null;
+            objJsonResult.data = null;
+            return objJsonResult;
+        }
+
+        #endregion
+
+        #region 杞﹂棿浠撳簱瀵圭収鍒犻櫎
+        [Route("Sc_JIT_ComplementGoodBill/DelComplementGoodBillList")]
+        [HttpGet]
+        public object DelComplementGoodBillList(string HInterID, string HEntryID, string User)
+        {
+            try
+            {
+                //鍒犻櫎鏉冮檺
+                if (!DBUtility.ClsPub.Security_Log_second("JIT_ComplementGoodBill_Drop", 1, false, User))
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "鏃犳潈闄愬垹闄わ紒";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
+                ds = oCN.RunProcReturn("select * from h_v_JIT_Gy_WorkWarehouseBillList where 1=1 and hmainid=" + HInterID, "h_v_JIT_Gy_WorkWarehouseBillList");
+
+                if (ds.Tables[0].Rows.Count > 0)
+                {
+                    if (ds.Tables[0].Rows[0]["鍗曟嵁鐘舵��"].ToString() != "1")
+                    {
+                        objJsonResult.code = "0";
+                        objJsonResult.count = 0;
+                        objJsonResult.Message = "褰撳墠鍗曟嵁涓嶈兘鍒犻櫎锛�";
+                        objJsonResult.data = null;
+                        return objJsonResult;
+                    }
+
+                    oCN.BeginTran();//寮�鍚簨鍔�
+
+                    if (ds.Tables[0].Rows.Count == 1)
+                    {
+                        oCN.RunProc($"delete from Gy_WorkWarehouseBillMain where HInterID={HInterID}");
+                    }
+                    oCN.RunProc($"delete from Gy_WorkWarehouseBillMainSub where HInterID={HInterID} and HEntryID={HEntryID}");
+
+                    oCN.Commit();//缁撴潫浜嬪姟
+
+                    objJsonResult.code = "1";
+                    objJsonResult.count = 1;
+                    objJsonResult.Message = "鍒犻櫎鎴愬姛锛�";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = "褰撳墠鍗曟嵁涓嶅瓨鍦�,鏃犳硶鍒犻櫎锛�";
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+            catch (Exception e)
+            {
+                oCN.RollBack();//鍥炴粴浜嬪姟
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = e.ToString();
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+        }
+        #endregion
+
+        #endregion
+
+        #region 鏃ヨ鍒掑钩鍙板熀纭�璧勬枡 鎻愭枡璁″垝淇℃伅
+
+        #region 鎻愭枡璁″垝淇℃伅鍒楄〃
+        [Route("Sc_JIT_ComplementGoodBill/PODemandPlanConfigBillList")]
+        [HttpGet]
+        public object PODemandPlanConfigBillList(string sWhere, string user)
+        {
+            try
+            {
+                //鏌ヨ鏉冮檺
+                if (!DBUtility.ClsPub.Security_Log_second("Cg_PODemandPlanConfigBill_Query", 1, false, user))
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "鏃犳潈闄愭煡璇紒";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
+                ds = oCN.RunProcReturn("select * from h_v_JIT_Cg_PODemandPlanConfigBillList where 1=1 " + sWhere + " order by hmainid desc ", "h_v_JIT_Cg_PODemandPlanConfigBillList");
+
+                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 = e.ToString();
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+        }
+        #endregion
+
+        #region 鎻愭枡璁″垝淇℃伅  娣诲姞/淇敼
+        [Route("Sc_JIT_ComplementGoodBill/AddPODemandPlanConfigBillList")]
+        [HttpPost]
+        public object AddPODemandPlanConfigBillList([FromBody] JObject sMainSub)
+        {
+            var _value = sMainSub["sMainSub"].ToString();
+            string msg1 = _value.ToString();
+            oCN.BeginTran();
+            //淇濆瓨涓昏〃
+            objJsonResult = AddPODBillMain(msg1);
+            if (objJsonResult.code == "0")
+            {
+                oCN.RollBack();
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = objJsonResult.Message;
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+            oCN.Commit();
+            objJsonResult.code = "1";
+            objJsonResult.count = 1;
+            objJsonResult.Message = "鏂板鍗曟嵁鎴愬姛锛�";
+            objJsonResult.data = null;
+            return objJsonResult;
+        }
+
+        public json AddPODBillMain(string msg1)
+        {
+            string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries);
+            string msg2 = sArray[0].ToString();//涓昏〃鏁版嵁
+            string msg3 = sArray[1].ToString();//瀛愯〃鏁版嵁
+
+            int hentryid = int.Parse(sArray[2].ToString());//瀛愯〃鐨勯『搴廼d
+            int OperationType = int.Parse(sArray[3].ToString());//鏁版嵁绫诲瀷 1娣诲姞 3淇敼
+            string user = sArray[4].ToString();
+            try
+            {
+                if (!DBUtility.ClsPub.Security_Log("Cg_PODemandPlanConfigBill_Edit", 1, false, user))
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "鏃犱繚瀛樻潈闄愶紒";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
+                omdelMian = Newtonsoft.Json.JsonConvert.DeserializeObject<ClsXt_BaseBillMain>(msg2);
+                string BillType = "4611";
+
+
+                if (OperationType == 1)//鏂板
+                {
+                    //涓昏〃
+                    oCN.RunProc("insert into Cg_PODemandPlanConfigBillMain(HInterID,HBillNo,HYear,HPeriod,HBillType,HBillSubType,HDate,HBillStatus,HMaker,HMakeDate,HOrgId)" +
+                        $"values({omdelMian.HInterID}, '{omdelMian.HBillNo}',{DateTime.Now.Year}, {DateTime.Now.Month}, '{BillType}', '{BillType}', GETDATE(), 1, '{omdelMian.HMaker}', GETDATE(), {omdelMian.HPRDORGID})");
+                }
+                else if (OperationType == 3)
+                {
+                    //淇敼
+                    oCN.RunProc("UpDate Cg_PODemandPlanConfigBillMain set  " +
+                " HOrgId='" + omdelMian.HPRDORGID + "'" +
+                ",HUpDater='" + omdelMian.HMaker + "'" +
+                ",HUpDateDate='" + DateTime.Now + "'" +
+                " where HInterID=" + omdelMian.HInterID.ToString());
+
+                    //鍒犻櫎瀛愯〃
+                    oCN.RunProc("delete from Cg_PODemandPlanConfigBillSub where HInterID='" + omdelMian.HInterID.ToString() + "' and HEntryID='" + hentryid + "'");
+                }
+                //淇濆瓨瀛愯〃
+                objJsonResult = AddPODBillSub(msg3, hentryid);
+                if (objJsonResult.code == "0")
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = objJsonResult.Message;
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
+                objJsonResult.code = "1";
+                objJsonResult.count = 1;
+                objJsonResult.Message = null;
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+            catch (Exception e)
+            {
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = "Exception锛�" + e.ToString();
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+        }
+
+        public json AddPODBillSub(string msg3, int hentryid)
+        {
+            omodelPODsub = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Cg_PODemandPlanConfigBillSub>>(msg3);
+            int i = 1;
+            //鎻掑叆瀛愯〃
+            foreach (Models.Cg_PODemandPlanConfigBillSub oSub in omodelPODsub)
+            {
+                oCN.RunProc("insert into Cg_PODemandPlanConfigBillSub(HInterID,HEntryID,HRemark,HSupplierID,HSupplierName,HMaterID," +
+                    "HMaterName, HMaterModel, HJITMaterGroup, HJITSafeStock, HJITMaterDemand, HJITBatchQty, HDeliveryPeriod, " +
+                    "HLeadTime, HLeadTime_Sec, HDeliveryMode, HDeliveryDaysCtrl)values" +
+                    $"({omdelMian.HInterID}, {(hentryid == -1 ? i : hentryid) }, '{oSub.HRemark}', {(oSub.HSupplierID==null?0: oSub.HSupplierID)}, '{oSub.HSupplierName}', {(oSub.HMaterID == null ? 0 : oSub.HMaterID)}," +
+                    $" '{oSub.HMaterName}', '{oSub.HMaterModel}', '{oSub.HJITMaterGroup}', {(oSub.HJITSafeStock == null ? 0 : oSub.HJITSafeStock)}, {(oSub.HJITMaterDemand == null ? 0 : oSub.HJITMaterDemand)},{(oSub.HJITBatchQty == null ? 0 : oSub.HJITBatchQty)},{(oSub.HDeliveryPeriod == null ? 0 : oSub.HDeliveryPeriod)}," +
+                    $" {(oSub.HLeadTime == null ? 0 : oSub.HLeadTime)}, {(oSub.HLeadTime_Sec == null ? 0 : oSub.HLeadTime_Sec)}, '{oSub.HDeliveryMode}', {(oSub.HDeliveryDaysCtrl == null ? 0 : oSub.HDeliveryDaysCtrl)}) ");
+                i++;
+            }
+
+            objJsonResult.code = "1";
+            objJsonResult.count = 1;
+            objJsonResult.Message = null;
+            objJsonResult.data = null;
+            return objJsonResult;
+        }
+
+        #endregion
+
+        #region 鎻愭枡璁″垝淇℃伅鍒犻櫎
+        [Route("Sc_JIT_ComplementGoodBill/DelPODemandPlanConfigBillList")]
+        [HttpGet]
+        public object DelPODemandPlanConfigBillList(string HInterID, string HEntryID, string User)
+        {
+            try
+            {
+                //鍒犻櫎鏉冮檺
+                if (!DBUtility.ClsPub.Security_Log_second("Cg_PODemandPlanConfigBill_Drop", 1, false, User))
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "鏃犳潈闄愬垹闄わ紒";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
+                ds = oCN.RunProcReturn("select * from h_v_JIT_Cg_PODemandPlanConfigBillList where 1=1 and hmainid=" + HInterID, "h_v_JIT_Cg_PODemandPlanConfigBillList");
+
+                if (ds.Tables[0].Rows.Count > 0)
+                {
+                    if (ds.Tables[0].Rows[0]["鍗曟嵁鐘舵��"].ToString() != "1")
+                    {
+                        objJsonResult.code = "0";
+                        objJsonResult.count = 0;
+                        objJsonResult.Message = "褰撳墠鍗曟嵁涓嶈兘鍒犻櫎锛�";
+                        objJsonResult.data = null;
+                        return objJsonResult;
+                    }
+
+                    oCN.BeginTran();//寮�鍚簨鍔�
+
+                    if (ds.Tables[0].Rows.Count == 1)
+                    {
+                        oCN.RunProc($"delete from Cg_PODemandPlanConfigBillMain where HInterID={HInterID}");
+                    }
+                    oCN.RunProc($"delete from Cg_PODemandPlanConfigBillSub where HInterID={HInterID} and HEntryID={HEntryID}");
+
+                    oCN.Commit();//缁撴潫浜嬪姟
+
+                    objJsonResult.code = "1";
+                    objJsonResult.count = 1;
+                    objJsonResult.Message = "鍒犻櫎鎴愬姛锛�";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = "褰撳墠鍗曟嵁涓嶅瓨鍦�,鏃犳硶鍒犻櫎锛�";
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+            catch (Exception e)
+            {
+                oCN.RollBack();//鍥炴粴浜嬪姟
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = e.ToString();
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+        }
+        #endregion
+
+        #endregion
+
+        #region 鏃ヨ鍒掑钩鍙板熀纭�璧勬枡 瑕佹枡璁″垝淇℃伅
+
+        #region 瑕佹枡璁″垝淇℃伅鍒楄〃
+        [Route("Sc_JIT_ComplementGoodBill/NeedMaterPlanConfigBillList")]
+        [HttpGet]
+        public object NeedMaterPlanConfigBillList(string sWhere, string user)
+        {
+            try
+            {
+                //鏌ヨ鏉冮檺
+                if (!DBUtility.ClsPub.Security_Log_second("JIT_NeedMaterPlanConfigBill_Query", 1, false, user))
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "鏃犳潈闄愭煡璇紒";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
+                ds = oCN.RunProcReturn("select * from h_v_JIT_NeedMaterPlanConfigBillList where 1=1 " + sWhere + " order by hmainid desc ", "h_v_JIT_NeedMaterPlanConfigBillList");
+
+                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 = e.ToString();
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+        }
+        #endregion
+
+        #region 瑕佹枡璁″垝淇℃伅鍒楄〃  娣诲姞/淇敼
+        [Route("Sc_JIT_ComplementGoodBill/AddNeedMaterPlanConfigBillList")]
+        [HttpPost]
+        public object AddNeedMaterPlanConfigBillList([FromBody] JObject sMainSub)
+        {
+            var _value = sMainSub["sMainSub"].ToString();
+            string msg1 = _value.ToString();
+            oCN.BeginTran();
+            //淇濆瓨涓昏〃
+            objJsonResult = AddNeedBillMain(msg1);
+            if (objJsonResult.code == "0")
+            {
+                oCN.RollBack();
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = objJsonResult.Message;
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+            oCN.Commit();
+            objJsonResult.code = "1";
+            objJsonResult.count = 1;
+            objJsonResult.Message = "鏂板鍗曟嵁鎴愬姛锛�";
+            objJsonResult.data = null;
+            return objJsonResult;
+        }
+
+        public json AddNeedBillMain(string msg1)
+        {
+            string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries);
+            string msg2 = sArray[0].ToString();//涓昏〃鏁版嵁
+            string msg3 = sArray[1].ToString();//瀛愯〃鏁版嵁
+
+            int hentryid = int.Parse(sArray[2].ToString());//瀛愯〃鐨勯『搴廼d
+            int OperationType = int.Parse(sArray[3].ToString());//鏁版嵁绫诲瀷 1娣诲姞 3淇敼
+            string user = sArray[4].ToString();
+            try
+            {
+                if (!DBUtility.ClsPub.Security_Log("JIT_NeedMaterPlanConfigBill_Edit", 1, false, user))
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "鏃犱繚瀛樻潈闄愶紒";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
+                omdelMian = Newtonsoft.Json.JsonConvert.DeserializeObject<ClsXt_BaseBillMain>(msg2);
+                string BillType = "4615";
+
+
+                if (OperationType == 1)//鏂板
+                {
+                    //涓昏〃
+                    
+                    oCN.RunProc("insert into JIT_NeedMaterPlanConfigBillMain(HInterID,HBillNo,HYear,HPeriod,HBillType,HBillSubType,HDate,HBillStatus,HMaker,HMakeDate,HOrgId)" +
+                        $"values({omdelMian.HInterID}, '{omdelMian.HBillNo}',{DateTime.Now.Year}, {DateTime.Now.Month}, '{BillType}', '{BillType}', GETDATE(), 1, '{omdelMian.HMaker}', GETDATE(), {omdelMian.HPRDORGID})");
+                }
+                else if (OperationType == 3)
+                {
+                    //淇敼
+                    oCN.RunProc("UpDate JIT_NeedMaterPlanConfigBillMain set  " +
+                " HOrgId='" + omdelMian.HPRDORGID + "'" +
+                ",HUpDater='" + omdelMian.HMaker + "'" +
+                ",HUpDateDate='" + DateTime.Now + "'" +
+                " where HInterID=" + omdelMian.HInterID.ToString());
+
+                    //鍒犻櫎瀛愯〃
+                    oCN.RunProc("delete from JIT_NeedMaterPlanConfigBillSub where HInterID='" + omdelMian.HInterID.ToString() + "' and HEntryID='" + hentryid + "'");
+                }
+                //淇濆瓨瀛愯〃
+                objJsonResult = AddNeedBillSub(msg3, hentryid);
+                if (objJsonResult.code == "0")
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = objJsonResult.Message;
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
+                objJsonResult.code = "1";
+                objJsonResult.count = 1;
+                objJsonResult.Message = null;
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+            catch (Exception e)
+            {
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = "Exception锛�" + e.ToString();
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+        }
+
+        public json AddNeedBillSub(string msg3, int hentryid)
+        {
+            omodelNeedsub = Newtonsoft.Json.JsonConvert.DeserializeObject<List<JIT_NeedMaterPlanConfigBillSub>>(msg3);
+            int i = 1;
+            //鎻掑叆瀛愯〃
+            foreach (Models.JIT_NeedMaterPlanConfigBillSub oSub in omodelNeedsub)
+            {
+                oCN.RunProc("insert into JIT_NeedMaterPlanConfigBillSub(HInterID,HEntryID,HRemark,HWorkShopID,HWorkShopName,HMaterID," +
+                    "HMaterName, HMaterModel, HJITMaterGroup, HJITSafeStock, HJITMaterDemand, HJITBatchQty, HDeliveryPeriod, " +
+                    "HLeadTime, HLeadTime_Sec, HDeliveryMode, HDeliveryDaysCtrl)values" +
+                    $"({omdelMian.HInterID}, {(hentryid == -1 ? i : hentryid) }, '{oSub.HRemark}', {(oSub.HWorkShopID == null ? 0 : oSub.HWorkShopID)}, '{oSub.HWorkShopName}', {(oSub.HMaterID == null ? 0 : oSub.HMaterID)}," +
+                    $" '{oSub.HMaterName}', '{oSub.HMaterModel}', '{oSub.HJITMaterGroup}', {(oSub.HJITSafeStock == null ? 0 : oSub.HJITSafeStock)}, {(oSub.HJITMaterDemand == null ? 0 : oSub.HJITMaterDemand)},{(oSub.HJITBatchQty == null ? 0 : oSub.HJITBatchQty)},{(oSub.HDeliveryPeriod == null ? 0 : oSub.HDeliveryPeriod)}," +
+                    $" {(oSub.HLeadTime == null ? 0 : oSub.HLeadTime)}, {(oSub.HLeadTime_Sec == null ? 0 : oSub.HLeadTime_Sec)}, '{oSub.HDeliveryMode}', {(oSub.HDeliveryDaysCtrl == null ? 0 : oSub.HDeliveryDaysCtrl)}) ");
+                i++;
+            }
+
+            objJsonResult.code = "1";
+            objJsonResult.count = 1;
+            objJsonResult.Message = null;
+            objJsonResult.data = null;
+            return objJsonResult;
+        }
+
+        #endregion
+
+        #region 瑕佹枡璁″垝淇℃伅鍒犻櫎
+        [Route("Sc_JIT_ComplementGoodBill/DelNeedMaterPlanConfigBillList")]
+        [HttpGet]
+        public object DelNeedMaterPlanConfigBillList(string HInterID, string HEntryID, string User)
+        {
+            try
+            {
+                //鍒犻櫎鏉冮檺
+                if (!DBUtility.ClsPub.Security_Log_second("JIT_NeedMaterPlanConfigBill_Drop", 1, false, User))
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "鏃犳潈闄愬垹闄わ紒";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
+                ds = oCN.RunProcReturn("select * from h_v_JIT_NeedMaterPlanConfigBillList where 1=1 and hmainid=" + HInterID, "h_v_JIT_NeedMaterPlanConfigBillList");
+
+                if (ds.Tables[0].Rows.Count > 0)
+                {
+                    if (ds.Tables[0].Rows[0]["鍗曟嵁鐘舵��"].ToString() != "1")
+                    {
+                        objJsonResult.code = "0";
+                        objJsonResult.count = 0;
+                        objJsonResult.Message = "褰撳墠鍗曟嵁涓嶈兘鍒犻櫎锛�";
+                        objJsonResult.data = null;
+                        return objJsonResult;
+                    }
+
+                    oCN.BeginTran();//寮�鍚簨鍔�
+
+                    if (ds.Tables[0].Rows.Count == 1)
+                    {
+                        oCN.RunProc($"delete from JIT_NeedMaterPlanConfigBillMain where HInterID={HInterID}");
+                    }
+                    oCN.RunProc($"delete from JIT_NeedMaterPlanConfigBillSub where HInterID={HInterID} and HEntryID={HEntryID}");
+
+                    oCN.Commit();//缁撴潫浜嬪姟
+
+                    objJsonResult.code = "1";
+                    objJsonResult.count = 1;
+                    objJsonResult.Message = "鍒犻櫎鎴愬姛锛�";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = "褰撳墠鍗曟嵁涓嶅瓨鍦�,鏃犳硶鍒犻櫎锛�";
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+            catch (Exception e)
+            {
+                oCN.RollBack();//鍥炴粴浜嬪姟
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = e.ToString();
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+        }
+        #endregion
+
+        #endregion
+
+
+    }
+}
\ No newline at end of file
diff --git a/WebAPI/Models/Cg_PODemandPlanConfigBillSub.cs b/WebAPI/Models/Cg_PODemandPlanConfigBillSub.cs
new file mode 100644
index 0000000..f88c2dc
--- /dev/null
+++ b/WebAPI/Models/Cg_PODemandPlanConfigBillSub.cs
@@ -0,0 +1,26 @@
+锘縰sing DBUtility;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+
+namespace WebAPI.Models
+{
+    public class Cg_PODemandPlanConfigBillSub: ClsXt_BaseBillSub
+    {
+        public int? HSupplierID;
+        public string HSupplierName { get; set; }
+        public int? HMaterID;
+        public string HMaterName { get; set; }
+        public string HMaterModel { get; set; }
+        public string HJITMaterGroup { get; set; }
+        public int? HJITSafeStock;
+        public int? HJITMaterDemand;
+        public int? HJITBatchQty;
+        public int? HDeliveryPeriod;
+        public int? HLeadTime;
+        public int? HLeadTime_Sec;
+        public int? HDeliveryDaysCtrl;
+        public string HDeliveryMode { get; set; }
+    }
+}
\ No newline at end of file
diff --git a/WebAPI/Models/Gy_WorkWarehouseBillMainSub.cs b/WebAPI/Models/Gy_WorkWarehouseBillMainSub.cs
new file mode 100644
index 0000000..ddcd7af
--- /dev/null
+++ b/WebAPI/Models/Gy_WorkWarehouseBillMainSub.cs
@@ -0,0 +1,16 @@
+锘縰sing DBUtility;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+
+namespace WebAPI.Models
+{
+    public class Gy_WorkWarehouseBillMainSub: ClsXt_BaseBillSub
+    {
+        public int? HWorkShopID;//鐢熶骇杞﹂棿
+        public string HWorkShopName;//鐢熶骇杞﹂棿鍚嶇О
+        public int? HWHID;//浠撳簱
+        public string HWHName;//浠撳簱鍚嶇О 
+    }
+}
\ No newline at end of file
diff --git a/WebAPI/Models/JIT_NeedMaterPlanConfigBillSub.cs b/WebAPI/Models/JIT_NeedMaterPlanConfigBillSub.cs
new file mode 100644
index 0000000..15cec55
--- /dev/null
+++ b/WebAPI/Models/JIT_NeedMaterPlanConfigBillSub.cs
@@ -0,0 +1,26 @@
+锘縰sing DBUtility;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+
+namespace WebAPI.Models
+{
+    public class JIT_NeedMaterPlanConfigBillSub : ClsXt_BaseBillSub
+    {
+        public int? HWorkShopID;
+        public string HWorkShopName { get; set; }
+        public int? HMaterID;
+        public string HMaterName { get; set; }
+        public string HMaterModel { get; set; }
+        public string HJITMaterGroup { get; set; }
+        public int? HJITSafeStock;
+        public int? HJITMaterDemand;
+        public int? HJITBatchQty;
+        public int? HDeliveryPeriod;
+        public int? HLeadTime;
+        public int? HLeadTime_Sec;
+        public int? HDeliveryDaysCtrl;
+        public string HDeliveryMode { get; set; }
+    }
+}
\ No newline at end of file
diff --git a/WebAPI/Web References/WebS/Reference.cs b/WebAPI/Web References/WebS/Reference.cs
index 00cf2b2..dd7a7ef 100644
--- a/WebAPI/Web References/WebS/Reference.cs
+++ b/WebAPI/Web References/WebS/Reference.cs
@@ -35,6 +35,12 @@
     [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsXt_BaseBillMain))]
     public partial class WebService1 : System.Web.Services.Protocols.SoapHttpClientProtocol {
         
+        private System.Threading.SendOrPostCallback get_SourceBarCode_EntrustOutOperationCompleted;
+        
+        private System.Threading.SendOrPostCallback get_CheckTypeByMouldSourceOperationCompleted;
+        
+        private System.Threading.SendOrPostCallback getMouldSourceBillListOperationCompleted;
+        
         private System.Threading.SendOrPostCallback Get_CheckTypeByMouldBarCode_ProdCheckStockOperationCompleted;
         
         private System.Threading.SendOrPostCallback GetMouldBillEntry_TmpListOperationCompleted;
@@ -67,6 +73,18 @@
         
         private System.Threading.SendOrPostCallback set_DelPonderationBillMain_Temp_PackOperationCompleted;
         
+        private System.Threading.SendOrPostCallback GetSourceBillList_BillCheckOperationCompleted;
+        
+        private System.Threading.SendOrPostCallback get_BillBarCode_OtherOutCheckOperationCompleted;
+        
+        private System.Threading.SendOrPostCallback set_SavePonderationBillMain_Temp_BarCode_BillCheckOperationCompleted;
+        
+        private System.Threading.SendOrPostCallback get_CheckTypeByBarCode_BillCheckOperationCompleted;
+        
+        private System.Threading.SendOrPostCallback GetKf_PonderationBillMain_Temp_BillCheckOperationCompleted;
+        
+        private System.Threading.SendOrPostCallback GetKf_PonderationBillMain_TempList_BillCheckOperationCompleted;
+        
         private System.Threading.SendOrPostCallback getDataSetByMasterSQLOperationCompleted;
         
         private System.Threading.SendOrPostCallback getCheckOpenOperationCompleted;
@@ -96,6 +114,12 @@
         private System.Threading.SendOrPostCallback DeleteMouldOperationCompleted;
         
         private System.Threading.SendOrPostCallback set_SavePonderationBillMain_Temp_BarCode_MouldOperationCompleted;
+        
+        private System.Threading.SendOrPostCallback GetKf_ICStockBillQueryListOperationCompleted;
+        
+        private System.Threading.SendOrPostCallback Get_ICInventoryByMaterIDListOperationCompleted;
+        
+        private System.Threading.SendOrPostCallback Get_CheckQtyByBarCodeOperationCompleted;
         
         private System.Threading.SendOrPostCallback Get_CheckQtyByBarCode_GetWhAndSPOperationCompleted;
         
@@ -259,11 +283,9 @@
         
         private System.Threading.SendOrPostCallback get_SourceBarCode_MateOutOperationCompleted;
         
-        private System.Threading.SendOrPostCallback get_SourceBarCode_EntrustOutOperationCompleted;
+        private System.Threading.SendOrPostCallback set_CheckAddPOStockInBillOperationCompleted;
         
-        private System.Threading.SendOrPostCallback get_CheckTypeByMouldSourceOperationCompleted;
-        
-        private System.Threading.SendOrPostCallback getMouldSourceBillListOperationCompleted;
+        private System.Threading.SendOrPostCallback set_CheckPOStockInBillOperationCompleted;
         
         private System.Threading.SendOrPostCallback set_AuditPOStockInBillOperationCompleted;
         
@@ -381,10 +403,6 @@
         
         private System.Threading.SendOrPostCallback GetKf_ICStockBillListOperationCompleted;
         
-        private System.Threading.SendOrPostCallback Get_ICInventoryByMaterIDListOperationCompleted;
-        
-        private System.Threading.SendOrPostCallback Get_CheckQtyByBarCodeOperationCompleted;
-        
         private System.Threading.SendOrPostCallback set_SaveSellOutBillOperationCompleted;
         
         private System.Threading.SendOrPostCallback set_AuditSellOutBillOperationCompleted;
@@ -483,6 +501,8 @@
         
         private System.Threading.SendOrPostCallback set_SaveOtherOutBill_CLDOperationCompleted;
         
+        private System.Threading.SendOrPostCallback set_SaveOtherOutBill_BillCheckOperationCompleted;
+        
         private System.Threading.SendOrPostCallback set_SavePOStockInBackBillOperationCompleted;
         
         private System.Threading.SendOrPostCallback set_SavePOStockInBackBill_NewOperationCompleted;
@@ -492,10 +512,6 @@
         private System.Threading.SendOrPostCallback set_SavePOStockInBackBill_CLDOperationCompleted;
         
         private System.Threading.SendOrPostCallback set_SavePOStockInBillOperationCompleted;
-        
-        private System.Threading.SendOrPostCallback set_CheckAddPOStockInBillOperationCompleted;
-        
-        private System.Threading.SendOrPostCallback set_CheckPOStockInBillOperationCompleted;
         
         private System.Threading.SendOrPostCallback set_DelPonderationBillMain_TempOperationCompleted;
         
@@ -1008,6 +1024,15 @@
         }
         
         /// <remarks/>
+        public event get_SourceBarCode_EntrustOutCompletedEventHandler get_SourceBarCode_EntrustOutCompleted;
+        
+        /// <remarks/>
+        public event get_CheckTypeByMouldSourceCompletedEventHandler get_CheckTypeByMouldSourceCompleted;
+        
+        /// <remarks/>
+        public event getMouldSourceBillListCompletedEventHandler getMouldSourceBillListCompleted;
+        
+        /// <remarks/>
         public event Get_CheckTypeByMouldBarCode_ProdCheckStockCompletedEventHandler Get_CheckTypeByMouldBarCode_ProdCheckStockCompleted;
         
         /// <remarks/>
@@ -1056,6 +1081,24 @@
         public event set_DelPonderationBillMain_Temp_PackCompletedEventHandler set_DelPonderationBillMain_Temp_PackCompleted;
         
         /// <remarks/>
+        public event GetSourceBillList_BillCheckCompletedEventHandler GetSourceBillList_BillCheckCompleted;
+        
+        /// <remarks/>
+        public event get_BillBarCode_OtherOutCheckCompletedEventHandler get_BillBarCode_OtherOutCheckCompleted;
+        
+        /// <remarks/>
+        public event set_SavePonderationBillMain_Temp_BarCode_BillCheckCompletedEventHandler set_SavePonderationBillMain_Temp_BarCode_BillCheckCompleted;
+        
+        /// <remarks/>
+        public event get_CheckTypeByBarCode_BillCheckCompletedEventHandler get_CheckTypeByBarCode_BillCheckCompleted;
+        
+        /// <remarks/>
+        public event GetKf_PonderationBillMain_Temp_BillCheckCompletedEventHandler GetKf_PonderationBillMain_Temp_BillCheckCompleted;
+        
+        /// <remarks/>
+        public event GetKf_PonderationBillMain_TempList_BillCheckCompletedEventHandler GetKf_PonderationBillMain_TempList_BillCheckCompleted;
+        
+        /// <remarks/>
         public event getDataSetByMasterSQLCompletedEventHandler getDataSetByMasterSQLCompleted;
         
         /// <remarks/>
@@ -1099,6 +1142,15 @@
         
         /// <remarks/>
         public event set_SavePonderationBillMain_Temp_BarCode_MouldCompletedEventHandler set_SavePonderationBillMain_Temp_BarCode_MouldCompleted;
+        
+        /// <remarks/>
+        public event GetKf_ICStockBillQueryListCompletedEventHandler GetKf_ICStockBillQueryListCompleted;
+        
+        /// <remarks/>
+        public event Get_ICInventoryByMaterIDListCompletedEventHandler Get_ICInventoryByMaterIDListCompleted;
+        
+        /// <remarks/>
+        public event Get_CheckQtyByBarCodeCompletedEventHandler Get_CheckQtyByBarCodeCompleted;
         
         /// <remarks/>
         public event Get_CheckQtyByBarCode_GetWhAndSPCompletedEventHandler Get_CheckQtyByBarCode_GetWhAndSPCompleted;
@@ -1344,13 +1396,10 @@
         public event get_SourceBarCode_MateOutCompletedEventHandler get_SourceBarCode_MateOutCompleted;
         
         /// <remarks/>
-        public event get_SourceBarCode_EntrustOutCompletedEventHandler get_SourceBarCode_EntrustOutCompleted;
+        public event set_CheckAddPOStockInBillCompletedEventHandler set_CheckAddPOStockInBillCompleted;
         
         /// <remarks/>
-        public event get_CheckTypeByMouldSourceCompletedEventHandler get_CheckTypeByMouldSourceCompleted;
-        
-        /// <remarks/>
-        public event getMouldSourceBillListCompletedEventHandler getMouldSourceBillListCompleted;
+        public event set_CheckPOStockInBillCompletedEventHandler set_CheckPOStockInBillCompleted;
         
         /// <remarks/>
         public event set_AuditPOStockInBillCompletedEventHandler set_AuditPOStockInBillCompleted;
@@ -1527,12 +1576,6 @@
         public event GetKf_ICStockBillListCompletedEventHandler GetKf_ICStockBillListCompleted;
         
         /// <remarks/>
-        public event Get_ICInventoryByMaterIDListCompletedEventHandler Get_ICInventoryByMaterIDListCompleted;
-        
-        /// <remarks/>
-        public event Get_CheckQtyByBarCodeCompletedEventHandler Get_CheckQtyByBarCodeCompleted;
-        
-        /// <remarks/>
         public event set_SaveSellOutBillCompletedEventHandler set_SaveSellOutBillCompleted;
         
         /// <remarks/>
@@ -1680,6 +1723,9 @@
         public event set_SaveOtherOutBill_CLDCompletedEventHandler set_SaveOtherOutBill_CLDCompleted;
         
         /// <remarks/>
+        public event set_SaveOtherOutBill_BillCheckCompletedEventHandler set_SaveOtherOutBill_BillCheckCompleted;
+        
+        /// <remarks/>
         public event set_SavePOStockInBackBillCompletedEventHandler set_SavePOStockInBackBillCompleted;
         
         /// <remarks/>
@@ -1693,12 +1739,6 @@
         
         /// <remarks/>
         public event set_SavePOStockInBillCompletedEventHandler set_SavePOStockInBillCompleted;
-        
-        /// <remarks/>
-        public event set_CheckAddPOStockInBillCompletedEventHandler set_CheckAddPOStockInBillCompleted;
-        
-        /// <remarks/>
-        public event set_CheckPOStockInBillCompletedEventHandler set_CheckPOStockInBillCompleted;
         
         /// <remarks/>
         public event set_DelPonderationBillMain_TempCompletedEventHandler set_DelPonderationBillMain_TempCompleted;
@@ -2409,6 +2449,140 @@
         public event GetSc_ICMOBillListCompletedEventHandler GetSc_ICMOBillListCompleted;
         
         /// <remarks/>
+        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/get_SourceBarCode_EntrustOut", 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_EntrustOut(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HFIFOWhID, long HOWNERID, ref string sErrMsg) {
+            object[] results = this.Invoke("get_SourceBarCode_EntrustOut", new object[] {
+                        HInterID,
+                        HBillNo,
+                        HBillType,
+                        HSourceBillNo,
+                        HSourceBillType,
+                        HMaker,
+                        HFIFOWhID,
+                        HOWNERID,
+                        sErrMsg});
+            sErrMsg = ((string)(results[1]));
+            return ((ClsKf_ICStockBill_WMS)(results[0]));
+        }
+        
+        /// <remarks/>
+        public void get_SourceBarCode_EntrustOutAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HFIFOWhID, long HOWNERID, string sErrMsg) {
+            this.get_SourceBarCode_EntrustOutAsync(HInterID, HBillNo, HBillType, HSourceBillNo, HSourceBillType, HMaker, HFIFOWhID, HOWNERID, sErrMsg, null);
+        }
+        
+        /// <remarks/>
+        public void get_SourceBarCode_EntrustOutAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HFIFOWhID, long HOWNERID, string sErrMsg, object userState) {
+            if ((this.get_SourceBarCode_EntrustOutOperationCompleted == null)) {
+                this.get_SourceBarCode_EntrustOutOperationCompleted = new System.Threading.SendOrPostCallback(this.Onget_SourceBarCode_EntrustOutOperationCompleted);
+            }
+            this.InvokeAsync("get_SourceBarCode_EntrustOut", new object[] {
+                        HInterID,
+                        HBillNo,
+                        HBillType,
+                        HSourceBillNo,
+                        HSourceBillType,
+                        HMaker,
+                        HFIFOWhID,
+                        HOWNERID,
+                        sErrMsg}, this.get_SourceBarCode_EntrustOutOperationCompleted, userState);
+        }
+        
+        private void Onget_SourceBarCode_EntrustOutOperationCompleted(object arg) {
+            if ((this.get_SourceBarCode_EntrustOutCompleted != null)) {
+                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
+                this.get_SourceBarCode_EntrustOutCompleted(this, new get_SourceBarCode_EntrustOutCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+            }
+        }
+        
+        /// <remarks/>
+        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/get_CheckTypeByMouldSource", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+        public ClsKf_ICStockBill_Mould get_CheckTypeByMouldSource(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HHMaker, long HOWNERID, ref string sErrMsg) {
+            object[] results = this.Invoke("get_CheckTypeByMouldSource", new object[] {
+                        HInterID,
+                        HBillNo,
+                        HBillType,
+                        HSourceBillNo,
+                        HSourceBillType,
+                        HHMaker,
+                        HOWNERID,
+                        sErrMsg});
+            sErrMsg = ((string)(results[1]));
+            return ((ClsKf_ICStockBill_Mould)(results[0]));
+        }
+        
+        /// <remarks/>
+        public void get_CheckTypeByMouldSourceAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HHMaker, long HOWNERID, string sErrMsg) {
+            this.get_CheckTypeByMouldSourceAsync(HInterID, HBillNo, HBillType, HSourceBillNo, HSourceBillType, HHMaker, HOWNERID, sErrMsg, null);
+        }
+        
+        /// <remarks/>
+        public void get_CheckTypeByMouldSourceAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HHMaker, long HOWNERID, string sErrMsg, object userState) {
+            if ((this.get_CheckTypeByMouldSourceOperationCompleted == null)) {
+                this.get_CheckTypeByMouldSourceOperationCompleted = new System.Threading.SendOrPostCallback(this.Onget_CheckTypeByMouldSourceOperationCompleted);
+            }
+            this.InvokeAsync("get_CheckTypeByMouldSource", new object[] {
+                        HInterID,
+                        HBillNo,
+                        HBillType,
+                        HSourceBillNo,
+                        HSourceBillType,
+                        HHMaker,
+                        HOWNERID,
+                        sErrMsg}, this.get_CheckTypeByMouldSourceOperationCompleted, userState);
+        }
+        
+        private void Onget_CheckTypeByMouldSourceOperationCompleted(object arg) {
+            if ((this.get_CheckTypeByMouldSourceCompleted != null)) {
+                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
+                this.get_CheckTypeByMouldSourceCompleted(this, new get_CheckTypeByMouldSourceCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+            }
+        }
+        
+        /// <remarks/>
+        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/getMouldSourceBillList", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+        public ClsKf_ICStockBill_Mould getMouldSourceBillList(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HHMaker, long HOWNERID, ref string sErrMsg) {
+            object[] results = this.Invoke("getMouldSourceBillList", new object[] {
+                        HInterID,
+                        HBillNo,
+                        HBillType,
+                        HSourceBillNo,
+                        HSourceBillType,
+                        HHMaker,
+                        HOWNERID,
+                        sErrMsg});
+            sErrMsg = ((string)(results[1]));
+            return ((ClsKf_ICStockBill_Mould)(results[0]));
+        }
+        
+        /// <remarks/>
+        public void getMouldSourceBillListAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HHMaker, long HOWNERID, string sErrMsg) {
+            this.getMouldSourceBillListAsync(HInterID, HBillNo, HBillType, HSourceBillNo, HSourceBillType, HHMaker, HOWNERID, sErrMsg, null);
+        }
+        
+        /// <remarks/>
+        public void getMouldSourceBillListAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HHMaker, long HOWNERID, string sErrMsg, object userState) {
+            if ((this.getMouldSourceBillListOperationCompleted == null)) {
+                this.getMouldSourceBillListOperationCompleted = new System.Threading.SendOrPostCallback(this.OngetMouldSourceBillListOperationCompleted);
+            }
+            this.InvokeAsync("getMouldSourceBillList", new object[] {
+                        HInterID,
+                        HBillNo,
+                        HBillType,
+                        HSourceBillNo,
+                        HSourceBillType,
+                        HHMaker,
+                        HOWNERID,
+                        sErrMsg}, this.getMouldSourceBillListOperationCompleted, userState);
+        }
+        
+        private void OngetMouldSourceBillListOperationCompleted(object arg) {
+            if ((this.getMouldSourceBillListCompleted != null)) {
+                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
+                this.getMouldSourceBillListCompleted(this, new getMouldSourceBillListCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+            }
+        }
+        
+        /// <remarks/>
         [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/Get_CheckTypeByMouldBarCode_ProdCheckStock", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
         public bool Get_CheckTypeByMouldBarCode_ProdCheckStock(string sBarCode, long HBillID, string HBillType, string HBillNo, long HWhID, long HSPID, long HStockCheckItemID, string HStockCheckNumber, long HCorrespondentTypeID, long HCorrespondentID, string HMaker, long HOWNERID, ref string sErrMsg) {
             object[] results = this.Invoke("Get_CheckTypeByMouldBarCode_ProdCheckStock", new object[] {
@@ -3030,6 +3204,244 @@
             if ((this.set_DelPonderationBillMain_Temp_PackCompleted != null)) {
                 System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                 this.set_DelPonderationBillMain_Temp_PackCompleted(this, new set_DelPonderationBillMain_Temp_PackCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+            }
+        }
+        
+        /// <remarks/>
+        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetSourceBillList_BillCheck", 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 GetSourceBillList_BillCheck(string HBillNo, string HBillType, ref string sErrMsg) {
+            object[] results = this.Invoke("GetSourceBillList_BillCheck", new object[] {
+                        HBillNo,
+                        HBillType,
+                        sErrMsg});
+            sErrMsg = ((string)(results[1]));
+            return ((ClsKf_ICStockBill_WMS)(results[0]));
+        }
+        
+        /// <remarks/>
+        public void GetSourceBillList_BillCheckAsync(string HBillNo, string HBillType, string sErrMsg) {
+            this.GetSourceBillList_BillCheckAsync(HBillNo, HBillType, sErrMsg, null);
+        }
+        
+        /// <remarks/>
+        public void GetSourceBillList_BillCheckAsync(string HBillNo, string HBillType, string sErrMsg, object userState) {
+            if ((this.GetSourceBillList_BillCheckOperationCompleted == null)) {
+                this.GetSourceBillList_BillCheckOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSourceBillList_BillCheckOperationCompleted);
+            }
+            this.InvokeAsync("GetSourceBillList_BillCheck", new object[] {
+                        HBillNo,
+                        HBillType,
+                        sErrMsg}, this.GetSourceBillList_BillCheckOperationCompleted, userState);
+        }
+        
+        private void OnGetSourceBillList_BillCheckOperationCompleted(object arg) {
+            if ((this.GetSourceBillList_BillCheckCompleted != null)) {
+                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
+                this.GetSourceBillList_BillCheckCompleted(this, new GetSourceBillList_BillCheckCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+            }
+        }
+        
+        /// <remarks/>
+        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/get_BillBarCode_OtherOutCheck", 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_BillBarCode_OtherOutCheck(string HBillNo, string HBillType, string HMaker, long HOWNERID, ref string sErrMsg) {
+            object[] results = this.Invoke("get_BillBarCode_OtherOutCheck", new object[] {
+                        HBillNo,
+                        HBillType,
+                        HMaker,
+                        HOWNERID,
+                        sErrMsg});
+            sErrMsg = ((string)(results[1]));
+            return ((ClsKf_ICStockBill_WMS)(results[0]));
+        }
+        
+        /// <remarks/>
+        public void get_BillBarCode_OtherOutCheckAsync(string HBillNo, string HBillType, string HMaker, long HOWNERID, string sErrMsg) {
+            this.get_BillBarCode_OtherOutCheckAsync(HBillNo, HBillType, HMaker, HOWNERID, sErrMsg, null);
+        }
+        
+        /// <remarks/>
+        public void get_BillBarCode_OtherOutCheckAsync(string HBillNo, string HBillType, string HMaker, long HOWNERID, string sErrMsg, object userState) {
+            if ((this.get_BillBarCode_OtherOutCheckOperationCompleted == null)) {
+                this.get_BillBarCode_OtherOutCheckOperationCompleted = new System.Threading.SendOrPostCallback(this.Onget_BillBarCode_OtherOutCheckOperationCompleted);
+            }
+            this.InvokeAsync("get_BillBarCode_OtherOutCheck", new object[] {
+                        HBillNo,
+                        HBillType,
+                        HMaker,
+                        HOWNERID,
+                        sErrMsg}, this.get_BillBarCode_OtherOutCheckOperationCompleted, userState);
+        }
+        
+        private void Onget_BillBarCode_OtherOutCheckOperationCompleted(object arg) {
+            if ((this.get_BillBarCode_OtherOutCheckCompleted != null)) {
+                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
+                this.get_BillBarCode_OtherOutCheckCompleted(this, new get_BillBarCode_OtherOutCheckCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+            }
+        }
+        
+        /// <remarks/>
+        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_SavePonderationBillMain_Temp_BarCode_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_SavePonderationBillMain_Temp_BarCode_BillCheck(ClsGy_BarCodeBill_WMS_Model_View omodel_View, string sBarCode, long HBillID, string HBillType, string HBillNo, string HMaker, long HWhID, long HSPID, double HQty, long HOWNERID, ClsXt_SystemParameterMain oSystemParameterMain, ref string sErrMsg) {
+            object[] results = this.Invoke("set_SavePonderationBillMain_Temp_BarCode_BillCheck", new object[] {
+                        omodel_View,
+                        sBarCode,
+                        HBillID,
+                        HBillType,
+                        HBillNo,
+                        HMaker,
+                        HWhID,
+                        HSPID,
+                        HQty,
+                        HOWNERID,
+                        oSystemParameterMain,
+                        sErrMsg});
+            sErrMsg = ((string)(results[1]));
+            return ((bool)(results[0]));
+        }
+        
+        /// <remarks/>
+        public void set_SavePonderationBillMain_Temp_BarCode_BillCheckAsync(ClsGy_BarCodeBill_WMS_Model_View omodel_View, string sBarCode, long HBillID, string HBillType, string HBillNo, string HMaker, long HWhID, long HSPID, double HQty, long HOWNERID, ClsXt_SystemParameterMain oSystemParameterMain, string sErrMsg) {
+            this.set_SavePonderationBillMain_Temp_BarCode_BillCheckAsync(omodel_View, sBarCode, HBillID, HBillType, HBillNo, HMaker, HWhID, HSPID, HQty, HOWNERID, oSystemParameterMain, sErrMsg, null);
+        }
+        
+        /// <remarks/>
+        public void set_SavePonderationBillMain_Temp_BarCode_BillCheckAsync(ClsGy_BarCodeBill_WMS_Model_View omodel_View, string sBarCode, long HBillID, string HBillType, string HBillNo, string HMaker, long HWhID, long HSPID, double HQty, long HOWNERID, ClsXt_SystemParameterMain oSystemParameterMain, string sErrMsg, object userState) {
+            if ((this.set_SavePonderationBillMain_Temp_BarCode_BillCheckOperationCompleted == null)) {
+                this.set_SavePonderationBillMain_Temp_BarCode_BillCheckOperationCompleted = new System.Threading.SendOrPostCallback(this.Onset_SavePonderationBillMain_Temp_BarCode_BillCheckOperationCompleted);
+            }
+            this.InvokeAsync("set_SavePonderationBillMain_Temp_BarCode_BillCheck", new object[] {
+                        omodel_View,
+                        sBarCode,
+                        HBillID,
+                        HBillType,
+                        HBillNo,
+                        HMaker,
+                        HWhID,
+                        HSPID,
+                        HQty,
+                        HOWNERID,
+                        oSystemParameterMain,
+                        sErrMsg}, this.set_SavePonderationBillMain_Temp_BarCode_BillCheckOperationCompleted, userState);
+        }
+        
+        private void Onset_SavePonderationBillMain_Temp_BarCode_BillCheckOperationCompleted(object arg) {
+            if ((this.set_SavePonderationBillMain_Temp_BarCode_BillCheckCompleted != null)) {
+                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
+                this.set_SavePonderationBillMain_Temp_BarCode_BillCheckCompleted(this, new set_SavePonderationBillMain_Temp_BarCode_BillCheckCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+            }
+        }
+        
+        /// <remarks/>
+        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/get_CheckTypeByBarCode_BillCheck", 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_CheckTypeByBarCode_BillCheck(string sBarCode, long HBillID, string HBillType, string HBillNo, string HMaker, long HWhID, long HSPID, double HQty, long HOWNERID, ref string sErrMsg) {
+            object[] results = this.Invoke("get_CheckTypeByBarCode_BillCheck", new object[] {
+                        sBarCode,
+                        HBillID,
+                        HBillType,
+                        HBillNo,
+                        HMaker,
+                        HWhID,
+                        HSPID,
+                        HQty,
+                        HOWNERID,
+                        sErrMsg});
+            sErrMsg = ((string)(results[1]));
+            return ((ClsKf_ICStockBill_WMS)(results[0]));
+        }
+        
+        /// <remarks/>
+        public void get_CheckTypeByBarCode_BillCheckAsync(string sBarCode, long HBillID, string HBillType, string HBillNo, string HMaker, long HWhID, long HSPID, double HQty, long HOWNERID, string sErrMsg) {
+            this.get_CheckTypeByBarCode_BillCheckAsync(sBarCode, HBillID, HBillType, HBillNo, HMaker, HWhID, HSPID, HQty, HOWNERID, sErrMsg, null);
+        }
+        
+        /// <remarks/>
+        public void get_CheckTypeByBarCode_BillCheckAsync(string sBarCode, long HBillID, string HBillType, string HBillNo, string HMaker, long HWhID, long HSPID, double HQty, long HOWNERID, string sErrMsg, object userState) {
+            if ((this.get_CheckTypeByBarCode_BillCheckOperationCompleted == null)) {
+                this.get_CheckTypeByBarCode_BillCheckOperationCompleted = new System.Threading.SendOrPostCallback(this.Onget_CheckTypeByBarCode_BillCheckOperationCompleted);
+            }
+            this.InvokeAsync("get_CheckTypeByBarCode_BillCheck", new object[] {
+                        sBarCode,
+                        HBillID,
+                        HBillType,
+                        HBillNo,
+                        HMaker,
+                        HWhID,
+                        HSPID,
+                        HQty,
+                        HOWNERID,
+                        sErrMsg}, this.get_CheckTypeByBarCode_BillCheckOperationCompleted, userState);
+        }
+        
+        private void Onget_CheckTypeByBarCode_BillCheckOperationCompleted(object arg) {
+            if ((this.get_CheckTypeByBarCode_BillCheckCompleted != null)) {
+                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
+                this.get_CheckTypeByBarCode_BillCheckCompleted(this, new get_CheckTypeByBarCode_BillCheckCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+            }
+        }
+        
+        /// <remarks/>
+        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetKf_PonderationBillMain_Temp_BillCheck", 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 GetKf_PonderationBillMain_Temp_BillCheck(long HInterID, string sBillType, string sWhere) {
+            object[] results = this.Invoke("GetKf_PonderationBillMain_Temp_BillCheck", new object[] {
+                        HInterID,
+                        sBillType,
+                        sWhere});
+            return ((System.Data.DataSet)(results[0]));
+        }
+        
+        /// <remarks/>
+        public void GetKf_PonderationBillMain_Temp_BillCheckAsync(long HInterID, string sBillType, string sWhere) {
+            this.GetKf_PonderationBillMain_Temp_BillCheckAsync(HInterID, sBillType, sWhere, null);
+        }
+        
+        /// <remarks/>
+        public void GetKf_PonderationBillMain_Temp_BillCheckAsync(long HInterID, string sBillType, string sWhere, object userState) {
+            if ((this.GetKf_PonderationBillMain_Temp_BillCheckOperationCompleted == null)) {
+                this.GetKf_PonderationBillMain_Temp_BillCheckOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetKf_PonderationBillMain_Temp_BillCheckOperationCompleted);
+            }
+            this.InvokeAsync("GetKf_PonderationBillMain_Temp_BillCheck", new object[] {
+                        HInterID,
+                        sBillType,
+                        sWhere}, this.GetKf_PonderationBillMain_Temp_BillCheckOperationCompleted, userState);
+        }
+        
+        private void OnGetKf_PonderationBillMain_Temp_BillCheckOperationCompleted(object arg) {
+            if ((this.GetKf_PonderationBillMain_Temp_BillCheckCompleted != null)) {
+                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
+                this.GetKf_PonderationBillMain_Temp_BillCheckCompleted(this, new GetKf_PonderationBillMain_Temp_BillCheckCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+            }
+        }
+        
+        /// <remarks/>
+        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetKf_PonderationBillMain_TempList_BillCheck", 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 GetKf_PonderationBillMain_TempList_BillCheck(string sHBillType, string sHMaker, long sHOWNERID) {
+            object[] results = this.Invoke("GetKf_PonderationBillMain_TempList_BillCheck", new object[] {
+                        sHBillType,
+                        sHMaker,
+                        sHOWNERID});
+            return ((System.Data.DataSet)(results[0]));
+        }
+        
+        /// <remarks/>
+        public void GetKf_PonderationBillMain_TempList_BillCheckAsync(string sHBillType, string sHMaker, long sHOWNERID) {
+            this.GetKf_PonderationBillMain_TempList_BillCheckAsync(sHBillType, sHMaker, sHOWNERID, null);
+        }
+        
+        /// <remarks/>
+        public void GetKf_PonderationBillMain_TempList_BillCheckAsync(string sHBillType, string sHMaker, long sHOWNERID, object userState) {
+            if ((this.GetKf_PonderationBillMain_TempList_BillCheckOperationCompleted == null)) {
+                this.GetKf_PonderationBillMain_TempList_BillCheckOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetKf_PonderationBillMain_TempList_BillCheckOperationCompleted);
+            }
+            this.InvokeAsync("GetKf_PonderationBillMain_TempList_BillCheck", new object[] {
+                        sHBillType,
+                        sHMaker,
+                        sHOWNERID}, this.GetKf_PonderationBillMain_TempList_BillCheckOperationCompleted, userState);
+        }
+        
+        private void OnGetKf_PonderationBillMain_TempList_BillCheckOperationCompleted(object arg) {
+            if ((this.GetKf_PonderationBillMain_TempList_BillCheckCompleted != null)) {
+                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
+                this.GetKf_PonderationBillMain_TempList_BillCheckCompleted(this, new GetKf_PonderationBillMain_TempList_BillCheckCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
             }
         }
         
@@ -3717,6 +4129,120 @@
             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/GetKf_ICStockBillQueryList", 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 GetKf_ICStockBillQueryList(string sHBillType, string sBillNo, string sSourceBillNo) {
+            object[] results = this.Invoke("GetKf_ICStockBillQueryList", new object[] {
+                        sHBillType,
+                        sBillNo,
+                        sSourceBillNo});
+            return ((System.Data.DataSet)(results[0]));
+        }
+        
+        /// <remarks/>
+        public void GetKf_ICStockBillQueryListAsync(string sHBillType, string sBillNo, string sSourceBillNo) {
+            this.GetKf_ICStockBillQueryListAsync(sHBillType, sBillNo, sSourceBillNo, null);
+        }
+        
+        /// <remarks/>
+        public void GetKf_ICStockBillQueryListAsync(string sHBillType, string sBillNo, string sSourceBillNo, object userState) {
+            if ((this.GetKf_ICStockBillQueryListOperationCompleted == null)) {
+                this.GetKf_ICStockBillQueryListOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetKf_ICStockBillQueryListOperationCompleted);
+            }
+            this.InvokeAsync("GetKf_ICStockBillQueryList", new object[] {
+                        sHBillType,
+                        sBillNo,
+                        sSourceBillNo}, this.GetKf_ICStockBillQueryListOperationCompleted, userState);
+        }
+        
+        private void OnGetKf_ICStockBillQueryListOperationCompleted(object arg) {
+            if ((this.GetKf_ICStockBillQueryListCompleted != null)) {
+                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
+                this.GetKf_ICStockBillQueryListCompleted(this, new GetKf_ICStockBillQueryListCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+            }
+        }
+        
+        /// <remarks/>
+        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/Get_ICInventoryByMaterIDList", 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_ICInventoryByMaterIDList(string sBarCode, long HWHID, long HSPID, long HOWNERID, string sWhere) {
+            object[] results = this.Invoke("Get_ICInventoryByMaterIDList", new object[] {
+                        sBarCode,
+                        HWHID,
+                        HSPID,
+                        HOWNERID,
+                        sWhere});
+            return ((System.Data.DataSet)(results[0]));
+        }
+        
+        /// <remarks/>
+        public void Get_ICInventoryByMaterIDListAsync(string sBarCode, long HWHID, long HSPID, long HOWNERID, string sWhere) {
+            this.Get_ICInventoryByMaterIDListAsync(sBarCode, HWHID, HSPID, HOWNERID, sWhere, null);
+        }
+        
+        /// <remarks/>
+        public void Get_ICInventoryByMaterIDListAsync(string sBarCode, long HWHID, long HSPID, long HOWNERID, string sWhere, object userState) {
+            if ((this.Get_ICInventoryByMaterIDListOperationCompleted == null)) {
+                this.Get_ICInventoryByMaterIDListOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGet_ICInventoryByMaterIDListOperationCompleted);
+            }
+            this.InvokeAsync("Get_ICInventoryByMaterIDList", new object[] {
+                        sBarCode,
+                        HWHID,
+                        HSPID,
+                        HOWNERID,
+                        sWhere}, this.Get_ICInventoryByMaterIDListOperationCompleted, userState);
+        }
+        
+        private void OnGet_ICInventoryByMaterIDListOperationCompleted(object arg) {
+            if ((this.Get_ICInventoryByMaterIDListCompleted != null)) {
+                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
+                this.Get_ICInventoryByMaterIDListCompleted(this, new Get_ICInventoryByMaterIDListCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+            }
+        }
+        
+        /// <remarks/>
+        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/Get_CheckQtyByBarCode", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
+        public bool Get_CheckQtyByBarCode(string sBarcode, long HWHID, long HSPID, long HAuxPropID, string sBatchNo, string HMTONo, double sQty, ref double sRelQty) {
+            object[] results = this.Invoke("Get_CheckQtyByBarCode", new object[] {
+                        sBarcode,
+                        HWHID,
+                        HSPID,
+                        HAuxPropID,
+                        sBatchNo,
+                        HMTONo,
+                        sQty,
+                        sRelQty});
+            sRelQty = ((double)(results[1]));
+            return ((bool)(results[0]));
+        }
+        
+        /// <remarks/>
+        public void Get_CheckQtyByBarCodeAsync(string sBarcode, long HWHID, long HSPID, long HAuxPropID, string sBatchNo, string HMTONo, double sQty, double sRelQty) {
+            this.Get_CheckQtyByBarCodeAsync(sBarcode, HWHID, HSPID, HAuxPropID, sBatchNo, HMTONo, sQty, sRelQty, null);
+        }
+        
+        /// <remarks/>
+        public void Get_CheckQtyByBarCodeAsync(string sBarcode, long HWHID, long HSPID, long HAuxPropID, string sBatchNo, string HMTONo, double sQty, double sRelQty, object userState) {
+            if ((this.Get_CheckQtyByBarCodeOperationCompleted == null)) {
+                this.Get_CheckQtyByBarCodeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGet_CheckQtyByBarCodeOperationCompleted);
+            }
+            this.InvokeAsync("Get_CheckQtyByBarCode", new object[] {
+                        sBarcode,
+                        HWHID,
+                        HSPID,
+                        HAuxPropID,
+                        sBatchNo,
+                        HMTONo,
+                        sQty,
+                        sRelQty}, this.Get_CheckQtyByBarCodeOperationCompleted, userState);
+        }
+        
+        private void OnGet_CheckQtyByBarCodeOperationCompleted(object arg) {
+            if ((this.Get_CheckQtyByBarCodeCompleted != null)) {
+                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
+                this.Get_CheckQtyByBarCodeCompleted(this, new Get_CheckQtyByBarCodeCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
             }
         }
         
@@ -7352,136 +7878,66 @@
         }
         
         /// <remarks/>
-        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/get_SourceBarCode_EntrustOut", 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_EntrustOut(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HFIFOWhID, long HOWNERID, ref string sErrMsg) {
-            object[] results = this.Invoke("get_SourceBarCode_EntrustOut", new object[] {
-                        HInterID,
-                        HBillNo,
-                        HBillType,
-                        HSourceBillNo,
-                        HSourceBillType,
-                        HMaker,
-                        HFIFOWhID,
-                        HOWNERID,
+        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_CheckAddPOStockInBill", 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_CheckAddPOStockInBill(ClsKf_POStockInBillMain_K3 oMain, ref string sErrMsg) {
+            object[] results = this.Invoke("set_CheckAddPOStockInBill", new object[] {
+                        oMain,
                         sErrMsg});
             sErrMsg = ((string)(results[1]));
-            return ((ClsKf_ICStockBill_WMS)(results[0]));
+            return ((bool)(results[0]));
         }
         
         /// <remarks/>
-        public void get_SourceBarCode_EntrustOutAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HFIFOWhID, long HOWNERID, string sErrMsg) {
-            this.get_SourceBarCode_EntrustOutAsync(HInterID, HBillNo, HBillType, HSourceBillNo, HSourceBillType, HMaker, HFIFOWhID, HOWNERID, sErrMsg, null);
+        public void set_CheckAddPOStockInBillAsync(ClsKf_POStockInBillMain_K3 oMain, string sErrMsg) {
+            this.set_CheckAddPOStockInBillAsync(oMain, sErrMsg, null);
         }
         
         /// <remarks/>
-        public void get_SourceBarCode_EntrustOutAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HFIFOWhID, long HOWNERID, string sErrMsg, object userState) {
-            if ((this.get_SourceBarCode_EntrustOutOperationCompleted == null)) {
-                this.get_SourceBarCode_EntrustOutOperationCompleted = new System.Threading.SendOrPostCallback(this.Onget_SourceBarCode_EntrustOutOperationCompleted);
+        public void set_CheckAddPOStockInBillAsync(ClsKf_POStockInBillMain_K3 oMain, string sErrMsg, object userState) {
+            if ((this.set_CheckAddPOStockInBillOperationCompleted == null)) {
+                this.set_CheckAddPOStockInBillOperationCompleted = new System.Threading.SendOrPostCallback(this.Onset_CheckAddPOStockInBillOperationCompleted);
             }
-            this.InvokeAsync("get_SourceBarCode_EntrustOut", new object[] {
-                        HInterID,
-                        HBillNo,
-                        HBillType,
-                        HSourceBillNo,
-                        HSourceBillType,
-                        HMaker,
-                        HFIFOWhID,
-                        HOWNERID,
-                        sErrMsg}, this.get_SourceBarCode_EntrustOutOperationCompleted, userState);
+            this.InvokeAsync("set_CheckAddPOStockInBill", new object[] {
+                        oMain,
+                        sErrMsg}, this.set_CheckAddPOStockInBillOperationCompleted, userState);
         }
         
-        private void Onget_SourceBarCode_EntrustOutOperationCompleted(object arg) {
-            if ((this.get_SourceBarCode_EntrustOutCompleted != null)) {
+        private void Onset_CheckAddPOStockInBillOperationCompleted(object arg) {
+            if ((this.set_CheckAddPOStockInBillCompleted != null)) {
                 System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
-                this.get_SourceBarCode_EntrustOutCompleted(this, new get_SourceBarCode_EntrustOutCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+                this.set_CheckAddPOStockInBillCompleted(this, new set_CheckAddPOStockInBillCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
             }
         }
         
         /// <remarks/>
-        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/get_CheckTypeByMouldSource", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
-        public ClsKf_ICStockBill_Mould get_CheckTypeByMouldSource(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HHMaker, long HOWNERID, ref string sErrMsg) {
-            object[] results = this.Invoke("get_CheckTypeByMouldSource", new object[] {
-                        HInterID,
-                        HBillNo,
-                        HBillType,
-                        HSourceBillNo,
-                        HSourceBillType,
-                        HHMaker,
-                        HOWNERID,
+        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_CheckPOStockInBill", 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_CheckPOStockInBill(ClsKf_POStockInBillMain_K3 oMain, ref string sErrMsg) {
+            object[] results = this.Invoke("set_CheckPOStockInBill", new object[] {
+                        oMain,
                         sErrMsg});
             sErrMsg = ((string)(results[1]));
-            return ((ClsKf_ICStockBill_Mould)(results[0]));
+            return ((bool)(results[0]));
         }
         
         /// <remarks/>
-        public void get_CheckTypeByMouldSourceAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HHMaker, long HOWNERID, string sErrMsg) {
-            this.get_CheckTypeByMouldSourceAsync(HInterID, HBillNo, HBillType, HSourceBillNo, HSourceBillType, HHMaker, HOWNERID, sErrMsg, null);
+        public void set_CheckPOStockInBillAsync(ClsKf_POStockInBillMain_K3 oMain, string sErrMsg) {
+            this.set_CheckPOStockInBillAsync(oMain, sErrMsg, null);
         }
         
         /// <remarks/>
-        public void get_CheckTypeByMouldSourceAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HHMaker, long HOWNERID, string sErrMsg, object userState) {
-            if ((this.get_CheckTypeByMouldSourceOperationCompleted == null)) {
-                this.get_CheckTypeByMouldSourceOperationCompleted = new System.Threading.SendOrPostCallback(this.Onget_CheckTypeByMouldSourceOperationCompleted);
+        public void set_CheckPOStockInBillAsync(ClsKf_POStockInBillMain_K3 oMain, string sErrMsg, object userState) {
+            if ((this.set_CheckPOStockInBillOperationCompleted == null)) {
+                this.set_CheckPOStockInBillOperationCompleted = new System.Threading.SendOrPostCallback(this.Onset_CheckPOStockInBillOperationCompleted);
             }
-            this.InvokeAsync("get_CheckTypeByMouldSource", new object[] {
-                        HInterID,
-                        HBillNo,
-                        HBillType,
-                        HSourceBillNo,
-                        HSourceBillType,
-                        HHMaker,
-                        HOWNERID,
-                        sErrMsg}, this.get_CheckTypeByMouldSourceOperationCompleted, userState);
+            this.InvokeAsync("set_CheckPOStockInBill", new object[] {
+                        oMain,
+                        sErrMsg}, this.set_CheckPOStockInBillOperationCompleted, userState);
         }
         
-        private void Onget_CheckTypeByMouldSourceOperationCompleted(object arg) {
-            if ((this.get_CheckTypeByMouldSourceCompleted != null)) {
+        private void Onset_CheckPOStockInBillOperationCompleted(object arg) {
+            if ((this.set_CheckPOStockInBillCompleted != null)) {
                 System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
-                this.get_CheckTypeByMouldSourceCompleted(this, new get_CheckTypeByMouldSourceCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
-            }
-        }
-        
-        /// <remarks/>
-        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/getMouldSourceBillList", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
-        public ClsKf_ICStockBill_Mould getMouldSourceBillList(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HHMaker, long HOWNERID, ref string sErrMsg) {
-            object[] results = this.Invoke("getMouldSourceBillList", new object[] {
-                        HInterID,
-                        HBillNo,
-                        HBillType,
-                        HSourceBillNo,
-                        HSourceBillType,
-                        HHMaker,
-                        HOWNERID,
-                        sErrMsg});
-            sErrMsg = ((string)(results[1]));
-            return ((ClsKf_ICStockBill_Mould)(results[0]));
-        }
-        
-        /// <remarks/>
-        public void getMouldSourceBillListAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HHMaker, long HOWNERID, string sErrMsg) {
-            this.getMouldSourceBillListAsync(HInterID, HBillNo, HBillType, HSourceBillNo, HSourceBillType, HHMaker, HOWNERID, sErrMsg, null);
-        }
-        
-        /// <remarks/>
-        public void getMouldSourceBillListAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HHMaker, long HOWNERID, string sErrMsg, object userState) {
-            if ((this.getMouldSourceBillListOperationCompleted == null)) {
-                this.getMouldSourceBillListOperationCompleted = new System.Threading.SendOrPostCallback(this.OngetMouldSourceBillListOperationCompleted);
-            }
-            this.InvokeAsync("getMouldSourceBillList", new object[] {
-                        HInterID,
-                        HBillNo,
-                        HBillType,
-                        HSourceBillNo,
-                        HSourceBillType,
-                        HHMaker,
-                        HOWNERID,
-                        sErrMsg}, this.getMouldSourceBillListOperationCompleted, userState);
-        }
-        
-        private void OngetMouldSourceBillListOperationCompleted(object arg) {
-            if ((this.getMouldSourceBillListCompleted != null)) {
-                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
-                this.getMouldSourceBillListCompleted(this, new getMouldSourceBillListCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+                this.set_CheckPOStockInBillCompleted(this, new set_CheckPOStockInBillCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
             }
         }
         
@@ -9476,87 +9932,6 @@
         }
         
         /// <remarks/>
-        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/Get_ICInventoryByMaterIDList", 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_ICInventoryByMaterIDList(string sBarCode, long HWHID, long HSPID, long HOWNERID, string sWhere) {
-            object[] results = this.Invoke("Get_ICInventoryByMaterIDList", new object[] {
-                        sBarCode,
-                        HWHID,
-                        HSPID,
-                        HOWNERID,
-                        sWhere});
-            return ((System.Data.DataSet)(results[0]));
-        }
-        
-        /// <remarks/>
-        public void Get_ICInventoryByMaterIDListAsync(string sBarCode, long HWHID, long HSPID, long HOWNERID, string sWhere) {
-            this.Get_ICInventoryByMaterIDListAsync(sBarCode, HWHID, HSPID, HOWNERID, sWhere, null);
-        }
-        
-        /// <remarks/>
-        public void Get_ICInventoryByMaterIDListAsync(string sBarCode, long HWHID, long HSPID, long HOWNERID, string sWhere, object userState) {
-            if ((this.Get_ICInventoryByMaterIDListOperationCompleted == null)) {
-                this.Get_ICInventoryByMaterIDListOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGet_ICInventoryByMaterIDListOperationCompleted);
-            }
-            this.InvokeAsync("Get_ICInventoryByMaterIDList", new object[] {
-                        sBarCode,
-                        HWHID,
-                        HSPID,
-                        HOWNERID,
-                        sWhere}, this.Get_ICInventoryByMaterIDListOperationCompleted, userState);
-        }
-        
-        private void OnGet_ICInventoryByMaterIDListOperationCompleted(object arg) {
-            if ((this.Get_ICInventoryByMaterIDListCompleted != null)) {
-                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
-                this.Get_ICInventoryByMaterIDListCompleted(this, new Get_ICInventoryByMaterIDListCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
-            }
-        }
-        
-        /// <remarks/>
-        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/Get_CheckQtyByBarCode", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
-        public bool Get_CheckQtyByBarCode(string sBarcode, long HWHID, long HSPID, long HAuxPropID, string sBatchNo, string HMTONo, double sQty, ref double sRelQty) {
-            object[] results = this.Invoke("Get_CheckQtyByBarCode", new object[] {
-                        sBarcode,
-                        HWHID,
-                        HSPID,
-                        HAuxPropID,
-                        sBatchNo,
-                        HMTONo,
-                        sQty,
-                        sRelQty});
-            sRelQty = ((double)(results[1]));
-            return ((bool)(results[0]));
-        }
-        
-        /// <remarks/>
-        public void Get_CheckQtyByBarCodeAsync(string sBarcode, long HWHID, long HSPID, long HAuxPropID, string sBatchNo, string HMTONo, double sQty, double sRelQty) {
-            this.Get_CheckQtyByBarCodeAsync(sBarcode, HWHID, HSPID, HAuxPropID, sBatchNo, HMTONo, sQty, sRelQty, null);
-        }
-        
-        /// <remarks/>
-        public void Get_CheckQtyByBarCodeAsync(string sBarcode, long HWHID, long HSPID, long HAuxPropID, string sBatchNo, string HMTONo, double sQty, double sRelQty, object userState) {
-            if ((this.Get_CheckQtyByBarCodeOperationCompleted == null)) {
-                this.Get_CheckQtyByBarCodeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGet_CheckQtyByBarCodeOperationCompleted);
-            }
-            this.InvokeAsync("Get_CheckQtyByBarCode", new object[] {
-                        sBarcode,
-                        HWHID,
-                        HSPID,
-                        HAuxPropID,
-                        sBatchNo,
-                        HMTONo,
-                        sQty,
-                        sRelQty}, this.Get_CheckQtyByBarCodeOperationCompleted, userState);
-        }
-        
-        private void OnGet_CheckQtyByBarCodeOperationCompleted(object arg) {
-            if ((this.Get_CheckQtyByBarCodeCompleted != null)) {
-                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
-                this.Get_CheckQtyByBarCodeCompleted(this, new Get_CheckQtyByBarCodeCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
-            }
-        }
-        
-        /// <remarks/>
         [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_SaveSellOutBill", 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_SaveSellOutBill(ClsKf_SellOutBillMain oMain, string sHSourceType, ref string sErrMsg) {
             object[] results = this.Invoke("set_SaveSellOutBill", new object[] {
@@ -11206,6 +11581,38 @@
         }
         
         /// <remarks/>
+        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_SaveOtherOutBill_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_SaveOtherOutBill_BillCheck(ClsKf_OtherOutBillMain oMain, ref string sErrMsg) {
+            object[] results = this.Invoke("set_SaveOtherOutBill_BillCheck", new object[] {
+                        oMain,
+                        sErrMsg});
+            sErrMsg = ((string)(results[1]));
+            return ((bool)(results[0]));
+        }
+        
+        /// <remarks/>
+        public void set_SaveOtherOutBill_BillCheckAsync(ClsKf_OtherOutBillMain oMain, string sErrMsg) {
+            this.set_SaveOtherOutBill_BillCheckAsync(oMain, sErrMsg, null);
+        }
+        
+        /// <remarks/>
+        public void set_SaveOtherOutBill_BillCheckAsync(ClsKf_OtherOutBillMain oMain, string sErrMsg, object userState) {
+            if ((this.set_SaveOtherOutBill_BillCheckOperationCompleted == null)) {
+                this.set_SaveOtherOutBill_BillCheckOperationCompleted = new System.Threading.SendOrPostCallback(this.Onset_SaveOtherOutBill_BillCheckOperationCompleted);
+            }
+            this.InvokeAsync("set_SaveOtherOutBill_BillCheck", new object[] {
+                        oMain,
+                        sErrMsg}, this.set_SaveOtherOutBill_BillCheckOperationCompleted, userState);
+        }
+        
+        private void Onset_SaveOtherOutBill_BillCheckOperationCompleted(object arg) {
+            if ((this.set_SaveOtherOutBill_BillCheckCompleted != null)) {
+                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
+                this.set_SaveOtherOutBill_BillCheckCompleted(this, new set_SaveOtherOutBill_BillCheckCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
+            }
+        }
+        
+        /// <remarks/>
         [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_SavePOStockInBackBill", 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_SavePOStockInBackBill(ClsKf_ICStockBillMain oMain, string sHSourceType, ref string sErrMsg) {
             object[] results = this.Invoke("set_SavePOStockInBackBill", new object[] {
@@ -11376,70 +11783,6 @@
             if ((this.set_SavePOStockInBillCompleted != null)) {
                 System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                 this.set_SavePOStockInBillCompleted(this, new set_SavePOStockInBillCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
-            }
-        }
-        
-        /// <remarks/>
-        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_CheckAddPOStockInBill", 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_CheckAddPOStockInBill(ClsKf_POStockInBillMain_K3 oMain, ref string sErrMsg) {
-            object[] results = this.Invoke("set_CheckAddPOStockInBill", new object[] {
-                        oMain,
-                        sErrMsg});
-            sErrMsg = ((string)(results[1]));
-            return ((bool)(results[0]));
-        }
-        
-        /// <remarks/>
-        public void set_CheckAddPOStockInBillAsync(ClsKf_POStockInBillMain_K3 oMain, string sErrMsg) {
-            this.set_CheckAddPOStockInBillAsync(oMain, sErrMsg, null);
-        }
-        
-        /// <remarks/>
-        public void set_CheckAddPOStockInBillAsync(ClsKf_POStockInBillMain_K3 oMain, string sErrMsg, object userState) {
-            if ((this.set_CheckAddPOStockInBillOperationCompleted == null)) {
-                this.set_CheckAddPOStockInBillOperationCompleted = new System.Threading.SendOrPostCallback(this.Onset_CheckAddPOStockInBillOperationCompleted);
-            }
-            this.InvokeAsync("set_CheckAddPOStockInBill", new object[] {
-                        oMain,
-                        sErrMsg}, this.set_CheckAddPOStockInBillOperationCompleted, userState);
-        }
-        
-        private void Onset_CheckAddPOStockInBillOperationCompleted(object arg) {
-            if ((this.set_CheckAddPOStockInBillCompleted != null)) {
-                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
-                this.set_CheckAddPOStockInBillCompleted(this, new set_CheckAddPOStockInBillCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
-            }
-        }
-        
-        /// <remarks/>
-        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_CheckPOStockInBill", 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_CheckPOStockInBill(ClsKf_POStockInBillMain_K3 oMain, ref string sErrMsg) {
-            object[] results = this.Invoke("set_CheckPOStockInBill", new object[] {
-                        oMain,
-                        sErrMsg});
-            sErrMsg = ((string)(results[1]));
-            return ((bool)(results[0]));
-        }
-        
-        /// <remarks/>
-        public void set_CheckPOStockInBillAsync(ClsKf_POStockInBillMain_K3 oMain, string sErrMsg) {
-            this.set_CheckPOStockInBillAsync(oMain, sErrMsg, null);
-        }
-        
-        /// <remarks/>
-        public void set_CheckPOStockInBillAsync(ClsKf_POStockInBillMain_K3 oMain, string sErrMsg, object userState) {
-            if ((this.set_CheckPOStockInBillOperationCompleted == null)) {
-                this.set_CheckPOStockInBillOperationCompleted = new System.Threading.SendOrPostCallback(this.Onset_CheckPOStockInBillOperationCompleted);
-            }
-            this.InvokeAsync("set_CheckPOStockInBill", new object[] {
-                        oMain,
-                        sErrMsg}, this.set_CheckPOStockInBillOperationCompleted, userState);
-        }
-        
-        private void Onset_CheckPOStockInBillOperationCompleted(object arg) {
-            if ((this.set_CheckPOStockInBillCompleted != null)) {
-                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
-                this.set_CheckPOStockInBillCompleted(this, new set_CheckPOStockInBillCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
             }
         }
         
@@ -19353,101 +19696,235 @@
     [System.Diagnostics.DebuggerStepThroughAttribute()]
     [System.ComponentModel.DesignerCategoryAttribute("code")]
     [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
-    public partial class ClsSc_MouldStockBillMain : ClsXt_BaseBillMain {
+    public partial class ClsKf_ICStockBill_WMS {
         
-        private long hSCWHIDField;
+        private long hItemIDField;
         
-        private long hSupIDField;
+        private string hBarTypeField;
         
-        private long hEmpIDField;
+        private long hWhIDField;
         
-        private long hManagerIDField;
+        private string hWhNumberField;
         
-        private long hWHIDField;
+        private string hWhNameField;
         
-        private long hSecManagerIDField;
+        private bool hSPFlagField;
         
-        private long hKeeperIDField;
+        private long hSPIDField;
+        
+        private string hSPNumberField;
+        
+        private string hSPNameField;
+        
+        private long hSCWhIDField;
+        
+        private string hSCWhNumberField;
+        
+        private string hSCWhNameField;
+        
+        private bool hSCSPFlagField;
+        
+        private long hSCSPIDField;
+        
+        private string hSCSPNumberField;
+        
+        private string hSCSPNameField;
         
         private long hDeptIDField;
         
-        private string hExplanationField;
+        private string hDeptNumberField;
         
-        private string hInnerBillNoField;
+        private string hDeptNameField;
         
-        private bool hRedBlueFlagField;
+        private long hSupIDField;
         
-        private string hRepairTypeField;
+        private string hSupNumberField;
         
-        private long hCorrespondentTypeIDField;
+        private string hSupNameField;
+        
+        private string hSourceBillNoField;
+        
+        private string hSourceBillTypeField;
+        
+        private long hOWNERIDField;
+        
+        private string hOWNERNAMEField;
+        
+        private string hCustomField;
+        
+        private long hMulSourceFlagField;
+        
+        private string hStockStyleField;
+        
+        private long hStockInOrgIDField;
+        
+        private string hStockInOrgNameField;
+        
+        private long hStockOutOrgIDField;
+        
+        private string hStockOutOrgNameField;
+        
+        private long hInterIDField;
+        
+        private string hBillNoField;
         
         /// <remarks/>
-        public long HSCWHID {
+        public long HItemID {
             get {
-                return this.hSCWHIDField;
+                return this.hItemIDField;
             }
             set {
-                this.hSCWHIDField = value;
+                this.hItemIDField = value;
             }
         }
         
         /// <remarks/>
-        public long HSupID {
+        public string HBarType {
             get {
-                return this.hSupIDField;
+                return this.hBarTypeField;
             }
             set {
-                this.hSupIDField = value;
+                this.hBarTypeField = value;
             }
         }
         
         /// <remarks/>
-        public long HEmpID {
+        public long HWhID {
             get {
-                return this.hEmpIDField;
+                return this.hWhIDField;
             }
             set {
-                this.hEmpIDField = value;
+                this.hWhIDField = value;
             }
         }
         
         /// <remarks/>
-        public long HManagerID {
+        public string HWhNumber {
             get {
-                return this.hManagerIDField;
+                return this.hWhNumberField;
             }
             set {
-                this.hManagerIDField = value;
+                this.hWhNumberField = value;
             }
         }
         
         /// <remarks/>
-        public long HWHID {
+        public string HWhName {
             get {
-                return this.hWHIDField;
+                return this.hWhNameField;
             }
             set {
-                this.hWHIDField = value;
+                this.hWhNameField = value;
             }
         }
         
         /// <remarks/>
-        public long HSecManagerID {
+        public bool HSPFlag {
             get {
-                return this.hSecManagerIDField;
+                return this.hSPFlagField;
             }
             set {
-                this.hSecManagerIDField = value;
+                this.hSPFlagField = value;
             }
         }
         
         /// <remarks/>
-        public long HKeeperID {
+        public long HSPID {
             get {
-                return this.hKeeperIDField;
+                return this.hSPIDField;
             }
             set {
-                this.hKeeperIDField = value;
+                this.hSPIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HSPNumber {
+            get {
+                return this.hSPNumberField;
+            }
+            set {
+                this.hSPNumberField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HSPName {
+            get {
+                return this.hSPNameField;
+            }
+            set {
+                this.hSPNameField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HSCWhID {
+            get {
+                return this.hSCWhIDField;
+            }
+            set {
+                this.hSCWhIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HSCWhNumber {
+            get {
+                return this.hSCWhNumberField;
+            }
+            set {
+                this.hSCWhNumberField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HSCWhName {
+            get {
+                return this.hSCWhNameField;
+            }
+            set {
+                this.hSCWhNameField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public bool HSCSPFlag {
+            get {
+                return this.hSCSPFlagField;
+            }
+            set {
+                this.hSCSPFlagField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HSCSPID {
+            get {
+                return this.hSCSPIDField;
+            }
+            set {
+                this.hSCSPIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HSCSPNumber {
+            get {
+                return this.hSCSPNumberField;
+            }
+            set {
+                this.hSCSPNumberField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HSCSPName {
+            get {
+                return this.hSCSPNameField;
+            }
+            set {
+                this.hSCSPNameField = value;
             }
         }
         
@@ -19462,198 +19939,162 @@
         }
         
         /// <remarks/>
-        public string HExplanation {
+        public string HDeptNumber {
             get {
-                return this.hExplanationField;
+                return this.hDeptNumberField;
             }
             set {
-                this.hExplanationField = value;
+                this.hDeptNumberField = value;
             }
         }
         
         /// <remarks/>
-        public string HInnerBillNo {
+        public string HDeptName {
             get {
-                return this.hInnerBillNoField;
+                return this.hDeptNameField;
             }
             set {
-                this.hInnerBillNoField = value;
+                this.hDeptNameField = value;
             }
         }
         
         /// <remarks/>
-        public bool HRedBlueFlag {
+        public long HSupID {
             get {
-                return this.hRedBlueFlagField;
+                return this.hSupIDField;
             }
             set {
-                this.hRedBlueFlagField = value;
+                this.hSupIDField = value;
             }
         }
         
         /// <remarks/>
-        public string HRepairType {
+        public string HSupNumber {
             get {
-                return this.hRepairTypeField;
+                return this.hSupNumberField;
             }
             set {
-                this.hRepairTypeField = value;
+                this.hSupNumberField = value;
             }
         }
         
         /// <remarks/>
-        public long HCorrespondentTypeID {
+        public string HSupName {
             get {
-                return this.hCorrespondentTypeIDField;
+                return this.hSupNameField;
             }
             set {
-                this.hCorrespondentTypeIDField = value;
-            }
-        }
-    }
-    
-    /// <remarks/>
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_ProcExchReportMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_PackUnionBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_PackDoubleBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_PackSplitBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_MoveStockStepInBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_MoveStockStepOutBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_MoveStockBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_QualityReportBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_ICMOReportBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_DoorOutCheckBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_OtherOutBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_EntrustOutBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_EntrustInBackBillMain_CLD))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_MateReplenishOutBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_MateOutBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_StdWorkQtyBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_MESBeginWorkBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_StationInBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_SellOutBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsQC_NoPassProdCheckBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsCg_POInStockBillMain_K3))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsCg_POInStockBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_MouldProdInBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_OtherInBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_EntrustInBillMain_K3))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_EntrustInBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_ProductInBillMain_K3))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_ICStockBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_ProductInBillMain_CLD))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_ProductInBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_POStockInBillMain))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_POStockInBillMain_K3))]
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_MouldStockBillMain))]
-    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")]
-    [System.SerializableAttribute()]
-    [System.Diagnostics.DebuggerStepThroughAttribute()]
-    [System.ComponentModel.DesignerCategoryAttribute("code")]
-    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
-    public partial class ClsXt_BaseBillMain {
-        
-        private long hYearField;
-        
-        private long hPeriodField;
-        
-        private string hBillTypeField;
-        
-        private string hBillSubTypeField;
-        
-        private long hInterIDField;
-        
-        private System.DateTime hDateField;
-        
-        private string hBillNoField;
-        
-        private int hBillStatusField;
-        
-        private long hCheckItemNowIDField;
-        
-        private long hCheckItemNextIDField;
-        
-        private long hCheckFlowIDField;
-        
-        private string hRemarkField;
-        
-        private string hEmpCodeField;
-        
-        private string hMakerField;
-        
-        private string hMakeDateField;
-        
-        private string hUpDaterField;
-        
-        private string hUpDateDateField;
-        
-        private string hCheckerField;
-        
-        private string hCheckDateField;
-        
-        private string hBackerField;
-        
-        private string hBackDateField;
-        
-        private string hBackRemarkField;
-        
-        private string hCloseManField;
-        
-        private string hCloseDateField;
-        
-        private bool hCloseTypeField;
-        
-        private string hDeleteManField;
-        
-        private string hDeleteDateField;
-        
-        private long hBillerIDField;
-        
-        private string hMainSourceBillNoField;
-        
-        private string hMainSourceBillTypeField;
-        
-        private long hMainSourceInterIDField;
-        
-        private long hMainSourceEntryIDField;
-        
-        /// <remarks/>
-        public long HYear {
-            get {
-                return this.hYearField;
-            }
-            set {
-                this.hYearField = value;
+                this.hSupNameField = value;
             }
         }
         
         /// <remarks/>
-        public long HPeriod {
+        public string HSourceBillNo {
             get {
-                return this.hPeriodField;
+                return this.hSourceBillNoField;
             }
             set {
-                this.hPeriodField = value;
+                this.hSourceBillNoField = value;
             }
         }
         
         /// <remarks/>
-        public string HBillType {
+        public string HSourceBillType {
             get {
-                return this.hBillTypeField;
+                return this.hSourceBillTypeField;
             }
             set {
-                this.hBillTypeField = value;
+                this.hSourceBillTypeField = value;
             }
         }
         
         /// <remarks/>
-        public string HBillSubType {
+        public long HOWNERID {
             get {
-                return this.hBillSubTypeField;
+                return this.hOWNERIDField;
             }
             set {
-                this.hBillSubTypeField = value;
+                this.hOWNERIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HOWNERNAME {
+            get {
+                return this.hOWNERNAMEField;
+            }
+            set {
+                this.hOWNERNAMEField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HCustom {
+            get {
+                return this.hCustomField;
+            }
+            set {
+                this.hCustomField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HMulSourceFlag {
+            get {
+                return this.hMulSourceFlagField;
+            }
+            set {
+                this.hMulSourceFlagField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HStockStyle {
+            get {
+                return this.hStockStyleField;
+            }
+            set {
+                this.hStockStyleField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HStockInOrgID {
+            get {
+                return this.hStockInOrgIDField;
+            }
+            set {
+                this.hStockInOrgIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HStockInOrgName {
+            get {
+                return this.hStockInOrgNameField;
+            }
+            set {
+                this.hStockInOrgNameField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HStockOutOrgID {
+            get {
+                return this.hStockOutOrgIDField;
+            }
+            set {
+                this.hStockOutOrgIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HStockOutOrgName {
+            get {
+                return this.hStockOutOrgNameField;
+            }
+            set {
+                this.hStockOutOrgNameField = value;
             }
         }
         
@@ -19668,272 +20109,12 @@
         }
         
         /// <remarks/>
-        public System.DateTime HDate {
-            get {
-                return this.hDateField;
-            }
-            set {
-                this.hDateField = value;
-            }
-        }
-        
-        /// <remarks/>
         public string HBillNo {
             get {
                 return this.hBillNoField;
             }
             set {
                 this.hBillNoField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public int HBillStatus {
-            get {
-                return this.hBillStatusField;
-            }
-            set {
-                this.hBillStatusField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HCheckItemNowID {
-            get {
-                return this.hCheckItemNowIDField;
-            }
-            set {
-                this.hCheckItemNowIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HCheckItemNextID {
-            get {
-                return this.hCheckItemNextIDField;
-            }
-            set {
-                this.hCheckItemNextIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HCheckFlowID {
-            get {
-                return this.hCheckFlowIDField;
-            }
-            set {
-                this.hCheckFlowIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HRemark {
-            get {
-                return this.hRemarkField;
-            }
-            set {
-                this.hRemarkField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HEmpCode {
-            get {
-                return this.hEmpCodeField;
-            }
-            set {
-                this.hEmpCodeField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HMaker {
-            get {
-                return this.hMakerField;
-            }
-            set {
-                this.hMakerField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HMakeDate {
-            get {
-                return this.hMakeDateField;
-            }
-            set {
-                this.hMakeDateField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HUpDater {
-            get {
-                return this.hUpDaterField;
-            }
-            set {
-                this.hUpDaterField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HUpDateDate {
-            get {
-                return this.hUpDateDateField;
-            }
-            set {
-                this.hUpDateDateField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HChecker {
-            get {
-                return this.hCheckerField;
-            }
-            set {
-                this.hCheckerField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HCheckDate {
-            get {
-                return this.hCheckDateField;
-            }
-            set {
-                this.hCheckDateField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HBacker {
-            get {
-                return this.hBackerField;
-            }
-            set {
-                this.hBackerField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HBackDate {
-            get {
-                return this.hBackDateField;
-            }
-            set {
-                this.hBackDateField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HBackRemark {
-            get {
-                return this.hBackRemarkField;
-            }
-            set {
-                this.hBackRemarkField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HCloseMan {
-            get {
-                return this.hCloseManField;
-            }
-            set {
-                this.hCloseManField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HCloseDate {
-            get {
-                return this.hCloseDateField;
-            }
-            set {
-                this.hCloseDateField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public bool HCloseType {
-            get {
-                return this.hCloseTypeField;
-            }
-            set {
-                this.hCloseTypeField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HDeleteMan {
-            get {
-                return this.hDeleteManField;
-            }
-            set {
-                this.hDeleteManField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HDeleteDate {
-            get {
-                return this.hDeleteDateField;
-            }
-            set {
-                this.hDeleteDateField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HBillerID {
-            get {
-                return this.hBillerIDField;
-            }
-            set {
-                this.hBillerIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HMainSourceBillNo {
-            get {
-                return this.hMainSourceBillNoField;
-            }
-            set {
-                this.hMainSourceBillNoField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HMainSourceBillType {
-            get {
-                return this.hMainSourceBillTypeField;
-            }
-            set {
-                this.hMainSourceBillTypeField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HMainSourceInterID {
-            get {
-                return this.hMainSourceInterIDField;
-            }
-            set {
-                this.hMainSourceInterIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HMainSourceEntryID {
-            get {
-                return this.hMainSourceEntryIDField;
-            }
-            set {
-                this.hMainSourceEntryIDField = value;
             }
         }
     }
@@ -31167,553 +31348,6 @@
     }
     
     /// <remarks/>
-    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsGy_BarCodeBill_WMS_Model_View))]
-    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")]
-    [System.SerializableAttribute()]
-    [System.Diagnostics.DebuggerStepThroughAttribute()]
-    [System.ComponentModel.DesignerCategoryAttribute("code")]
-    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
-    public partial class ClsGy_BarCodeBill_WMS_Model {
-        
-        private long hItemIDField;
-        
-        private string hBarCodeField;
-        
-        private string hBatchNoField;
-        
-        private long hMaterIDField;
-        
-        private long hUnitIDField;
-        
-        private string hBarCodeTypeField;
-        
-        private double hQtyField;
-        
-        private long hSupIDField;
-        
-        private long hGroupIDField;
-        
-        private string hMakerField;
-        
-        private System.DateTime hMakeDateField;
-        
-        private string hRemarkField;
-        
-        private long hSourceInterIDField;
-        
-        private long hSourceEntryIDField;
-        
-        private string hSourceBillNoField;
-        
-        private string hSourceBillTypeField;
-        
-        private long hPrintQtyField;
-        
-        private long hDeptIDField;
-        
-        private double hinitQtyField;
-        
-        private string hMTONoField;
-        
-        private bool hStopflagField;
-        
-        /// <remarks/>
-        public long HItemID {
-            get {
-                return this.hItemIDField;
-            }
-            set {
-                this.hItemIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HBarCode {
-            get {
-                return this.hBarCodeField;
-            }
-            set {
-                this.hBarCodeField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HBatchNo {
-            get {
-                return this.hBatchNoField;
-            }
-            set {
-                this.hBatchNoField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HMaterID {
-            get {
-                return this.hMaterIDField;
-            }
-            set {
-                this.hMaterIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HUnitID {
-            get {
-                return this.hUnitIDField;
-            }
-            set {
-                this.hUnitIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HBarCodeType {
-            get {
-                return this.hBarCodeTypeField;
-            }
-            set {
-                this.hBarCodeTypeField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public double HQty {
-            get {
-                return this.hQtyField;
-            }
-            set {
-                this.hQtyField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HSupID {
-            get {
-                return this.hSupIDField;
-            }
-            set {
-                this.hSupIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HGroupID {
-            get {
-                return this.hGroupIDField;
-            }
-            set {
-                this.hGroupIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HMaker {
-            get {
-                return this.hMakerField;
-            }
-            set {
-                this.hMakerField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public System.DateTime HMakeDate {
-            get {
-                return this.hMakeDateField;
-            }
-            set {
-                this.hMakeDateField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HRemark {
-            get {
-                return this.hRemarkField;
-            }
-            set {
-                this.hRemarkField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HSourceInterID {
-            get {
-                return this.hSourceInterIDField;
-            }
-            set {
-                this.hSourceInterIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HSourceEntryID {
-            get {
-                return this.hSourceEntryIDField;
-            }
-            set {
-                this.hSourceEntryIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HSourceBillNo {
-            get {
-                return this.hSourceBillNoField;
-            }
-            set {
-                this.hSourceBillNoField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HSourceBillType {
-            get {
-                return this.hSourceBillTypeField;
-            }
-            set {
-                this.hSourceBillTypeField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HPrintQty {
-            get {
-                return this.hPrintQtyField;
-            }
-            set {
-                this.hPrintQtyField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HDeptID {
-            get {
-                return this.hDeptIDField;
-            }
-            set {
-                this.hDeptIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public double HinitQty {
-            get {
-                return this.hinitQtyField;
-            }
-            set {
-                this.hinitQtyField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HMTONo {
-            get {
-                return this.hMTONoField;
-            }
-            set {
-                this.hMTONoField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public bool HStopflag {
-            get {
-                return this.hStopflagField;
-            }
-            set {
-                this.hStopflagField = value;
-            }
-        }
-    }
-    
-    /// <remarks/>
-    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")]
-    [System.SerializableAttribute()]
-    [System.Diagnostics.DebuggerStepThroughAttribute()]
-    [System.ComponentModel.DesignerCategoryAttribute("code")]
-    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
-    public partial class ClsGy_BarCodeBill_WMS_Model_View : ClsGy_BarCodeBill_WMS_Model {
-        
-        private string hMaterNumberField;
-        
-        private string hMaterNameField;
-        
-        private string hMaterModelField;
-        
-        private string hUnitNameField;
-        
-        private string hSupNameField;
-        
-        private string hGroupNameField;
-        
-        private string hDeptNameField;
-        
-        private long hErpClsIDField;
-        
-        private long hWHIDField;
-        
-        private long hSPIDField;
-        
-        private string hCusRelationNumberField;
-        
-        private string hBarCodeStatusField;
-        
-        private string hWHNameField;
-        
-        private System.DateTime hDateField;
-        
-        private long hInstructIDField;
-        
-        private string hInstructNoField;
-        
-        private long hSeOrderBillIDField;
-        
-        private string hSeOrderBillNoField;
-        
-        private long hCheckerIDField;
-        
-        private long hAuxPropIDField;
-        
-        private string hAuxPropNameField;
-        
-        private long hSTOCKORGIDField;
-        
-        private long hOWNERIDField;
-        
-        /// <remarks/>
-        public string HMaterNumber {
-            get {
-                return this.hMaterNumberField;
-            }
-            set {
-                this.hMaterNumberField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HMaterName {
-            get {
-                return this.hMaterNameField;
-            }
-            set {
-                this.hMaterNameField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HMaterModel {
-            get {
-                return this.hMaterModelField;
-            }
-            set {
-                this.hMaterModelField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HUnitName {
-            get {
-                return this.hUnitNameField;
-            }
-            set {
-                this.hUnitNameField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HSupName {
-            get {
-                return this.hSupNameField;
-            }
-            set {
-                this.hSupNameField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HGroupName {
-            get {
-                return this.hGroupNameField;
-            }
-            set {
-                this.hGroupNameField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HDeptName {
-            get {
-                return this.hDeptNameField;
-            }
-            set {
-                this.hDeptNameField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HErpClsID {
-            get {
-                return this.hErpClsIDField;
-            }
-            set {
-                this.hErpClsIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HWHID {
-            get {
-                return this.hWHIDField;
-            }
-            set {
-                this.hWHIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HSPID {
-            get {
-                return this.hSPIDField;
-            }
-            set {
-                this.hSPIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HCusRelationNumber {
-            get {
-                return this.hCusRelationNumberField;
-            }
-            set {
-                this.hCusRelationNumberField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HBarCodeStatus {
-            get {
-                return this.hBarCodeStatusField;
-            }
-            set {
-                this.hBarCodeStatusField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HWHName {
-            get {
-                return this.hWHNameField;
-            }
-            set {
-                this.hWHNameField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public System.DateTime HDate {
-            get {
-                return this.hDateField;
-            }
-            set {
-                this.hDateField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HInstructID {
-            get {
-                return this.hInstructIDField;
-            }
-            set {
-                this.hInstructIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HInstructNo {
-            get {
-                return this.hInstructNoField;
-            }
-            set {
-                this.hInstructNoField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HSeOrderBillID {
-            get {
-                return this.hSeOrderBillIDField;
-            }
-            set {
-                this.hSeOrderBillIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HSeOrderBillNo {
-            get {
-                return this.hSeOrderBillNoField;
-            }
-            set {
-                this.hSeOrderBillNoField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HCheckerID {
-            get {
-                return this.hCheckerIDField;
-            }
-            set {
-                this.hCheckerIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HAuxPropID {
-            get {
-                return this.hAuxPropIDField;
-            }
-            set {
-                this.hAuxPropIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HAuxPropName {
-            get {
-                return this.hAuxPropNameField;
-            }
-            set {
-                this.hAuxPropNameField = 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.4084.0")]
     [System.SerializableAttribute()]
     [System.Diagnostics.DebuggerStepThroughAttribute()]
@@ -33619,64 +33253,55 @@
     }
     
     /// <remarks/>
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsGy_BarCodeBill_WMS_Model_View))]
     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")]
     [System.SerializableAttribute()]
     [System.Diagnostics.DebuggerStepThroughAttribute()]
     [System.ComponentModel.DesignerCategoryAttribute("code")]
     [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
-    public partial class ClsKf_ICStockBill_Mould {
+    public partial class ClsGy_BarCodeBill_WMS_Model {
         
         private long hItemIDField;
         
-        private string hBarTypeField;
+        private string hBarCodeField;
         
-        private long hWhIDField;
+        private string hBatchNoField;
         
-        private string hWhNumberField;
+        private long hMaterIDField;
         
-        private string hWhNameField;
+        private long hUnitIDField;
         
-        private bool hSPFlagField;
+        private string hBarCodeTypeField;
         
-        private long hSPIDField;
-        
-        private string hSPNumberField;
-        
-        private string hSPNameField;
-        
-        private long hDeptIDField;
-        
-        private string hDeptNumberField;
-        
-        private string hDeptNameField;
+        private double hQtyField;
         
         private long hSupIDField;
         
-        private string hSupNumberField;
+        private long hGroupIDField;
         
-        private string hSupNameField;
+        private string hMakerField;
+        
+        private System.DateTime hMakeDateField;
+        
+        private string hRemarkField;
+        
+        private long hSourceInterIDField;
+        
+        private long hSourceEntryIDField;
         
         private string hSourceBillNoField;
         
         private string hSourceBillTypeField;
         
-        private long hOWNERIDField;
+        private long hPrintQtyField;
         
-        private string hOWNERNAMEField;
+        private long hDeptIDField;
         
-        private string hCustomField;
+        private double hinitQtyField;
         
-        private long hMulSourceFlagField;
+        private string hMTONoField;
         
-        private string hStockStyleField;
-        
-        private long hStockInOrgIDField;
-        
-        private string hStockInOrgNameField;
-        
-        private long hStockOutOrgIDField;
-        
-        private string hStockOutOrgNameField;
+        private bool hStopflagField;
         
         /// <remarks/>
         public long HItemID {
@@ -33689,112 +33314,62 @@
         }
         
         /// <remarks/>
-        public string HBarType {
+        public string HBarCode {
             get {
-                return this.hBarTypeField;
+                return this.hBarCodeField;
             }
             set {
-                this.hBarTypeField = value;
+                this.hBarCodeField = value;
             }
         }
         
         /// <remarks/>
-        public long HWhID {
+        public string HBatchNo {
             get {
-                return this.hWhIDField;
+                return this.hBatchNoField;
             }
             set {
-                this.hWhIDField = value;
+                this.hBatchNoField = value;
             }
         }
         
         /// <remarks/>
-        public string HWhNumber {
+        public long HMaterID {
             get {
-                return this.hWhNumberField;
+                return this.hMaterIDField;
             }
             set {
-                this.hWhNumberField = value;
+                this.hMaterIDField = value;
             }
         }
         
         /// <remarks/>
-        public string HWhName {
+        public long HUnitID {
             get {
-                return this.hWhNameField;
+                return this.hUnitIDField;
             }
             set {
-                this.hWhNameField = value;
+                this.hUnitIDField = value;
             }
         }
         
         /// <remarks/>
-        public bool HSPFlag {
+        public string HBarCodeType {
             get {
-                return this.hSPFlagField;
+                return this.hBarCodeTypeField;
             }
             set {
-                this.hSPFlagField = value;
+                this.hBarCodeTypeField = value;
             }
         }
         
         /// <remarks/>
-        public long HSPID {
+        public double HQty {
             get {
-                return this.hSPIDField;
+                return this.hQtyField;
             }
             set {
-                this.hSPIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HSPNumber {
-            get {
-                return this.hSPNumberField;
-            }
-            set {
-                this.hSPNumberField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HSPName {
-            get {
-                return this.hSPNameField;
-            }
-            set {
-                this.hSPNameField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HDeptID {
-            get {
-                return this.hDeptIDField;
-            }
-            set {
-                this.hDeptIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HDeptNumber {
-            get {
-                return this.hDeptNumberField;
-            }
-            set {
-                this.hDeptNumberField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HDeptName {
-            get {
-                return this.hDeptNameField;
-            }
-            set {
-                this.hDeptNameField = value;
+                this.hQtyField = value;
             }
         }
         
@@ -33809,22 +33384,62 @@
         }
         
         /// <remarks/>
-        public string HSupNumber {
+        public long HGroupID {
             get {
-                return this.hSupNumberField;
+                return this.hGroupIDField;
             }
             set {
-                this.hSupNumberField = value;
+                this.hGroupIDField = value;
             }
         }
         
         /// <remarks/>
-        public string HSupName {
+        public string HMaker {
             get {
-                return this.hSupNameField;
+                return this.hMakerField;
             }
             set {
-                this.hSupNameField = value;
+                this.hMakerField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public System.DateTime HMakeDate {
+            get {
+                return this.hMakeDateField;
+            }
+            set {
+                this.hMakeDateField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HRemark {
+            get {
+                return this.hRemarkField;
+            }
+            set {
+                this.hRemarkField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HSourceInterID {
+            get {
+                return this.hSourceInterIDField;
+            }
+            set {
+                this.hSourceInterIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HSourceEntryID {
+            get {
+                return this.hSourceEntryIDField;
+            }
+            set {
+                this.hSourceEntryIDField = value;
             }
         }
         
@@ -33849,92 +33464,52 @@
         }
         
         /// <remarks/>
-        public long HOWNERID {
+        public long HPrintQty {
             get {
-                return this.hOWNERIDField;
+                return this.hPrintQtyField;
             }
             set {
-                this.hOWNERIDField = value;
+                this.hPrintQtyField = value;
             }
         }
         
         /// <remarks/>
-        public string HOWNERNAME {
+        public long HDeptID {
             get {
-                return this.hOWNERNAMEField;
+                return this.hDeptIDField;
             }
             set {
-                this.hOWNERNAMEField = value;
+                this.hDeptIDField = value;
             }
         }
         
         /// <remarks/>
-        public string HCustom {
+        public double HinitQty {
             get {
-                return this.hCustomField;
+                return this.hinitQtyField;
             }
             set {
-                this.hCustomField = value;
+                this.hinitQtyField = value;
             }
         }
         
         /// <remarks/>
-        public long HMulSourceFlag {
+        public string HMTONo {
             get {
-                return this.hMulSourceFlagField;
+                return this.hMTONoField;
             }
             set {
-                this.hMulSourceFlagField = value;
+                this.hMTONoField = value;
             }
         }
         
         /// <remarks/>
-        public string HStockStyle {
+        public bool HStopflag {
             get {
-                return this.hStockStyleField;
+                return this.hStopflagField;
             }
             set {
-                this.hStockStyleField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HStockInOrgID {
-            get {
-                return this.hStockInOrgIDField;
-            }
-            set {
-                this.hStockInOrgIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HStockInOrgName {
-            get {
-                return this.hStockInOrgNameField;
-            }
-            set {
-                this.hStockInOrgNameField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HStockOutOrgID {
-            get {
-                return this.hStockOutOrgIDField;
-            }
-            set {
-                this.hStockOutOrgIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HStockOutOrgName {
-            get {
-                return this.hStockOutOrgNameField;
-            }
-            set {
-                this.hStockOutOrgNameField = value;
+                this.hStopflagField = value;
             }
         }
     }
@@ -33945,281 +33520,93 @@
     [System.Diagnostics.DebuggerStepThroughAttribute()]
     [System.ComponentModel.DesignerCategoryAttribute("code")]
     [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
-    public partial class ClsKf_ICStockBill_WMS {
+    public partial class ClsGy_BarCodeBill_WMS_Model_View : ClsGy_BarCodeBill_WMS_Model {
         
-        private long hItemIDField;
+        private string hMaterNumberField;
         
-        private string hBarTypeField;
+        private string hMaterNameField;
         
-        private long hWhIDField;
+        private string hMaterModelField;
         
-        private string hWhNumberField;
-        
-        private string hWhNameField;
-        
-        private bool hSPFlagField;
-        
-        private long hSPIDField;
-        
-        private string hSPNumberField;
-        
-        private string hSPNameField;
-        
-        private long hSCWhIDField;
-        
-        private string hSCWhNumberField;
-        
-        private string hSCWhNameField;
-        
-        private bool hSCSPFlagField;
-        
-        private long hSCSPIDField;
-        
-        private string hSCSPNumberField;
-        
-        private string hSCSPNameField;
-        
-        private long hDeptIDField;
-        
-        private string hDeptNumberField;
-        
-        private string hDeptNameField;
-        
-        private long hSupIDField;
-        
-        private string hSupNumberField;
+        private string hUnitNameField;
         
         private string hSupNameField;
         
-        private string hSourceBillNoField;
+        private string hGroupNameField;
         
-        private string hSourceBillTypeField;
+        private string hDeptNameField;
+        
+        private long hErpClsIDField;
+        
+        private long hWHIDField;
+        
+        private long hSPIDField;
+        
+        private string hCusRelationNumberField;
+        
+        private string hBarCodeStatusField;
+        
+        private string hWHNameField;
+        
+        private System.DateTime hDateField;
+        
+        private long hInstructIDField;
+        
+        private string hInstructNoField;
+        
+        private long hSeOrderBillIDField;
+        
+        private string hSeOrderBillNoField;
+        
+        private long hCheckerIDField;
+        
+        private long hAuxPropIDField;
+        
+        private string hAuxPropNameField;
+        
+        private long hSTOCKORGIDField;
         
         private long hOWNERIDField;
         
-        private string hOWNERNAMEField;
-        
-        private string hCustomField;
-        
-        private long hMulSourceFlagField;
-        
-        private string hStockStyleField;
-        
-        private long hStockInOrgIDField;
-        
-        private string hStockInOrgNameField;
-        
-        private long hStockOutOrgIDField;
-        
-        private string hStockOutOrgNameField;
+        private double hSourceQtyField;
         
         /// <remarks/>
-        public long HItemID {
+        public string HMaterNumber {
             get {
-                return this.hItemIDField;
+                return this.hMaterNumberField;
             }
             set {
-                this.hItemIDField = value;
+                this.hMaterNumberField = value;
             }
         }
         
         /// <remarks/>
-        public string HBarType {
+        public string HMaterName {
             get {
-                return this.hBarTypeField;
+                return this.hMaterNameField;
             }
             set {
-                this.hBarTypeField = value;
+                this.hMaterNameField = value;
             }
         }
         
         /// <remarks/>
-        public long HWhID {
+        public string HMaterModel {
             get {
-                return this.hWhIDField;
+                return this.hMaterModelField;
             }
             set {
-                this.hWhIDField = value;
+                this.hMaterModelField = value;
             }
         }
         
         /// <remarks/>
-        public string HWhNumber {
+        public string HUnitName {
             get {
-                return this.hWhNumberField;
+                return this.hUnitNameField;
             }
             set {
-                this.hWhNumberField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HWhName {
-            get {
-                return this.hWhNameField;
-            }
-            set {
-                this.hWhNameField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public bool HSPFlag {
-            get {
-                return this.hSPFlagField;
-            }
-            set {
-                this.hSPFlagField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HSPID {
-            get {
-                return this.hSPIDField;
-            }
-            set {
-                this.hSPIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HSPNumber {
-            get {
-                return this.hSPNumberField;
-            }
-            set {
-                this.hSPNumberField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HSPName {
-            get {
-                return this.hSPNameField;
-            }
-            set {
-                this.hSPNameField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HSCWhID {
-            get {
-                return this.hSCWhIDField;
-            }
-            set {
-                this.hSCWhIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HSCWhNumber {
-            get {
-                return this.hSCWhNumberField;
-            }
-            set {
-                this.hSCWhNumberField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HSCWhName {
-            get {
-                return this.hSCWhNameField;
-            }
-            set {
-                this.hSCWhNameField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public bool HSCSPFlag {
-            get {
-                return this.hSCSPFlagField;
-            }
-            set {
-                this.hSCSPFlagField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HSCSPID {
-            get {
-                return this.hSCSPIDField;
-            }
-            set {
-                this.hSCSPIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HSCSPNumber {
-            get {
-                return this.hSCSPNumberField;
-            }
-            set {
-                this.hSCSPNumberField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HSCSPName {
-            get {
-                return this.hSCSPNameField;
-            }
-            set {
-                this.hSCSPNameField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HDeptID {
-            get {
-                return this.hDeptIDField;
-            }
-            set {
-                this.hDeptIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HDeptNumber {
-            get {
-                return this.hDeptNumberField;
-            }
-            set {
-                this.hDeptNumberField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HDeptName {
-            get {
-                return this.hDeptNameField;
-            }
-            set {
-                this.hDeptNameField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public long HSupID {
-            get {
-                return this.hSupIDField;
-            }
-            set {
-                this.hSupIDField = value;
-            }
-        }
-        
-        /// <remarks/>
-        public string HSupNumber {
-            get {
-                return this.hSupNumberField;
-            }
-            set {
-                this.hSupNumberField = value;
+                this.hUnitNameField = value;
             }
         }
         
@@ -34234,22 +33621,172 @@
         }
         
         /// <remarks/>
-        public string HSourceBillNo {
+        public string HGroupName {
             get {
-                return this.hSourceBillNoField;
+                return this.hGroupNameField;
             }
             set {
-                this.hSourceBillNoField = value;
+                this.hGroupNameField = value;
             }
         }
         
         /// <remarks/>
-        public string HSourceBillType {
+        public string HDeptName {
             get {
-                return this.hSourceBillTypeField;
+                return this.hDeptNameField;
             }
             set {
-                this.hSourceBillTypeField = value;
+                this.hDeptNameField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HErpClsID {
+            get {
+                return this.hErpClsIDField;
+            }
+            set {
+                this.hErpClsIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HWHID {
+            get {
+                return this.hWHIDField;
+            }
+            set {
+                this.hWHIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HSPID {
+            get {
+                return this.hSPIDField;
+            }
+            set {
+                this.hSPIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HCusRelationNumber {
+            get {
+                return this.hCusRelationNumberField;
+            }
+            set {
+                this.hCusRelationNumberField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HBarCodeStatus {
+            get {
+                return this.hBarCodeStatusField;
+            }
+            set {
+                this.hBarCodeStatusField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HWHName {
+            get {
+                return this.hWHNameField;
+            }
+            set {
+                this.hWHNameField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public System.DateTime HDate {
+            get {
+                return this.hDateField;
+            }
+            set {
+                this.hDateField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HInstructID {
+            get {
+                return this.hInstructIDField;
+            }
+            set {
+                this.hInstructIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HInstructNo {
+            get {
+                return this.hInstructNoField;
+            }
+            set {
+                this.hInstructNoField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HSeOrderBillID {
+            get {
+                return this.hSeOrderBillIDField;
+            }
+            set {
+                this.hSeOrderBillIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HSeOrderBillNo {
+            get {
+                return this.hSeOrderBillNoField;
+            }
+            set {
+                this.hSeOrderBillNoField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HCheckerID {
+            get {
+                return this.hCheckerIDField;
+            }
+            set {
+                this.hCheckerIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HAuxPropID {
+            get {
+                return this.hAuxPropIDField;
+            }
+            set {
+                this.hAuxPropIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HAuxPropName {
+            get {
+                return this.hAuxPropNameField;
+            }
+            set {
+                this.hAuxPropNameField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HSTOCKORGID {
+            get {
+                return this.hSTOCKORGIDField;
+            }
+            set {
+                this.hSTOCKORGIDField = value;
             }
         }
         
@@ -34264,82 +33801,438 @@
         }
         
         /// <remarks/>
-        public string HOWNERNAME {
+        public double HSourceQty {
             get {
-                return this.hOWNERNAMEField;
+                return this.hSourceQtyField;
             }
             set {
-                this.hOWNERNAMEField = value;
+                this.hSourceQtyField = value;
+            }
+        }
+    }
+    
+    /// <remarks/>
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_ProcExchReportMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_PackUnionBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_PackDoubleBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_PackSplitBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_MoveStockStepInBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_MoveStockStepOutBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_MoveStockBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_QualityReportBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_ICMOReportBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_DoorOutCheckBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_OtherOutBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_EntrustOutBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_EntrustInBackBillMain_CLD))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_MateReplenishOutBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_MateOutBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_StdWorkQtyBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_MESBeginWorkBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_StationInBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_SellOutBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsQC_NoPassProdCheckBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsCg_POInStockBillMain_K3))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsCg_POInStockBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_MouldProdInBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_OtherInBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_EntrustInBillMain_K3))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_EntrustInBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_ProductInBillMain_K3))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_ICStockBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_ProductInBillMain_CLD))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_ProductInBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_POStockInBillMain))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_POStockInBillMain_K3))]
+    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_MouldStockBillMain))]
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")]
+    [System.SerializableAttribute()]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.ComponentModel.DesignerCategoryAttribute("code")]
+    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
+    public partial class ClsXt_BaseBillMain {
+        
+        private long hYearField;
+        
+        private long hPeriodField;
+        
+        private string hBillTypeField;
+        
+        private string hBillSubTypeField;
+        
+        private long hInterIDField;
+        
+        private System.DateTime hDateField;
+        
+        private string hBillNoField;
+        
+        private int hBillStatusField;
+        
+        private long hCheckItemNowIDField;
+        
+        private long hCheckItemNextIDField;
+        
+        private long hCheckFlowIDField;
+        
+        private string hRemarkField;
+        
+        private string hEmpCodeField;
+        
+        private string hMakerField;
+        
+        private string hMakeDateField;
+        
+        private string hUpDaterField;
+        
+        private string hUpDateDateField;
+        
+        private string hCheckerField;
+        
+        private string hCheckDateField;
+        
+        private string hBackerField;
+        
+        private string hBackDateField;
+        
+        private string hBackRemarkField;
+        
+        private string hCloseManField;
+        
+        private string hCloseDateField;
+        
+        private bool hCloseTypeField;
+        
+        private string hDeleteManField;
+        
+        private string hDeleteDateField;
+        
+        private long hBillerIDField;
+        
+        private string hMainSourceBillNoField;
+        
+        private string hMainSourceBillTypeField;
+        
+        private long hMainSourceInterIDField;
+        
+        private long hMainSourceEntryIDField;
+        
+        /// <remarks/>
+        public long HYear {
+            get {
+                return this.hYearField;
+            }
+            set {
+                this.hYearField = value;
             }
         }
         
         /// <remarks/>
-        public string HCustom {
+        public long HPeriod {
             get {
-                return this.hCustomField;
+                return this.hPeriodField;
             }
             set {
-                this.hCustomField = value;
+                this.hPeriodField = value;
             }
         }
         
         /// <remarks/>
-        public long HMulSourceFlag {
+        public string HBillType {
             get {
-                return this.hMulSourceFlagField;
+                return this.hBillTypeField;
             }
             set {
-                this.hMulSourceFlagField = value;
+                this.hBillTypeField = value;
             }
         }
         
         /// <remarks/>
-        public string HStockStyle {
+        public string HBillSubType {
             get {
-                return this.hStockStyleField;
+                return this.hBillSubTypeField;
             }
             set {
-                this.hStockStyleField = value;
+                this.hBillSubTypeField = value;
             }
         }
         
         /// <remarks/>
-        public long HStockInOrgID {
+        public long HInterID {
             get {
-                return this.hStockInOrgIDField;
+                return this.hInterIDField;
             }
             set {
-                this.hStockInOrgIDField = value;
+                this.hInterIDField = value;
             }
         }
         
         /// <remarks/>
-        public string HStockInOrgName {
+        public System.DateTime HDate {
             get {
-                return this.hStockInOrgNameField;
+                return this.hDateField;
             }
             set {
-                this.hStockInOrgNameField = value;
+                this.hDateField = value;
             }
         }
         
         /// <remarks/>
-        public long HStockOutOrgID {
+        public string HBillNo {
             get {
-                return this.hStockOutOrgIDField;
+                return this.hBillNoField;
             }
             set {
-                this.hStockOutOrgIDField = value;
+                this.hBillNoField = value;
             }
         }
         
         /// <remarks/>
-        public string HStockOutOrgName {
+        public int HBillStatus {
             get {
-                return this.hStockOutOrgNameField;
+                return this.hBillStatusField;
             }
             set {
-                this.hStockOutOrgNameField = value;
+                this.hBillStatusField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HCheckItemNowID {
+            get {
+                return this.hCheckItemNowIDField;
+            }
+            set {
+                this.hCheckItemNowIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HCheckItemNextID {
+            get {
+                return this.hCheckItemNextIDField;
+            }
+            set {
+                this.hCheckItemNextIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HCheckFlowID {
+            get {
+                return this.hCheckFlowIDField;
+            }
+            set {
+                this.hCheckFlowIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HRemark {
+            get {
+                return this.hRemarkField;
+            }
+            set {
+                this.hRemarkField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HEmpCode {
+            get {
+                return this.hEmpCodeField;
+            }
+            set {
+                this.hEmpCodeField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HMaker {
+            get {
+                return this.hMakerField;
+            }
+            set {
+                this.hMakerField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HMakeDate {
+            get {
+                return this.hMakeDateField;
+            }
+            set {
+                this.hMakeDateField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HUpDater {
+            get {
+                return this.hUpDaterField;
+            }
+            set {
+                this.hUpDaterField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HUpDateDate {
+            get {
+                return this.hUpDateDateField;
+            }
+            set {
+                this.hUpDateDateField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HChecker {
+            get {
+                return this.hCheckerField;
+            }
+            set {
+                this.hCheckerField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HCheckDate {
+            get {
+                return this.hCheckDateField;
+            }
+            set {
+                this.hCheckDateField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HBacker {
+            get {
+                return this.hBackerField;
+            }
+            set {
+                this.hBackerField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HBackDate {
+            get {
+                return this.hBackDateField;
+            }
+            set {
+                this.hBackDateField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HBackRemark {
+            get {
+                return this.hBackRemarkField;
+            }
+            set {
+                this.hBackRemarkField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HCloseMan {
+            get {
+                return this.hCloseManField;
+            }
+            set {
+                this.hCloseManField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HCloseDate {
+            get {
+                return this.hCloseDateField;
+            }
+            set {
+                this.hCloseDateField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public bool HCloseType {
+            get {
+                return this.hCloseTypeField;
+            }
+            set {
+                this.hCloseTypeField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HDeleteMan {
+            get {
+                return this.hDeleteManField;
+            }
+            set {
+                this.hDeleteManField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HDeleteDate {
+            get {
+                return this.hDeleteDateField;
+            }
+            set {
+                this.hDeleteDateField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HBillerID {
+            get {
+                return this.hBillerIDField;
+            }
+            set {
+                this.hBillerIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HMainSourceBillNo {
+            get {
+                return this.hMainSourceBillNoField;
+            }
+            set {
+                this.hMainSourceBillNoField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HMainSourceBillType {
+            get {
+                return this.hMainSourceBillTypeField;
+            }
+            set {
+                this.hMainSourceBillTypeField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HMainSourceInterID {
+            get {
+                return this.hMainSourceInterIDField;
+            }
+            set {
+                this.hMainSourceInterIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HMainSourceEntryID {
+            get {
+                return this.hMainSourceEntryIDField;
+            }
+            set {
+                this.hMainSourceEntryIDField = value;
             }
         }
     }
@@ -40417,6 +40310,594 @@
     }
     
     /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")]
+    [System.SerializableAttribute()]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.ComponentModel.DesignerCategoryAttribute("code")]
+    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
+    public partial class ClsSc_MouldStockBillMain : ClsXt_BaseBillMain {
+        
+        private long hSCWHIDField;
+        
+        private long hSupIDField;
+        
+        private long hEmpIDField;
+        
+        private long hManagerIDField;
+        
+        private long hWHIDField;
+        
+        private long hSecManagerIDField;
+        
+        private long hKeeperIDField;
+        
+        private long hDeptIDField;
+        
+        private string hExplanationField;
+        
+        private string hInnerBillNoField;
+        
+        private bool hRedBlueFlagField;
+        
+        private string hRepairTypeField;
+        
+        private long hCorrespondentTypeIDField;
+        
+        /// <remarks/>
+        public long HSCWHID {
+            get {
+                return this.hSCWHIDField;
+            }
+            set {
+                this.hSCWHIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HSupID {
+            get {
+                return this.hSupIDField;
+            }
+            set {
+                this.hSupIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HEmpID {
+            get {
+                return this.hEmpIDField;
+            }
+            set {
+                this.hEmpIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HManagerID {
+            get {
+                return this.hManagerIDField;
+            }
+            set {
+                this.hManagerIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HWHID {
+            get {
+                return this.hWHIDField;
+            }
+            set {
+                this.hWHIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HSecManagerID {
+            get {
+                return this.hSecManagerIDField;
+            }
+            set {
+                this.hSecManagerIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HKeeperID {
+            get {
+                return this.hKeeperIDField;
+            }
+            set {
+                this.hKeeperIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HDeptID {
+            get {
+                return this.hDeptIDField;
+            }
+            set {
+                this.hDeptIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HExplanation {
+            get {
+                return this.hExplanationField;
+            }
+            set {
+                this.hExplanationField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HInnerBillNo {
+            get {
+                return this.hInnerBillNoField;
+            }
+            set {
+                this.hInnerBillNoField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public bool HRedBlueFlag {
+            get {
+                return this.hRedBlueFlagField;
+            }
+            set {
+                this.hRedBlueFlagField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HRepairType {
+            get {
+                return this.hRepairTypeField;
+            }
+            set {
+                this.hRepairTypeField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HCorrespondentTypeID {
+            get {
+                return this.hCorrespondentTypeIDField;
+            }
+            set {
+                this.hCorrespondentTypeIDField = value;
+            }
+        }
+    }
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")]
+    [System.SerializableAttribute()]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.ComponentModel.DesignerCategoryAttribute("code")]
+    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
+    public partial class ClsKf_ICStockBill_Mould {
+        
+        private long hItemIDField;
+        
+        private string hBarTypeField;
+        
+        private long hWhIDField;
+        
+        private string hWhNumberField;
+        
+        private string hWhNameField;
+        
+        private bool hSPFlagField;
+        
+        private long hSPIDField;
+        
+        private string hSPNumberField;
+        
+        private string hSPNameField;
+        
+        private long hDeptIDField;
+        
+        private string hDeptNumberField;
+        
+        private string hDeptNameField;
+        
+        private long hSupIDField;
+        
+        private string hSupNumberField;
+        
+        private string hSupNameField;
+        
+        private string hSourceBillNoField;
+        
+        private string hSourceBillTypeField;
+        
+        private long hOWNERIDField;
+        
+        private string hOWNERNAMEField;
+        
+        private string hCustomField;
+        
+        private long hMulSourceFlagField;
+        
+        private string hStockStyleField;
+        
+        private long hStockInOrgIDField;
+        
+        private string hStockInOrgNameField;
+        
+        private long hStockOutOrgIDField;
+        
+        private string hStockOutOrgNameField;
+        
+        /// <remarks/>
+        public long HItemID {
+            get {
+                return this.hItemIDField;
+            }
+            set {
+                this.hItemIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HBarType {
+            get {
+                return this.hBarTypeField;
+            }
+            set {
+                this.hBarTypeField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HWhID {
+            get {
+                return this.hWhIDField;
+            }
+            set {
+                this.hWhIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HWhNumber {
+            get {
+                return this.hWhNumberField;
+            }
+            set {
+                this.hWhNumberField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HWhName {
+            get {
+                return this.hWhNameField;
+            }
+            set {
+                this.hWhNameField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public bool HSPFlag {
+            get {
+                return this.hSPFlagField;
+            }
+            set {
+                this.hSPFlagField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HSPID {
+            get {
+                return this.hSPIDField;
+            }
+            set {
+                this.hSPIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HSPNumber {
+            get {
+                return this.hSPNumberField;
+            }
+            set {
+                this.hSPNumberField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HSPName {
+            get {
+                return this.hSPNameField;
+            }
+            set {
+                this.hSPNameField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HDeptID {
+            get {
+                return this.hDeptIDField;
+            }
+            set {
+                this.hDeptIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HDeptNumber {
+            get {
+                return this.hDeptNumberField;
+            }
+            set {
+                this.hDeptNumberField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HDeptName {
+            get {
+                return this.hDeptNameField;
+            }
+            set {
+                this.hDeptNameField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HSupID {
+            get {
+                return this.hSupIDField;
+            }
+            set {
+                this.hSupIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HSupNumber {
+            get {
+                return this.hSupNumberField;
+            }
+            set {
+                this.hSupNumberField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HSupName {
+            get {
+                return this.hSupNameField;
+            }
+            set {
+                this.hSupNameField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HSourceBillNo {
+            get {
+                return this.hSourceBillNoField;
+            }
+            set {
+                this.hSourceBillNoField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HSourceBillType {
+            get {
+                return this.hSourceBillTypeField;
+            }
+            set {
+                this.hSourceBillTypeField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HOWNERID {
+            get {
+                return this.hOWNERIDField;
+            }
+            set {
+                this.hOWNERIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HOWNERNAME {
+            get {
+                return this.hOWNERNAMEField;
+            }
+            set {
+                this.hOWNERNAMEField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HCustom {
+            get {
+                return this.hCustomField;
+            }
+            set {
+                this.hCustomField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HMulSourceFlag {
+            get {
+                return this.hMulSourceFlagField;
+            }
+            set {
+                this.hMulSourceFlagField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HStockStyle {
+            get {
+                return this.hStockStyleField;
+            }
+            set {
+                this.hStockStyleField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HStockInOrgID {
+            get {
+                return this.hStockInOrgIDField;
+            }
+            set {
+                this.hStockInOrgIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HStockInOrgName {
+            get {
+                return this.hStockInOrgNameField;
+            }
+            set {
+                this.hStockInOrgNameField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public long HStockOutOrgID {
+            get {
+                return this.hStockOutOrgIDField;
+            }
+            set {
+                this.hStockOutOrgIDField = value;
+            }
+        }
+        
+        /// <remarks/>
+        public string HStockOutOrgName {
+            get {
+                return this.hStockOutOrgNameField;
+            }
+            set {
+                this.hStockOutOrgNameField = value;
+            }
+        }
+    }
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
+    public delegate void get_SourceBarCode_EntrustOutCompletedEventHandler(object sender, get_SourceBarCode_EntrustOutCompletedEventArgs e);
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.ComponentModel.DesignerCategoryAttribute("code")]
+    public partial class get_SourceBarCode_EntrustOutCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+        
+        private object[] results;
+        
+        internal get_SourceBarCode_EntrustOutCompletedEventArgs(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.4084.0")]
+    public delegate void get_CheckTypeByMouldSourceCompletedEventHandler(object sender, get_CheckTypeByMouldSourceCompletedEventArgs e);
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.ComponentModel.DesignerCategoryAttribute("code")]
+    public partial class get_CheckTypeByMouldSourceCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+        
+        private object[] results;
+        
+        internal get_CheckTypeByMouldSourceCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
+                base(exception, cancelled, userState) {
+            this.results = results;
+        }
+        
+        /// <remarks/>
+        public ClsKf_ICStockBill_Mould Result {
+            get {
+                this.RaiseExceptionIfNecessary();
+                return ((ClsKf_ICStockBill_Mould)(this.results[0]));
+            }
+        }
+        
+        /// <remarks/>
+        public string sErrMsg {
+            get {
+                this.RaiseExceptionIfNecessary();
+                return ((string)(this.results[1]));
+            }
+        }
+    }
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
+    public delegate void getMouldSourceBillListCompletedEventHandler(object sender, getMouldSourceBillListCompletedEventArgs e);
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.ComponentModel.DesignerCategoryAttribute("code")]
+    public partial class getMouldSourceBillListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+        
+        private object[] results;
+        
+        internal getMouldSourceBillListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
+                base(exception, cancelled, userState) {
+            this.results = results;
+        }
+        
+        /// <remarks/>
+        public ClsKf_ICStockBill_Mould Result {
+            get {
+                this.RaiseExceptionIfNecessary();
+                return ((ClsKf_ICStockBill_Mould)(this.results[0]));
+            }
+        }
+        
+        /// <remarks/>
+        public string sErrMsg {
+            get {
+                this.RaiseExceptionIfNecessary();
+                return ((string)(this.results[1]));
+            }
+        }
+    }
+    
+    /// <remarks/>
     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
     public delegate void Get_CheckTypeByMouldBarCode_ProdCheckStockCompletedEventHandler(object sender, Get_CheckTypeByMouldBarCode_ProdCheckStockCompletedEventArgs e);
     
@@ -40970,6 +41451,194 @@
     
     /// <remarks/>
     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
+    public delegate void GetSourceBillList_BillCheckCompletedEventHandler(object sender, GetSourceBillList_BillCheckCompletedEventArgs e);
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.ComponentModel.DesignerCategoryAttribute("code")]
+    public partial class GetSourceBillList_BillCheckCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+        
+        private object[] results;
+        
+        internal GetSourceBillList_BillCheckCompletedEventArgs(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.4084.0")]
+    public delegate void get_BillBarCode_OtherOutCheckCompletedEventHandler(object sender, get_BillBarCode_OtherOutCheckCompletedEventArgs e);
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.ComponentModel.DesignerCategoryAttribute("code")]
+    public partial class get_BillBarCode_OtherOutCheckCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+        
+        private object[] results;
+        
+        internal get_BillBarCode_OtherOutCheckCompletedEventArgs(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.4084.0")]
+    public delegate void set_SavePonderationBillMain_Temp_BarCode_BillCheckCompletedEventHandler(object sender, set_SavePonderationBillMain_Temp_BarCode_BillCheckCompletedEventArgs e);
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.ComponentModel.DesignerCategoryAttribute("code")]
+    public partial class set_SavePonderationBillMain_Temp_BarCode_BillCheckCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+        
+        private object[] results;
+        
+        internal set_SavePonderationBillMain_Temp_BarCode_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.4084.0")]
+    public delegate void get_CheckTypeByBarCode_BillCheckCompletedEventHandler(object sender, get_CheckTypeByBarCode_BillCheckCompletedEventArgs e);
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.ComponentModel.DesignerCategoryAttribute("code")]
+    public partial class get_CheckTypeByBarCode_BillCheckCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+        
+        private object[] results;
+        
+        internal get_CheckTypeByBarCode_BillCheckCompletedEventArgs(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.4084.0")]
+    public delegate void GetKf_PonderationBillMain_Temp_BillCheckCompletedEventHandler(object sender, GetKf_PonderationBillMain_Temp_BillCheckCompletedEventArgs e);
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.ComponentModel.DesignerCategoryAttribute("code")]
+    public partial class GetKf_PonderationBillMain_Temp_BillCheckCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+        
+        private object[] results;
+        
+        internal GetKf_PonderationBillMain_Temp_BillCheckCompletedEventArgs(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]));
+            }
+        }
+    }
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
+    public delegate void GetKf_PonderationBillMain_TempList_BillCheckCompletedEventHandler(object sender, GetKf_PonderationBillMain_TempList_BillCheckCompletedEventArgs e);
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.ComponentModel.DesignerCategoryAttribute("code")]
+    public partial class GetKf_PonderationBillMain_TempList_BillCheckCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+        
+        private object[] results;
+        
+        internal GetKf_PonderationBillMain_TempList_BillCheckCompletedEventArgs(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]));
+            }
+        }
+    }
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
     public delegate void getDataSetByMasterSQLCompletedEventHandler(object sender, getDataSetByMasterSQLCompletedEventArgs e);
     
     /// <remarks/>
@@ -41482,6 +42151,92 @@
             get {
                 this.RaiseExceptionIfNecessary();
                 return ((string)(this.results[7]));
+            }
+        }
+    }
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
+    public delegate void GetKf_ICStockBillQueryListCompletedEventHandler(object sender, GetKf_ICStockBillQueryListCompletedEventArgs e);
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.ComponentModel.DesignerCategoryAttribute("code")]
+    public partial class GetKf_ICStockBillQueryListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+        
+        private object[] results;
+        
+        internal GetKf_ICStockBillQueryListCompletedEventArgs(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]));
+            }
+        }
+    }
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
+    public delegate void Get_ICInventoryByMaterIDListCompletedEventHandler(object sender, Get_ICInventoryByMaterIDListCompletedEventArgs e);
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.ComponentModel.DesignerCategoryAttribute("code")]
+    public partial class Get_ICInventoryByMaterIDListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+        
+        private object[] results;
+        
+        internal Get_ICInventoryByMaterIDListCompletedEventArgs(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]));
+            }
+        }
+    }
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
+    public delegate void Get_CheckQtyByBarCodeCompletedEventHandler(object sender, Get_CheckQtyByBarCodeCompletedEventArgs e);
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.ComponentModel.DesignerCategoryAttribute("code")]
+    public partial class Get_CheckQtyByBarCodeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+        
+        private object[] results;
+        
+        internal Get_CheckQtyByBarCodeCompletedEventArgs(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 double sRelQty {
+            get {
+                this.RaiseExceptionIfNecessary();
+                return ((double)(this.results[1]));
             }
         }
     }
@@ -44458,26 +45213,26 @@
     
     /// <remarks/>
     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
-    public delegate void get_SourceBarCode_EntrustOutCompletedEventHandler(object sender, get_SourceBarCode_EntrustOutCompletedEventArgs e);
+    public delegate void set_CheckAddPOStockInBillCompletedEventHandler(object sender, set_CheckAddPOStockInBillCompletedEventArgs e);
     
     /// <remarks/>
     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
     [System.Diagnostics.DebuggerStepThroughAttribute()]
     [System.ComponentModel.DesignerCategoryAttribute("code")]
-    public partial class get_SourceBarCode_EntrustOutCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+    public partial class set_CheckAddPOStockInBillCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
         
         private object[] results;
         
-        internal get_SourceBarCode_EntrustOutCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
+        internal set_CheckAddPOStockInBillCompletedEventArgs(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]));
             }
         }
         
@@ -44492,60 +45247,26 @@
     
     /// <remarks/>
     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
-    public delegate void get_CheckTypeByMouldSourceCompletedEventHandler(object sender, get_CheckTypeByMouldSourceCompletedEventArgs e);
+    public delegate void set_CheckPOStockInBillCompletedEventHandler(object sender, set_CheckPOStockInBillCompletedEventArgs e);
     
     /// <remarks/>
     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
     [System.Diagnostics.DebuggerStepThroughAttribute()]
     [System.ComponentModel.DesignerCategoryAttribute("code")]
-    public partial class get_CheckTypeByMouldSourceCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+    public partial class set_CheckPOStockInBillCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
         
         private object[] results;
         
-        internal get_CheckTypeByMouldSourceCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
+        internal set_CheckPOStockInBillCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                 base(exception, cancelled, userState) {
             this.results = results;
         }
         
         /// <remarks/>
-        public ClsKf_ICStockBill_Mould Result {
+        public bool Result {
             get {
                 this.RaiseExceptionIfNecessary();
-                return ((ClsKf_ICStockBill_Mould)(this.results[0]));
-            }
-        }
-        
-        /// <remarks/>
-        public string sErrMsg {
-            get {
-                this.RaiseExceptionIfNecessary();
-                return ((string)(this.results[1]));
-            }
-        }
-    }
-    
-    /// <remarks/>
-    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
-    public delegate void getMouldSourceBillListCompletedEventHandler(object sender, getMouldSourceBillListCompletedEventArgs e);
-    
-    /// <remarks/>
-    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
-    [System.Diagnostics.DebuggerStepThroughAttribute()]
-    [System.ComponentModel.DesignerCategoryAttribute("code")]
-    public partial class getMouldSourceBillListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
-        
-        private object[] results;
-        
-        internal getMouldSourceBillListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
-                base(exception, cancelled, userState) {
-            this.results = results;
-        }
-        
-        /// <remarks/>
-        public ClsKf_ICStockBill_Mould Result {
-            get {
-                this.RaiseExceptionIfNecessary();
-                return ((ClsKf_ICStockBill_Mould)(this.results[0]));
+                return ((bool)(this.results[0]));
             }
         }
         
@@ -46548,66 +47269,6 @@
     
     /// <remarks/>
     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
-    public delegate void Get_ICInventoryByMaterIDListCompletedEventHandler(object sender, Get_ICInventoryByMaterIDListCompletedEventArgs e);
-    
-    /// <remarks/>
-    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
-    [System.Diagnostics.DebuggerStepThroughAttribute()]
-    [System.ComponentModel.DesignerCategoryAttribute("code")]
-    public partial class Get_ICInventoryByMaterIDListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
-        
-        private object[] results;
-        
-        internal Get_ICInventoryByMaterIDListCompletedEventArgs(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]));
-            }
-        }
-    }
-    
-    /// <remarks/>
-    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
-    public delegate void Get_CheckQtyByBarCodeCompletedEventHandler(object sender, Get_CheckQtyByBarCodeCompletedEventArgs e);
-    
-    /// <remarks/>
-    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
-    [System.Diagnostics.DebuggerStepThroughAttribute()]
-    [System.ComponentModel.DesignerCategoryAttribute("code")]
-    public partial class Get_CheckQtyByBarCodeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
-        
-        private object[] results;
-        
-        internal Get_CheckQtyByBarCodeCompletedEventArgs(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 double sRelQty {
-            get {
-                this.RaiseExceptionIfNecessary();
-                return ((double)(this.results[1]));
-            }
-        }
-    }
-    
-    /// <remarks/>
-    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
     public delegate void set_SaveSellOutBillCompletedEventHandler(object sender, set_SaveSellOutBillCompletedEventArgs e);
     
     /// <remarks/>
@@ -48234,6 +48895,40 @@
     
     /// <remarks/>
     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
+    public delegate void set_SaveOtherOutBill_BillCheckCompletedEventHandler(object sender, set_SaveOtherOutBill_BillCheckCompletedEventArgs e);
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.ComponentModel.DesignerCategoryAttribute("code")]
+    public partial class set_SaveOtherOutBill_BillCheckCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
+        
+        private object[] results;
+        
+        internal set_SaveOtherOutBill_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.4084.0")]
     public delegate void set_SavePOStockInBackBillCompletedEventHandler(object sender, set_SavePOStockInBackBillCompletedEventArgs e);
     
     /// <remarks/>
@@ -48381,74 +49076,6 @@
         private object[] results;
         
         internal set_SavePOStockInBillCompletedEventArgs(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.4084.0")]
-    public delegate void set_CheckAddPOStockInBillCompletedEventHandler(object sender, set_CheckAddPOStockInBillCompletedEventArgs e);
-    
-    /// <remarks/>
-    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
-    [System.Diagnostics.DebuggerStepThroughAttribute()]
-    [System.ComponentModel.DesignerCategoryAttribute("code")]
-    public partial class set_CheckAddPOStockInBillCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
-        
-        private object[] results;
-        
-        internal set_CheckAddPOStockInBillCompletedEventArgs(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.4084.0")]
-    public delegate void set_CheckPOStockInBillCompletedEventHandler(object sender, set_CheckPOStockInBillCompletedEventArgs e);
-    
-    /// <remarks/>
-    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
-    [System.Diagnostics.DebuggerStepThroughAttribute()]
-    [System.ComponentModel.DesignerCategoryAttribute("code")]
-    public partial class set_CheckPOStockInBillCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
-        
-        private object[] results;
-        
-        internal set_CheckPOStockInBillCompletedEventArgs(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 791bed6..6c6acc9 100644
--- a/WebAPI/Web References/WebS/WebService1.wsdl
+++ b/WebAPI/Web References/WebS/WebService1.wsdl
@@ -2,6 +2,142 @@
 <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_EntrustOut">
+        <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="HFIFOWhID" type="s:long" />
+            <s:element minOccurs="1" maxOccurs="1" name="HOWNERID" type="s:long" />
+            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="get_SourceBarCode_EntrustOutResponse">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="get_SourceBarCode_EntrustOutResult" type="tns:ClsKf_ICStockBill_WMS" />
+            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:complexType name="ClsKf_ICStockBill_WMS">
+        <s:sequence>
+          <s:element minOccurs="1" maxOccurs="1" name="HItemID" type="s:long" />
+          <s:element minOccurs="0" maxOccurs="1" name="HBarType" type="s:string" />
+          <s:element minOccurs="1" maxOccurs="1" name="HWhID" type="s:long" />
+          <s:element minOccurs="0" maxOccurs="1" name="HWhNumber" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="HWhName" type="s:string" />
+          <s:element minOccurs="1" maxOccurs="1" name="HSPFlag" type="s:boolean" />
+          <s:element minOccurs="1" maxOccurs="1" name="HSPID" type="s:long" />
+          <s:element minOccurs="0" maxOccurs="1" name="HSPNumber" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="HSPName" type="s:string" />
+          <s:element minOccurs="1" maxOccurs="1" name="HSCWhID" type="s:long" />
+          <s:element minOccurs="0" maxOccurs="1" name="HSCWhNumber" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="HSCWhName" type="s:string" />
+          <s:element minOccurs="1" maxOccurs="1" name="HSCSPFlag" type="s:boolean" />
+          <s:element minOccurs="1" maxOccurs="1" name="HSCSPID" type="s:long" />
+          <s:element minOccurs="0" maxOccurs="1" name="HSCSPNumber" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="HSCSPName" type="s:string" />
+          <s:element minOccurs="1" maxOccurs="1" name="HDeptID" type="s:long" />
+          <s:element minOccurs="0" maxOccurs="1" name="HDeptNumber" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="HDeptName" type="s:string" />
+          <s:element minOccurs="1" maxOccurs="1" name="HSupID" type="s:long" />
+          <s:element minOccurs="0" maxOccurs="1" name="HSupNumber" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="HSupName" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="HSourceBillNo" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="HSourceBillType" type="s:string" />
+          <s:element minOccurs="1" maxOccurs="1" name="HOWNERID" type="s:long" />
+          <s:element minOccurs="0" maxOccurs="1" name="HOWNERNAME" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="HCustom" type="s:string" />
+          <s:element minOccurs="1" maxOccurs="1" name="HMulSourceFlag" type="s:long" />
+          <s:element minOccurs="0" maxOccurs="1" name="HStockStyle" type="s:string" />
+          <s:element minOccurs="1" maxOccurs="1" name="HStockInOrgID" type="s:long" />
+          <s:element minOccurs="0" maxOccurs="1" name="HStockInOrgName" type="s:string" />
+          <s:element minOccurs="1" maxOccurs="1" name="HStockOutOrgID" type="s:long" />
+          <s:element minOccurs="0" maxOccurs="1" name="HStockOutOrgName" type="s:string" />
+          <s:element minOccurs="1" maxOccurs="1" name="HInterID" type="s:long" />
+          <s:element minOccurs="0" maxOccurs="1" name="HBillNo" type="s:string" />
+        </s:sequence>
+      </s:complexType>
+      <s:element name="get_CheckTypeByMouldSource">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="1" maxOccurs="1" name="HInterID" type="s:long" />
+            <s:element minOccurs="0" maxOccurs="1" name="HBillNo" type="s:string" />
+            <s:element minOccurs="0" maxOccurs="1" name="HBillType" type="s:string" />
+            <s:element minOccurs="0" maxOccurs="1" name="HSourceBillNo" type="s:string" />
+            <s:element minOccurs="0" maxOccurs="1" name="HSourceBillType" type="s:string" />
+            <s:element minOccurs="0" maxOccurs="1" name="HHMaker" type="s:string" />
+            <s:element minOccurs="1" maxOccurs="1" name="HOWNERID" type="s:long" />
+            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="get_CheckTypeByMouldSourceResponse">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="get_CheckTypeByMouldSourceResult" type="tns:ClsKf_ICStockBill_Mould" />
+            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:complexType name="ClsKf_ICStockBill_Mould">
+        <s:sequence>
+          <s:element minOccurs="1" maxOccurs="1" name="HItemID" type="s:long" />
+          <s:element minOccurs="0" maxOccurs="1" name="HBarType" type="s:string" />
+          <s:element minOccurs="1" maxOccurs="1" name="HWhID" type="s:long" />
+          <s:element minOccurs="0" maxOccurs="1" name="HWhNumber" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="HWhName" type="s:string" />
+          <s:element minOccurs="1" maxOccurs="1" name="HSPFlag" type="s:boolean" />
+          <s:element minOccurs="1" maxOccurs="1" name="HSPID" type="s:long" />
+          <s:element minOccurs="0" maxOccurs="1" name="HSPNumber" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="HSPName" type="s:string" />
+          <s:element minOccurs="1" maxOccurs="1" name="HDeptID" type="s:long" />
+          <s:element minOccurs="0" maxOccurs="1" name="HDeptNumber" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="HDeptName" type="s:string" />
+          <s:element minOccurs="1" maxOccurs="1" name="HSupID" type="s:long" />
+          <s:element minOccurs="0" maxOccurs="1" name="HSupNumber" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="HSupName" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="HSourceBillNo" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="HSourceBillType" type="s:string" />
+          <s:element minOccurs="1" maxOccurs="1" name="HOWNERID" type="s:long" />
+          <s:element minOccurs="0" maxOccurs="1" name="HOWNERNAME" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="HCustom" type="s:string" />
+          <s:element minOccurs="1" maxOccurs="1" name="HMulSourceFlag" type="s:long" />
+          <s:element minOccurs="0" maxOccurs="1" name="HStockStyle" type="s:string" />
+          <s:element minOccurs="1" maxOccurs="1" name="HStockInOrgID" type="s:long" />
+          <s:element minOccurs="0" maxOccurs="1" name="HStockInOrgName" type="s:string" />
+          <s:element minOccurs="1" maxOccurs="1" name="HStockOutOrgID" type="s:long" />
+          <s:element minOccurs="0" maxOccurs="1" name="HStockOutOrgName" type="s:string" />
+        </s:sequence>
+      </s:complexType>
+      <s:element name="getMouldSourceBillList">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="1" maxOccurs="1" name="HInterID" type="s:long" />
+            <s:element minOccurs="0" maxOccurs="1" name="HBillNo" type="s:string" />
+            <s:element minOccurs="0" maxOccurs="1" name="HBillType" type="s:string" />
+            <s:element minOccurs="0" maxOccurs="1" name="HSourceBillNo" type="s:string" />
+            <s:element minOccurs="0" maxOccurs="1" name="HSourceBillType" type="s:string" />
+            <s:element minOccurs="0" maxOccurs="1" name="HHMaker" type="s:string" />
+            <s:element minOccurs="1" maxOccurs="1" name="HOWNERID" type="s:long" />
+            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="getMouldSourceBillListResponse">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="getMouldSourceBillListResult" type="tns:ClsKf_ICStockBill_Mould" />
+            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
       <s:element name="Get_CheckTypeByMouldBarCode_ProdCheckStock">
         <s:complexType>
           <s:sequence>
@@ -278,43 +414,6 @@
           </s:sequence>
         </s:complexType>
       </s:element>
-      <s:complexType name="ClsKf_ICStockBill_WMS">
-        <s:sequence>
-          <s:element minOccurs="1" maxOccurs="1" name="HItemID" type="s:long" />
-          <s:element minOccurs="0" maxOccurs="1" name="HBarType" type="s:string" />
-          <s:element minOccurs="1" maxOccurs="1" name="HWhID" type="s:long" />
-          <s:element minOccurs="0" maxOccurs="1" name="HWhNumber" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="HWhName" type="s:string" />
-          <s:element minOccurs="1" maxOccurs="1" name="HSPFlag" type="s:boolean" />
-          <s:element minOccurs="1" maxOccurs="1" name="HSPID" type="s:long" />
-          <s:element minOccurs="0" maxOccurs="1" name="HSPNumber" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="HSPName" type="s:string" />
-          <s:element minOccurs="1" maxOccurs="1" name="HSCWhID" type="s:long" />
-          <s:element minOccurs="0" maxOccurs="1" name="HSCWhNumber" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="HSCWhName" type="s:string" />
-          <s:element minOccurs="1" maxOccurs="1" name="HSCSPFlag" type="s:boolean" />
-          <s:element minOccurs="1" maxOccurs="1" name="HSCSPID" type="s:long" />
-          <s:element minOccurs="0" maxOccurs="1" name="HSCSPNumber" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="HSCSPName" type="s:string" />
-          <s:element minOccurs="1" maxOccurs="1" name="HDeptID" type="s:long" />
-          <s:element minOccurs="0" maxOccurs="1" name="HDeptNumber" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="HDeptName" type="s:string" />
-          <s:element minOccurs="1" maxOccurs="1" name="HSupID" type="s:long" />
-          <s:element minOccurs="0" maxOccurs="1" name="HSupNumber" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="HSupName" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="HSourceBillNo" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="HSourceBillType" type="s:string" />
-          <s:element minOccurs="1" maxOccurs="1" name="HOWNERID" type="s:long" />
-          <s:element minOccurs="0" maxOccurs="1" name="HOWNERNAME" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="HCustom" type="s:string" />
-          <s:element minOccurs="1" maxOccurs="1" name="HMulSourceFlag" type="s:long" />
-          <s:element minOccurs="0" maxOccurs="1" name="HStockStyle" type="s:string" />
-          <s:element minOccurs="1" maxOccurs="1" name="HStockInOrgID" type="s:long" />
-          <s:element minOccurs="0" maxOccurs="1" name="HStockInOrgName" type="s:string" />
-          <s:element minOccurs="1" maxOccurs="1" name="HStockOutOrgID" type="s:long" />
-          <s:element minOccurs="0" maxOccurs="1" name="HStockOutOrgName" type="s:string" />
-        </s:sequence>
-      </s:complexType>
       <s:element name="get_CheckTypeByBarCode_PackUnion">
         <s:complexType>
           <s:sequence>
@@ -441,6 +540,357 @@
           <s:sequence>
             <s:element minOccurs="1" maxOccurs="1" name="set_DelPonderationBillMain_Temp_PackResult" type="s:boolean" />
             <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="GetSourceBillList_BillCheck">
+        <s:complexType>
+          <s:sequence>
+            <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="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="GetSourceBillList_BillCheckResponse">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="GetSourceBillList_BillCheckResult" 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_BillBarCode_OtherOutCheck">
+        <s:complexType>
+          <s:sequence>
+            <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="HMaker" type="s:string" />
+            <s:element minOccurs="1" maxOccurs="1" name="HOWNERID" type="s:long" />
+            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="get_BillBarCode_OtherOutCheckResponse">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="get_BillBarCode_OtherOutCheckResult" 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_SavePonderationBillMain_Temp_BarCode_BillCheck">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="omodel_View" type="tns:ClsGy_BarCodeBill_WMS_Model_View" />
+            <s:element minOccurs="0" maxOccurs="1" name="sBarCode" type="s:string" />
+            <s:element minOccurs="1" maxOccurs="1" name="HBillID" type="s:long" />
+            <s:element minOccurs="0" maxOccurs="1" name="HBillType" type="s:string" />
+            <s:element minOccurs="0" maxOccurs="1" name="HBillNo" type="s:string" />
+            <s:element minOccurs="0" maxOccurs="1" name="HMaker" type="s:string" />
+            <s:element minOccurs="1" maxOccurs="1" name="HWhID" type="s:long" />
+            <s:element minOccurs="1" maxOccurs="1" name="HSPID" type="s:long" />
+            <s:element minOccurs="1" maxOccurs="1" name="HQty" type="s:double" />
+            <s:element minOccurs="1" maxOccurs="1" name="HOWNERID" type="s:long" />
+            <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:complexType name="ClsGy_BarCodeBill_WMS_Model_View">
+        <s:complexContent mixed="false">
+          <s:extension base="tns:ClsGy_BarCodeBill_WMS_Model">
+            <s:sequence>
+              <s:element minOccurs="0" maxOccurs="1" name="HMaterNumber" type="s:string" />
+              <s:element minOccurs="0" maxOccurs="1" name="HMaterName" type="s:string" />
+              <s:element minOccurs="0" maxOccurs="1" name="HMaterModel" type="s:string" />
+              <s:element minOccurs="0" maxOccurs="1" name="HUnitName" type="s:string" />
+              <s:element minOccurs="0" maxOccurs="1" name="HSupName" type="s:string" />
+              <s:element minOccurs="0" maxOccurs="1" name="HGroupName" type="s:string" />
+              <s:element minOccurs="0" maxOccurs="1" name="HDeptName" type="s:string" />
+              <s:element minOccurs="1" maxOccurs="1" name="HErpClsID" type="s:long" />
+              <s:element minOccurs="1" maxOccurs="1" name="HWHID" type="s:long" />
+              <s:element minOccurs="1" maxOccurs="1" name="HSPID" type="s:long" />
+              <s:element minOccurs="0" maxOccurs="1" name="HCusRelationNumber" type="s:string" />
+              <s:element minOccurs="0" maxOccurs="1" name="HBarCodeStatus" type="s:string" />
+              <s:element minOccurs="0" maxOccurs="1" name="HWHName" type="s:string" />
+              <s:element minOccurs="1" maxOccurs="1" name="HDate" type="s:dateTime" />
+              <s:element minOccurs="1" maxOccurs="1" name="HInstructID" type="s:long" />
+              <s:element minOccurs="0" maxOccurs="1" name="HInstructNo" type="s:string" />
+              <s:element minOccurs="1" maxOccurs="1" name="HSeOrderBillID" type="s:long" />
+              <s:element minOccurs="0" maxOccurs="1" name="HSeOrderBillNo" type="s:string" />
+              <s:element minOccurs="1" maxOccurs="1" name="HCheckerID" type="s:long" />
+              <s:element minOccurs="1" maxOccurs="1" name="HAuxPropID" type="s:long" />
+              <s:element minOccurs="0" maxOccurs="1" name="HAuxPropName" type="s:string" />
+              <s:element minOccurs="1" maxOccurs="1" name="HSTOCKORGID" type="s:long" />
+              <s:element minOccurs="1" maxOccurs="1" name="HOWNERID" type="s:long" />
+              <s:element minOccurs="1" maxOccurs="1" name="HSourceQty" type="s:double" />
+            </s:sequence>
+          </s:extension>
+        </s:complexContent>
+      </s:complexType>
+      <s:complexType name="ClsGy_BarCodeBill_WMS_Model">
+        <s:sequence>
+          <s:element minOccurs="1" maxOccurs="1" name="HItemID" type="s:long" />
+          <s:element minOccurs="0" maxOccurs="1" name="HBarCode" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="HBatchNo" type="s:string" />
+          <s:element minOccurs="1" maxOccurs="1" name="HMaterID" type="s:long" />
+          <s:element minOccurs="1" maxOccurs="1" name="HUnitID" type="s:long" />
+          <s:element minOccurs="0" maxOccurs="1" name="HBarCodeType" type="s:string" />
+          <s:element minOccurs="1" maxOccurs="1" name="HQty" type="s:double" />
+          <s:element minOccurs="1" maxOccurs="1" name="HSupID" type="s:long" />
+          <s:element minOccurs="1" maxOccurs="1" name="HGroupID" type="s:long" />
+          <s:element minOccurs="0" maxOccurs="1" name="HMaker" type="s:string" />
+          <s:element minOccurs="1" maxOccurs="1" name="HMakeDate" type="s:dateTime" />
+          <s:element minOccurs="0" maxOccurs="1" name="HRemark" type="s:string" />
+          <s:element minOccurs="1" maxOccurs="1" name="HSourceInterID" type="s:long" />
+          <s:element minOccurs="1" maxOccurs="1" name="HSourceEntryID" type="s:long" />
+          <s:element minOccurs="0" maxOccurs="1" name="HSourceBillNo" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="HSourceBillType" type="s:string" />
+          <s:element minOccurs="1" maxOccurs="1" name="HPrintQty" type="s:long" />
+          <s:element minOccurs="1" maxOccurs="1" name="HDeptID" type="s:long" />
+          <s:element minOccurs="1" maxOccurs="1" name="HinitQty" type="s:double" />
+          <s:element minOccurs="0" maxOccurs="1" name="HMTONo" type="s:string" />
+          <s:element minOccurs="1" maxOccurs="1" name="HStopflag" type="s:boolean" />
+        </s:sequence>
+      </s:complexType>
+      <s:complexType name="ClsXt_SystemParameterMain">
+        <s:sequence>
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_POStockInBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_POStockInBill_ERPMode" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_POStockInBill_MustQtyCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_POStockInBill_MulSourceBill" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_POStockInBill_BillTypeOneScan" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_POStockInBackBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_POStockInBackBill_ERPMode" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_POStockInBackBill_MustQtyCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_POStockInBackBill_MulSourceBill" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_POStockInBackBill_BillTypeOneScan" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateOutBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateOutBill_ERPMode" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateOutBill_MustQtyCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateOutBill_FIFOCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateOutBill_AutoBarCode" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateOutBill_MulSourceBill" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateOutBill_SimpleMode" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateOutBill_BillTypeOneScan" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateOutBackBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateOutBackBill_ERPMode" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateOutBackBill_MustQtyCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateOutBackBill_MulSourceBill" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateOutBackBill_SimpleMode" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateOutBackBill_BillTypeOneScan" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_ProductInBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_ProductInBill_ERPMode" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_ProductInBill_MustQtyCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_ProductInBill_MulSourceBill" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_ProductInBill_BarCodeMustSameSourceBill" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_ProductInBill_BillTypeOneScan" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_ProductInBackBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_ProductInBackBill_ERPMode" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_ProductInBackBill_MustQtyCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_ProductInBackBill_MulSourceBill" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_ProductInBackBill_BillTypeOneScan" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustInBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustInBill_ERPMode" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustInBill_MustQtyCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustInBill_MulSourceBill" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustInBill_BillTypeOneScan" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustInBackBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustInBackBill_ERPMode" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustInBackBill_MustQtyCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustInBackBill_MulSourceBill" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustInBackBill_BillTypeOneScan" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustOutBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustOutBill_ERPMode" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustOutBill_MustQtyCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustOutBill_FIFOCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustOutBill_MulSourceBill" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustOutBill_SimpleMode" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustOutBill_BillTypeOneScan" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustOutBackBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustOutBackBill_ERPMode" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustOutBackBill_MustQtyCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustOutBackBill_MulSourceBill" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustOutBackBill_SimpleMode" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustOutBackBill_BillTypeOneScan" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_SellOutBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_SellOutBill_ERPMode" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_SellOutBill_MustQtyCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_SellOutBill_FIFOCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_SellOutBill_MulSourceBill" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_SellOutBill_AutoSavePOStockInBill" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_SellOutBill_NoRefresh" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_SellOutBill_BillTypeOneScan" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_SellOutBackBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_SellOutBackBill_ERPMode" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_SellOutBackBill_MustQtyCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_SellOutBackBill_MulSourceBill" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_SellOutBackBill_AutoSavePOStockInBackBill" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_SellOutBackBill_BillTypeOneScan" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherInBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherInBill_ERPMode" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherInBill_MustQtyCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherInBill_BarCodeMustSameSourceBill" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherInBill_BillTypeOneScan" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherOutBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherOutBill_ERPMode" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherOutBill_MustQtyCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherOutBill_BarCodeMustSameSourceBill" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherOutBill_BillTypeOneScan" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockBill_ERPMode" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockBill_MustQtyCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockBill_MulSourceBill" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockBill_BarCodeMustSameSourceBill" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockBill_BillTypeOneScan" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateReplenishOutBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateReplenishOutBill_ERPMode" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateReplenishOutBill_MustQtyCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateReplenishOutBill_MulSourceBill" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateReplenishOutBill_BarCodeMustSameSourceBill" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateReplenishOutBill_BillTypeOneScan" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherInBackBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherInBackBill_ERPMode" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherInBackBill_MustQtyCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherInBackBill_BarCodeMustSameSourceBill" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherInBackBill_BillTypeOneScan" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherOutBackBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherOutBackBill_ERPMode" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherOutBackBill_MustQtyCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherOutBackBill_BarCodeMustSameSourceBill" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherOutBackBill_BillTypeOneScan" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockStepOutBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockStepOutBill_ERPMode" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockStepOutBill_MustQtyCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockStepOutBill_MulSourceBill" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockStepOutBill_FIFOCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockStepOutBill_BillTypeOneScan" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockStepInBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockStepInBill_ERPMode" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockStepInBill_MustQtyCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockStepInBill_MulSourceBill" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockStepInBill_BarCodeMustSameSourceBill" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockStepInBill_BillTypeOneScan" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="WMS_ERPStockCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="WMS_WMSStockCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="WMS_WMSStockCtl_ERPMode" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="WMS_SaveUpdateStock" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="WMS_MaterBarCodeDefQty" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="WMS_BatchBarCodeDefQty" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="WMS_SNBarCodeDefQty" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="WMS_CampanyName" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="WMS_OneKeyMode" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="WMS_BarCodeMustSameSourceBill" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="WMS_OneScanMode" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="WMS_MouldManagerCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="BarCode_SourceQtyCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="MES_StationInBill_FIFOCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="MES_StationInBill_FullMoveCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="MES_StationInBill_QtyCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="MES_StationInBill_OneCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="MES_StationInBill_FirstCheckOut" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="MES_StationInBill_ProcessCheckCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="MES_StationOutBill_QtyCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="MES_StationOutBill_ProcessCheckOut" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="MES_StationOutBill_FirstCheckOut" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="QC_NoPassProdCheckBill_QtyCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="MES_StationEntrustInBill_FIFOCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="MES_StationEntrustInBill_FullMoveCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="MES_StationEntrustInBill_QtyCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="MES_StationEntrustInBill_OneCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="MES_StationEntrustOutBill_QtyCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_ICMOReportBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_ICMOReportBill_ERPMode" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_ICMOReportBill_MustQtyCtl" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_ICMOReportBill_MulSourceBill" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_ICMOReportBill_BillTypeOneScan" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_ICMOReportBill_UpdateSourceInterID" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_ICMOReportBill_FirstCheckOut" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MESBeginWorkBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MESEndWorkBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MESStopWorkBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_ICMOBillWorkQtyStatus_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_ICMOBillQualityStatus_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="Sc_MaterToSourceBill_AutoCheck" type="s:string" />
+          <s:element minOccurs="0" maxOccurs="1" name="QC_FirstPieceCheckBill_AutoCheck" type="s:string" />
+        </s:sequence>
+      </s:complexType>
+      <s:element name="set_SavePonderationBillMain_Temp_BarCode_BillCheckResponse">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="1" maxOccurs="1" name="set_SavePonderationBillMain_Temp_BarCode_BillCheckResult" type="s:boolean" />
+            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="get_CheckTypeByBarCode_BillCheck">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="sBarCode" type="s:string" />
+            <s:element minOccurs="1" maxOccurs="1" name="HBillID" type="s:long" />
+            <s:element minOccurs="0" maxOccurs="1" name="HBillType" type="s:string" />
+            <s:element minOccurs="0" maxOccurs="1" name="HBillNo" type="s:string" />
+            <s:element minOccurs="0" maxOccurs="1" name="HMaker" type="s:string" />
+            <s:element minOccurs="1" maxOccurs="1" name="HWhID" type="s:long" />
+            <s:element minOccurs="1" maxOccurs="1" name="HSPID" type="s:long" />
+            <s:element minOccurs="1" maxOccurs="1" name="HQty" type="s:double" />
+            <s:element minOccurs="1" maxOccurs="1" name="HOWNERID" type="s:long" />
+            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="get_CheckTypeByBarCode_BillCheckResponse">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="get_CheckTypeByBarCode_BillCheckResult" 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="GetKf_PonderationBillMain_Temp_BillCheck">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="1" maxOccurs="1" name="HInterID" type="s:long" />
+            <s:element minOccurs="0" maxOccurs="1" name="sBillType" type="s:string" />
+            <s:element minOccurs="0" maxOccurs="1" name="sWhere" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="GetKf_PonderationBillMain_Temp_BillCheckResponse">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="GetKf_PonderationBillMain_Temp_BillCheckResult">
+              <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="GetKf_PonderationBillMain_TempList_BillCheck">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="sHBillType" type="s:string" />
+            <s:element minOccurs="0" maxOccurs="1" name="sHMaker" type="s:string" />
+            <s:element minOccurs="1" maxOccurs="1" name="sHOWNERID" type="s:long" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="GetKf_PonderationBillMain_TempList_BillCheckResponse">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="GetKf_PonderationBillMain_TempList_BillCheckResult">
+              <s:complexType>
+                <s:sequence>
+                  <s:element ref="s:schema" />
+                  <s:any />
+                </s:sequence>
+              </s:complexType>
+            </s:element>
           </s:sequence>
         </s:complexType>
       </s:element>
@@ -685,36 +1135,6 @@
           </s:sequence>
         </s:complexType>
       </s:element>
-      <s:complexType name="ClsKf_ICStockBill_Mould">
-        <s:sequence>
-          <s:element minOccurs="1" maxOccurs="1" name="HItemID" type="s:long" />
-          <s:element minOccurs="0" maxOccurs="1" name="HBarType" type="s:string" />
-          <s:element minOccurs="1" maxOccurs="1" name="HWhID" type="s:long" />
-          <s:element minOccurs="0" maxOccurs="1" name="HWhNumber" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="HWhName" type="s:string" />
-          <s:element minOccurs="1" maxOccurs="1" name="HSPFlag" type="s:boolean" />
-          <s:element minOccurs="1" maxOccurs="1" name="HSPID" type="s:long" />
-          <s:element minOccurs="0" maxOccurs="1" name="HSPNumber" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="HSPName" type="s:string" />
-          <s:element minOccurs="1" maxOccurs="1" name="HDeptID" type="s:long" />
-          <s:element minOccurs="0" maxOccurs="1" name="HDeptNumber" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="HDeptName" type="s:string" />
-          <s:element minOccurs="1" maxOccurs="1" name="HSupID" type="s:long" />
-          <s:element minOccurs="0" maxOccurs="1" name="HSupNumber" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="HSupName" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="HSourceBillNo" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="HSourceBillType" type="s:string" />
-          <s:element minOccurs="1" maxOccurs="1" name="HOWNERID" type="s:long" />
-          <s:element minOccurs="0" maxOccurs="1" name="HOWNERNAME" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="HCustom" type="s:string" />
-          <s:element minOccurs="1" maxOccurs="1" name="HMulSourceFlag" type="s:long" />
-          <s:element minOccurs="0" maxOccurs="1" name="HStockStyle" type="s:string" />
-          <s:element minOccurs="1" maxOccurs="1" name="HStockInOrgID" type="s:long" />
-          <s:element minOccurs="0" maxOccurs="1" name="HStockInOrgName" type="s:string" />
-          <s:element minOccurs="1" maxOccurs="1" name="HStockOutOrgID" type="s:long" />
-          <s:element minOccurs="0" maxOccurs="1" name="HStockOutOrgName" type="s:string" />
-        </s:sequence>
-      </s:complexType>
       <s:element name="DeleteMould">
         <s:complexType>
           <s:sequence>
@@ -774,6 +1194,76 @@
             <s:element minOccurs="1" maxOccurs="1" name="sHDeptID" type="s:long" />
             <s:element minOccurs="0" maxOccurs="1" name="sHDeptName" type="s:string" />
             <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="GetKf_ICStockBillQueryList">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="sHBillType" type="s:string" />
+            <s:element minOccurs="0" maxOccurs="1" name="sBillNo" type="s:string" />
+            <s:element minOccurs="0" maxOccurs="1" name="sSourceBillNo" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="GetKf_ICStockBillQueryListResponse">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="GetKf_ICStockBillQueryListResult">
+              <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_ICInventoryByMaterIDList">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="sBarCode" type="s:string" />
+            <s:element minOccurs="1" maxOccurs="1" name="HWHID" type="s:long" />
+            <s:element minOccurs="1" maxOccurs="1" name="HSPID" type="s:long" />
+            <s:element minOccurs="1" maxOccurs="1" name="HOWNERID" type="s:long" />
+            <s:element minOccurs="0" maxOccurs="1" name="sWhere" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="Get_ICInventoryByMaterIDListResponse">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="Get_ICInventoryByMaterIDListResult">
+              <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_CheckQtyByBarCode">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="sBarcode" type="s:string" />
+            <s:element minOccurs="1" maxOccurs="1" name="HWHID" type="s:long" />
+            <s:element minOccurs="1" maxOccurs="1" name="HSPID" type="s:long" />
+            <s:element minOccurs="1" maxOccurs="1" name="HAuxPropID" type="s:long" />
+            <s:element minOccurs="0" maxOccurs="1" name="sBatchNo" type="s:string" />
+            <s:element minOccurs="0" maxOccurs="1" name="HMTONo" type="s:string" />
+            <s:element minOccurs="1" maxOccurs="1" name="sQty" type="s:double" />
+            <s:element minOccurs="1" maxOccurs="1" name="sRelQty" type="s:double" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="Get_CheckQtyByBarCodeResponse">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="1" maxOccurs="1" name="Get_CheckQtyByBarCodeResult" type="s:boolean" />
+            <s:element minOccurs="1" maxOccurs="1" name="sRelQty" type="s:double" />
           </s:sequence>
         </s:complexType>
       </s:element>
@@ -1302,168 +1792,6 @@
           </s:sequence>
         </s:complexType>
       </s:element>
-      <s:complexType name="ClsXt_SystemParameterMain">
-        <s:sequence>
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_POStockInBill_AutoCheck" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_POStockInBill_ERPMode" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_POStockInBill_MustQtyCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_POStockInBill_MulSourceBill" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_POStockInBill_BillTypeOneScan" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_POStockInBackBill_AutoCheck" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_POStockInBackBill_ERPMode" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_POStockInBackBill_MustQtyCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_POStockInBackBill_MulSourceBill" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_POStockInBackBill_BillTypeOneScan" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateOutBill_AutoCheck" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateOutBill_ERPMode" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateOutBill_MustQtyCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateOutBill_FIFOCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateOutBill_AutoBarCode" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateOutBill_MulSourceBill" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateOutBill_SimpleMode" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateOutBill_BillTypeOneScan" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateOutBackBill_AutoCheck" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateOutBackBill_ERPMode" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateOutBackBill_MustQtyCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateOutBackBill_MulSourceBill" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateOutBackBill_SimpleMode" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateOutBackBill_BillTypeOneScan" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_ProductInBill_AutoCheck" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_ProductInBill_ERPMode" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_ProductInBill_MustQtyCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_ProductInBill_MulSourceBill" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_ProductInBill_BarCodeMustSameSourceBill" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_ProductInBill_BillTypeOneScan" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_ProductInBackBill_AutoCheck" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_ProductInBackBill_ERPMode" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_ProductInBackBill_MustQtyCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_ProductInBackBill_MulSourceBill" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_ProductInBackBill_BillTypeOneScan" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustInBill_AutoCheck" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustInBill_ERPMode" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustInBill_MustQtyCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustInBill_MulSourceBill" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustInBill_BillTypeOneScan" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustInBackBill_AutoCheck" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustInBackBill_ERPMode" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustInBackBill_MustQtyCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustInBackBill_MulSourceBill" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustInBackBill_BillTypeOneScan" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustOutBill_AutoCheck" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustOutBill_ERPMode" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustOutBill_MustQtyCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustOutBill_FIFOCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustOutBill_MulSourceBill" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustOutBill_SimpleMode" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustOutBill_BillTypeOneScan" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustOutBackBill_AutoCheck" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustOutBackBill_ERPMode" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustOutBackBill_MustQtyCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustOutBackBill_MulSourceBill" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustOutBackBill_SimpleMode" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_EntrustOutBackBill_BillTypeOneScan" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_SellOutBill_AutoCheck" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_SellOutBill_ERPMode" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_SellOutBill_MustQtyCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_SellOutBill_FIFOCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_SellOutBill_MulSourceBill" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_SellOutBill_AutoSavePOStockInBill" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_SellOutBill_NoRefresh" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_SellOutBill_BillTypeOneScan" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_SellOutBackBill_AutoCheck" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_SellOutBackBill_ERPMode" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_SellOutBackBill_MustQtyCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_SellOutBackBill_MulSourceBill" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_SellOutBackBill_AutoSavePOStockInBackBill" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_SellOutBackBill_BillTypeOneScan" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherInBill_AutoCheck" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherInBill_ERPMode" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherInBill_MustQtyCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherInBill_BarCodeMustSameSourceBill" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherInBill_BillTypeOneScan" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherOutBill_AutoCheck" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherOutBill_ERPMode" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherOutBill_MustQtyCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherOutBill_BarCodeMustSameSourceBill" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherOutBill_BillTypeOneScan" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockBill_AutoCheck" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockBill_ERPMode" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockBill_MustQtyCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockBill_MulSourceBill" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockBill_BarCodeMustSameSourceBill" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockBill_BillTypeOneScan" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateReplenishOutBill_AutoCheck" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateReplenishOutBill_ERPMode" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateReplenishOutBill_MustQtyCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateReplenishOutBill_MulSourceBill" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateReplenishOutBill_BarCodeMustSameSourceBill" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MateReplenishOutBill_BillTypeOneScan" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherInBackBill_AutoCheck" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherInBackBill_ERPMode" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherInBackBill_MustQtyCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherInBackBill_BarCodeMustSameSourceBill" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherInBackBill_BillTypeOneScan" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherOutBackBill_AutoCheck" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherOutBackBill_ERPMode" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherOutBackBill_MustQtyCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherOutBackBill_BarCodeMustSameSourceBill" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_OtherOutBackBill_BillTypeOneScan" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockStepOutBill_AutoCheck" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockStepOutBill_ERPMode" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockStepOutBill_MustQtyCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockStepOutBill_MulSourceBill" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockStepOutBill_FIFOCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockStepOutBill_BillTypeOneScan" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockStepInBill_AutoCheck" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockStepInBill_ERPMode" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockStepInBill_MustQtyCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockStepInBill_MulSourceBill" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockStepInBill_BarCodeMustSameSourceBill" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Kf_MoveStockStepInBill_BillTypeOneScan" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="WMS_ERPStockCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="WMS_WMSStockCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="WMS_WMSStockCtl_ERPMode" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="WMS_SaveUpdateStock" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="WMS_MaterBarCodeDefQty" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="WMS_BatchBarCodeDefQty" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="WMS_SNBarCodeDefQty" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="WMS_CampanyName" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="WMS_OneKeyMode" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="WMS_BarCodeMustSameSourceBill" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="WMS_OneScanMode" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="WMS_MouldManagerCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="BarCode_SourceQtyCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="MES_StationInBill_FIFOCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="MES_StationInBill_FullMoveCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="MES_StationInBill_QtyCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="MES_StationInBill_OneCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="MES_StationInBill_FirstCheckOut" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="MES_StationInBill_ProcessCheckCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="MES_StationOutBill_QtyCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="MES_StationOutBill_ProcessCheckOut" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="MES_StationOutBill_FirstCheckOut" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="QC_NoPassProdCheckBill_QtyCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="MES_StationEntrustInBill_FIFOCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="MES_StationEntrustInBill_FullMoveCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="MES_StationEntrustInBill_QtyCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="MES_StationEntrustInBill_OneCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="MES_StationEntrustOutBill_QtyCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Sc_ICMOReportBill_AutoCheck" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Sc_ICMOReportBill_ERPMode" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Sc_ICMOReportBill_MustQtyCtl" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Sc_ICMOReportBill_MulSourceBill" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Sc_ICMOReportBill_BillTypeOneScan" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Sc_ICMOReportBill_UpdateSourceInterID" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Sc_ICMOReportBill_FirstCheckOut" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Sc_MESBeginWorkBill_AutoCheck" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Sc_MESEndWorkBill_AutoCheck" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Sc_MESStopWorkBill_AutoCheck" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Sc_ICMOBillWorkQtyStatus_AutoCheck" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Sc_ICMOBillQualityStatus_AutoCheck" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Sc_MaterToSourceBill_AutoCheck" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="QC_FirstPieceCheckBill_AutoCheck" type="s:string" />
-        </s:sequence>
-      </s:complexType>
       <s:element name="get_SystemParameterResponse">
         <s:complexType>
           <s:sequence>
@@ -1487,62 +1815,6 @@
           </s:sequence>
         </s:complexType>
       </s:element>
-      <s:complexType name="ClsGy_BarCodeBill_WMS_Model_View">
-        <s:complexContent mixed="false">
-          <s:extension base="tns:ClsGy_BarCodeBill_WMS_Model">
-            <s:sequence>
-              <s:element minOccurs="0" maxOccurs="1" name="HMaterNumber" type="s:string" />
-              <s:element minOccurs="0" maxOccurs="1" name="HMaterName" type="s:string" />
-              <s:element minOccurs="0" maxOccurs="1" name="HMaterModel" type="s:string" />
-              <s:element minOccurs="0" maxOccurs="1" name="HUnitName" type="s:string" />
-              <s:element minOccurs="0" maxOccurs="1" name="HSupName" type="s:string" />
-              <s:element minOccurs="0" maxOccurs="1" name="HGroupName" type="s:string" />
-              <s:element minOccurs="0" maxOccurs="1" name="HDeptName" type="s:string" />
-              <s:element minOccurs="1" maxOccurs="1" name="HErpClsID" type="s:long" />
-              <s:element minOccurs="1" maxOccurs="1" name="HWHID" type="s:long" />
-              <s:element minOccurs="1" maxOccurs="1" name="HSPID" type="s:long" />
-              <s:element minOccurs="0" maxOccurs="1" name="HCusRelationNumber" type="s:string" />
-              <s:element minOccurs="0" maxOccurs="1" name="HBarCodeStatus" type="s:string" />
-              <s:element minOccurs="0" maxOccurs="1" name="HWHName" type="s:string" />
-              <s:element minOccurs="1" maxOccurs="1" name="HDate" type="s:dateTime" />
-              <s:element minOccurs="1" maxOccurs="1" name="HInstructID" type="s:long" />
-              <s:element minOccurs="0" maxOccurs="1" name="HInstructNo" type="s:string" />
-              <s:element minOccurs="1" maxOccurs="1" name="HSeOrderBillID" type="s:long" />
-              <s:element minOccurs="0" maxOccurs="1" name="HSeOrderBillNo" type="s:string" />
-              <s:element minOccurs="1" maxOccurs="1" name="HCheckerID" type="s:long" />
-              <s:element minOccurs="1" maxOccurs="1" name="HAuxPropID" type="s:long" />
-              <s:element minOccurs="0" maxOccurs="1" name="HAuxPropName" type="s:string" />
-              <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:complexType name="ClsGy_BarCodeBill_WMS_Model">
-        <s:sequence>
-          <s:element minOccurs="1" maxOccurs="1" name="HItemID" type="s:long" />
-          <s:element minOccurs="0" maxOccurs="1" name="HBarCode" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="HBatchNo" type="s:string" />
-          <s:element minOccurs="1" maxOccurs="1" name="HMaterID" type="s:long" />
-          <s:element minOccurs="1" maxOccurs="1" name="HUnitID" type="s:long" />
-          <s:element minOccurs="0" maxOccurs="1" name="HBarCodeType" type="s:string" />
-          <s:element minOccurs="1" maxOccurs="1" name="HQty" type="s:double" />
-          <s:element minOccurs="1" maxOccurs="1" name="HSupID" type="s:long" />
-          <s:element minOccurs="1" maxOccurs="1" name="HGroupID" type="s:long" />
-          <s:element minOccurs="0" maxOccurs="1" name="HMaker" type="s:string" />
-          <s:element minOccurs="1" maxOccurs="1" name="HMakeDate" type="s:dateTime" />
-          <s:element minOccurs="0" maxOccurs="1" name="HRemark" type="s:string" />
-          <s:element minOccurs="1" maxOccurs="1" name="HSourceInterID" type="s:long" />
-          <s:element minOccurs="1" maxOccurs="1" name="HSourceEntryID" type="s:long" />
-          <s:element minOccurs="0" maxOccurs="1" name="HSourceBillNo" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="HSourceBillType" type="s:string" />
-          <s:element minOccurs="1" maxOccurs="1" name="HPrintQty" type="s:long" />
-          <s:element minOccurs="1" maxOccurs="1" name="HDeptID" type="s:long" />
-          <s:element minOccurs="1" maxOccurs="1" name="HinitQty" type="s:double" />
-          <s:element minOccurs="0" maxOccurs="1" name="HMTONo" type="s:string" />
-          <s:element minOccurs="1" maxOccurs="1" name="HStopflag" type="s:boolean" />
-        </s:sequence>
-      </s:complexType>
       <s:element name="Get_CheckWhAndSP">
         <s:complexType>
           <s:sequence>
@@ -2787,74 +3059,7 @@
           </s:sequence>
         </s:complexType>
       </s:element>
-      <s:element name="get_SourceBarCode_EntrustOut">
-        <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="HFIFOWhID" type="s:long" />
-            <s:element minOccurs="1" maxOccurs="1" name="HOWNERID" type="s:long" />
-            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
-          </s:sequence>
-        </s:complexType>
-      </s:element>
-      <s:element name="get_SourceBarCode_EntrustOutResponse">
-        <s:complexType>
-          <s:sequence>
-            <s:element minOccurs="0" maxOccurs="1" name="get_SourceBarCode_EntrustOutResult" 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_CheckTypeByMouldSource">
-        <s:complexType>
-          <s:sequence>
-            <s:element minOccurs="1" maxOccurs="1" name="HInterID" type="s:long" />
-            <s:element minOccurs="0" maxOccurs="1" name="HBillNo" type="s:string" />
-            <s:element minOccurs="0" maxOccurs="1" name="HBillType" type="s:string" />
-            <s:element minOccurs="0" maxOccurs="1" name="HSourceBillNo" type="s:string" />
-            <s:element minOccurs="0" maxOccurs="1" name="HSourceBillType" type="s:string" />
-            <s:element minOccurs="0" maxOccurs="1" name="HHMaker" type="s:string" />
-            <s:element minOccurs="1" maxOccurs="1" name="HOWNERID" type="s:long" />
-            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
-          </s:sequence>
-        </s:complexType>
-      </s:element>
-      <s:element name="get_CheckTypeByMouldSourceResponse">
-        <s:complexType>
-          <s:sequence>
-            <s:element minOccurs="0" maxOccurs="1" name="get_CheckTypeByMouldSourceResult" type="tns:ClsKf_ICStockBill_Mould" />
-            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
-          </s:sequence>
-        </s:complexType>
-      </s:element>
-      <s:element name="getMouldSourceBillList">
-        <s:complexType>
-          <s:sequence>
-            <s:element minOccurs="1" maxOccurs="1" name="HInterID" type="s:long" />
-            <s:element minOccurs="0" maxOccurs="1" name="HBillNo" type="s:string" />
-            <s:element minOccurs="0" maxOccurs="1" name="HBillType" type="s:string" />
-            <s:element minOccurs="0" maxOccurs="1" name="HSourceBillNo" type="s:string" />
-            <s:element minOccurs="0" maxOccurs="1" name="HSourceBillType" type="s:string" />
-            <s:element minOccurs="0" maxOccurs="1" name="HHMaker" type="s:string" />
-            <s:element minOccurs="1" maxOccurs="1" name="HOWNERID" type="s:long" />
-            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
-          </s:sequence>
-        </s:complexType>
-      </s:element>
-      <s:element name="getMouldSourceBillListResponse">
-        <s:complexType>
-          <s:sequence>
-            <s:element minOccurs="0" maxOccurs="1" name="getMouldSourceBillListResult" type="tns:ClsKf_ICStockBill_Mould" />
-            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
-          </s:sequence>
-        </s:complexType>
-      </s:element>
-      <s:element name="set_AuditPOStockInBill">
+      <s:element name="set_CheckAddPOStockInBill">
         <s:complexType>
           <s:sequence>
             <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_POStockInBillMain_K3" />
@@ -2888,6 +3093,38 @@
           </s:extension>
         </s:complexContent>
       </s:complexType>
+      <s:element name="set_CheckAddPOStockInBillResponse">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="1" maxOccurs="1" name="set_CheckAddPOStockInBillResult" type="s:boolean" />
+            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="set_CheckPOStockInBill">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_POStockInBillMain_K3" />
+            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="set_CheckPOStockInBillResponse">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="1" maxOccurs="1" name="set_CheckPOStockInBillResult" type="s:boolean" />
+            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="set_AuditPOStockInBill">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_POStockInBillMain_K3" />
+            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
       <s:element name="set_AuditPOStockInBillResponse">
         <s:complexType>
           <s:sequence>
@@ -4313,53 +4550,6 @@
           </s:sequence>
         </s:complexType>
       </s:element>
-      <s:element name="Get_ICInventoryByMaterIDList">
-        <s:complexType>
-          <s:sequence>
-            <s:element minOccurs="0" maxOccurs="1" name="sBarCode" type="s:string" />
-            <s:element minOccurs="1" maxOccurs="1" name="HWHID" type="s:long" />
-            <s:element minOccurs="1" maxOccurs="1" name="HSPID" type="s:long" />
-            <s:element minOccurs="1" maxOccurs="1" name="HOWNERID" type="s:long" />
-            <s:element minOccurs="0" maxOccurs="1" name="sWhere" type="s:string" />
-          </s:sequence>
-        </s:complexType>
-      </s:element>
-      <s:element name="Get_ICInventoryByMaterIDListResponse">
-        <s:complexType>
-          <s:sequence>
-            <s:element minOccurs="0" maxOccurs="1" name="Get_ICInventoryByMaterIDListResult">
-              <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_CheckQtyByBarCode">
-        <s:complexType>
-          <s:sequence>
-            <s:element minOccurs="0" maxOccurs="1" name="sBarcode" type="s:string" />
-            <s:element minOccurs="1" maxOccurs="1" name="HWHID" type="s:long" />
-            <s:element minOccurs="1" maxOccurs="1" name="HSPID" type="s:long" />
-            <s:element minOccurs="1" maxOccurs="1" name="HAuxPropID" type="s:long" />
-            <s:element minOccurs="0" maxOccurs="1" name="sBatchNo" type="s:string" />
-            <s:element minOccurs="0" maxOccurs="1" name="HMTONo" type="s:string" />
-            <s:element minOccurs="1" maxOccurs="1" name="sQty" type="s:double" />
-            <s:element minOccurs="1" maxOccurs="1" name="sRelQty" type="s:double" />
-          </s:sequence>
-        </s:complexType>
-      </s:element>
-      <s:element name="Get_CheckQtyByBarCodeResponse">
-        <s:complexType>
-          <s:sequence>
-            <s:element minOccurs="1" maxOccurs="1" name="Get_CheckQtyByBarCodeResult" type="s:boolean" />
-            <s:element minOccurs="1" maxOccurs="1" name="sRelQty" type="s:double" />
-          </s:sequence>
-        </s:complexType>
-      </s:element>
       <s:element name="set_SaveSellOutBill">
         <s:complexType>
           <s:sequence>
@@ -5623,6 +5813,22 @@
           </s:sequence>
         </s:complexType>
       </s:element>
+      <s:element name="set_SaveOtherOutBill_BillCheck">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_OtherOutBillMain" />
+            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="set_SaveOtherOutBill_BillCheckResponse">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="1" maxOccurs="1" name="set_SaveOtherOutBill_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_SavePOStockInBackBill">
         <s:complexType>
           <s:sequence>
@@ -5706,38 +5912,6 @@
         <s:complexType>
           <s:sequence>
             <s:element minOccurs="1" maxOccurs="1" name="set_SavePOStockInBillResult" type="s:boolean" />
-            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
-          </s:sequence>
-        </s:complexType>
-      </s:element>
-      <s:element name="set_CheckAddPOStockInBill">
-        <s:complexType>
-          <s:sequence>
-            <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_POStockInBillMain_K3" />
-            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
-          </s:sequence>
-        </s:complexType>
-      </s:element>
-      <s:element name="set_CheckAddPOStockInBillResponse">
-        <s:complexType>
-          <s:sequence>
-            <s:element minOccurs="1" maxOccurs="1" name="set_CheckAddPOStockInBillResult" type="s:boolean" />
-            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
-          </s:sequence>
-        </s:complexType>
-      </s:element>
-      <s:element name="set_CheckPOStockInBill">
-        <s:complexType>
-          <s:sequence>
-            <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_POStockInBillMain_K3" />
-            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
-          </s:sequence>
-        </s:complexType>
-      </s:element>
-      <s:element name="set_CheckPOStockInBillResponse">
-        <s:complexType>
-          <s:sequence>
-            <s:element minOccurs="1" maxOccurs="1" name="set_CheckPOStockInBillResult" type="s:boolean" />
             <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
           </s:sequence>
         </s:complexType>
@@ -11431,6 +11605,24 @@
       </s:element>
     </s:schema>
   </wsdl:types>
+  <wsdl:message name="get_SourceBarCode_EntrustOutSoapIn">
+    <wsdl:part name="parameters" element="tns:get_SourceBarCode_EntrustOut" />
+  </wsdl:message>
+  <wsdl:message name="get_SourceBarCode_EntrustOutSoapOut">
+    <wsdl:part name="parameters" element="tns:get_SourceBarCode_EntrustOutResponse" />
+  </wsdl:message>
+  <wsdl:message name="get_CheckTypeByMouldSourceSoapIn">
+    <wsdl:part name="parameters" element="tns:get_CheckTypeByMouldSource" />
+  </wsdl:message>
+  <wsdl:message name="get_CheckTypeByMouldSourceSoapOut">
+    <wsdl:part name="parameters" element="tns:get_CheckTypeByMouldSourceResponse" />
+  </wsdl:message>
+  <wsdl:message name="getMouldSourceBillListSoapIn">
+    <wsdl:part name="parameters" element="tns:getMouldSourceBillList" />
+  </wsdl:message>
+  <wsdl:message name="getMouldSourceBillListSoapOut">
+    <wsdl:part name="parameters" element="tns:getMouldSourceBillListResponse" />
+  </wsdl:message>
   <wsdl:message name="Get_CheckTypeByMouldBarCode_ProdCheckStockSoapIn">
     <wsdl:part name="parameters" element="tns:Get_CheckTypeByMouldBarCode_ProdCheckStock" />
   </wsdl:message>
@@ -11527,6 +11719,42 @@
   <wsdl:message name="set_DelPonderationBillMain_Temp_PackSoapOut">
     <wsdl:part name="parameters" element="tns:set_DelPonderationBillMain_Temp_PackResponse" />
   </wsdl:message>
+  <wsdl:message name="GetSourceBillList_BillCheckSoapIn">
+    <wsdl:part name="parameters" element="tns:GetSourceBillList_BillCheck" />
+  </wsdl:message>
+  <wsdl:message name="GetSourceBillList_BillCheckSoapOut">
+    <wsdl:part name="parameters" element="tns:GetSourceBillList_BillCheckResponse" />
+  </wsdl:message>
+  <wsdl:message name="get_BillBarCode_OtherOutCheckSoapIn">
+    <wsdl:part name="parameters" element="tns:get_BillBarCode_OtherOutCheck" />
+  </wsdl:message>
+  <wsdl:message name="get_BillBarCode_OtherOutCheckSoapOut">
+    <wsdl:part name="parameters" element="tns:get_BillBarCode_OtherOutCheckResponse" />
+  </wsdl:message>
+  <wsdl:message name="set_SavePonderationBillMain_Temp_BarCode_BillCheckSoapIn">
+    <wsdl:part name="parameters" element="tns:set_SavePonderationBillMain_Temp_BarCode_BillCheck" />
+  </wsdl:message>
+  <wsdl:message name="set_SavePonderationBillMain_Temp_BarCode_BillCheckSoapOut">
+    <wsdl:part name="parameters" element="tns:set_SavePonderationBillMain_Temp_BarCode_BillCheckResponse" />
+  </wsdl:message>
+  <wsdl:message name="get_CheckTypeByBarCode_BillCheckSoapIn">
+    <wsdl:part name="parameters" element="tns:get_CheckTypeByBarCode_BillCheck" />
+  </wsdl:message>
+  <wsdl:message name="get_CheckTypeByBarCode_BillCheckSoapOut">
+    <wsdl:part name="parameters" element="tns:get_CheckTypeByBarCode_BillCheckResponse" />
+  </wsdl:message>
+  <wsdl:message name="GetKf_PonderationBillMain_Temp_BillCheckSoapIn">
+    <wsdl:part name="parameters" element="tns:GetKf_PonderationBillMain_Temp_BillCheck" />
+  </wsdl:message>
+  <wsdl:message name="GetKf_PonderationBillMain_Temp_BillCheckSoapOut">
+    <wsdl:part name="parameters" element="tns:GetKf_PonderationBillMain_Temp_BillCheckResponse" />
+  </wsdl:message>
+  <wsdl:message name="GetKf_PonderationBillMain_TempList_BillCheckSoapIn">
+    <wsdl:part name="parameters" element="tns:GetKf_PonderationBillMain_TempList_BillCheck" />
+  </wsdl:message>
+  <wsdl:message name="GetKf_PonderationBillMain_TempList_BillCheckSoapOut">
+    <wsdl:part name="parameters" element="tns:GetKf_PonderationBillMain_TempList_BillCheckResponse" />
+  </wsdl:message>
   <wsdl:message name="getDataSetByMasterSQLSoapIn">
     <wsdl:part name="parameters" element="tns:getDataSetByMasterSQL" />
   </wsdl:message>
@@ -11616,6 +11844,24 @@
   </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="GetKf_ICStockBillQueryListSoapIn">
+    <wsdl:part name="parameters" element="tns:GetKf_ICStockBillQueryList" />
+  </wsdl:message>
+  <wsdl:message name="GetKf_ICStockBillQueryListSoapOut">
+    <wsdl:part name="parameters" element="tns:GetKf_ICStockBillQueryListResponse" />
+  </wsdl:message>
+  <wsdl:message name="Get_ICInventoryByMaterIDListSoapIn">
+    <wsdl:part name="parameters" element="tns:Get_ICInventoryByMaterIDList" />
+  </wsdl:message>
+  <wsdl:message name="Get_ICInventoryByMaterIDListSoapOut">
+    <wsdl:part name="parameters" element="tns:Get_ICInventoryByMaterIDListResponse" />
+  </wsdl:message>
+  <wsdl:message name="Get_CheckQtyByBarCodeSoapIn">
+    <wsdl:part name="parameters" element="tns:Get_CheckQtyByBarCode" />
+  </wsdl:message>
+  <wsdl:message name="Get_CheckQtyByBarCodeSoapOut">
+    <wsdl:part name="parameters" element="tns:Get_CheckQtyByBarCodeResponse" />
   </wsdl:message>
   <wsdl:message name="Get_CheckQtyByBarCode_GetWhAndSPSoapIn">
     <wsdl:part name="parameters" element="tns:Get_CheckQtyByBarCode_GetWhAndSP" />
@@ -12103,23 +12349,17 @@
   <wsdl:message name="get_SourceBarCode_MateOutSoapOut">
     <wsdl:part name="parameters" element="tns:get_SourceBarCode_MateOutResponse" />
   </wsdl:message>
-  <wsdl:message name="get_SourceBarCode_EntrustOutSoapIn">
-    <wsdl:part name="parameters" element="tns:get_SourceBarCode_EntrustOut" />
+  <wsdl:message name="set_CheckAddPOStockInBillSoapIn">
+    <wsdl:part name="parameters" element="tns:set_CheckAddPOStockInBill" />
   </wsdl:message>
-  <wsdl:message name="get_SourceBarCode_EntrustOutSoapOut">
-    <wsdl:part name="parameters" element="tns:get_SourceBarCode_EntrustOutResponse" />
+  <wsdl:message name="set_CheckAddPOStockInBillSoapOut">
+    <wsdl:part name="parameters" element="tns:set_CheckAddPOStockInBillResponse" />
   </wsdl:message>
-  <wsdl:message name="get_CheckTypeByMouldSourceSoapIn">
-    <wsdl:part name="parameters" element="tns:get_CheckTypeByMouldSource" />
+  <wsdl:message name="set_CheckPOStockInBillSoapIn">
+    <wsdl:part name="parameters" element="tns:set_CheckPOStockInBill" />
   </wsdl:message>
-  <wsdl:message name="get_CheckTypeByMouldSourceSoapOut">
-    <wsdl:part name="parameters" element="tns:get_CheckTypeByMouldSourceResponse" />
-  </wsdl:message>
-  <wsdl:message name="getMouldSourceBillListSoapIn">
-    <wsdl:part name="parameters" element="tns:getMouldSourceBillList" />
-  </wsdl:message>
-  <wsdl:message name="getMouldSourceBillListSoapOut">
-    <wsdl:part name="parameters" element="tns:getMouldSourceBillListResponse" />
+  <wsdl:message name="set_CheckPOStockInBillSoapOut">
+    <wsdl:part name="parameters" element="tns:set_CheckPOStockInBillResponse" />
   </wsdl:message>
   <wsdl:message name="set_AuditPOStockInBillSoapIn">
     <wsdl:part name="parameters" element="tns:set_AuditPOStockInBill" />
@@ -12469,18 +12709,6 @@
   <wsdl:message name="GetKf_ICStockBillListSoapOut">
     <wsdl:part name="parameters" element="tns:GetKf_ICStockBillListResponse" />
   </wsdl:message>
-  <wsdl:message name="Get_ICInventoryByMaterIDListSoapIn">
-    <wsdl:part name="parameters" element="tns:Get_ICInventoryByMaterIDList" />
-  </wsdl:message>
-  <wsdl:message name="Get_ICInventoryByMaterIDListSoapOut">
-    <wsdl:part name="parameters" element="tns:Get_ICInventoryByMaterIDListResponse" />
-  </wsdl:message>
-  <wsdl:message name="Get_CheckQtyByBarCodeSoapIn">
-    <wsdl:part name="parameters" element="tns:Get_CheckQtyByBarCode" />
-  </wsdl:message>
-  <wsdl:message name="Get_CheckQtyByBarCodeSoapOut">
-    <wsdl:part name="parameters" element="tns:Get_CheckQtyByBarCodeResponse" />
-  </wsdl:message>
   <wsdl:message name="set_SaveSellOutBillSoapIn">
     <wsdl:part name="parameters" element="tns:set_SaveSellOutBill" />
   </wsdl:message>
@@ -12775,6 +13003,12 @@
   <wsdl:message name="set_SaveOtherOutBill_CLDSoapOut">
     <wsdl:part name="parameters" element="tns:set_SaveOtherOutBill_CLDResponse" />
   </wsdl:message>
+  <wsdl:message name="set_SaveOtherOutBill_BillCheckSoapIn">
+    <wsdl:part name="parameters" element="tns:set_SaveOtherOutBill_BillCheck" />
+  </wsdl:message>
+  <wsdl:message name="set_SaveOtherOutBill_BillCheckSoapOut">
+    <wsdl:part name="parameters" element="tns:set_SaveOtherOutBill_BillCheckResponse" />
+  </wsdl:message>
   <wsdl:message name="set_SavePOStockInBackBillSoapIn">
     <wsdl:part name="parameters" element="tns:set_SavePOStockInBackBill" />
   </wsdl:message>
@@ -12804,18 +13038,6 @@
   </wsdl:message>
   <wsdl:message name="set_SavePOStockInBillSoapOut">
     <wsdl:part name="parameters" element="tns:set_SavePOStockInBillResponse" />
-  </wsdl:message>
-  <wsdl:message name="set_CheckAddPOStockInBillSoapIn">
-    <wsdl:part name="parameters" element="tns:set_CheckAddPOStockInBill" />
-  </wsdl:message>
-  <wsdl:message name="set_CheckAddPOStockInBillSoapOut">
-    <wsdl:part name="parameters" element="tns:set_CheckAddPOStockInBillResponse" />
-  </wsdl:message>
-  <wsdl:message name="set_CheckPOStockInBillSoapIn">
-    <wsdl:part name="parameters" element="tns:set_CheckPOStockInBill" />
-  </wsdl:message>
-  <wsdl:message name="set_CheckPOStockInBillSoapOut">
-    <wsdl:part name="parameters" element="tns:set_CheckPOStockInBillResponse" />
   </wsdl:message>
   <wsdl:message name="set_DelPonderationBillMain_TempSoapIn">
     <wsdl:part name="parameters" element="tns:set_DelPonderationBillMain_Temp" />
@@ -14234,6 +14456,18 @@
     <wsdl:part name="parameters" element="tns:GetSc_ICMOBillListResponse" />
   </wsdl:message>
   <wsdl:portType name="WebService1Soap">
+    <wsdl:operation name="get_SourceBarCode_EntrustOut">
+      <wsdl:input message="tns:get_SourceBarCode_EntrustOutSoapIn" />
+      <wsdl:output message="tns:get_SourceBarCode_EntrustOutSoapOut" />
+    </wsdl:operation>
+    <wsdl:operation name="get_CheckTypeByMouldSource">
+      <wsdl:input message="tns:get_CheckTypeByMouldSourceSoapIn" />
+      <wsdl:output message="tns:get_CheckTypeByMouldSourceSoapOut" />
+    </wsdl:operation>
+    <wsdl:operation name="getMouldSourceBillList">
+      <wsdl:input message="tns:getMouldSourceBillListSoapIn" />
+      <wsdl:output message="tns:getMouldSourceBillListSoapOut" />
+    </wsdl:operation>
     <wsdl:operation name="Get_CheckTypeByMouldBarCode_ProdCheckStock">
       <wsdl:input message="tns:Get_CheckTypeByMouldBarCode_ProdCheckStockSoapIn" />
       <wsdl:output message="tns:Get_CheckTypeByMouldBarCode_ProdCheckStockSoapOut" />
@@ -14298,6 +14532,30 @@
       <wsdl:input message="tns:set_DelPonderationBillMain_Temp_PackSoapIn" />
       <wsdl:output message="tns:set_DelPonderationBillMain_Temp_PackSoapOut" />
     </wsdl:operation>
+    <wsdl:operation name="GetSourceBillList_BillCheck">
+      <wsdl:input message="tns:GetSourceBillList_BillCheckSoapIn" />
+      <wsdl:output message="tns:GetSourceBillList_BillCheckSoapOut" />
+    </wsdl:operation>
+    <wsdl:operation name="get_BillBarCode_OtherOutCheck">
+      <wsdl:input message="tns:get_BillBarCode_OtherOutCheckSoapIn" />
+      <wsdl:output message="tns:get_BillBarCode_OtherOutCheckSoapOut" />
+    </wsdl:operation>
+    <wsdl:operation name="set_SavePonderationBillMain_Temp_BarCode_BillCheck">
+      <wsdl:input message="tns:set_SavePonderationBillMain_Temp_BarCode_BillCheckSoapIn" />
+      <wsdl:output message="tns:set_SavePonderationBillMain_Temp_BarCode_BillCheckSoapOut" />
+    </wsdl:operation>
+    <wsdl:operation name="get_CheckTypeByBarCode_BillCheck">
+      <wsdl:input message="tns:get_CheckTypeByBarCode_BillCheckSoapIn" />
+      <wsdl:output message="tns:get_CheckTypeByBarCode_BillCheckSoapOut" />
+    </wsdl:operation>
+    <wsdl:operation name="GetKf_PonderationBillMain_Temp_BillCheck">
+      <wsdl:input message="tns:GetKf_PonderationBillMain_Temp_BillCheckSoapIn" />
+      <wsdl:output message="tns:GetKf_PonderationBillMain_Temp_BillCheckSoapOut" />
+    </wsdl:operation>
+    <wsdl:operation name="GetKf_PonderationBillMain_TempList_BillCheck">
+      <wsdl:input message="tns:GetKf_PonderationBillMain_TempList_BillCheckSoapIn" />
+      <wsdl:output message="tns:GetKf_PonderationBillMain_TempList_BillCheckSoapOut" />
+    </wsdl:operation>
     <wsdl:operation name="getDataSetByMasterSQL">
       <wsdl:input message="tns:getDataSetByMasterSQLSoapIn" />
       <wsdl:output message="tns:getDataSetByMasterSQLSoapOut" />
@@ -14357,6 +14615,18 @@
     <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="GetKf_ICStockBillQueryList">
+      <wsdl:input message="tns:GetKf_ICStockBillQueryListSoapIn" />
+      <wsdl:output message="tns:GetKf_ICStockBillQueryListSoapOut" />
+    </wsdl:operation>
+    <wsdl:operation name="Get_ICInventoryByMaterIDList">
+      <wsdl:input message="tns:Get_ICInventoryByMaterIDListSoapIn" />
+      <wsdl:output message="tns:Get_ICInventoryByMaterIDListSoapOut" />
+    </wsdl:operation>
+    <wsdl:operation name="Get_CheckQtyByBarCode">
+      <wsdl:input message="tns:Get_CheckQtyByBarCodeSoapIn" />
+      <wsdl:output message="tns:Get_CheckQtyByBarCodeSoapOut" />
     </wsdl:operation>
     <wsdl:operation name="Get_CheckQtyByBarCode_GetWhAndSP">
       <wsdl:input message="tns:Get_CheckQtyByBarCode_GetWhAndSPSoapIn" />
@@ -14682,17 +14952,13 @@
       <wsdl:input message="tns:get_SourceBarCode_MateOutSoapIn" />
       <wsdl:output message="tns:get_SourceBarCode_MateOutSoapOut" />
     </wsdl:operation>
-    <wsdl:operation name="get_SourceBarCode_EntrustOut">
-      <wsdl:input message="tns:get_SourceBarCode_EntrustOutSoapIn" />
-      <wsdl:output message="tns:get_SourceBarCode_EntrustOutSoapOut" />
+    <wsdl:operation name="set_CheckAddPOStockInBill">
+      <wsdl:input message="tns:set_CheckAddPOStockInBillSoapIn" />
+      <wsdl:output message="tns:set_CheckAddPOStockInBillSoapOut" />
     </wsdl:operation>
-    <wsdl:operation name="get_CheckTypeByMouldSource">
-      <wsdl:input message="tns:get_CheckTypeByMouldSourceSoapIn" />
-      <wsdl:output message="tns:get_CheckTypeByMouldSourceSoapOut" />
-    </wsdl:operation>
-    <wsdl:operation name="getMouldSourceBillList">
-      <wsdl:input message="tns:getMouldSourceBillListSoapIn" />
-      <wsdl:output message="tns:getMouldSourceBillListSoapOut" />
+    <wsdl:operation name="set_CheckPOStockInBill">
+      <wsdl:input message="tns:set_CheckPOStockInBillSoapIn" />
+      <wsdl:output message="tns:set_CheckPOStockInBillSoapOut" />
     </wsdl:operation>
     <wsdl:operation name="set_AuditPOStockInBill">
       <wsdl:input message="tns:set_AuditPOStockInBillSoapIn" />
@@ -14926,14 +15192,6 @@
       <wsdl:input message="tns:GetKf_ICStockBillListSoapIn" />
       <wsdl:output message="tns:GetKf_ICStockBillListSoapOut" />
     </wsdl:operation>
-    <wsdl:operation name="Get_ICInventoryByMaterIDList">
-      <wsdl:input message="tns:Get_ICInventoryByMaterIDListSoapIn" />
-      <wsdl:output message="tns:Get_ICInventoryByMaterIDListSoapOut" />
-    </wsdl:operation>
-    <wsdl:operation name="Get_CheckQtyByBarCode">
-      <wsdl:input message="tns:Get_CheckQtyByBarCodeSoapIn" />
-      <wsdl:output message="tns:Get_CheckQtyByBarCodeSoapOut" />
-    </wsdl:operation>
     <wsdl:operation name="set_SaveSellOutBill">
       <wsdl:input message="tns:set_SaveSellOutBillSoapIn" />
       <wsdl:output message="tns:set_SaveSellOutBillSoapOut" />
@@ -15130,6 +15388,10 @@
       <wsdl:input message="tns:set_SaveOtherOutBill_CLDSoapIn" />
       <wsdl:output message="tns:set_SaveOtherOutBill_CLDSoapOut" />
     </wsdl:operation>
+    <wsdl:operation name="set_SaveOtherOutBill_BillCheck">
+      <wsdl:input message="tns:set_SaveOtherOutBill_BillCheckSoapIn" />
+      <wsdl:output message="tns:set_SaveOtherOutBill_BillCheckSoapOut" />
+    </wsdl:operation>
     <wsdl:operation name="set_SavePOStockInBackBill">
       <wsdl:input message="tns:set_SavePOStockInBackBillSoapIn" />
       <wsdl:output message="tns:set_SavePOStockInBackBillSoapOut" />
@@ -15149,14 +15411,6 @@
     <wsdl:operation name="set_SavePOStockInBill">
       <wsdl:input message="tns:set_SavePOStockInBillSoapIn" />
       <wsdl:output message="tns:set_SavePOStockInBillSoapOut" />
-    </wsdl:operation>
-    <wsdl:operation name="set_CheckAddPOStockInBill">
-      <wsdl:input message="tns:set_CheckAddPOStockInBillSoapIn" />
-      <wsdl:output message="tns:set_CheckAddPOStockInBillSoapOut" />
-    </wsdl:operation>
-    <wsdl:operation name="set_CheckPOStockInBill">
-      <wsdl:input message="tns:set_CheckPOStockInBillSoapIn" />
-      <wsdl:output message="tns:set_CheckPOStockInBillSoapOut" />
     </wsdl:operation>
     <wsdl:operation name="set_DelPonderationBillMain_Temp">
       <wsdl:input message="tns:set_DelPonderationBillMain_TempSoapIn" />
@@ -16105,6 +16359,33 @@
   </wsdl:portType>
   <wsdl:binding name="WebService1Soap" type="tns:WebService1Soap">
     <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
+    <wsdl:operation name="get_SourceBarCode_EntrustOut">
+      <soap:operation soapAction="http://tempuri.org/get_SourceBarCode_EntrustOut" style="document" />
+      <wsdl:input>
+        <soap:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="get_CheckTypeByMouldSource">
+      <soap:operation soapAction="http://tempuri.org/get_CheckTypeByMouldSource" style="document" />
+      <wsdl:input>
+        <soap:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="getMouldSourceBillList">
+      <soap:operation soapAction="http://tempuri.org/getMouldSourceBillList" style="document" />
+      <wsdl:input>
+        <soap:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
     <wsdl:operation name="Get_CheckTypeByMouldBarCode_ProdCheckStock">
       <soap:operation soapAction="http://tempuri.org/Get_CheckTypeByMouldBarCode_ProdCheckStock" style="document" />
       <wsdl:input>
@@ -16249,6 +16530,60 @@
         <soap:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
+    <wsdl:operation name="GetSourceBillList_BillCheck">
+      <soap:operation soapAction="http://tempuri.org/GetSourceBillList_BillCheck" style="document" />
+      <wsdl:input>
+        <soap:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="get_BillBarCode_OtherOutCheck">
+      <soap:operation soapAction="http://tempuri.org/get_BillBarCode_OtherOutCheck" style="document" />
+      <wsdl:input>
+        <soap:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="set_SavePonderationBillMain_Temp_BarCode_BillCheck">
+      <soap:operation soapAction="http://tempuri.org/set_SavePonderationBillMain_Temp_BarCode_BillCheck" style="document" />
+      <wsdl:input>
+        <soap:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="get_CheckTypeByBarCode_BillCheck">
+      <soap:operation soapAction="http://tempuri.org/get_CheckTypeByBarCode_BillCheck" style="document" />
+      <wsdl:input>
+        <soap:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="GetKf_PonderationBillMain_Temp_BillCheck">
+      <soap:operation soapAction="http://tempuri.org/GetKf_PonderationBillMain_Temp_BillCheck" style="document" />
+      <wsdl:input>
+        <soap:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="GetKf_PonderationBillMain_TempList_BillCheck">
+      <soap:operation soapAction="http://tempuri.org/GetKf_PonderationBillMain_TempList_BillCheck" style="document" />
+      <wsdl:input>
+        <soap:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
     <wsdl:operation name="getDataSetByMasterSQL">
       <soap:operation soapAction="http://tempuri.org/getDataSetByMasterSQL" style="document" />
       <wsdl:input>
@@ -16377,6 +16712,33 @@
     </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="GetKf_ICStockBillQueryList">
+      <soap:operation soapAction="http://tempuri.org/GetKf_ICStockBillQueryList" style="document" />
+      <wsdl:input>
+        <soap:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="Get_ICInventoryByMaterIDList">
+      <soap:operation soapAction="http://tempuri.org/Get_ICInventoryByMaterIDList" style="document" />
+      <wsdl:input>
+        <soap:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="Get_CheckQtyByBarCode">
+      <soap:operation soapAction="http://tempuri.org/Get_CheckQtyByBarCode" style="document" />
       <wsdl:input>
         <soap:body use="literal" />
       </wsdl:input>
@@ -17113,8 +17475,8 @@
         <soap:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
-    <wsdl:operation name="get_SourceBarCode_EntrustOut">
-      <soap:operation soapAction="http://tempuri.org/get_SourceBarCode_EntrustOut" style="document" />
+    <wsdl:operation name="set_CheckAddPOStockInBill">
+      <soap:operation soapAction="http://tempuri.org/set_CheckAddPOStockInBill" style="document" />
       <wsdl:input>
         <soap:body use="literal" />
       </wsdl:input>
@@ -17122,17 +17484,8 @@
         <soap:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
-    <wsdl:operation name="get_CheckTypeByMouldSource">
-      <soap:operation soapAction="http://tempuri.org/get_CheckTypeByMouldSource" style="document" />
-      <wsdl:input>
-        <soap:body use="literal" />
-      </wsdl:input>
-      <wsdl:output>
-        <soap:body use="literal" />
-      </wsdl:output>
-    </wsdl:operation>
-    <wsdl:operation name="getMouldSourceBillList">
-      <soap:operation soapAction="http://tempuri.org/getMouldSourceBillList" style="document" />
+    <wsdl:operation name="set_CheckPOStockInBill">
+      <soap:operation soapAction="http://tempuri.org/set_CheckPOStockInBill" style="document" />
       <wsdl:input>
         <soap:body use="literal" />
       </wsdl:input>
@@ -17662,24 +18015,6 @@
         <soap:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
-    <wsdl:operation name="Get_ICInventoryByMaterIDList">
-      <soap:operation soapAction="http://tempuri.org/Get_ICInventoryByMaterIDList" style="document" />
-      <wsdl:input>
-        <soap:body use="literal" />
-      </wsdl:input>
-      <wsdl:output>
-        <soap:body use="literal" />
-      </wsdl:output>
-    </wsdl:operation>
-    <wsdl:operation name="Get_CheckQtyByBarCode">
-      <soap:operation soapAction="http://tempuri.org/Get_CheckQtyByBarCode" style="document" />
-      <wsdl:input>
-        <soap:body use="literal" />
-      </wsdl:input>
-      <wsdl:output>
-        <soap:body use="literal" />
-      </wsdl:output>
-    </wsdl:operation>
     <wsdl:operation name="set_SaveSellOutBill">
       <soap:operation soapAction="http://tempuri.org/set_SaveSellOutBill" style="document" />
       <wsdl:input>
@@ -18121,6 +18456,15 @@
         <soap:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
+    <wsdl:operation name="set_SaveOtherOutBill_BillCheck">
+      <soap:operation soapAction="http://tempuri.org/set_SaveOtherOutBill_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_SavePOStockInBackBill">
       <soap:operation soapAction="http://tempuri.org/set_SavePOStockInBackBill" style="document" />
       <wsdl:input>
@@ -18159,24 +18503,6 @@
     </wsdl:operation>
     <wsdl:operation name="set_SavePOStockInBill">
       <soap:operation soapAction="http://tempuri.org/set_SavePOStockInBill" style="document" />
-      <wsdl:input>
-        <soap:body use="literal" />
-      </wsdl:input>
-      <wsdl:output>
-        <soap:body use="literal" />
-      </wsdl:output>
-    </wsdl:operation>
-    <wsdl:operation name="set_CheckAddPOStockInBill">
-      <soap:operation soapAction="http://tempuri.org/set_CheckAddPOStockInBill" style="document" />
-      <wsdl:input>
-        <soap:body use="literal" />
-      </wsdl:input>
-      <wsdl:output>
-        <soap:body use="literal" />
-      </wsdl:output>
-    </wsdl:operation>
-    <wsdl:operation name="set_CheckPOStockInBill">
-      <soap:operation soapAction="http://tempuri.org/set_CheckPOStockInBill" style="document" />
       <wsdl:input>
         <soap:body use="literal" />
       </wsdl:input>
@@ -20311,6 +20637,33 @@
   </wsdl:binding>
   <wsdl:binding name="WebService1Soap12" type="tns:WebService1Soap">
     <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
+    <wsdl:operation name="get_SourceBarCode_EntrustOut">
+      <soap12:operation soapAction="http://tempuri.org/get_SourceBarCode_EntrustOut" style="document" />
+      <wsdl:input>
+        <soap12:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap12:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="get_CheckTypeByMouldSource">
+      <soap12:operation soapAction="http://tempuri.org/get_CheckTypeByMouldSource" style="document" />
+      <wsdl:input>
+        <soap12:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap12:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="getMouldSourceBillList">
+      <soap12:operation soapAction="http://tempuri.org/getMouldSourceBillList" style="document" />
+      <wsdl:input>
+        <soap12:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap12:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
     <wsdl:operation name="Get_CheckTypeByMouldBarCode_ProdCheckStock">
       <soap12:operation soapAction="http://tempuri.org/Get_CheckTypeByMouldBarCode_ProdCheckStock" style="document" />
       <wsdl:input>
@@ -20455,6 +20808,60 @@
         <soap12:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
+    <wsdl:operation name="GetSourceBillList_BillCheck">
+      <soap12:operation soapAction="http://tempuri.org/GetSourceBillList_BillCheck" style="document" />
+      <wsdl:input>
+        <soap12:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap12:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="get_BillBarCode_OtherOutCheck">
+      <soap12:operation soapAction="http://tempuri.org/get_BillBarCode_OtherOutCheck" style="document" />
+      <wsdl:input>
+        <soap12:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap12:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="set_SavePonderationBillMain_Temp_BarCode_BillCheck">
+      <soap12:operation soapAction="http://tempuri.org/set_SavePonderationBillMain_Temp_BarCode_BillCheck" style="document" />
+      <wsdl:input>
+        <soap12:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap12:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="get_CheckTypeByBarCode_BillCheck">
+      <soap12:operation soapAction="http://tempuri.org/get_CheckTypeByBarCode_BillCheck" style="document" />
+      <wsdl:input>
+        <soap12:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap12:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="GetKf_PonderationBillMain_Temp_BillCheck">
+      <soap12:operation soapAction="http://tempuri.org/GetKf_PonderationBillMain_Temp_BillCheck" style="document" />
+      <wsdl:input>
+        <soap12:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap12:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="GetKf_PonderationBillMain_TempList_BillCheck">
+      <soap12:operation soapAction="http://tempuri.org/GetKf_PonderationBillMain_TempList_BillCheck" style="document" />
+      <wsdl:input>
+        <soap12:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap12:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
     <wsdl:operation name="getDataSetByMasterSQL">
       <soap12:operation soapAction="http://tempuri.org/getDataSetByMasterSQL" style="document" />
       <wsdl:input>
@@ -20583,6 +20990,33 @@
     </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="GetKf_ICStockBillQueryList">
+      <soap12:operation soapAction="http://tempuri.org/GetKf_ICStockBillQueryList" style="document" />
+      <wsdl:input>
+        <soap12:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap12:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="Get_ICInventoryByMaterIDList">
+      <soap12:operation soapAction="http://tempuri.org/Get_ICInventoryByMaterIDList" style="document" />
+      <wsdl:input>
+        <soap12:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap12:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="Get_CheckQtyByBarCode">
+      <soap12:operation soapAction="http://tempuri.org/Get_CheckQtyByBarCode" style="document" />
       <wsdl:input>
         <soap12:body use="literal" />
       </wsdl:input>
@@ -21319,8 +21753,8 @@
         <soap12:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
-    <wsdl:operation name="get_SourceBarCode_EntrustOut">
-      <soap12:operation soapAction="http://tempuri.org/get_SourceBarCode_EntrustOut" style="document" />
+    <wsdl:operation name="set_CheckAddPOStockInBill">
+      <soap12:operation soapAction="http://tempuri.org/set_CheckAddPOStockInBill" style="document" />
       <wsdl:input>
         <soap12:body use="literal" />
       </wsdl:input>
@@ -21328,17 +21762,8 @@
         <soap12:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
-    <wsdl:operation name="get_CheckTypeByMouldSource">
-      <soap12:operation soapAction="http://tempuri.org/get_CheckTypeByMouldSource" style="document" />
-      <wsdl:input>
-        <soap12:body use="literal" />
-      </wsdl:input>
-      <wsdl:output>
-        <soap12:body use="literal" />
-      </wsdl:output>
-    </wsdl:operation>
-    <wsdl:operation name="getMouldSourceBillList">
-      <soap12:operation soapAction="http://tempuri.org/getMouldSourceBillList" style="document" />
+    <wsdl:operation name="set_CheckPOStockInBill">
+      <soap12:operation soapAction="http://tempuri.org/set_CheckPOStockInBill" style="document" />
       <wsdl:input>
         <soap12:body use="literal" />
       </wsdl:input>
@@ -21868,24 +22293,6 @@
         <soap12:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
-    <wsdl:operation name="Get_ICInventoryByMaterIDList">
-      <soap12:operation soapAction="http://tempuri.org/Get_ICInventoryByMaterIDList" style="document" />
-      <wsdl:input>
-        <soap12:body use="literal" />
-      </wsdl:input>
-      <wsdl:output>
-        <soap12:body use="literal" />
-      </wsdl:output>
-    </wsdl:operation>
-    <wsdl:operation name="Get_CheckQtyByBarCode">
-      <soap12:operation soapAction="http://tempuri.org/Get_CheckQtyByBarCode" style="document" />
-      <wsdl:input>
-        <soap12:body use="literal" />
-      </wsdl:input>
-      <wsdl:output>
-        <soap12:body use="literal" />
-      </wsdl:output>
-    </wsdl:operation>
     <wsdl:operation name="set_SaveSellOutBill">
       <soap12:operation soapAction="http://tempuri.org/set_SaveSellOutBill" style="document" />
       <wsdl:input>
@@ -22327,6 +22734,15 @@
         <soap12:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
+    <wsdl:operation name="set_SaveOtherOutBill_BillCheck">
+      <soap12:operation soapAction="http://tempuri.org/set_SaveOtherOutBill_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_SavePOStockInBackBill">
       <soap12:operation soapAction="http://tempuri.org/set_SavePOStockInBackBill" style="document" />
       <wsdl:input>
@@ -22365,24 +22781,6 @@
     </wsdl:operation>
     <wsdl:operation name="set_SavePOStockInBill">
       <soap12:operation soapAction="http://tempuri.org/set_SavePOStockInBill" style="document" />
-      <wsdl:input>
-        <soap12:body use="literal" />
-      </wsdl:input>
-      <wsdl:output>
-        <soap12:body use="literal" />
-      </wsdl:output>
-    </wsdl:operation>
-    <wsdl:operation name="set_CheckAddPOStockInBill">
-      <soap12:operation soapAction="http://tempuri.org/set_CheckAddPOStockInBill" style="document" />
-      <wsdl:input>
-        <soap12:body use="literal" />
-      </wsdl:input>
-      <wsdl:output>
-        <soap12:body use="literal" />
-      </wsdl:output>
-    </wsdl:operation>
-    <wsdl:operation name="set_CheckPOStockInBill">
-      <soap12:operation soapAction="http://tempuri.org/set_CheckPOStockInBill" style="document" />
       <wsdl:input>
         <soap12:body use="literal" />
       </wsdl:input>
diff --git a/WebAPI/WebAPI.csproj b/WebAPI/WebAPI.csproj
index 3798f7b..a82e8da 100644
--- a/WebAPI/WebAPI.csproj
+++ b/WebAPI/WebAPI.csproj
@@ -363,6 +363,7 @@
     <Compile Include="Controllers\SCGL\Sc_ComplementGoodBillController.cs" />
     <Compile Include="Controllers\SCGL\Sc_ComplementGoodsController.cs" />
     <Compile Include="Controllers\SCGL\Sc_ICBomBillController.cs" />
+    <Compile Include="Controllers\SCGL\Sc_JIT_ComplementGoodBillController.cs" />
     <Compile Include="Controllers\Sc_PckSplitBillController.cs" />
     <Compile Include="Controllers\GZGL\Gy_DuSubsidyItemBillController.cs" />
     <Compile Include="Controllers\GZGL\Gy_WorkPayTypeBillController.cs" />
@@ -515,6 +516,7 @@
     <Compile Include="HttpClient.cs" />
     <Compile Include="InvokeHelper.cs" />
     <Compile Include="Log.cs" />
+    <Compile Include="Models\Cg_PODemandPlanConfigBillSub.cs" />
     <Compile Include="Models\ClsGy_StockCheckItemBill.cs" />
     <Compile Include="Models\ClsQK_PackingBill.cs" />
     <Compile Include="Models\ClsSb_EquipRepairSendWorkBillMain.cs" />
@@ -531,8 +533,10 @@
     <Compile Include="Models\ClsWW_PPBomBillSub.cs" />
     <Compile Include="Models\Cls_InventoryAnalysisList.cs" />
     <Compile Include="Models\GetWeekList.cs" />
+    <Compile Include="Models\Gy_WorkWarehouseBillMainSub.cs" />
     <Compile Include="Models\HBarCodeList.cs" />
     <Compile Include="Models\HSouceOrderList.cs" />
+    <Compile Include="Models\JIT_NeedMaterPlanConfigBillSub.cs" />
     <Compile Include="Models\jsonScanline.cs" />
     <Compile Include="Models\ScanLineCode.cs" />
     <Compile Include="Models\宸ヨ祫绠$悊\ClsGy_ClassTimePrj_Model.cs" />
@@ -803,6 +807,7 @@
     <Folder Include="Views\Sc_CallGoodsBackRequestBill\" />
     <Folder Include="Views\Sc_ComplementGoodBill\" />
     <Folder Include="Views\Sc_ComplementGoods\" />
+    <Folder Include="Views\Sc_JIT_ComplementGoodBill\" />
     <Folder Include="Views\Sc_MouldRepairOutBill\" />
     <Folder Include="Views\Sc_MouldRepairSendWorkBill\" />
     <Folder Include="Views\Sc_WorkBillAutoSortBillMain\" />
diff --git "a/WorkM/\346\265\201\350\275\254\345\215\241\347\256\241\347\220\206/MES_StationOutBill.cs" "b/WorkM/\346\265\201\350\275\254\345\215\241\347\256\241\347\220\206/MES_StationOutBill.cs"
index f967c86..84bf6e6 100644
--- "a/WorkM/\346\265\201\350\275\254\345\215\241\347\256\241\347\220\206/MES_StationOutBill.cs"
+++ "b/WorkM/\346\265\201\350\275\254\345\215\241\347\256\241\347\220\206/MES_StationOutBill.cs"
@@ -669,6 +669,35 @@
                 MessageBox.Show("鍗曟嵁鍙烽噸澶嶏紒", "鎻愮ず");
                 return false;
             }
+
+            //鏍规嵁涓嶅悓瀹㈡埛锛屽褰曞叆鎬诲伐鏃朵笌鏍囧噯鎬诲伐鏃惰繘琛屽姣斿垽鏂�
+            SQLHelper.ClsCN oCn = new SQLHelper.ClsCN();
+            long sMaterID = DBUtility.ClsPub.isLong(this.txtHMaterID.Tag);
+            long sProcID = DBUtility.ClsPub.isLong(this.txtHProcID.Tag);
+            double sQty = DBUtility.ClsPub.isDoule(this.txtHQty.Text);
+            double sBadCount = DBUtility.ClsPub.isDoule(this.txtHBadCount.Text);
+            double sWasterQty = DBUtility.ClsPub.isDoule(this.txtHWasterQty.Text);
+            double sWorkTimes = DBUtility.ClsPub.isSingle(this.txtHWorkTimes.Text);
+            DataSet Ds;
+            Ds = oCn.RunProcReturn("exec h_p_MES_StationOutBill_WorkTimesCtrl  " + sMaterID.ToString() + "," + sProcID.ToString() + "," + sQty.ToString() + "," + sBadCount.ToString() + "," + sWasterQty.ToString() + "," + sWorkTimes.ToString(), "h_p_MES_StationOutBill_WorkTimesCtrl");
+            if (Ds == null || Ds.Tables[0].Rows.Count == 0)
+            {
+                MessageBox.Show("褰曞叆鎬诲伐鏃朵笌鏍囧噯鎬诲伐鏃跺姣斿垽鏂け璐ワ紒", "鎻愮ず");
+                return false;
+            }
+            else
+            {
+                if (DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0][0]) == 1)
+                {
+                    MessageBox.Show(DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HRemark"]));
+                    return false;
+                }
+                else if (DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0][0]) == 2)
+                {
+                    MessageBox.Show(DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HRemark"]));
+                }
+            }
+
             return true;
         }
         //淇濆瓨鍗曟嵁

--
Gitblit v1.9.1