zrg
2025-02-13 0982828eb77839908b11cabd0a868cb991c5d004
Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API
99个文件已修改
13个文件已添加
2个文件已删除
3616 ■■■■ 已修改文件
BLL/bin/Release/BLL.dll 补丁 | 查看 | 原始文档 | blame | 历史
BLL/bin/Release/BLL.pdb 补丁 | 查看 | 原始文档 | blame | 历史
BLL/bin/Release/DAL.dll 补丁 | 查看 | 原始文档 | blame | 历史
BLL/bin/Release/DAL.pdb 补丁 | 查看 | 原始文档 | blame | 历史
BLL/bin/Release/DBUtility.dll 补丁 | 查看 | 原始文档 | blame | 历史
BLL/bin/Release/DBUtility.pdb 补丁 | 查看 | 原始文档 | blame | 历史
BLL/bin/Release/Model.dll 补丁 | 查看 | 原始文档 | blame | 历史
BLL/bin/Release/Model.pdb 补丁 | 查看 | 原始文档 | blame | 历史
BLL/bin/Release/Pub_Class.dll 补丁 | 查看 | 原始文档 | blame | 历史
BLL/bin/Release/Pub_Class.pdb 补丁 | 查看 | 原始文档 | blame | 历史
BLL/bin/Release/Pub_Control.dll 补丁 | 查看 | 原始文档 | blame | 历史
BLL/bin/Release/Pub_Control.pdb 补丁 | 查看 | 原始文档 | blame | 历史
BLL/bin/Release/SQLHelper.dll 补丁 | 查看 | 原始文档 | blame | 历史
BLL/bin/Release/SQLHelper.pdb 补丁 | 查看 | 原始文档 | blame | 历史
DAL/DAL.csproj 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DAL/bin/Release/DAL.dll 补丁 | 查看 | 原始文档 | blame | 历史
DAL/bin/Release/DAL.pdb 补丁 | 查看 | 原始文档 | blame | 历史
DAL/bin/Release/DBUtility.dll 补丁 | 查看 | 原始文档 | blame | 历史
DAL/bin/Release/DBUtility.pdb 补丁 | 查看 | 原始文档 | blame | 历史
DAL/bin/Release/Model.dll 补丁 | 查看 | 原始文档 | blame | 历史
DAL/bin/Release/Model.pdb 补丁 | 查看 | 原始文档 | blame | 历史
DAL/bin/Release/Pub_Class.dll 补丁 | 查看 | 原始文档 | blame | 历史
DAL/bin/Release/Pub_Class.pdb 补丁 | 查看 | 原始文档 | blame | 历史
DAL/bin/Release/Pub_Control.dll 补丁 | 查看 | 原始文档 | blame | 历史
DAL/bin/Release/Pub_Control.pdb 补丁 | 查看 | 原始文档 | blame | 历史
DAL/bin/Release/SQLHelper.dll 补丁 | 查看 | 原始文档 | blame | 历史
DAL/bin/Release/SQLHelper.pdb 补丁 | 查看 | 原始文档 | blame | 历史
DAL/生产管理/ClsSc_ShiftsBeginInfoBill.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DAL/计划管理/ClsGy_ICBomBill.cs 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DAL/计划管理/ClsGy_SourceMouldBillMain.cs 271 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DBUtility/bin/Release/DBUtility.dll 补丁 | 查看 | 原始文档 | blame | 历史
DBUtility/bin/Release/DBUtility.pdb 补丁 | 查看 | 原始文档 | blame | 历史
DBUtility/bin/Release/Pub_Class.dll 补丁 | 查看 | 原始文档 | blame | 历史
DBUtility/bin/Release/Pub_Class.pdb 补丁 | 查看 | 原始文档 | blame | 历史
DBUtility/bin/Release/Pub_Control.dll 补丁 | 查看 | 原始文档 | blame | 历史
DBUtility/bin/Release/Pub_Control.pdb 补丁 | 查看 | 原始文档 | blame | 历史
DBUtility/bin/Release/SQLHelper.dll 补丁 | 查看 | 原始文档 | blame | 历史
DBUtility/bin/Release/SQLHelper.pdb 补丁 | 查看 | 原始文档 | blame | 历史
DBUtility/obj/Release/DBUtility.csproj.AssemblyReference.cache 补丁 | 查看 | 原始文档 | blame | 历史
DBUtility/obj/Release/DBUtility.csproj.GenerateResource.Cache 补丁 | 查看 | 原始文档 | blame | 历史
DBUtility/obj/Release/DBUtility.csproj.ResolveComReference.cache 补丁 | 查看 | 原始文档 | blame | 历史
DBUtility/obj/Release/DBUtility.dll 补丁 | 查看 | 原始文档 | blame | 历史
DBUtility/obj/Release/DBUtility.pdb 补丁 | 查看 | 原始文档 | blame | 历史
Model/Model.csproj 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Model/bin/Release/DBUtility.dll 补丁 | 查看 | 原始文档 | blame | 历史
Model/bin/Release/DBUtility.pdb 补丁 | 查看 | 原始文档 | blame | 历史
Model/bin/Release/Model.dll 补丁 | 查看 | 原始文档 | blame | 历史
Model/bin/Release/Model.pdb 补丁 | 查看 | 原始文档 | blame | 历史
Model/bin/Release/Pub_Class.dll 补丁 | 查看 | 原始文档 | blame | 历史
Model/bin/Release/Pub_Class.pdb 补丁 | 查看 | 原始文档 | blame | 历史
Model/bin/Release/Pub_Control.dll 补丁 | 查看 | 原始文档 | blame | 历史
Model/bin/Release/Pub_Control.pdb 补丁 | 查看 | 原始文档 | blame | 历史
Model/bin/Release/SQLHelper.dll 补丁 | 查看 | 原始文档 | blame | 历史
Model/bin/Release/SQLHelper.pdb 补丁 | 查看 | 原始文档 | blame | 历史
Model/obj/Release/Model.dll 补丁 | 查看 | 原始文档 | blame | 历史
Model/obj/Release/Model.pdb 补丁 | 查看 | 原始文档 | blame | 历史
Model/生产管理/ClsSc_PPBomBillMain.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Model/生产管理/ClsSc_ShiftsBeginInfoBillMain.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Model/计划管理/ClsGy_ICBomBillMain.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Model/计划管理/ClsGy_SourceMouldBillMain.cs 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Model/计划管理/ClsGy_SourceMouldBillSub.cs 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Pub_Class/bin/Release/Pub_Class.dll 补丁 | 查看 | 原始文档 | blame | 历史
Pub_Class/bin/Release/Pub_Class.pdb 补丁 | 查看 | 原始文档 | blame | 历史
Pub_Class/bin/Release/SyntacticSugar.dll 补丁 | 查看 | 原始文档 | blame | 历史
Pub_Class/bin/Release/SyntacticSugar.pdb 补丁 | 查看 | 原始文档 | blame | 历史
Pub_Control/bin/Release/Pub_Class.dll 补丁 | 查看 | 原始文档 | blame | 历史
Pub_Control/bin/Release/Pub_Class.pdb 补丁 | 查看 | 原始文档 | blame | 历史
Pub_Control/bin/Release/Pub_Control.dll 补丁 | 查看 | 原始文档 | blame | 历史
Pub_Control/bin/Release/Pub_Control.pdb 补丁 | 查看 | 原始文档 | blame | 历史
SQLHelper/bin/Release/Pub_Class.dll 补丁 | 查看 | 原始文档 | blame | 历史
SQLHelper/bin/Release/Pub_Class.pdb 补丁 | 查看 | 原始文档 | blame | 历史
SQLHelper/bin/Release/SQLHelper.dll 补丁 | 查看 | 原始文档 | blame | 历史
SQLHelper/bin/Release/SQLHelper.pdb 补丁 | 查看 | 原始文档 | blame | 历史
SQLHelper/obj/Release/SQLHelper.dll 补丁 | 查看 | 原始文档 | blame | 历史
SQLHelper/obj/Release/SQLHelper.pdb 补丁 | 查看 | 原始文档 | blame | 历史
SyntacticSugar/bin/Debug/SyntacticSugar.dll 补丁 | 查看 | 原始文档 | blame | 历史
SyntacticSugar/bin/Debug/SyntacticSugar.pdb 补丁 | 查看 | 原始文档 | blame | 历史
SyntacticSugar/bin/Release/SyntacticSugar.dll 补丁 | 查看 | 原始文档 | blame | 历史
SyntacticSugar/bin/Release/SyntacticSugar.pdb 补丁 | 查看 | 原始文档 | blame | 历史
SyntacticSugar/obj/Debug/SyntacticSugar.csproj.AssemblyReference.cache 补丁 | 查看 | 原始文档 | blame | 历史
SyntacticSugar/obj/Debug/SyntacticSugar.csproj.FileListAbsolute.txt 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SyntacticSugar/obj/Debug/SyntacticSugar.dll 补丁 | 查看 | 原始文档 | blame | 历史
SyntacticSugar/obj/Debug/SyntacticSugar.pdb 补丁 | 查看 | 原始文档 | blame | 历史
SyntacticSugar/obj/Release/.NETFramework,Version=v4.5.AssemblyAttributes.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SyntacticSugar/obj/Release/SyntacticSugar.csproj.CoreCompileInputs.cache 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SyntacticSugar/obj/Release/SyntacticSugar.csproj.FileListAbsolute.txt 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SyntacticSugar/obj/Release/SyntacticSugar.dll 补丁 | 查看 | 原始文档 | blame | 历史
SyntacticSugar/obj/Release/SyntacticSugar.pdb 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Controllers/JHGL/Gy_SourceMouldBillController.cs 648 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Controllers/LMESController.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Controllers/SCGL/Sc_ICBomBillController.cs 327 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Controllers/SCGL/Sc_PPBomBillController.cs 254 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Controllers/条码管理/WEBSController.cs 128 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/ListModels.cs 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Properties/PublishProfiles/FolderProfile1.pubxml.user 166 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Properties/PublishProfiles/FolderProfile8.pubxml.user 46 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Web References/WebS/Reference.cs 1152 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Web References/WebS/WebService1.wsdl 510 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Web.config 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/WebAPI.csproj 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/WebAPI.csproj.user 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
sdk_dingding/TopSdk/bin/Debug/TopSdk.dll 补丁 | 查看 | 原始文档 | blame | 历史
sdk_dingding/TopSdk/bin/Debug/TopSdk.pdb 补丁 | 查看 | 原始文档 | blame | 历史
sdk_dingding/TopSdk/bin/Release/TopSdk.dll 补丁 | 查看 | 原始文档 | blame | 历史
sdk_dingding/TopSdk/bin/Release/TopSdk.pdb 补丁 | 查看 | 原始文档 | blame | 历史
sdk_dingding/TopSdk/obj/Debug/TopSdk.csproj.AssemblyReference.cache 补丁 | 查看 | 原始文档 | blame | 历史
sdk_dingding/TopSdk/obj/Debug/TopSdk.csproj.FileListAbsolute.txt 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
sdk_dingding/TopSdk/obj/Debug/TopSdk.dll 补丁 | 查看 | 原始文档 | blame | 历史
sdk_dingding/TopSdk/obj/Debug/TopSdk.pdb 补丁 | 查看 | 原始文档 | blame | 历史
sdk_dingding/TopSdk/obj/Release/TopSdk.csproj.AssemblyReference.cache 补丁 | 查看 | 原始文档 | blame | 历史
sdk_dingding/TopSdk/obj/Release/TopSdk.csproj.CoreCompileInputs.cache 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
sdk_dingding/TopSdk/obj/Release/TopSdk.csproj.FileListAbsolute.txt 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
sdk_dingding/TopSdk/obj/Release/TopSdk.dll 补丁 | 查看 | 原始文档 | blame | 历史
sdk_dingding/TopSdk/obj/Release/TopSdk.pdb 补丁 | 查看 | 原始文档 | blame | 历史
BLL/bin/Release/BLL.dll
Binary files differ
BLL/bin/Release/BLL.pdb
Binary files differ
BLL/bin/Release/DAL.dll
Binary files differ
BLL/bin/Release/DAL.pdb
Binary files differ
BLL/bin/Release/DBUtility.dll
Binary files differ
BLL/bin/Release/DBUtility.pdb
Binary files differ
BLL/bin/Release/Model.dll
Binary files differ
BLL/bin/Release/Model.pdb
Binary files differ
BLL/bin/Release/Pub_Class.dll
Binary files differ
BLL/bin/Release/Pub_Class.pdb
Binary files differ
BLL/bin/Release/Pub_Control.dll
Binary files differ
BLL/bin/Release/Pub_Control.pdb
Binary files differ
BLL/bin/Release/SQLHelper.dll
Binary files differ
BLL/bin/Release/SQLHelper.pdb
Binary files differ
DAL/DAL.csproj
@@ -95,6 +95,7 @@
    <Compile Include="源单\InterFace源单\Cls_S_IF_ICMOBillList_CusBarCodeBill.cs" />
    <Compile Include="源单\InterFace源单\Cls_S_IF_ICMOReportBillList_CusBarCodeBill.cs" />
    <Compile Include="系统公用\ClsXt_DefineBillMainSet.cs" />
    <Compile Include="计划管理\ClsGy_SourceMouldBillMain.cs" />
    <Compile Include="质检管理\ClsQC_EnvironmentTestDotCheckBillMain.cs" />
    <Compile Include="质检管理\ClsQC_MonthTarGetBill.cs" />
    <Compile Include="生产管理\设备管理\ClsSb_EquipRepairSignBill.cs" />
DAL/bin/Release/DAL.dll
Binary files differ
DAL/bin/Release/DAL.pdb
Binary files differ
DAL/bin/Release/DBUtility.dll
Binary files differ
DAL/bin/Release/DBUtility.pdb
Binary files differ
DAL/bin/Release/Model.dll
Binary files differ
DAL/bin/Release/Model.pdb
Binary files differ
DAL/bin/Release/Pub_Class.dll
Binary files differ
DAL/bin/Release/Pub_Class.pdb
Binary files differ
DAL/bin/Release/Pub_Control.dll
Binary files differ
DAL/bin/Release/Pub_Control.pdb
Binary files differ
DAL/bin/Release/SQLHelper.dll
Binary files differ
DAL/bin/Release/SQLHelper.pdb
Binary files differ
DAL/Éú²ú¹ÜÀí/ClsSc_ShiftsBeginInfoBill.cs
@@ -72,6 +72,7 @@
                ",HGroupID =" + omodel.HGroupID.ToString() +
                ",HGroupLeaderID =" + omodel.HGroupLeaderID.ToString() +
                ",HStdEmpQty =" + omodel.HStdEmpQty.ToString() +
                ",HPlanShutdownTimes =" + omodel.HPlanShutdownTimes.ToString() +
                " where HInterID=" + lngBillKey.ToString());
                //删除关联
@@ -169,7 +170,7 @@
                //主表
                string mainSql = "insert into Sc_ShiftsBeginInfoBillMain" +
                    "(HYear,HPeriod,HBillType,HBillSubType,HInterID,HDate,HBillNo,HRemark,HMaker,HMakeDate" +
                    ",HDeptID,HWorkCenterID,HShiftsID,HSourceID,HGroupID,HGroupLeaderID,HStdEmpQty) " +
                    ",HDeptID,HWorkCenterID,HShiftsID,HSourceID,HGroupID,HGroupLeaderID,HStdEmpQty,HPlanShutdownTimes) " +
                    "values(" +
                    "" + (omodel.HYear.ToString() != "0" ? omodel.HYear.ToString() : DateTime.Now.Year.ToString()) +
                    "," + omodel.HPeriod.ToString() +
@@ -188,7 +189,7 @@
                    "','" + omodel.HGroupID +
                    "','" + omodel.HGroupLeaderID +
                    "','" + omodel.HStdEmpQty +
                    "','" + omodel.HPlanShutdownTimes +
                    "')";
                oCn.RunProc(mainSql);
DAL/¼Æ»®¹ÜÀí/ClsGy_ICBomBill.cs
@@ -39,9 +39,9 @@
                //更新主表
                oCn.RunProc("UpDate Gy_ICBomBillMain set  " +
                " HBillNo='" + omodel.HBillNo + "'" +
                ",HDate='" + omodel.HDate + "'" +
                ",HYear='" + omodel.HYear.ToString() + "'" +
                ",HPeriod='" + omodel.HPeriod.ToString() + "'" +
                //",HDate='" + omodel.HDate + "'" +
                //",HYear='" + omodel.HYear.ToString() + "'" +
                //",HPeriod='" + omodel.HPeriod.ToString() + "'" +
                ",HRemark='" + omodel.HRemark + "'" +
                ",HUpDater='" + omodel.HUpDater + "'" +
                ",HUpDateDate='" + omodel.HUpDateDate + "'" +
@@ -56,6 +56,7 @@
                ",HProdRate=" + omodel.HProdRate.ToString() +
                ",HQty=" + omodel.HQty.ToString() +
                ",HJump='" + omodel.HJump + "'" +
                ",HBomType='" + omodel.HBomType + "'" +
                " where HInterID=" + lngBillKey.ToString());
                //删除关联
                DeleteRelation(ref sReturn, lngBillKey);
@@ -104,12 +105,12 @@
                "(HBillType,HInterID,HBillNo,HDate" + 
                ",HYear,HPeriod,HRemark,HMaker,HMakeDate,HMaterTypeID,HStatus" +
                ",HMaterID,HParentID,HVersion,HPicNo,HPropertyID" +
                ",HUnitID,HQty,HProdRate,HJump" +
                ",HUnitID,HQty,HProdRate,HJump,HBomType" +
                ") " +
                " values('" + this.BillType + "'," + omodel.HInterID.ToString() + ",'" + omodel.HBillNo + "','" + omodel.HDate + "'" +
                "," + omodel.HYear.ToString() + "," + omodel.HPeriod.ToString() + ",'" + omodel.HRemark + "','" + DBUtility.ClsPub.CurUserName + "',getdate(),'" + omodel.HMaterTypeID.ToString() + "','" + omodel.HStatus +
                "','" + omodel.HMaterID.ToString() + "'," + omodel.HParentID.ToString() + ",'" + omodel.HVersion + "','" + omodel.HPicNo + "'," +omodel.HPropertyID.ToString() +
                ","+omodel.HUnitID.ToString()+","+omodel.HQty.ToString()+","+omodel.HProdRate.ToString()+",'"+omodel.HJump +"'"+
                ","+omodel.HUnitID.ToString()+","+omodel.HQty.ToString()+","+omodel.HProdRate.ToString()+",'"+omodel.HJump +"','"+omodel.HBomType + "'"+
                ") ");
                //插入子表
                foreach (Model.ClsGy_ICBomBillSub oSub in DetailColl)
DAL/¼Æ»®¹ÜÀí/ClsGy_SourceMouldBillMain.cs
New file
@@ -0,0 +1,271 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
namespace DAL
{
    public class ClsGy_SourceMouldBillMain : DBUtility.ClsXt_BaseBill
    {
        public Model.ClsGy_SourceMouldBillMain omodel = new Model.ClsGy_SourceMouldBillMain();
        public List<Model.ClsGy_SourceMouldBillSub> DetailColl = new List<Model.ClsGy_SourceMouldBillSub>();
        public ClsGy_SourceMouldBillMain()
        {
            base.MvarItemKeySub = "Gy_SourceMouldBillSub";
            base.MvarItemKeySub2 = "";
            base.MvarItemKeySub3 = "";
            base.MvarItemKeySub4 = "";
            base.MvarItemKey = "Gy_SourceMouldBillMain";
            base.MvarReportTitle = "产线器具清单";
            base.BillType = "4617";
            base.HBillSubType = "4617";
        }
        #region å›ºå®šä»£ç 
        #region æ— å‚构造函数
        ~ClsGy_SourceMouldBillMain()
        {
            DetailColl = null;
        }
        #endregion
        #endregion
        //#region ä¿®æ”¹å•据
        public override bool ModifyBill(Int64 lngBillKey, ref string sReturn)
        {
            try
            {
                oCn.BeginTran();
                //更新主表
                string mainSql = "update Gy_SourceMouldBillMain set " +
                    " HBillNo = '" + omodel.HBillNo +
                    "', HDate = '" + omodel.HDate +
                    "', HRemark = '" + omodel.HRemark +
                    "', HUpDater = '" + omodel.HUpDater +
                    "', HUpDateDate = getdate()" +
                     //===============================================================
                     ", HDeptID = '" + omodel.HDeptID +
                    "', HEmpID = '" + omodel.HEmpID +
                    "', HSourceID = '" + omodel.HSourceID +
                    "', HWorkCenterID = '" + omodel.HWorkCenterID +
                    "', HEquipID  = '" + omodel.HEquipID +
                    "', HOrgID      = '" + omodel.HOrgID +
                    "', HProcID      = " + omodel.HProcID +
                    " where HInterID = " + omodel.HInterID;
                oCn.RunProc(mainSql);
                //删除关联
                DeleteRelation(ref sReturn, lngBillKey);
                //删除子表
                DeleteBillSub(lngBillKey);
                //插入子表
                omodel.HInterID = lngBillKey;
                foreach (Model.ClsGy_SourceMouldBillSub oSub in DetailColl)
                {
                    string subSql = "insert into Gy_SourceMouldBillSub" +
                            "(HInterID,HEntryID,HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType" +
                            ",HMouldID,HQty,HMouldQty,HRate) " +
                            " values(" +
                            "" + omodel.HInterID.ToString() +
                            "," + oSub.HEntryID.ToString() +
                            "," + oSub.HSourceInterID +
                            "," + oSub.HSourceEntryID +
                            ",'" + oSub.HSourceBillNo +
                            "','" + oSub.HSourceBillType +
                            "','" + oSub.HMouldID +
                            "'," + oSub.HQty +
                            "," + oSub.HMouldQty +
                            ",'" + oSub.HRate +
                            "')";
                    oCn.RunProc(subSql);
                }
                sReturn = "修改单据成功!";
                oCn.Commit();
                return true;
            }
            catch (Exception e)
            {
                sReturn = e.Message;
                oCn.RollBack();
                throw (e);
            }
        }
        //#endregion
        #region  æ–°å¢žå•据
        public override bool AddBill(ref string sReturn)
        {
            try
            {
                DataSet ds;
                oCn.BeginTran();
                //检查主表内码是否重复,若重复则重新生成并继续检查,直到不再重复
                while (true)
                {
                    ds = oCn.RunProcReturn("select * from Gy_SourceMouldBillMain where HInterID = " + omodel.HInterID, "Gy_SourceMouldBillMain");
                    if (ds != null && ds.Tables[0].Rows.Count > 0)
                    {
                        omodel.HInterID = DBUtility.ClsPub.CreateBillID(BillType, ref DBUtility.ClsPub.sExeReturnInfo);
                    }
                    else
                    {
                        break;
                    }
                }
                //插入主表
                string mainSql = "insert into Gy_SourceMouldBillMain" +
                    "(HYear,HPeriod,HBillType,HBillSubType,HInterID,HDate,HBillNo,HRemark,HMaker,HMakeDate" +
                    ",HDeptID,HEmpID,HSourceID,HWorkCenterID,HEquipID,HOrgID,HProcID) " +
                    "values(" +
                    "" + omodel.HYear.ToString() +
                    "," + omodel.HPeriod.ToString() +
                    ",'" + this.BillType +
                    "','" + this.HBillSubType +
                    "'," + omodel.HInterID +
                    ",'" + omodel.HDate +
                    "','" + omodel.HBillNo +
                    "','" + omodel.HRemark +
                    "','" + omodel.HMaker +
                    "',getdate()" +
                    "," + omodel.HDeptID +
                    "," + omodel.HEmpID +
                    ",'" + omodel.HSourceID +
                    "','" + omodel.HWorkCenterID +
                    "','" + omodel.HEquipID +
                    "','" + omodel.HOrgID +
                    "'," + omodel.HProcID +
                    ")";
                oCn.RunProc(mainSql);
                //插入子表
                foreach (Model.ClsGy_SourceMouldBillSub oSub in DetailColl)
                {
                    string subSql = "insert into Gy_SourceMouldBillSub" +
                           "" +
                           "" +
                           "" +
                           "(HInterID,HEntryID,HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType" +
                           ",HMouldID,HQty,HMouldQty,HRate) " +
                           " values(" +
                           "" + omodel.HInterID.ToString() +
                           "," + oSub.HEntryID.ToString() +
                           "," + oSub.HSourceInterID +
                           "," + oSub.HSourceEntryID +
                           ",'" + oSub.HSourceBillNo +
                           "','" + oSub.HSourceBillType +
                           "','" + oSub.HMouldID +
                           "'," + oSub.HQty +
                           "," + oSub.HMouldQty +
                           ",'" + oSub.HRate +
                           "')";
                    oCn.RunProc(subSql);
                }
                sReturn = "新增单据成功!";
                oCn.Commit();
                return true;
            }
            catch (Exception e)
            {
                sReturn = e.Message;
                oCn.RollBack();
                throw (e);
            }
        }
        #endregion
        #region æ˜¾ç¤ºå•据
        public override bool ShowBill(Int64 lngBillKey, ref string sReturn)
        {
            try
            {
                //查询主表
                DataSet Ds;
                Ds = oCn.RunProcReturn("select * from Gy_SourceMouldBillMain Where HInterID = " + lngBillKey.ToString(), "Gy_SourceMouldBillMain");
                if (Ds.Tables[0].Rows.Count == 0)
                {
                    sReturn = "单据未找到!";
                    return false;
                }
                //固定赋值===========================================
                omodel.HYear = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HYear"]);
                omodel.HPeriod = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HPeriod"]);
                omodel.HBillType = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HBillType"]);
                omodel.HBillSubType = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HBillSubType"]);
                omodel.HInterID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HInterID"]);
                omodel.HDate = DBUtility.ClsPub.isDate(Ds.Tables[0].Rows[0]["HDate"]);
                omodel.HBillNo = Ds.Tables[0].Rows[0]["HBillNo"].ToString().Trim();
                omodel.HBillStatus = DBUtility.ClsPub.isInt(Ds.Tables[0].Rows[0]["HBillStatus"]);
                omodel.HCheckItemNowID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HCheckItemNowID"]);
                omodel.HCheckItemNextID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HCheckItemNextID"]);
                omodel.HCheckFlowID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HCheckFlowID"]);
                omodel.HRemark = Ds.Tables[0].Rows[0]["HRemark"].ToString().Trim();
                omodel.HBackDate = Ds.Tables[0].Rows[0]["HBackDate"].ToString().Trim();
                omodel.HBacker = Ds.Tables[0].Rows[0]["HBacker"].ToString().Trim();
                omodel.HCheckDate = Ds.Tables[0].Rows[0]["HCheckDate"].ToString().Trim();
                omodel.HChecker = Ds.Tables[0].Rows[0]["HChecker"].ToString().Trim();
                omodel.HMaker = Ds.Tables[0].Rows[0]["HMaker"].ToString().Trim();
                omodel.HMakeDate = Ds.Tables[0].Rows[0]["HMakeDate"].ToString().Trim();
                omodel.HUpDateDate = Ds.Tables[0].Rows[0]["HUpDateDate"].ToString().Trim();
                omodel.HUpDater = Ds.Tables[0].Rows[0]["HUpDater"].ToString().Trim();
                omodel.HCloseDate = Ds.Tables[0].Rows[0]["HCloseDate"].ToString().Trim();
                omodel.HCloseMan = Ds.Tables[0].Rows[0]["HCloseMan"].ToString().Trim();
                omodel.HCloseType = DBUtility.ClsPub.isBool(Ds.Tables[0].Rows[0]["HCloseType"]);
                omodel.HDeleteDate = Ds.Tables[0].Rows[0]["HDeleteDate"].ToString().Trim();
                omodel.HDeleteMan = Ds.Tables[0].Rows[0]["HDeleteMan"].ToString().Trim();
                //========================================================
                omodel.HOrgID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HOrgID"]);
                //
                //循环
                DataSet DsSub;
                DsSub = oCn.RunProcReturn("select * from Gy_SourceMouldBillSub where HInterID = " + lngBillKey.ToString() + "order by HEntryID", "Gy_SourceMouldBillSub");
                DetailColl.Clear();//清空
                for (int i = 0; i < DsSub.Tables[0].Rows.Count; i++)
                {
                    Model.ClsGy_SourceMouldBillSub oSub = new Model.ClsGy_SourceMouldBillSub();
                    // å›ºå®šèµ‹å€¼===============================================
                    oSub.HInterID = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HInterID"]);
                    oSub.HEntryID = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HEntryID"]);
                    oSub.HSourceInterID = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HSourceInterID"]);
                    oSub.HSourceEntryID = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HSourceEntryID"]);
                    oSub.HSourceBillType = DsSub.Tables[0].Rows[i]["HSourceBillType"].ToString().Trim();
                    oSub.HSourceBillNo = DsSub.Tables[0].Rows[i]["HSourceBillNo"].ToString().Trim();
                    oSub.HRelationQty = DBUtility.ClsPub.isDoule(DsSub.Tables[0].Rows[i]["HRelationQty"]);
                    oSub.HRelationMoney = DBUtility.ClsPub.isDoule(DsSub.Tables[0].Rows[i]["HRelationMoney"]);
                    oSub.HCloseMan = DBUtility.ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HCloseMan"]);
                    oSub.HCloseType = DBUtility.ClsPub.isBool(DsSub.Tables[0].Rows[i]["HCloseType"]);
                    oSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DsSub.Tables[0].Rows[i]["HEntryCloseDate"]);
                    oSub.HRemark = DsSub.Tables[0].Rows[i]["HRemark"].ToString().Trim();
                    //===================================================
                    DetailColl.Add(oSub);
                }
                sReturn = "显示单据成功!";
                return true;
            }
            catch (Exception e)
            {
                sReturn = e.Message;
                throw (e);
            }
        }
        #endregion
    }
}
DBUtility/bin/Release/DBUtility.dll
Binary files differ
DBUtility/bin/Release/DBUtility.pdb
Binary files differ
DBUtility/bin/Release/Pub_Class.dll
Binary files differ
DBUtility/bin/Release/Pub_Class.pdb
Binary files differ
DBUtility/bin/Release/Pub_Control.dll
Binary files differ
DBUtility/bin/Release/Pub_Control.pdb
Binary files differ
DBUtility/bin/Release/SQLHelper.dll
Binary files differ
DBUtility/bin/Release/SQLHelper.pdb
Binary files differ
DBUtility/obj/Release/DBUtility.csproj.AssemblyReference.cache
Binary files differ
DBUtility/obj/Release/DBUtility.csproj.GenerateResource.Cache
Binary files differ
DBUtility/obj/Release/DBUtility.csproj.ResolveComReference.cache
Binary files differ
DBUtility/obj/Release/DBUtility.dll
Binary files differ
DBUtility/obj/Release/DBUtility.pdb
Binary files differ
Model/Model.csproj
@@ -155,6 +155,8 @@
    <Compile Include="生产管理\模具管理\ClsSc_MouldMaintainPlanBillSub_Plan.cs" />
    <Compile Include="系统公用\ClsXt_DefineBillMainSetSub.cs" />
    <Compile Include="系统公用\ClsXt_DefineBillMainSetMain.cs" />
    <Compile Include="计划管理\ClsGy_SourceMouldBillMain.cs" />
    <Compile Include="计划管理\ClsGy_SourceMouldBillSub.cs" />
    <Compile Include="质检管理\ClsQC_EnvironmentTestDotCheckBillMain.cs" />
    <Compile Include="质检管理\ClsQC_EnvironmentTestDotCheckBillSub.cs" />
    <Compile Include="质检管理\ClsQC_MonthTarGetBillMain.cs" />
Model/bin/Release/DBUtility.dll
Binary files differ
Model/bin/Release/DBUtility.pdb
Binary files differ
Model/bin/Release/Model.dll
Binary files differ
Model/bin/Release/Model.pdb
Binary files differ
Model/bin/Release/Pub_Class.dll
Binary files differ
Model/bin/Release/Pub_Class.pdb
Binary files differ
Model/bin/Release/Pub_Control.dll
Binary files differ
Model/bin/Release/Pub_Control.pdb
Binary files differ
Model/bin/Release/SQLHelper.dll
Binary files differ
Model/bin/Release/SQLHelper.pdb
Binary files differ
Model/obj/Release/Model.dll
Binary files differ
Model/obj/Release/Model.pdb
Binary files differ
Model/Éú²ú¹ÜÀí/ClsSc_PPBomBillMain.cs
@@ -46,6 +46,7 @@
        public Int64 HSeOrderEntrySEQ;  //销售订单行号
        public Int64 HICMOEntrySEQ;  //生产订单行号
        public string HREQSRC;   //需求来源
        public string HICMOBillNo;   //需求来源
        public Int64 HICMOEntryID;
        public Int64 HPRDORGID;
Model/Éú²ú¹ÜÀí/ClsSc_ShiftsBeginInfoBillMain.cs
@@ -14,6 +14,7 @@
        public Int64 HGroupID;          // int --生产班组(gy_Group)
        public Int64 HGroupLeaderID;          // int --班组长(gy_Employee)
        public Int64 HStdEmpQty;          // int åº”到岗人数
        public decimal HPlanShutdownTimes;
    }
Model/¼Æ»®¹ÜÀí/ClsGy_ICBomBillMain.cs
@@ -17,6 +17,7 @@
        public double  HQty;                  //数量
        public Single  HProdRate;             //成品率
        public string HJump;                 //跳层
        public string HBomType;
        
        
    }
Model/¼Æ»®¹ÜÀí/ClsGy_SourceMouldBillMain.cs
New file
@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Model
{
    public class ClsGy_SourceMouldBillMain : DBUtility.ClsXt_BaseBillMain
    {
        public Int64 HOrgID;        //int       ç»„织
        public Int64 HDeptID;         //int       éƒ¨é—¨
        public Int64 HEmpID;         //int       è´Ÿè´£äºº
        public Int64 HSourceID;         //int       äº§çº¿
        public Int64 HWorkCenterID;    //int       å·¥ä½œä¸­å¿ƒ
        public Int64 HEquipID;    //int      è®¾å¤‡ID
        public Int64 HProcID; //工序ID
    }
}
Model/¼Æ»®¹ÜÀí/ClsGy_SourceMouldBillSub.cs
New file
@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Model
{
    public class ClsGy_SourceMouldBillSub : DBUtility.ClsXt_BaseBillSub
    {
        public Int64 HMouldID;
        public Int64 HMouldQty;
        public decimal HQty;
        public decimal HRate;
    }
}
Pub_Class/bin/Release/Pub_Class.dll
Binary files differ
Pub_Class/bin/Release/Pub_Class.pdb
Binary files differ
Pub_Class/bin/Release/SyntacticSugar.dll
Binary files differ
Pub_Class/bin/Release/SyntacticSugar.pdb
Binary files differ
Pub_Control/bin/Release/Pub_Class.dll
Binary files differ
Pub_Control/bin/Release/Pub_Class.pdb
Binary files differ
Pub_Control/bin/Release/Pub_Control.dll
Binary files differ
Pub_Control/bin/Release/Pub_Control.pdb
Binary files differ
SQLHelper/bin/Release/Pub_Class.dll
Binary files differ
SQLHelper/bin/Release/Pub_Class.pdb
Binary files differ
SQLHelper/bin/Release/SQLHelper.dll
Binary files differ
SQLHelper/bin/Release/SQLHelper.pdb
Binary files differ
SQLHelper/obj/Release/SQLHelper.dll
Binary files differ
SQLHelper/obj/Release/SQLHelper.pdb
Binary files differ
SyntacticSugar/bin/Debug/SyntacticSugar.dll
Binary files differ
SyntacticSugar/bin/Debug/SyntacticSugar.pdb
Binary files differ
SyntacticSugar/bin/Release/SyntacticSugar.dll
Binary files differ
SyntacticSugar/bin/Release/SyntacticSugar.pdb
Binary files differ
SyntacticSugar/obj/Debug/SyntacticSugar.csproj.AssemblyReference.cache
Binary files differ
SyntacticSugar/obj/Debug/SyntacticSugar.csproj.FileListAbsolute.txt
@@ -10,3 +10,8 @@
D:\工作代码\智云迈思\MES\MES-WEB-API\SyntacticSugar\obj\Debug\SyntacticSugar.csproj.CoreCompileInputs.cache
D:\工作代码\智云迈思\MES\MES-WEB-API\SyntacticSugar\obj\Debug\SyntacticSugar.dll
D:\工作代码\智云迈思\MES\MES-WEB-API\SyntacticSugar\obj\Debug\SyntacticSugar.pdb
E:\智云mes\mes\MES-WEB-API\SyntacticSugar\bin\Debug\SyntacticSugar.dll
E:\智云mes\mes\MES-WEB-API\SyntacticSugar\bin\Debug\SyntacticSugar.pdb
E:\智云mes\mes\MES-WEB-API\SyntacticSugar\obj\Debug\SyntacticSugar.csproj.CoreCompileInputs.cache
E:\智云mes\mes\MES-WEB-API\SyntacticSugar\obj\Debug\SyntacticSugar.dll
E:\智云mes\mes\MES-WEB-API\SyntacticSugar\obj\Debug\SyntacticSugar.pdb
SyntacticSugar/obj/Debug/SyntacticSugar.dll
Binary files differ
SyntacticSugar/obj/Debug/SyntacticSugar.pdb
Binary files differ
SyntacticSugar/obj/Release/.NETFramework,Version=v4.5.AssemblyAttributes.cs
New file
@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5", FrameworkDisplayName = ".NET Framework 4.5")]
SyntacticSugar/obj/Release/SyntacticSugar.csproj.CoreCompileInputs.cache
New file
@@ -0,0 +1 @@
5dd9c82feb12f833c78ecebea7d9a46c99f29e3f
SyntacticSugar/obj/Release/SyntacticSugar.csproj.FileListAbsolute.txt
New file
@@ -0,0 +1,6 @@
E:\智云mes\mes\MES-WEB-API\SyntacticSugar\bin\Release\SyntacticSugar.dll
E:\智云mes\mes\MES-WEB-API\SyntacticSugar\bin\Release\SyntacticSugar.pdb
E:\智云mes\mes\MES-WEB-API\SyntacticSugar\obj\Release\SyntacticSugar.csproj.AssemblyReference.cache
E:\智云mes\mes\MES-WEB-API\SyntacticSugar\obj\Release\SyntacticSugar.csproj.CoreCompileInputs.cache
E:\智云mes\mes\MES-WEB-API\SyntacticSugar\obj\Release\SyntacticSugar.dll
E:\智云mes\mes\MES-WEB-API\SyntacticSugar\obj\Release\SyntacticSugar.pdb
SyntacticSugar/obj/Release/SyntacticSugar.dll
Binary files differ
SyntacticSugar/obj/Release/SyntacticSugar.pdb
Binary files differ
WebAPI/Controllers/JHGL/Gy_SourceMouldBillController.cs
New file
@@ -0,0 +1,648 @@
using DBUtility;
using Model;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Windows.Forms;
using WebAPI.Models;
namespace WebAPI.Controllers.JHGL
{
    public class Gy_SourceMouldBillController : ApiController
    {
        private json objJsonResult = new json();
        public DataSet ds = new DataSet();
        SQLHelper.ClsCN oCN = new SQLHelper.ClsCN();
        public DAL.ClsGy_SourceMouldBillMain BillNew1 = new DAL.ClsGy_SourceMouldBillMain();   //产品器具清单对应单据类
        public DAL.ClsGy_SourceMouldBillMain BillOld1 = new DAL.ClsGy_SourceMouldBillMain();
        public DBUtility.ClsPub.Enum_BillStatus BillStatus;//单据状态(新增,修改,浏览,更新单价,变更)
        #region äº§çº¿å™¨å…·æ¸…单单列表
        [Route("Gy_SourceMouldBill/Gy_SourceMouldBillList")]
        [HttpGet]
        public object Gy_SourceMouldBillList(string sWhere, string user)
        {
            try
            {
                List<object> columnNameList = new List<object>();
                //查询权限
                if (!DBUtility.ClsPub.Security_Log("Gy_SourceMouldBill_Query", 1, false, user))
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "无查看权限!";
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                if (sWhere == null || sWhere.Equals(""))
                {
                    ds = oCN.RunProcReturn("select * from h_v_Gy_SourceMouldBillMainList order by å•据号 desc", "h_v_Gy_SourceMouldBillMainList");
                }
                else
                {
                    string sql1 = "select * from h_v_Gy_SourceMouldBillMainList where 1 = 1 ";
                    string sql = sql1 + sWhere + " order by å•据号 desc";
                    ds = oCN.RunProcReturn(sql, "h_v_Gy_SourceMouldBillMainList");
                }
                //添加列名
                foreach (DataColumn col in ds.Tables[0].Columns)
                {
                    Type dataType = col.DataType;
                    string ColmString = "{\"ColmCols\":\"" + col.ColumnName + "\",\"ColmType\":\"" + dataType.Name + "\"}";
                    columnNameList.Add(JsonConvert.DeserializeObject(ColmString));//获取到DataColumn列对象的列名
                }
                objJsonResult.code = "1";
                objJsonResult.count = 1;
                objJsonResult.Message = "Sucess!";
                objJsonResult.data = ds.Tables[0];
                objJsonResult.list = columnNameList;
                return objJsonResult;
            }
            catch (Exception ex)
            {
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "没有返回任何记录!" + ex.ToString();
                objJsonResult.data = null;
                return objJsonResult;
            }
        }
        #endregion
        #region äº§å“å™¨å…·æ¸…单编辑时获取表体数据
        [Route("Gy_SourceMouldBill/Gy_SourceMouldBillEditList")]
        [HttpGet]
        public object Gy_SourceMouldBillEditList(string HInterID, string User)
        {
            try
            {
                //查看权限
                if (!DBUtility.ClsPub.Security_Log("Gy_SourceMouldBill_Edit", 1, false, User))
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "无查看权限!";
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                if (HInterID == null || HInterID.Equals(""))
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "HInterID不能为空!";
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                ds = oCN.RunProcReturn("select * from h_v_Gy_SourceMouldBill_Edit where HInterID = " + HInterID, "h_v_Gy_SourceMouldBill_Edit");
                if (ds != null && ds.Tables.Count > 0)
                {
                    objJsonResult.code = "1";
                    objJsonResult.count = 1;
                    objJsonResult.Message = "Sucess!";
                    objJsonResult.data = ds.Tables[0];
                    return objJsonResult;
                }
                else
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "没有查询到数据!";
                    objJsonResult.data = "";
                    return objJsonResult;
                }
            }
            catch (Exception e)
            {
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "Exception!" + e.ToString();
                objJsonResult.data = null;
                return objJsonResult;
            }
        }
        #endregion
        #region äº§å“å™¨å…·æ¸…单 ä¿å­˜/编辑
        /// <summary>
        /// ä¿å­˜æ¨¡å…·ç»´ä¿®å•
        /// </summary>
        /// <param name="msg"></param>
        /// <returns></returns>
        [Route("Gy_SourceMouldBill/SaveGy_SourceMouldBillMain")]
        [HttpPost]
        public object SaveGy_SourceMouldBillMain([FromBody] JObject sMainSub)
        {
            var _value = sMainSub["sMainSub"].ToString();
            string msg1 = _value.ToString();
            string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries);
            string msg2 = sArray[0].ToString();
            string msg3 = sArray[1].ToString(); //子表
            string refSav = sArray[2].ToString();//操作方式数据类型 1添加 3修改 2 å¤åˆ¶
            string user = sArray[3].ToString();//用户名
            string UserName = "";
            string s = "";
            ListModels oListModels = new ListModels();
            try
            {
                //保存权限
                if (!DBUtility.ClsPub.Security_Log_second("Gy_SourceMouldBill_Edit", 1, false, user))
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "无保存权限!";
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                DAL.ClsGy_SourceMouldBillMain oBill = new DAL.ClsGy_SourceMouldBillMain();
                List<Model.ClsGy_SourceMouldBillMain> lsmain = new List<Model.ClsGy_SourceMouldBillMain>();
                msg2 = msg2.Replace("\\", "");
                msg2 = msg2.Replace("\n", "");  //\n
                lsmain = oListModels.getObjectByJson_Gy_SourceMouldBillMain(msg2);
                foreach (Model.ClsGy_SourceMouldBillMain oItem in lsmain)
                {
                    if (refSav == "Add")
                    {
                        //单据号是否重复
                        if (BillNew1.IsExistBillNo(ref ClsPub.sExeReturnInfo, oItem.HBillNo, BillStatus, BillOld1.omodel.HInterID))
                        {
                            objJsonResult.code = "0";
                            objJsonResult.count = 0;
                            objJsonResult.Message = "单据号重复!不允许保存!";
                            objJsonResult.data = 1;
                            return objJsonResult;
                        }
                    }
                    if (refSav == "Update")
                    {
                        if (BillOld1.ShowBill(oItem.HInterID, ref s) == false)
                        {
                            objJsonResult.code = "0";
                            objJsonResult.count = 0;
                            objJsonResult.Message = "此单据有误!";
                            objJsonResult.data = 1;
                            return objJsonResult;
                        }
                        //判断是否可编辑
                        if (BillOld1.omodel.HChecker != "" && BillOld1.omodel.HChecker != null)
                        {
                            objJsonResult.code = "0";
                            objJsonResult.count = 0;
                            objJsonResult.Message = "此单据已经被审核,不允许修改!";
                            objJsonResult.data = 1;
                            return objJsonResult;
                        }
                        if (BillOld1.omodel.HBillStatus > 1)
                        {
                            objJsonResult.code = "0";
                            objJsonResult.count = 0;
                            objJsonResult.Message = "此单据处于不可编辑状态,不允许修改!";
                            objJsonResult.data = 1;
                            return objJsonResult;
                        }
                        if (!DBUtility.Xt_BaseBillFun.Fun_AllowEditBill(BillOld1, ref s))
                        {
                            objJsonResult.code = "0";
                            objJsonResult.count = 0;
                            objJsonResult.Message = s + ",不允许修改";
                            objJsonResult.data = 1;
                            return objJsonResult;
                        }
                    }
                    UserName = oItem.HMaker;  //制单人
                    oItem.HBillType = "4617";
                    oItem.HBillSubType = "4617";
                    oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year);
                    oItem.HPeriod = DBUtility.ClsPub.isLong(DateTime.Now.Month);
                    oItem.HMakeDate = DBUtility.ClsPub.isStrNull(DateTime.Now.ToString("yyyy-MM-dd"));
                    if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "")
                    {
                        objJsonResult.code = "0";
                        objJsonResult.count = 0;
                        objJsonResult.Message = "保存失败!没有单据日期,无法保存!";
                        objJsonResult.data = 1;
                        return objJsonResult;
                    }
                    oBill.omodel = oItem;
                }
                // è¡¨ä½“数据
                //按 },{来拆分数组 //去掉【和】
                msg3 = msg3.Substring(1, msg3.Length - 2);
                msg3 = msg3.Replace("\\", "");
                msg3 = msg3.Replace("\n", "");  //\n
                List<Model.ClsGy_SourceMouldBillSub> ls = new List<Model.ClsGy_SourceMouldBillSub>();
                ls = oListModels.getObjectByJson_Gy_SourceMouldBillSub(msg3);
                int i = 0;
                foreach (Model.ClsGy_SourceMouldBillSub oItemSub in ls)
                {
                    i++;
                    oItemSub.HEntryID = i;
                    oItemSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DateTime.Now);
                    oItemSub.HCloseType = false;   //关闭类型
                    oBill.DetailColl.Add(oItemSub);
                }
                //保存
                //保存完毕后处理
                bool bResult;
                if (refSav == "Add")
                {
                    bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo);
                }
                else if (refSav == "Update")
                {
                    bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo);
                }
                else
                {
                    bResult = false;
                }
                if (bResult)
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 1;
                    objJsonResult.Message = "保存成功!";
                    objJsonResult.data = 1;
                    return objJsonResult;
                }
                else
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "保存失败!" + DBUtility.ClsPub.sExeReturnInfo;
                    objJsonResult.data = 1;
                    return objJsonResult;
                }
            }
            catch (Exception e)
            {
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "保存失败!" + e.ToString();
                objJsonResult.data = 1;
                return objJsonResult;
            }
        }
        #endregion
        #region äº§çº¿å™¨å…·æ¸…单记录删除功能
        [Route("Gy_SourceMouldBill/DeleteGy_SourceMould")]
        [HttpGet]
        public object DeleteGy_SourceMould(string HInterID, string user)
        {
            try
            {
                //删除权限
                if (!DBUtility.ClsPub.Security_Log("Gy_SourceMouldBill_Delete", 1, false, user))
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "无删除权限!";
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                if (HInterID == null || HInterID.Equals(""))
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "HInterID不能为空!";
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                oCN.BeginTran();
                oCN.RunProc("delete from Gy_SourceMouldBillMain where HInterID = " + HInterID);
                oCN.RunProc("delete from Gy_SourceMouldBillSub where HInterID = " + HInterID);
                oCN.Commit();
                objJsonResult.code = "1";
                objJsonResult.count = 1;
                objJsonResult.Message = "删除成功!";
                objJsonResult.data = null;
                return objJsonResult;
            }
            catch (Exception e)
            {
                oCN.RollBack();
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "Exception!" + e.ToString();
                objJsonResult.data = null;
                return objJsonResult;
            }
        }
        #endregion
        #region äº§å“å™¨å…·æ¸…单列表 å®¡æ ¸/反审核功能
        [Route("Gy_SourceMouldBill/CheckGy_SourceMouldBillMain")]
        [HttpGet]
        public object CheckGy_SourceMouldBillMain(int HInterID, int IsAudit, string CurUserName)
        {
            DBUtility.ClsPub.CurUserName = CurUserName;
            try
            {
                //审核权限
                if (!DBUtility.ClsPub.Security_Log_second("Gy_SourceMouldBill_Check", 1, false, CurUserName))
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "审核失败!无权限!";
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                //HInterID数据判断
                if (HInterID <= 0)
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "HInterID小于0!";
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                Int64 lngBillKey = 0;
                lngBillKey = DBUtility.ClsPub.isLong(HInterID);                                         //对HInterID进行类型的转换
                DAL.ClsGy_SourceMouldBillMain oBill = new DAL.ClsGy_SourceMouldBillMain();                              //实例化单据操作类,用于进行相关操作
                //针对需要进行的操作,检验当前单据的状态是否支持需要进行的操作
                if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo))                    //根据HInterID获取该单据的数据
                {
                    if (oBill.omodel.HCloseMan.Trim() != "")
                    {
                        objJsonResult.code = "0";
                        objJsonResult.count = 0;
                        objJsonResult.Message = "单据已关闭!不能再次审核!";
                        objJsonResult.data = null;
                        return objJsonResult;
                    }
                    if (oBill.omodel.HDeleteMan.Trim() != "")
                    {
                        objJsonResult.code = "0";
                        objJsonResult.count = 0;
                        objJsonResult.Message = "单据已作废!不能再次审核!";
                        objJsonResult.data = null;
                        return objJsonResult;
                    }
                    if (IsAudit == 0)  //审核判断
                    {
                        if (oBill.omodel.HChecker.Trim() != "")
                        {
                            objJsonResult.code = "0";
                            objJsonResult.count = 0;
                            objJsonResult.Message = "单据已审核!不能再次审核!";
                            objJsonResult.data = null;
                            return objJsonResult;
                        }
                    }
                    if (IsAudit == 1) //反审核判断
                    {
                        if (oBill.omodel.HChecker.Trim() == "")
                        {
                            objJsonResult.code = "0";
                            objJsonResult.count = 0;
                            objJsonResult.Message = "单据未审核!不需要反审核!";
                            objJsonResult.data = null;
                            return objJsonResult;
                        }
                    }
                }
                else
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "单据不存在!原因:" + DBUtility.ClsPub.sExeReturnInfo;
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                //进行需要进行的审核/反审核操作
                if (IsAudit == 0) //审核提交
                {
                    oCN.BeginTran();
                    //记录返回信息
                    string msg = "";
                    //审核前控制=========================================
                    string sql1 = "exec h_p_Gy_SourceMouldBill_BeforeCheckCtrl " + oBill.omodel.HInterID + ",'" + oBill.omodel.HBillNo + "','" + CurUserName + "'";
                    ds = oCN.RunProcReturn(sql1, "h_p_Gy_SourceMouldBill_BeforeCheckCtrl");
                    if (ds == null || ds.Tables.Count == 0 || ds.Tables[0].Rows.Count == 0)
                    {
                        objJsonResult.code = "0";
                        objJsonResult.count = 1;
                        objJsonResult.Message = "审核失败!原因:审核前判断失败,请与网络管理人员联系";
                        objJsonResult.data = null;
                        oCN.RollBack();
                        return objJsonResult;
                    }
                    if (ds.Tables[0].Rows[0]["HBack"].ToString() != "0")
                    {
                        objJsonResult.code = "0";
                        objJsonResult.count = 1;
                        objJsonResult.Message = "审核失败!原因:" + ds.Tables[0].Rows[0]["HRemark"].ToString(); ;
                        objJsonResult.data = null;
                        oCN.RollBack();
                        return objJsonResult;
                    }
                    //==================================================================================
                    //审核提交
                    if (oBill.CheckBill(oBill.omodel.HInterID, oBill.omodel.HBillNo, "h_p_Gy_SourceMouldBill_AfterCheckCtrl", CurUserName, ref DBUtility.ClsPub.sExeReturnInfo) == true)
                    {
                        oCN.Commit();
                        objJsonResult.code = "1";
                        objJsonResult.count = 1;
                        objJsonResult.Message = "审核成功!" + msg;
                        objJsonResult.data = null;
                        return objJsonResult;
                    }
                    else
                    {
                        oCN.RollBack();
                        objJsonResult.code = "0";
                        objJsonResult.count = 0;
                        objJsonResult.Message = "审核失败!原因:" + DBUtility.ClsPub.sExeReturnInfo;
                        objJsonResult.data = null;
                        return objJsonResult;
                    }
                }
                if (IsAudit == 1) //反审核提交
                {
                    //反审核前控制=========================================
                    string sql1 = "exec h_p_Gy_SourceMouldBill_BeforeUnCheckCtrl " + oBill.omodel.HInterID + ",'" + oBill.omodel.HBillNo + "','" + CurUserName + "'";
                    ds = oCN.RunProcReturn(sql1, "h_p_Gy_SourceMouldBill_BeforeUnCheckCtrl");
                    if (ds == null || ds.Tables.Count == 0 || ds.Tables[0].Rows.Count == 0)
                    {
                        objJsonResult.code = "0";
                        objJsonResult.count = 1;
                        objJsonResult.Message = "反审核失败!原因:反审核前判断失败,请与网络管理人员联系";
                        objJsonResult.data = null;
                        return objJsonResult;
                    }
                    if (ds.Tables[0].Rows[0]["HBack"].ToString() != "0")
                    {
                        objJsonResult.code = "0";
                        objJsonResult.count = 1;
                        objJsonResult.Message = "反审核失败!原因:" + ds.Tables[0].Rows[0]["HRemark"].ToString(); ;
                        objJsonResult.data = null;
                        return objJsonResult;
                    }
                    //===========================================================
                    //反审核提交AbandonCheck
                    if (oBill.AbandonCheck(oBill.omodel.HInterID, oBill.omodel.HBillNo, "h_p_Gy_SourceMouldBill_AfterUnCheckCtrl", CurUserName, ref DBUtility.ClsPub.sExeReturnInfo) == true)
                    {
                        objJsonResult.code = "1";
                        objJsonResult.count = 1;
                        objJsonResult.Message = "反审核成功";
                        objJsonResult.data = null;
                        return objJsonResult;
                    }
                    else
                    {
                        objJsonResult.code = "0";
                        objJsonResult.count = 0;
                        objJsonResult.Message = "反审核失败!原因:" + DBUtility.ClsPub.sExeReturnInfo;
                        objJsonResult.data = null;
                        return objJsonResult;
                    }
                }
                return objJsonResult;
            }
            catch (Exception e)
            {
                oCN.RollBack();
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "审核失败或者反审核失败!" + e.ToString();
                objJsonResult.data = null;
                return objJsonResult;
            }
        }
        #endregion
        #region äº§çº¿å™¨å…·æ¸…单列表 å…³é—­/反关闭功能
        [Route("Gy_SourceMouldBill/CloseGy_SourceMouldBillMain")]
        [HttpGet]
        public object CloseGy_SourceMouldBillMain(string HInterID, int IsAudit, string user)
        {
            try
            {
                //判断是否有关闭权限
                if (!DBUtility.ClsPub.Security_Log("Gy_SourceMouldBill_Close", 1, false, user))
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "无权限关闭!";
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                var ds = oCN.RunProcReturn("select * from Gy_SourceMouldBillMain  where HInterID=" + HInterID, "Gy_SourceMouldBillMain");
                if (ds.Tables[0].Rows.Count > 0)
                {
                    if (IsAudit == 0)  //关闭判断
                    {
                        if (ds.Tables[0].Rows[0]["HCloseMan"].ToString() != "")
                        {
                            objJsonResult.code = "0";
                            objJsonResult.count = 0;
                            objJsonResult.Message = "单据已关闭!不能再次关闭!";
                            objJsonResult.data = null;
                            return objJsonResult;
                        }
                    }
                    if (IsAudit == 1) //反关闭判断
                    {
                        if (ds.Tables[0].Rows[0]["HCloseMan"].ToString() == "")
                        {
                            objJsonResult.code = "0";
                            objJsonResult.count = 0;
                            objJsonResult.Message = "单据未关闭!不需要反关闭!";
                            objJsonResult.data = null;
                            return objJsonResult;
                        }
                    }
                }
                else
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "单据不存在!";
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                oCN.BeginTran();
                if (IsAudit == 0)  //关闭判断
                {
                    oCN.RunProc("update Gy_SourceMouldBillMain  set HCloseMan='" + user + "',HCloseDate=getdate() where HInterID=" + HInterID);
                    objJsonResult.code = "1";
                    objJsonResult.count = 1;
                    objJsonResult.Message = "关闭成功";
                    objJsonResult.data = null;
                }
                if (IsAudit == 1) //反审核判断
                {
                    oCN.RunProc("update Gy_SourceMouldBillMain  set HCloseMan='',HCloseDate=null where HInterID=" + HInterID);
                    objJsonResult.code = "1";
                    objJsonResult.count = 1;
                    objJsonResult.Message = "反关闭成功";
                    objJsonResult.data = null;
                }
                oCN.Commit();
                return objJsonResult;
            }
            catch (Exception e)
            {
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "执行失败!" + e.ToString();
                objJsonResult.data = null;
                return objJsonResult;
            }
        }
        #endregion
    }
}
WebAPI/Controllers/LMESController.cs
@@ -192,7 +192,7 @@
                SQLHelper.ClsCN oCN = new SQLHelper.ClsCN();
                ds = oCN.RunProcReturn("select * from h_v_Sc_ProcessExchangeBillList_Query where 1 = 1 " + sWhere + " order by å•据号 desc ", "h_v_Sc_ProcessExchangeBillList_Query");
                ds = oCN.RunProcReturn("select top 1000 * from h_v_Sc_ProcessExchangeBillList_Query where 1 = 1 " + sWhere + " order by å•据号 desc ", "h_v_Sc_ProcessExchangeBillList_Query");
                //添加列名
WebAPI/Controllers/SCGL/Sc_ICBomBillController.cs
@@ -1,4 +1,6 @@
using System;
using DAL;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
@@ -41,12 +43,12 @@
                if (sWhere == null || sWhere.Equals(""))
                {
                    ds = oCN.RunProcReturn("select * from h_v_Gy_ICBomBillList order by hmainid desc ", "h_v_Gy_ICBomBillList");
                    ds = oCN.RunProcReturn("select * from h_v_Gy_ICBomBillList order by æ—¥æœŸ desc,hmainid desc ", "h_v_Gy_ICBomBillList");
                }
                else
                {
                    string sql1 = "select * from h_v_Gy_ICBomBillList where 1 = 1 ";
                    string sql = sql1 + sWhere+ " order by hmainid desc ";
                    string sql = sql1 + sWhere+ " order by æ—¥æœŸ desc,hmainid desc ";
                    ds = oCN.RunProcReturn(sql, "h_v_Gy_ICBomBillList");
                }
@@ -78,5 +80,324 @@
            }
        }
        #endregion
        #region ç”Ÿäº§ç‰©æ–™æ¸…单  ç¼–辑查询
        /// <summary>
        /// ç”Ÿäº§BOM/生产物料清单
        /// </summary>
        /// <param name="sWhere"></param>
        /// <param name="user"></param>
        /// <returns></returns>
        [Route("Sc_ICBomBill/Editlist")]
        [HttpGet]
        public object Editlist(string sWhere)
        {
            try
            {
                ds = oCN.RunProcReturn("select * from h_v_Gy_ICBomBillEditList where 1=1 "+ sWhere + " order by hmainid desc ", "h_v_Gy_ICBomBillEditList");
                objJsonResult.code = "1";
                objJsonResult.count = 1;
                objJsonResult.Message = "Sucess!";
                objJsonResult.data = ds.Tables[0];
                return objJsonResult;
            }
            catch (Exception e)
            {
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "Exception!" + e.ToString();
                objJsonResult.data = null;
                return objJsonResult;
            }
        }
        #endregion
        #region ç”Ÿäº§ç‰©æ–™æ¸…单  æ–°å¢ž
        /// <summary>
        /// ç”Ÿäº§BOM/生产物料清单
        /// </summary>
        /// <param name="sWhere"></param>
        /// <param name="user"></param>
        /// <returns></returns>
        [Route("sc_Gy_ICBomBill/sc_Gy_ICBomBillAdd")]
        [HttpPost]
        public object sc_Gy_ICBomBillAdd([FromBody] JObject sMainSub)
        {
            var _value = sMainSub["sMainSub"].ToString();
            string msg1 = _value.ToString();
            string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries);
            try
            {
                string msg2 = sArray[0].ToString(); //主表数据
                string msg3 = sArray[1].ToString(); //子表数据
                int OperationType = int.Parse(sArray[2].ToString()); // æ•°æ®ç±»åž‹ 1添加 3修改
                string user = sArray[3].ToString();
                //判断是否有查询权限
                if (!DBUtility.ClsPub.Security_Log("Gy_ICBomBill_Edit", 1, false, user))
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "无权限查询!";
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                ClsGy_ICBomBill oBill = new ClsGy_ICBomBill();
                msg2 = "[" + msg2 + "]";
                List<Model.ClsGy_ICBomBillMain> lsmain = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsGy_ICBomBillMain>>(msg2);
                foreach (Model.ClsGy_ICBomBillMain oItem in lsmain)
                {
                    //oItem.HMaker = "";
                    oItem.HMaker = user;  //制单人
                    oItem.HBillType = "3302";
                    oItem.HBillSubType = "3302";
                    oItem.HBillStatus = 1;
                    oItem.HUpDater = user;
                    oItem.HUpDateDate = DateTime.Now.ToString();
                    DBUtility.ClsPub.CurUserName = user;
                    oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year);
                    if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "")
                    {
                        objJsonResult.code = "0";
                        objJsonResult.count = 0;
                        objJsonResult.Message = "保存失败!没有单据日期,无法保存!";
                        objJsonResult.data = 1;
                        return objJsonResult;
                    }
                    oBill.omodel = oItem;
                }
                List<Model.ClsGy_ICBomBillSub> DetailColl = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsGy_ICBomBillSub>>(msg3);
                int i = 0;
                foreach (Model.ClsGy_ICBomBillSub oItemSub in DetailColl)
                {
                    i++;
                    oItemSub.HEntryID = i;
                    oItemSub.HRemark2 = "";
                    oItemSub.HRemark3 = "";
                    oItemSub.HRemark4 = "";
                    oItemSub.HChildType = "";
                    oItemSub.HCloseMan = "";
                    oItemSub.HSourceBillNo = "";
                    oItemSub.HSourceBillType = "";
                    oItemSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DateTime.Now);
                    oItemSub.HCloseType = false;   //关闭类型
                    oBill.DetailColl.Add(oItemSub);
                }
                bool bResult;
                if (OperationType == 1)
                {
                    bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo);
                }
                else if (OperationType == 3)
                {
                    bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo);
                }
                else {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "操作类型无效!";
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                if (bResult)
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 1;
                    objJsonResult.Message = "保存成功!";
                    objJsonResult.data = 1;
                    return objJsonResult;
                }
                else
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "保存失败!" + DBUtility.ClsPub.sExeReturnInfo;
                    objJsonResult.data = 1;
                    return objJsonResult;
                }
            }
            catch (Exception e)
            {
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "Exception!" + e.ToString();
                objJsonResult.data = null;
                return objJsonResult;
            }
        }
        #endregion
        #region ç”Ÿäº§ç‰©æ–™æ¸…单 åˆ é™¤
        [Route("sc_Gy_ICBomBill/DeltetICBomBill")]
        [HttpGet]
        public object DeltetICBomBill(string HInterID,string user)
        {
            try
            {
                //判断是否有查询权限
                if (!DBUtility.ClsPub.Security_Log("Gy_ICBomBill_Delete", 1, false, user))
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "无权限删除!";
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                oCN.BeginTran();
                oCN.RunProc("Delete From Gy_ICBomBillMain where HInterID = " + HInterID);
                oCN.RunProc("Delete From Gy_ICBomBillSub where HInterID = " + HInterID);
                oCN.Commit();
                objJsonResult.code = "1";
                objJsonResult.count = 1;
                objJsonResult.Message = "删除成功!";
                objJsonResult.data = null;
                return objJsonResult;
            }
            catch (Exception e)
            {
                oCN.RollBack();
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "Exception!" + e.ToString();
                objJsonResult.data = null;
                return objJsonResult;
            }
        }
        #endregion
        #region ç”Ÿäº§ç‰©æ–™æ¸…单 å®¡æ ¸åŠåå®¡æ ¸
        [Route("sc_Gy_ICBomBill/AuditBomBill")]
        [HttpGet]
        public object AuditBomBill(int HInterID, int IsAudit, string CurUserName)
        {
            try
            {
                //IsAudit=1 å®¡æ ¸ï¼›  IsAudit=2 åå®¡æ ¸
                //编辑权限
                if (!DBUtility.ClsPub.Security_Log_second("Gy_ICBomBill_Check", 1, false, CurUserName))
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "无审核权限!";
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                Int64 lngBillKey = 0;
                lngBillKey = DBUtility.ClsPub.isLong(HInterID);
                if (lngBillKey == 0)
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "单据ID为空!";
                    objJsonResult.data = null;
                    return objJsonResult;
                }
               ClsGy_ICBomBill oBill = new ClsGy_ICBomBill();
                if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo))
                {
                    if (oBill.omodel.HCloseMan != "")
                    {
                        objJsonResult.code = "0";
                        objJsonResult.count = 0;
                        objJsonResult.Message = "单据已关闭,不能进行审核";
                        objJsonResult.data = null;
                        return objJsonResult;
                    }
                    if (oBill.omodel.HDeleteMan != "")
                    {
                        objJsonResult.code = "0";
                        objJsonResult.count = 0;
                        objJsonResult.Message = "单据已作废,不能进行审核";
                        objJsonResult.data = null;
                        return objJsonResult;
                    }
                    if (IsAudit == 1)
                    {
                        if (oBill.omodel.HBillStatus == 2)
                        {
                            objJsonResult.code = "0";
                            objJsonResult.count = 0;
                            objJsonResult.Message = "当前单据已审核,无需再次审核";
                            objJsonResult.data = null;
                            return objJsonResult;
                        }
                        else
                        {
                            string HCheckDate = DateTime.Now.Date.ToString();
                            oCN.BeginTran();
                            oCN.RunProc(" Update Gy_ICBomBillMain set HChecker='" + CurUserName + "',HCheckDate='" + HCheckDate + "',HBillStatus=2 Where   HInterID=" + HInterID);
                            oCN.Commit();
                            objJsonResult.code = "0";
                            objJsonResult.count = 1;
                            objJsonResult.Message = "审核成功!";
                            objJsonResult.data = 1;
                            return objJsonResult;
                        }
                    }
                    else
                    {
                        if (oBill.omodel.HBillStatus == 1)
                        {
                            objJsonResult.code = "0";
                            objJsonResult.count = 0;
                            objJsonResult.Message = "当前单据未审核,无需反审核";
                            objJsonResult.data = null;
                            return objJsonResult;
                        }
                        else
                        {
                            string HCheckDate = DateTime.Now.Date.ToString();
                            oCN.BeginTran();
                            oCN.RunProc(" Update Gy_ICBomBillMain set HChecker=' ',HCheckDate=null,HBillStatus=1 Where  HInterID=" + HInterID);
                            oCN.Commit();
                            objJsonResult.code = "0";
                            objJsonResult.count = 1;
                            objJsonResult.Message = "反审核成功!";
                            objJsonResult.data = 1;
                            return objJsonResult;
                        }
                    }
                }
                else
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "单据未找到";
                    objJsonResult.data = null;
                    return objJsonResult;
                }
            }
            catch (Exception e)
            {
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "审核失败或反审核失败" + e.ToString();
                objJsonResult.data = null;
                return objJsonResult;
            }
        }
        #endregion
    }
}
WebAPI/Controllers/SCGL/Sc_PPBomBillController.cs
@@ -91,6 +91,50 @@
            }
        }
        [Route("Sc_PPBomBill/Editlist")]
        [HttpGet]
        public object Editlist(string sWhere)
        {
            try
            {
                List<object> a = new List<object>();
                //判断是否有查询权限
                if (sWhere == null || sWhere.Equals(""))
                {
                    ds = oCN.RunProcReturn("select * from h_v_IF_PPBomBillList order by hmainid desc ", "h_v_IF_PPBomBillList");
                }
                else
                {
                    string sql1 = "select * from h_v_IF_PPBomBillList where 1 = 1 ";
                    string sql = sql1 + sWhere + " order by hmainid desc ";
                    ds = oCN.RunProcReturn(sql, "h_v_IF_PPBomBillList");
                }
                foreach (DataColumn col in ds.Tables[0].Columns)//遍历ds中第一个表(Tables[0])的所有列(Columns)每次循环中,col变量会持有当前列的引用
                {
                    Type dataType = col.DataType; //获取当前数据类型传入 è‡ªå®šä¹‰å˜é‡datadataType
                    string ColmString = "{\"ColmCols\":\"" + col.ColumnName + "\",\"ColmType\":\"" + dataType.Name + "\"}"; //字符串拼接         // å°†åˆ—名和数据类型信息拼接成一个JSON格式的字符串
                    a.Add(JsonConvert.DeserializeObject(ColmString));//获取到DataColumn列对象的列名
                }
                objJsonResult.code = "1";
                objJsonResult.count = 1;
                objJsonResult.Message = "Sucess!";
                objJsonResult.data = ds.Tables[0];
                objJsonResult.list = a;
                return objJsonResult;
            }
            catch (Exception e)
            {
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "Exception!" + e.ToString();
                objJsonResult.data = null;
                return objJsonResult;
            }
        }
        #region ç”Ÿäº§ç”¨æ–™æ¸…单列表分页列表
        [Route("Sc_PPBomBill/page")]
@@ -304,6 +348,216 @@
        }
        #endregion
        #region ç”Ÿäº§ç”¨æ–™å• ä¿å­˜/编辑功能 æ–°æ–¹æ³•
        [Route("Sc_PPBomBill/sc_PPBomBillAdd")]
        [HttpPost]
        public object sc_PPBomBillAdd([FromBody] JObject sMainSub)
        {
            var _value = sMainSub["sMainSub"].ToString();
            string msg1 = _value.ToString();
            string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries);
            try
            {
                string msg2 = sArray[0].ToString(); //主表数据
                string msg3 = sArray[1].ToString(); //子表数据
                int OperationType = int.Parse(sArray[2].ToString()); // æ•°æ®ç±»åž‹ 1添加 3修改
                string user = sArray[3].ToString();
                //判断是否有编辑权限
                if (!DBUtility.ClsPub.Security_Log("QC_TestSampleCheckBill_Edit", 1, false, user))
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "无编辑权限!";
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                ClsSc_PPBomBillMain list = Newtonsoft.Json.JsonConvert.DeserializeObject<ClsSc_PPBomBillMain>(msg2);
                string BillType = "3720";
                string HBillSubType = "3720";
                long HInterID = list.HInterID;//递入type得到的单据ID
                string HBillNo = list.HBillNo;//递入type得到的单据号
                int HBillStatus = 1;
                string HMaker = user;//制单人
                int HYear = DateTime.Now.Year;
                double HPeriod = DateTime.Now.Month;
                long HICMOInterID = list.HICMOInterID;//任务单ID
                long HICMOEntryID = list.HICMOEntryID;//任务单ID
                string HICMOBillNo = list.HICMOBillNo;//任务单ID
                long HMaterID = list.HMaterID;//产品ID
                long HUnitID = list.HUnitID;//计量单位
                long HPRDORGID = list.HPRDORGID;//组织ID
                long HICMOEntrySEQ = list.HICMOEntrySEQ;
                DateTime HDate = list.HDate;
                double HQty = list.HQty;
                long HDeptID = list.HDeptID;
                string HRemark = list.HRemark;
                string HChecker = "";
                string HCheckDate = "";
                string HSeOrderBillNo = "";
                long HSeOrderInterID = 0;
                long HSeOrderEntryID = 0;
                long HENTRUSTORGID = 0;
                long HPARENTOWNERID = 0;
                long HPARENTOWNERTYPEID = 0;
                long HERPInterID = 0;
                long HSeOrderEntrySEQ = 0;
                string HERPBillType = "";
                string HREQSRC = "";
                oCN.BeginTran();
                if (OperationType== 1)
                {
                    ds = oCN.RunProcReturn("select * from Sc_PPBomBillMain where HBillNo='" + HBillNo + "'", "Sc_PPBomBillMain");
                    if (ds.Tables[0].Rows.Count == 1)
                    {
                        oCN.RollBack();
                        objJsonResult.code = "0";
                        objJsonResult.count = 0;
                        objJsonResult.Message = "单据号重复!";
                        objJsonResult.data = null;
                        return objJsonResult;
                    }
                    //主表
                    oCN.RunProc(@"Insert Into Sc_PPBomBillMain
                        (HInterID,HYear,HPeriod,HBillType,HBillSubType,HDate,HBillNo,HBillStatus,HICMOInterID
                        ,HICMOEntryID,HMaterID,HUnitID,HQty,HDeptID,HMaker,HMakeDate,HChecker,HCheckDate
                        ,HSeOrderBillNo,HSeOrderInterID,HSeOrderEntryID,HPRDORGID,HENTRUSTORGID,HPARENTOWNERID
                        ,HPARENTOWNERTYPEID,HERPInterID,HERPBillType,HSeOrderEntrySEQ,HICMOEntrySEQ,HREQSRC,HRemark)
                        values(" + HInterID + "," + DateTime.Now.Year + "," + DateTime.Now.Month + ",'" + BillType + "','" +
                    HBillSubType + "','" + HDate + "','" + HBillNo + "','" + HBillStatus + "'," + HICMOInterID +
                    "," + HICMOEntryID + ",'" + HMaterID + "'," + HUnitID + "," + HQty + "," + HDeptID +
                    ",'" + HMaker + "',getdate(),'" + HChecker + "','" + HCheckDate + "','" + HSeOrderBillNo + "'," + HSeOrderInterID + "," + HSeOrderEntryID + "," + HPRDORGID + "," + HENTRUSTORGID + "," + HPARENTOWNERID + "," +
                    HPARENTOWNERTYPEID + "," + HERPInterID + ",'" + HERPBillType + "'," + HSeOrderEntrySEQ + "," + HICMOEntrySEQ + ",'" + HREQSRC + "','"+ HRemark + "')");
                }
                else  if (OperationType == 3 )
                { //修改
                    oCN.RunProc("update Sc_PPBomBillMain  set " +
                                "HRemark='" + HRemark + "', HChecker='" + HMaker + "', HCheckDate=getdate()" +
                                ",HDeptID=" + HDeptID + ",HICMOInterID=" + HICMOInterID + ",HICMOEntryID=" + HICMOEntryID + ",HMaterID=" + HMaterID + ",HUnitID=" + HUnitID + ",HICMOEntrySEQ=" + HICMOEntrySEQ + " ,HQty=" + HQty + " where HInterID=" + HInterID);
                    //删除子表
                    oCN.RunProc("delete from Sc_PPBomBillSub where HInterID='" + HInterID + "'");
                }
                else
                {
                    oCN.RollBack();
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "操作类型无效!";
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                List<ClsSc_PPBomBillSub> DetailColl = Newtonsoft.Json.JsonConvert.DeserializeObject<List<ClsSc_PPBomBillSub>>(msg3);
                int i = 0;
                foreach (ClsSc_PPBomBillSub oSub in DetailColl)
                {
                    i++;
                    string HMaterNumber = oSub.HMaterNumber;
                    string HUnitNumber = oSub.HUnitNumber;
                    long HQtyMust = 0;
                    long HSourceInterID = oSub.HSourceInterID;
                    long HSourceEntryID = oSub.HSourceEntryID;
                    long HCHILDSUPPLYORGID = oSub.HCHILDSUPPLYORGID;
                    long HSUPPLYORGID = oSub.HSUPPLYORGID;
                    long HENTRUSTPICKORGID = oSub.HENTRUSTPICKORGID;
                    long HSRCTRANSORGID = oSub.HSRCTRANSORGID;
                    long HGROUPBYOWNERID = oSub.HGROUPBYOWNERID;
                    long HOWNERID = oSub.HOWNERID;
                    long HAuxPropID = oSub.HAuxPropID;
                    long HERPEntryID = oSub.HERPEntryID;
                    long HProcessID = oSub.HProcessID;
                    long HICMOENTRYSEQ = oSub.HICMOENTRYSEQ;
                    long HOPERID = oSub.HOPERID;
                    long HSEQ = i;
                    long HSTOCKSTATUSID = oSub.HSTOCKSTATUSID;
                    long HOPTQUEUE = oSub.HOPTQUEUE;
                    long HLOT = oSub.HLOT;
                    long HRESERVETYPE = oSub.HRESERVETYPE;
                    string HOWNERTYPEID = oSub.HOWNERTYPEID;
                    double HRelationQty = oSub.HRelationQty;
                    double HMoveStockQty = oSub.HMoveStockQty;
                    double HQtyScrap = oSub.HQtyScrap;
                    double HBackRelationQty = oSub.HBackRelationQty;
                    double HNumerator = oSub.HNumerator;
                    double HDenominator = oSub.HDenominator;
                    double HSelPickedQty = oSub.HSelPickedQty;
                    double HSELPRCDRETURNQTY = oSub.HSELPRCDRETURNQTY;
                    string HSourceBillNo = oSub.HSourceBillNo;
                    string HSourceBillType = oSub.HSourceBillType;
                    string HBatchNO = oSub.HBatchNO;
                    string HMTONo = oSub.HMTONo;
                    string HPROJECTNO = oSub.HPROJECTNO;
                    if (oSub.HQty <= 0 || oSub.HQty == null)
                    {
                        objJsonResult.code = "0";
                        objJsonResult.count = 0;
                        objJsonResult.Message = "第" + i + "行,数量不能为0或者小于0";
                        objJsonResult.data = null;
                        return objJsonResult;
                    }
                    if (oSub.HMaterID == 0)
                    {
                        objJsonResult.code = "0";
                        objJsonResult.count = 0;
                        objJsonResult.Message = "第" + i + "行,物料不能为空";
                        objJsonResult.data = null;
                        return objJsonResult;
                    }
                    if (oSub.HUnitID == 0)
                    {
                        objJsonResult.code = "0";
                        objJsonResult.count = 0;
                        objJsonResult.Message = "第" + i + "行,计量单位不能为空";
                        objJsonResult.data = null;
                        return objJsonResult;
                    }
                    Int64 NewHEntryID = i;
                    oCN.RunProc($@"Insert into Sc_PPBomBillSub
                (HInterID,HEntryID,HMaterID,HMaterNumber,HUnitID,HUnitNumber,HSPID,HQty,HQtyMust,HWHID,HRemark
                ,HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HICMOInterID,HICMOEntryID,HICMOBillNo
                ,HCHILDSUPPLYORGID,HSUPPLYORGID,HENTRUSTPICKORGID,HSRCTRANSORGID,HGROUPBYOWNERID,HOWNERID,HOWNERTYPEID
                ,HRelationQty,HMoveStockQty,HAuxPropID,HBatchNO,HMTONo,HQtyScrap,HERPInterID,HERPEntryID
                ,HBackRelationQty,HNumerator,HDenominator,HBASEUNITID,HProcessID,HICMOENTRYSEQ,HPROJECTNO
                ,HOPERID,HSEQ,HSTOCKSTATUSID,HLOT,HOPTQUEUE,HRESERVETYPE,HSelPickedQty,HSELPRCDRETURNQTY)
                 values({HInterID},{NewHEntryID},{oSub.HMaterID},'{HMaterNumber}',{oSub.HUnitID},'{HUnitNumber}',{oSub.HSPID},{(oSub.HQty == null ? 0 : oSub.HQty)}
                ,{HQtyMust},{oSub.HWHID},'{oSub.HRemark}',{HSourceInterID},{HSourceEntryID},'{HSourceBillNo}','{HSourceBillType}',{HICMOInterID},{HICMOEntryID},'{HICMOBillNo}',{HCHILDSUPPLYORGID},{HSUPPLYORGID},{HENTRUSTPICKORGID},{HSRCTRANSORGID},{HGROUPBYOWNERID},{HOWNERID},'{HOWNERTYPEID}',{HRelationQty},{HMoveStockQty},{HAuxPropID},'{HBatchNO}','{HMTONo}',{HQtyScrap},{HERPInterID},
                  {HERPEntryID},{HBackRelationQty},{HNumerator},{HDenominator},{oSub.HBASEUNITID},{HProcessID},{HICMOENTRYSEQ},'{HPROJECTNO}',{HOPERID},{HSEQ},{HSTOCKSTATUSID},{HLOT},{HOPTQUEUE},{HRESERVETYPE},{HSelPickedQty},{HSELPRCDRETURNQTY})");
                }
                oCN.Commit();
                objJsonResult.code = "1";
                objJsonResult.count = 1;
                objJsonResult.Message = "新增单据成功!";
                objJsonResult.data = null;
                return objJsonResult;
            }
            catch (Exception e)
            {
                oCN.RollBack();
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "Exception!" + e.ToString();
                objJsonResult.data = null;
                return objJsonResult;
            }
        }
        #endregion
        #region ç”Ÿäº§ç”¨æ–™å• ä¿å­˜/编辑功能
        [Route("Sc_PPBomBill/PPBomBillEdit")]
        [HttpPost]
WebAPI/Controllers/ÌõÂë¹ÜÀí/WEBSController.cs
@@ -3871,6 +3871,92 @@
        #endregion
        #region é”€å”®é€€è´§    ä¸Šä¼ ç”Ÿå•
        #region é”€å”®é€€è´§    æ–°å¢žæ¨¡å¼
        /// <summary>
        /// é”€å”®é€€è´§æ–°å¢žä¸Šä¼ 
        /// </summary>
        /// <returns></returns>
        [Route("WEBSController/set_SaveSellOutBackBill_Json")]
        [HttpPost]
        public object set_SaveSellOutBackBill_Json([FromBody] JObject oMain)
        {
            var _value = oMain["oMain"].ToString();
            string msg1 = _value.ToString();
            try
            {
                List<Model.ClsKf_ICStockBillMain> lsmain = new List<Model.ClsKf_ICStockBillMain>();
                ListModels oListModels = new ListModels();
                lsmain = oListModels.getICStockBillMainByJson(msg1);
                WebS.ClsKf_ICStockBillMain websLsmain = new WebS.ClsKf_ICStockBillMain();
                string sSourceType = lsmain[0].HMainSourceBillType;
                websLsmain.HInterID = lsmain[0].HInterID;
                websLsmain.HBillNo = lsmain[0].HBillNo;
                websLsmain.HBillType = lsmain[0].HBillType;
                websLsmain.HDate = lsmain[0].HDate;
                websLsmain.HDeptID = lsmain[0].HDeptID;
                websLsmain.HWHID = lsmain[0].HWHID;
                websLsmain.HSCWHID = lsmain[0].HSCWHID;
                websLsmain.HSupID = lsmain[0].HSupID;
                websLsmain.HKeeperID = lsmain[0].HKeeperID;
                websLsmain.HSecManagerID = lsmain[0].HSecManagerID;
                websLsmain.HEmpID = lsmain[0].HEmpID;
                websLsmain.HManagerID = lsmain[0].HManagerID;
                websLsmain.HRemark = lsmain[0].HRemark;
                websLsmain.HExplanation = lsmain[0].HExplanation;
                websLsmain.HInnerBillNo = lsmain[0].HInnerBillNo;
                websLsmain.HRedBlueFlag = lsmain[0].HRedBlueFlag;
                websLsmain.HBillSubType = lsmain[0].HBillSubType;
                if (lsmain[0].HMainSourceBillType == "1403")
                {
                    websLsmain.HMainSourceBillType = "退货通知单";
                }
                else if (lsmain[0].HMainSourceBillType == "1401")
                {
                    websLsmain.HMainSourceBillType = "销售订单";
                }
                else
                {
                    websLsmain.HMainSourceBillType = "手工录入";
                }
                websLsmain.HMaker = lsmain[0].HMaker;
                websLsmain.HBillerID = lsmain[0].HBillerID;
                websLsmain.HSTOCKORGID = lsmain[0].HSTOCKORGID;
                websLsmain.HOWNERID = lsmain[0].HSTOCKORGID;
                if (oWebs.set_SaveSellOutBackBill_New(websLsmain, sSourceType, ref DBUtility.ClsPub.sErrInfo))
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 1;
                    objJsonResult.Message = DBUtility.ClsPub.sErrInfo;  //成功!
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                else
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = DBUtility.ClsPub.sErrInfo;  //失败!
                    objJsonResult.data = null;
                    return objJsonResult;
                }
            }
            catch (Exception e)
            {
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "销售退货单上传失败!" + e.ToString();
                objJsonResult.data = null;
                return objJsonResult;
            }
        }
        #endregion
        #endregion
        #region ç”Ÿäº§ç»„托单    ä¸Šä¼ ç”Ÿå•
        /// <summary>
@@ -4719,6 +4805,48 @@
        #endregion
        #region é”€å”®é€€è´§    æ‰«ææºå•条码
        /// <summary>
        /// é”€å”®é€€è´§    æ‰«ææºå•条码
        /// </summary>
        /// <returns></returns>
        [Route("WEBSController/Get_SourceBarCode_SellOutBack_Json")]
        [HttpGet]
        public object Get_SourceBarCode_SellOutBack_Json(Int64 HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, Int64 HStockOrgID)
        {
            try
            {
                WebSoBar = oWebs.get_SourceBarCode_SellOutBack(HInterID, HBillNo, HBillType, HSourceBillNo, HSourceBillType, HMaker, HStockOrgID, ref DBUtility.ClsPub.sErrInfo);
                if (WebSoBar == null)
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = DBUtility.ClsPub.sErrInfo;
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                else
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 1;
                    objJsonResult.Message = "成功";
                    objJsonResult.data = WebSoBar;
                    return objJsonResult;
                }
            }
            catch (Exception e)
            {
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "扫描源单条码失败!" + e.ToString();
                objJsonResult.data = null;
                return objJsonResult;
            }
        }
        #endregion
        #endregion
WebAPI/ListModels.cs
@@ -1637,6 +1637,30 @@
        }
        /// <summary>
        /// å¤„理新增产线器具清单表的json
        /// </summary>
        /// <param name="jsonString"></param>
        /// <returns></returns>
        public List<Model.ClsGy_SourceMouldBillMain> getObjectByJson_Gy_SourceMouldBillMain(string jsonString)
        {
            jsonString = "[" + jsonString.ToString() + "]";
            List<Model.ClsGy_SourceMouldBillMain> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsGy_SourceMouldBillMain>>(jsonString);
            return list;
        }
        /// <summary>
        /// å¤„理新增产线器具清单子表的json
        /// </summary>
        /// <param name="jsonString"></param>
        /// <returns></returns>
        public List<Model.ClsGy_SourceMouldBillSub> getObjectByJson_Gy_SourceMouldBillSub(string jsonString)
        {
            jsonString = "[" + jsonString.ToString() + "]";
            List<Model.ClsGy_SourceMouldBillSub> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsGy_SourceMouldBillSub>>(jsonString);
            return list;
        }
        /// <summary>
        /// å¤„理新增产品工艺参数清单表的json
        /// </summary>
        /// <param name="jsonString"></param>
WebAPI/Properties/PublishProfiles/FolderProfile1.pubxml.user
@@ -4,12 +4,12 @@
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <History>True|2025-01-18T01:42:50.3629397Z;False|2025-01-18T09:39:16.1773412+08:00;True|2025-01-17T11:15:39.4147082+08:00;False|2025-01-17T11:15:09.0033498+08:00;True|2025-01-14T10:20:31.1504093+08:00;False|2025-01-14T10:19:59.1429931+08:00;True|2025-01-10T16:29:54.8671377+08:00;False|2025-01-10T16:29:05.0650370+08:00;True|2025-01-04T14:30:56.5041884+08:00;True|2025-01-04T14:26:52.7448761+08:00;True|2025-01-04T14:23:27.9956967+08:00;True|2025-01-04T14:12:46.2410106+08:00;True|2025-01-04T14:09:33.1727375+08:00;True|2025-01-04T14:07:16.3373347+08:00;False|2025-01-04T14:06:33.4982458+08:00;True|2024-12-31T13:36:55.7394582+08:00;False|2024-12-31T13:35:58.6205647+08:00;True|2024-12-28T15:59:32.1394796+08:00;True|2024-12-28T13:48:20.4283118+08:00;True|2024-12-28T13:43:39.8159616+08:00;True|2024-12-28T13:23:58.4183285+08:00;True|2024-12-28T13:19:13.0583263+08:00;True|2024-12-28T13:12:03.2648502+08:00;True|2024-12-28T13:04:22.6803754+08:00;False|2024-12-28T13:03:56.5993252+08:00;True|2024-12-28T10:50:06.1597154+08:00;True|2024-12-28T10:27:58.7075320+08:00;False|2024-12-28T10:27:09.9450571+08:00;True|2024-12-24T10:52:25.3403292+08:00;False|2024-12-24T10:51:41.8017370+08:00;True|2024-12-23T15:45:21.7729300+08:00;True|2024-12-23T15:31:38.8549407+08:00;True|2024-12-23T15:20:26.2361671+08:00;True|2024-12-23T13:40:03.2774116+08:00;False|2024-12-23T13:39:39.8510770+08:00;True|2024-12-23T13:11:15.3232454+08:00;True|2024-12-23T13:05:43.3057458+08:00;True|2024-12-16T10:57:23.0694936+08:00;True|2024-12-16T10:03:48.1938775+08:00;True|2024-12-16T09:38:57.3052219+08:00;False|2024-12-16T09:38:31.7097388+08:00;True|2024-12-16T09:25:38.3751534+08:00;False|2024-12-16T09:24:19.3952981+08:00;True|2024-12-11T22:41:13.2881405+08:00;False|2024-12-11T22:40:26.3239379+08:00;True|2024-12-11T22:14:41.4392948+08:00;True|2024-12-11T22:03:03.6823866+08:00;True|2024-12-11T21:48:51.7423044+08:00;False|2024-12-11T21:47:55.6236616+08:00;True|2024-12-02T14:57:10.0773563+08:00;False|2024-12-02T14:56:35.6440156+08:00;True|2024-11-26T08:55:53.9125170+08:00;True|2024-11-26T08:24:31.3112433+08:00;False|2024-11-26T08:23:46.0894924+08:00;True|2024-11-20T10:16:03.7893118+08:00;False|2024-11-20T10:15:23.2632533+08:00;True|2024-11-20T09:06:55.2799108+08:00;False|2024-11-20T09:05:45.8751214+08:00;True|2024-11-15T10:50:02.2079520+08:00;False|2024-11-15T10:49:22.4156447+08:00;True|2024-11-11T16:53:33.6615343+08:00;False|2024-11-11T16:52:17.7499691+08:00;False|2024-11-06T11:32:23.8339166+08:00;True|2024-10-24T20:08:16.1196372+08:00;True|2024-10-24T14:53:21.0804405+08:00;False|2024-10-24T14:50:14.4659302+08:00;</History>
    <History>True|2025-02-12T06:05:06.1068587Z;False|2025-02-12T14:03:43.3961038+08:00;True|2025-01-18T09:42:50.3629397+08:00;True|2025-01-18T09:39:16.1773412+08:00;True|2025-01-17T11:15:39.4147082+08:00;False|2025-01-17T11:15:09.0033498+08:00;True|2025-01-14T10:20:31.1504093+08:00;False|2025-01-14T10:19:59.1429931+08:00;True|2025-01-10T16:29:54.8671377+08:00;False|2025-01-10T16:29:05.0650370+08:00;True|2025-01-04T14:30:56.5041884+08:00;True|2025-01-04T14:26:52.7448761+08:00;True|2025-01-04T14:23:27.9956967+08:00;True|2025-01-04T14:12:46.2410106+08:00;True|2025-01-04T14:09:33.1727375+08:00;True|2025-01-04T14:07:16.3373347+08:00;False|2025-01-04T14:06:33.4982458+08:00;True|2024-12-31T13:36:55.7394582+08:00;False|2024-12-31T13:35:58.6205647+08:00;True|2024-12-28T15:59:32.1394796+08:00;True|2024-12-28T13:48:20.4283118+08:00;True|2024-12-28T13:43:39.8159616+08:00;True|2024-12-28T13:23:58.4183285+08:00;True|2024-12-28T13:19:13.0583263+08:00;True|2024-12-28T13:12:03.2648502+08:00;True|2024-12-28T13:04:22.6803754+08:00;False|2024-12-28T13:03:56.5993252+08:00;True|2024-12-28T10:50:06.1597154+08:00;True|2024-12-28T10:27:58.7075320+08:00;False|2024-12-28T10:27:09.9450571+08:00;True|2024-12-24T10:52:25.3403292+08:00;False|2024-12-24T10:51:41.8017370+08:00;True|2024-12-23T15:45:21.7729300+08:00;True|2024-12-23T15:31:38.8549407+08:00;True|2024-12-23T15:20:26.2361671+08:00;True|2024-12-23T13:40:03.2774116+08:00;False|2024-12-23T13:39:39.8510770+08:00;True|2024-12-23T13:11:15.3232454+08:00;True|2024-12-23T13:05:43.3057458+08:00;True|2024-12-16T10:57:23.0694936+08:00;True|2024-12-16T10:03:48.1938775+08:00;True|2024-12-16T09:38:57.3052219+08:00;False|2024-12-16T09:38:31.7097388+08:00;True|2024-12-16T09:25:38.3751534+08:00;False|2024-12-16T09:24:19.3952981+08:00;True|2024-12-11T22:41:13.2881405+08:00;False|2024-12-11T22:40:26.3239379+08:00;True|2024-12-11T22:14:41.4392948+08:00;True|2024-12-11T22:03:03.6823866+08:00;True|2024-12-11T21:48:51.7423044+08:00;False|2024-12-11T21:47:55.6236616+08:00;True|2024-12-02T14:57:10.0773563+08:00;False|2024-12-02T14:56:35.6440156+08:00;True|2024-11-26T08:55:53.9125170+08:00;True|2024-11-26T08:24:31.3112433+08:00;False|2024-11-26T08:23:46.0894924+08:00;True|2024-11-20T10:16:03.7893118+08:00;False|2024-11-20T10:15:23.2632533+08:00;True|2024-11-20T09:06:55.2799108+08:00;False|2024-11-20T09:05:45.8751214+08:00;True|2024-11-15T10:50:02.2079520+08:00;False|2024-11-15T10:49:22.4156447+08:00;True|2024-11-11T16:53:33.6615343+08:00;False|2024-11-11T16:52:17.7499691+08:00;False|2024-11-06T11:32:23.8339166+08:00;True|2024-10-24T20:08:16.1196372+08:00;True|2024-10-24T14:53:21.0804405+08:00;False|2024-10-24T14:50:14.4659302+08:00;</History>
    <_PublishTargetUrl>D:\网站发布\智云MESWMS\API</_PublishTargetUrl>
  </PropertyGroup>
  <ItemGroup>
    <File Include="apiapp.json">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="bin/AlibabaCloud.EndpointUtil.dll">
      <publishTime>04/07/2020 16:33:48</publishTime>
@@ -45,28 +45,28 @@
      <publishTime>02/22/2013 16:43:40</publishTime>
    </File>
    <File Include="bin/BLL.dll">
      <publishTime>01/10/2025 16:29:22</publishTime>
      <publishTime>02/12/2025 14:04:56</publishTime>
    </File>
    <File Include="bin/BLL.pdb">
      <publishTime>01/10/2025 16:29:22</publishTime>
      <publishTime>02/12/2025 14:04:56</publishTime>
    </File>
    <File Include="bin/BouncyCastle.Crypto.dll">
      <publishTime>12/18/2020 05:32:28</publishTime>
    </File>
    <File Include="bin/DAL.dll">
      <publishTime>01/10/2025 16:29:21</publishTime>
      <publishTime>02/12/2025 14:04:53</publishTime>
    </File>
    <File Include="bin/DAL.pdb">
      <publishTime>01/10/2025 16:29:21</publishTime>
      <publishTime>02/12/2025 14:04:53</publishTime>
    </File>
    <File Include="bin/Dapper.dll">
      <publishTime>07/22/2016 22:52:40</publishTime>
    </File>
    <File Include="bin/DBUtility.dll">
      <publishTime>01/10/2025 16:29:16</publishTime>
      <publishTime>02/12/2025 14:04:51</publishTime>
    </File>
    <File Include="bin/DBUtility.pdb">
      <publishTime>01/10/2025 16:29:16</publishTime>
      <publishTime>02/12/2025 14:04:51</publishTime>
    </File>
    <File Include="bin/Grpc.Core.Api.dll">
      <publishTime>03/22/2022 13:17:26</publishTime>
@@ -93,7 +93,7 @@
      <publishTime>05/09/2021 01:08:30</publishTime>
    </File>
    <File Include="bin/Kingdee.BOS.WebApi.Client.dll">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>02/08/2023 09:47:46</publishTime>
    </File>
    <File Include="bin/libgrpc_csharp_ext.x64.dylib">
      <publishTime>03/19/2022 07:38:44</publishTime>
@@ -111,13 +111,13 @@
      <publishTime>07/25/2012 19:48:56</publishTime>
    </File>
    <File Include="bin/Model.dll">
      <publishTime>01/10/2025 16:29:17</publishTime>
      <publishTime>02/12/2025 14:04:51</publishTime>
    </File>
    <File Include="bin/Model.pdb">
      <publishTime>01/10/2025 16:29:17</publishTime>
      <publishTime>02/12/2025 14:04:51</publishTime>
    </File>
    <File Include="bin/Models/ClsSc_MouldScrapOutBillMain.cs">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="bin/Newtonsoft.Json.dll">
      <publishTime>03/08/2023 15:09:56</publishTime>
@@ -147,34 +147,34 @@
      <publishTime>10/23/2021 17:07:54</publishTime>
    </File>
    <File Include="bin/Pub_Class.dll">
      <publishTime>01/10/2025 16:29:14</publishTime>
      <publishTime>02/12/2025 14:04:49</publishTime>
    </File>
    <File Include="bin/Pub_Class.pdb">
      <publishTime>01/10/2025 16:29:14</publishTime>
      <publishTime>02/12/2025 14:04:49</publishTime>
    </File>
    <File Include="bin/Pub_Control.dll">
      <publishTime>01/10/2025 16:29:16</publishTime>
      <publishTime>02/12/2025 14:04:50</publishTime>
    </File>
    <File Include="bin/Pub_Control.pdb">
      <publishTime>01/10/2025 16:29:16</publishTime>
      <publishTime>02/12/2025 14:04:50</publishTime>
    </File>
    <File Include="bin/RestSharp.dll">
      <publishTime>08/31/2012 06:22:50</publishTime>
    </File>
    <File Include="bin/SQLHelper.dll">
      <publishTime>01/10/2025 16:29:16</publishTime>
      <publishTime>02/12/2025 14:04:50</publishTime>
    </File>
    <File Include="bin/SQLHelper.pdb">
      <publishTime>01/10/2025 16:29:16</publishTime>
      <publishTime>02/12/2025 14:04:50</publishTime>
    </File>
    <File Include="bin/Swashbuckle.Core.dll">
      <publishTime>02/16/2015 01:57:08</publishTime>
    </File>
    <File Include="bin/SyntacticSugar.dll">
      <publishTime>01/10/2025 16:29:12</publishTime>
      <publishTime>02/12/2025 14:04:48</publishTime>
    </File>
    <File Include="bin/SyntacticSugar.pdb">
      <publishTime>01/10/2025 16:29:12</publishTime>
      <publishTime>02/12/2025 14:04:48</publishTime>
    </File>
    <File Include="bin/System.Buffers.dll">
      <publishTime>07/19/2017 18:01:28</publishTime>
@@ -252,7 +252,7 @@
      <publishTime>11/28/2018 21:01:00</publishTime>
    </File>
    <File Include="bin/System.Web.Http.WebHost.dll">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="bin/System.Web.Mvc.dll">
      <publishTime>01/28/2015 12:02:18</publishTime>
@@ -285,22 +285,22 @@
      <publishTime>05/09/2023 10:43:40</publishTime>
    </File>
    <File Include="bin/TopSdk.dll">
      <publishTime>01/10/2025 16:29:17</publishTime>
      <publishTime>02/12/2025 14:04:50</publishTime>
    </File>
    <File Include="bin/TopSdk.pdb">
      <publishTime>01/10/2025 16:29:17</publishTime>
      <publishTime>02/12/2025 14:04:50</publishTime>
    </File>
    <File Include="bin/WebActivatorEx.dll">
      <publishTime>11/24/2014 19:18:48</publishTime>
    </File>
    <File Include="bin/WebAPI.dll">
      <publishTime>01/18/2025 09:41:44</publishTime>
      <publishTime>02/12/2025 14:05:00</publishTime>
    </File>
    <File Include="bin/WebAPI.pdb">
      <publishTime>01/18/2025 09:41:44</publishTime>
      <publishTime>02/12/2025 14:05:00</publishTime>
    </File>
    <File Include="bin/WebAPI.XmlSerializers.dll">
      <publishTime>01/18/2025 09:42:41</publishTime>
      <publishTime>02/12/2025 14:05:04</publishTime>
    </File>
    <File Include="bin/WebGrease.dll">
      <publishTime>07/18/2013 01:03:52</publishTime>
@@ -312,58 +312,58 @@
      <publishTime>11/29/2018 21:26:30</publishTime>
    </File>
    <File Include="Config/kdapi.config">
      <publishTime>04/06/2023 15:57:01</publishTime>
      <publishTime>08/15/2022 15:46:13</publishTime>
    </File>
    <File Include="Content/bootstrap.css">
      <publishTime>04/06/2023 15:57:01</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="Content/bootstrap.min.css">
      <publishTime>04/06/2023 15:57:01</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="Content/Site.css">
      <publishTime>04/06/2023 15:57:01</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="DLL/BLL.dll">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="DLL/DAL.dll">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="DLL/DBUtility.dll">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="DLL/Kingdee.BOS.WebApi.Client.dll">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>02/08/2023 09:47:46</publishTime>
    </File>
    <File Include="DLL/Model.dll">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="DLL/Newtonsoft.Json.Net35.dll">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="DLL/Pub_Class.dll">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="DLL/Pub_Control.dll">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="DLL/SQLHelper.dll">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="fonts/glyphicons-halflings-regular.eot">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="fonts/glyphicons-halflings-regular.svg">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="fonts/glyphicons-halflings-regular.ttf">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="fonts/glyphicons-halflings-regular.woff">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="Global.asax">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="grpc_csharp_ext.x64.dll">
      <publishTime>03/22/2022 13:17:22</publishTime>
@@ -372,7 +372,7 @@
      <publishTime>03/22/2022 13:17:22</publishTime>
    </File>
    <File Include="Index.html">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="libgrpc_csharp_ext.x64.dylib">
      <publishTime>03/19/2022 07:38:44</publishTime>
@@ -381,121 +381,121 @@
      <publishTime>03/19/2022 07:38:42</publishTime>
    </File>
    <File Include="libman.json">
      <publishTime>07/12/2023 08:14:21</publishTime>
      <publishTime>07/18/2023 17:26:29</publishTime>
    </File>
    <File Include="Metadata/deploymentTemplates/apiappconfig.azureresource.json">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="packages.config">
      <publishTime>09/19/2024 10:10:46</publishTime>
      <publishTime>09/19/2024 08:47:56</publishTime>
    </File>
    <File Include="Views/Scripts/bootstrap.js">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="Views/Scripts/bootstrap.min.js">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="Views/Scripts/jquery-1.10.2.js">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="Views/Scripts/jquery-1.10.2.min.js">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="Views/Scripts/jquery-1.10.2.min.map">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="Views/Scripts/jquery.validate.js">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="Views/Scripts/jquery.validate.min.js">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="Views/Scripts/jquery.validate.unobtrusive.js">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="Views/Scripts/jquery.validate.unobtrusive.min.js">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="Views/Scripts/modernizr-2.6.2.js">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="Views/Shared/Error.cshtml">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="Views/Shared/_Layout.cshtml">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="Views/web.config">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="Views/_ViewStart.cshtml">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/15/2022 10:06:42</publishTime>
    </File>
    <File Include="Web References/WebS/ClsCLD_Customer_Model.datasource">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/31/2023 09:57:08</publishTime>
    </File>
    <File Include="Web References/WebS/ClsCLD_Department_Model.datasource">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/31/2023 09:57:08</publishTime>
    </File>
    <File Include="Web References/WebS/ClsCLD_Employee_Model.datasource">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/31/2023 09:57:08</publishTime>
    </File>
    <File Include="Web References/WebS/ClsCLD_StockPlace_Model.datasource">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/31/2023 09:57:08</publishTime>
    </File>
    <File Include="Web References/WebS/ClsCLD_Supplier_Model.datasource">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/31/2023 09:57:08</publishTime>
    </File>
    <File Include="Web References/WebS/ClsCLD_Warehouse_Model.datasource">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/31/2023 09:57:08</publishTime>
    </File>
    <File Include="Web References/WebS/ClsGy_BadReason_Model.datasource">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/31/2023 09:57:08</publishTime>
    </File>
    <File Include="Web References/WebS/ClsGy_BarCodeBill_WMS_Model.datasource">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/31/2023 09:57:08</publishTime>
    </File>
    <File Include="Web References/WebS/ClsGy_BarCodeBill_WMS_Model_View.datasource">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/31/2023 09:57:09</publishTime>
    </File>
    <File Include="Web References/WebS/ClsGy_Customer_Model.datasource">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/31/2023 09:57:08</publishTime>
    </File>
    <File Include="Web References/WebS/ClsGy_Department_Model.datasource">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/31/2023 09:57:08</publishTime>
    </File>
    <File Include="Web References/WebS/ClsGy_Employee_Model.datasource">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/31/2023 09:57:08</publishTime>
    </File>
    <File Include="Web References/WebS/ClsGy_Group_Model.datasource">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/31/2023 09:57:08</publishTime>
    </File>
    <File Include="Web References/WebS/ClsGy_Item30JiTai_Model.datasource">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/31/2023 09:57:08</publishTime>
    </File>
    <File Include="Web References/WebS/ClsGy_Source_Model.datasource">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/31/2023 09:57:08</publishTime>
    </File>
    <File Include="Web References/WebS/ClsGy_StockPlace_Model.datasource">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/31/2023 09:57:08</publishTime>
    </File>
    <File Include="Web References/WebS/ClsGy_Supplier_Model.datasource">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/31/2023 09:57:08</publishTime>
    </File>
    <File Include="Web References/WebS/ClsGy_Warehouse_Model.datasource">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/31/2023 09:57:08</publishTime>
    </File>
    <File Include="Web References/WebS/ClsKf_ICStockBill_Mould.datasource">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/31/2023 09:57:08</publishTime>
    </File>
    <File Include="Web References/WebS/ClsKf_ICStockBill_WMS.datasource">
      <publishTime>04/06/2023 15:57:02</publishTime>
      <publishTime>03/31/2023 09:57:08</publishTime>
    </File>
    <File Include="Web References/WebS/Reference.map">
      <publishTime>05/06/2024 13:47:57</publishTime>
    </File>
    <File Include="Web.config">
      <publishTime>01/10/2025 16:29:53</publishTime>
      <publishTime>02/12/2025 14:05:05</publishTime>
    </File>
  </ItemGroup>
</Project>
WebAPI/Properties/PublishProfiles/FolderProfile8.pubxml.user
@@ -5,7 +5,7 @@
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <_PublishTargetUrl>D:\网站发布\智云MESWMS\API</_PublishTargetUrl>
    <History>True|2024-11-29T05:29:48.1554947Z;</History>
    <History>True|2025-02-12T06:57:08.1380239Z;True|2025-02-12T14:47:58.0901509+08:00;True|2025-02-12T14:15:10.5288654+08:00;True|2025-02-12T14:12:22.5382196+08:00;True|2025-02-12T14:07:11.7831540+08:00;True|2024-11-29T13:29:48.1554947+08:00;</History>
  </PropertyGroup>
  <ItemGroup>
    <File Include="apiapp.json">
@@ -45,28 +45,28 @@
      <publishTime>02/22/2013 16:43:40</publishTime>
    </File>
    <File Include="bin/BLL.dll">
      <publishTime>11/29/2024 13:29:25</publishTime>
      <publishTime>02/12/2025 14:04:56</publishTime>
    </File>
    <File Include="bin/BLL.pdb">
      <publishTime>11/29/2024 13:29:25</publishTime>
      <publishTime>02/12/2025 14:04:56</publishTime>
    </File>
    <File Include="bin/BouncyCastle.Crypto.dll">
      <publishTime>12/18/2020 05:32:28</publishTime>
    </File>
    <File Include="bin/DAL.dll">
      <publishTime>11/29/2024 13:29:24</publishTime>
      <publishTime>02/12/2025 14:04:53</publishTime>
    </File>
    <File Include="bin/DAL.pdb">
      <publishTime>11/29/2024 13:29:24</publishTime>
      <publishTime>02/12/2025 14:04:53</publishTime>
    </File>
    <File Include="bin/Dapper.dll">
      <publishTime>07/22/2016 22:52:40</publishTime>
    </File>
    <File Include="bin/DBUtility.dll">
      <publishTime>11/29/2024 13:29:21</publishTime>
      <publishTime>02/12/2025 14:04:51</publishTime>
    </File>
    <File Include="bin/DBUtility.pdb">
      <publishTime>11/29/2024 13:29:21</publishTime>
      <publishTime>02/12/2025 14:04:51</publishTime>
    </File>
    <File Include="bin/Grpc.Core.Api.dll">
      <publishTime>03/22/2022 13:17:26</publishTime>
@@ -111,10 +111,10 @@
      <publishTime>07/25/2012 19:48:56</publishTime>
    </File>
    <File Include="bin/Model.dll">
      <publishTime>11/29/2024 13:29:22</publishTime>
      <publishTime>02/12/2025 14:04:51</publishTime>
    </File>
    <File Include="bin/Model.pdb">
      <publishTime>11/29/2024 13:29:22</publishTime>
      <publishTime>02/12/2025 14:04:51</publishTime>
    </File>
    <File Include="bin/Models/ClsSc_MouldScrapOutBillMain.cs">
      <publishTime>03/15/2022 10:06:42</publishTime>
@@ -147,34 +147,34 @@
      <publishTime>10/23/2021 17:07:54</publishTime>
    </File>
    <File Include="bin/Pub_Class.dll">
      <publishTime>11/29/2024 13:29:19</publishTime>
      <publishTime>02/12/2025 14:04:49</publishTime>
    </File>
    <File Include="bin/Pub_Class.pdb">
      <publishTime>11/29/2024 13:29:19</publishTime>
      <publishTime>02/12/2025 14:04:49</publishTime>
    </File>
    <File Include="bin/Pub_Control.dll">
      <publishTime>11/29/2024 13:29:20</publishTime>
      <publishTime>02/12/2025 14:04:50</publishTime>
    </File>
    <File Include="bin/Pub_Control.pdb">
      <publishTime>11/29/2024 13:29:20</publishTime>
      <publishTime>02/12/2025 14:04:50</publishTime>
    </File>
    <File Include="bin/RestSharp.dll">
      <publishTime>08/31/2012 06:22:50</publishTime>
    </File>
    <File Include="bin/SQLHelper.dll">
      <publishTime>11/29/2024 13:29:20</publishTime>
      <publishTime>02/12/2025 14:04:50</publishTime>
    </File>
    <File Include="bin/SQLHelper.pdb">
      <publishTime>11/29/2024 13:29:20</publishTime>
      <publishTime>02/12/2025 14:04:50</publishTime>
    </File>
    <File Include="bin/Swashbuckle.Core.dll">
      <publishTime>02/16/2015 01:57:08</publishTime>
    </File>
    <File Include="bin/SyntacticSugar.dll">
      <publishTime>11/29/2024 13:29:17</publishTime>
      <publishTime>02/12/2025 14:04:48</publishTime>
    </File>
    <File Include="bin/SyntacticSugar.pdb">
      <publishTime>11/29/2024 13:29:17</publishTime>
      <publishTime>02/12/2025 14:04:48</publishTime>
    </File>
    <File Include="bin/System.Buffers.dll">
      <publishTime>07/19/2017 18:01:28</publishTime>
@@ -285,22 +285,22 @@
      <publishTime>05/09/2023 10:43:40</publishTime>
    </File>
    <File Include="bin/TopSdk.dll">
      <publishTime>11/29/2024 13:29:20</publishTime>
      <publishTime>02/12/2025 14:04:50</publishTime>
    </File>
    <File Include="bin/TopSdk.pdb">
      <publishTime>11/29/2024 13:29:20</publishTime>
      <publishTime>02/12/2025 14:04:50</publishTime>
    </File>
    <File Include="bin/WebActivatorEx.dll">
      <publishTime>11/24/2014 19:18:48</publishTime>
    </File>
    <File Include="bin/WebAPI.dll">
      <publishTime>11/29/2024 13:29:42</publishTime>
      <publishTime>02/12/2025 14:57:02</publishTime>
    </File>
    <File Include="bin/WebAPI.pdb">
      <publishTime>11/29/2024 13:29:42</publishTime>
      <publishTime>02/12/2025 14:57:02</publishTime>
    </File>
    <File Include="bin/WebAPI.XmlSerializers.dll">
      <publishTime>11/29/2024 13:29:46</publishTime>
      <publishTime>02/12/2025 14:57:06</publishTime>
    </File>
    <File Include="bin/WebGrease.dll">
      <publishTime>07/18/2013 01:03:52</publishTime>
@@ -492,7 +492,7 @@
      <publishTime>03/31/2023 09:57:08</publishTime>
    </File>
    <File Include="Web.config">
      <publishTime>11/29/2024 13:29:46</publishTime>
      <publishTime>02/12/2025 14:07:07</publishTime>
    </File>
  </ItemGroup>
</Project>
WebAPI/Web References/WebS/Reference.cs
@@ -34,7 +34,11 @@
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsXt_BaseBillMain))]
    public partial class WebService1 : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        private System.Threading.SendOrPostCallback get_SourceBarCode_POStockInBackOperationCompleted;
        private System.Threading.SendOrPostCallback get_SourceBarCode_MateOutBackOperationCompleted;
        private System.Threading.SendOrPostCallback get_SourceBarCode_SellOutBackOperationCompleted;
        
        private System.Threading.SendOrPostCallback get_BarCodeOperationCompleted;
        
@@ -197,6 +201,8 @@
        private System.Threading.SendOrPostCallback DeleteMouldOperationCompleted;
        
        private System.Threading.SendOrPostCallback set_SavePonderationBillMain_Temp_BarCode_MouldOperationCompleted;
        private System.Threading.SendOrPostCallback get_ORGANIZATIONS_UserByOrgRelationOperationCompleted;
        
        private System.Threading.SendOrPostCallback get_ORGANIZATIONSIDByNameOperationCompleted;
        
@@ -364,7 +370,7 @@
        
        private System.Threading.SendOrPostCallback get_SourceBarCode_MoveStockStepInOperationCompleted;
        
        private System.Threading.SendOrPostCallback get_SourceBarCode_POStockInBackOperationCompleted;
        private System.Threading.SendOrPostCallback set_CheckEntrustInBillOperationCompleted;
        
        private System.Threading.SendOrPostCallback set_AuditEntrustInBillOperationCompleted;
        
@@ -496,7 +502,7 @@
        
        private System.Threading.SendOrPostCallback get_ORGANIZATIONSOperationCompleted;
        
        private System.Threading.SendOrPostCallback get_ORGANIZATIONS_UserByOrgRelationOperationCompleted;
        private System.Threading.SendOrPostCallback set_SaveEntrustOutBill_NewOperationCompleted;
        
        private System.Threading.SendOrPostCallback set_SaveEntrustOutBill_CLD_NewOperationCompleted;
        
@@ -592,7 +598,7 @@
        
        private System.Threading.SendOrPostCallback set_CheckAddEntrustInBillOperationCompleted;
        
        private System.Threading.SendOrPostCallback set_CheckEntrustInBillOperationCompleted;
        private System.Threading.SendOrPostCallback set_SaveMoveStockStepOutBill_CLD_NewOperationCompleted;
        
        private System.Threading.SendOrPostCallback set_SaveMoveStockStepInBill_NewOperationCompleted;
        
@@ -691,8 +697,6 @@
        private System.Threading.SendOrPostCallback set_AuditEntrustOutBillOperationCompleted;
        
        private System.Threading.SendOrPostCallback GetKf_EntrustOutBill_K3_SourceOperationCompleted;
        private System.Threading.SendOrPostCallback set_SaveEntrustOutBill_NewOperationCompleted;
        
        private System.Threading.SendOrPostCallback set_ClearPonderationBillMain_Temp_ChangGuiOperationCompleted;
        
@@ -824,11 +828,7 @@
        
        private System.Threading.SendOrPostCallback set_SaveMoveStockBill_BillCheckOperationCompleted;
        
        private System.Threading.SendOrPostCallback set_SaveMoveStockBill_CLD_BillCheckOperationCompleted;
        private System.Threading.SendOrPostCallback set_SaveMoveStockStepOutBill_NewOperationCompleted;
        private System.Threading.SendOrPostCallback set_SaveMoveStockStepOutBill_CLD_NewOperationCompleted;
        
        private System.Threading.SendOrPostCallback GetSc_ICMOBillListOperationCompleted;
        
@@ -1209,7 +1209,13 @@
        }
        
        /// <remarks/>
        public event get_SourceBarCode_POStockInBackCompletedEventHandler get_SourceBarCode_POStockInBackCompleted;
        /// <remarks/>
        public event get_SourceBarCode_MateOutBackCompletedEventHandler get_SourceBarCode_MateOutBackCompleted;
        /// <remarks/>
        public event get_SourceBarCode_SellOutBackCompletedEventHandler get_SourceBarCode_SellOutBackCompleted;
        
        /// <remarks/>
        public event get_BarCodeCompletedEventHandler get_BarCodeCompleted;
@@ -1453,6 +1459,9 @@
        
        /// <remarks/>
        public event set_SavePonderationBillMain_Temp_BarCode_MouldCompletedEventHandler set_SavePonderationBillMain_Temp_BarCode_MouldCompleted;
        /// <remarks/>
        public event get_ORGANIZATIONS_UserByOrgRelationCompletedEventHandler get_ORGANIZATIONS_UserByOrgRelationCompleted;
        
        /// <remarks/>
        public event get_ORGANIZATIONSIDByNameCompletedEventHandler get_ORGANIZATIONSIDByNameCompleted;
@@ -1704,7 +1713,7 @@
        public event get_SourceBarCode_MoveStockStepInCompletedEventHandler get_SourceBarCode_MoveStockStepInCompleted;
        
        /// <remarks/>
        public event get_SourceBarCode_POStockInBackCompletedEventHandler get_SourceBarCode_POStockInBackCompleted;
        public event set_CheckEntrustInBillCompletedEventHandler set_CheckEntrustInBillCompleted;
        
        /// <remarks/>
        public event set_AuditEntrustInBillCompletedEventHandler set_AuditEntrustInBillCompleted;
@@ -1902,7 +1911,7 @@
        public event get_ORGANIZATIONSCompletedEventHandler get_ORGANIZATIONSCompleted;
        
        /// <remarks/>
        public event get_ORGANIZATIONS_UserByOrgRelationCompletedEventHandler get_ORGANIZATIONS_UserByOrgRelationCompleted;
        public event set_SaveEntrustOutBill_NewCompletedEventHandler set_SaveEntrustOutBill_NewCompleted;
        
        /// <remarks/>
        public event set_SaveEntrustOutBill_CLD_NewCompletedEventHandler set_SaveEntrustOutBill_CLD_NewCompleted;
@@ -2046,7 +2055,7 @@
        public event set_CheckAddEntrustInBillCompletedEventHandler set_CheckAddEntrustInBillCompleted;
        
        /// <remarks/>
        public event set_CheckEntrustInBillCompletedEventHandler set_CheckEntrustInBillCompleted;
        public event set_SaveMoveStockStepOutBill_CLD_NewCompletedEventHandler set_SaveMoveStockStepOutBill_CLD_NewCompleted;
        
        /// <remarks/>
        public event set_SaveMoveStockStepInBill_NewCompletedEventHandler set_SaveMoveStockStepInBill_NewCompleted;
@@ -2194,9 +2203,6 @@
        
        /// <remarks/>
        public event GetKf_EntrustOutBill_K3_SourceCompletedEventHandler GetKf_EntrustOutBill_K3_SourceCompleted;
        /// <remarks/>
        public event set_SaveEntrustOutBill_NewCompletedEventHandler set_SaveEntrustOutBill_NewCompleted;
        
        /// <remarks/>
        public event set_ClearPonderationBillMain_Temp_ChangGuiCompletedEventHandler set_ClearPonderationBillMain_Temp_ChangGuiCompleted;
@@ -2394,13 +2400,7 @@
        public event set_SaveMoveStockBill_BillCheckCompletedEventHandler set_SaveMoveStockBill_BillCheckCompleted;
        
        /// <remarks/>
        public event set_SaveMoveStockBill_CLD_BillCheckCompletedEventHandler set_SaveMoveStockBill_CLD_BillCheckCompleted;
        /// <remarks/>
        public event set_SaveMoveStockStepOutBill_NewCompletedEventHandler set_SaveMoveStockStepOutBill_NewCompleted;
        /// <remarks/>
        public event set_SaveMoveStockStepOutBill_CLD_NewCompletedEventHandler set_SaveMoveStockStepOutBill_CLD_NewCompleted;
        
        /// <remarks/>
        public event GetSc_ICMOBillListCompletedEventHandler GetSc_ICMOBillListCompleted;
@@ -2913,6 +2913,50 @@
        public event GetSc_ICMOBackBillListCompletedEventHandler GetSc_ICMOBackBillListCompleted;
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/get_SourceBarCode_POStockInBack", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public ClsKf_ICStockBill_WMS get_SourceBarCode_POStockInBack(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, ref string sErrMsg) {
            object[] results = this.Invoke("get_SourceBarCode_POStockInBack", new object[] {
                        HInterID,
                        HBillNo,
                        HBillType,
                        HSourceBillNo,
                        HSourceBillType,
                        HMaker,
                        HStockOrgID,
                        sErrMsg});
            sErrMsg = ((string)(results[1]));
            return ((ClsKf_ICStockBill_WMS)(results[0]));
        }
        /// <remarks/>
        public void get_SourceBarCode_POStockInBackAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, string sErrMsg) {
            this.get_SourceBarCode_POStockInBackAsync(HInterID, HBillNo, HBillType, HSourceBillNo, HSourceBillType, HMaker, HStockOrgID, sErrMsg, null);
        }
        /// <remarks/>
        public void get_SourceBarCode_POStockInBackAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, string sErrMsg, object userState) {
            if ((this.get_SourceBarCode_POStockInBackOperationCompleted == null)) {
                this.get_SourceBarCode_POStockInBackOperationCompleted = new System.Threading.SendOrPostCallback(this.Onget_SourceBarCode_POStockInBackOperationCompleted);
            }
            this.InvokeAsync("get_SourceBarCode_POStockInBack", new object[] {
                        HInterID,
                        HBillNo,
                        HBillType,
                        HSourceBillNo,
                        HSourceBillType,
                        HMaker,
                        HStockOrgID,
                        sErrMsg}, this.get_SourceBarCode_POStockInBackOperationCompleted, userState);
        }
        private void Onget_SourceBarCode_POStockInBackOperationCompleted(object arg) {
            if ((this.get_SourceBarCode_POStockInBackCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.get_SourceBarCode_POStockInBackCompleted(this, new get_SourceBarCode_POStockInBackCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/get_SourceBarCode_MateOutBack", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public ClsKf_ICStockBill_WMS get_SourceBarCode_MateOutBack(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, ref string sErrMsg) {
            object[] results = this.Invoke("get_SourceBarCode_MateOutBack", new object[] {
@@ -2953,6 +2997,50 @@
            if ((this.get_SourceBarCode_MateOutBackCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.get_SourceBarCode_MateOutBackCompleted(this, new get_SourceBarCode_MateOutBackCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/get_SourceBarCode_SellOutBack", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public ClsKf_ICStockBill_WMS get_SourceBarCode_SellOutBack(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, ref string sErrMsg) {
            object[] results = this.Invoke("get_SourceBarCode_SellOutBack", new object[] {
                        HInterID,
                        HBillNo,
                        HBillType,
                        HSourceBillNo,
                        HSourceBillType,
                        HMaker,
                        HStockOrgID,
                        sErrMsg});
            sErrMsg = ((string)(results[1]));
            return ((ClsKf_ICStockBill_WMS)(results[0]));
        }
        /// <remarks/>
        public void get_SourceBarCode_SellOutBackAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, string sErrMsg) {
            this.get_SourceBarCode_SellOutBackAsync(HInterID, HBillNo, HBillType, HSourceBillNo, HSourceBillType, HMaker, HStockOrgID, sErrMsg, null);
        }
        /// <remarks/>
        public void get_SourceBarCode_SellOutBackAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, string sErrMsg, object userState) {
            if ((this.get_SourceBarCode_SellOutBackOperationCompleted == null)) {
                this.get_SourceBarCode_SellOutBackOperationCompleted = new System.Threading.SendOrPostCallback(this.Onget_SourceBarCode_SellOutBackOperationCompleted);
            }
            this.InvokeAsync("get_SourceBarCode_SellOutBack", new object[] {
                        HInterID,
                        HBillNo,
                        HBillType,
                        HSourceBillNo,
                        HSourceBillType,
                        HMaker,
                        HStockOrgID,
                        sErrMsg}, this.get_SourceBarCode_SellOutBackOperationCompleted, userState);
        }
        private void Onget_SourceBarCode_SellOutBackOperationCompleted(object arg) {
            if ((this.get_SourceBarCode_SellOutBackCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.get_SourceBarCode_SellOutBackCompleted(this, new get_SourceBarCode_SellOutBackCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
@@ -6837,6 +6925,37 @@
            if ((this.set_SavePonderationBillMain_Temp_BarCode_MouldCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.set_SavePonderationBillMain_Temp_BarCode_MouldCompleted(this, new set_SavePonderationBillMain_Temp_BarCode_MouldCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/get_ORGANIZATIONS_UserByOrgRelation", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public System.Data.DataSet get_ORGANIZATIONS_UserByOrgRelation(string HUserNumber, string HOrgName) {
            object[] results = this.Invoke("get_ORGANIZATIONS_UserByOrgRelation", new object[] {
                        HUserNumber,
                        HOrgName});
            return ((System.Data.DataSet)(results[0]));
        }
        /// <remarks/>
        public void get_ORGANIZATIONS_UserByOrgRelationAsync(string HUserNumber, string HOrgName) {
            this.get_ORGANIZATIONS_UserByOrgRelationAsync(HUserNumber, HOrgName, null);
        }
        /// <remarks/>
        public void get_ORGANIZATIONS_UserByOrgRelationAsync(string HUserNumber, string HOrgName, object userState) {
            if ((this.get_ORGANIZATIONS_UserByOrgRelationOperationCompleted == null)) {
                this.get_ORGANIZATIONS_UserByOrgRelationOperationCompleted = new System.Threading.SendOrPostCallback(this.Onget_ORGANIZATIONS_UserByOrgRelationOperationCompleted);
            }
            this.InvokeAsync("get_ORGANIZATIONS_UserByOrgRelation", new object[] {
                        HUserNumber,
                        HOrgName}, this.get_ORGANIZATIONS_UserByOrgRelationOperationCompleted, userState);
        }
        private void Onget_ORGANIZATIONS_UserByOrgRelationOperationCompleted(object arg) {
            if ((this.get_ORGANIZATIONS_UserByOrgRelationCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.get_ORGANIZATIONS_UserByOrgRelationCompleted(this, new get_ORGANIZATIONS_UserByOrgRelationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
@@ -11001,46 +11120,34 @@
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/get_SourceBarCode_POStockInBack", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public ClsKf_ICStockBill_WMS get_SourceBarCode_POStockInBack(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, ref string sErrMsg) {
            object[] results = this.Invoke("get_SourceBarCode_POStockInBack", new object[] {
                        HInterID,
                        HBillNo,
                        HBillType,
                        HSourceBillNo,
                        HSourceBillType,
                        HMaker,
                        HStockOrgID,
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_CheckEntrustInBill", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public bool set_CheckEntrustInBill(ClsKf_EntrustInBillMain_K3 oMain, ref string sErrMsg) {
            object[] results = this.Invoke("set_CheckEntrustInBill", new object[] {
                        oMain,
                        sErrMsg});
            sErrMsg = ((string)(results[1]));
            return ((ClsKf_ICStockBill_WMS)(results[0]));
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        public void get_SourceBarCode_POStockInBackAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, string sErrMsg) {
            this.get_SourceBarCode_POStockInBackAsync(HInterID, HBillNo, HBillType, HSourceBillNo, HSourceBillType, HMaker, HStockOrgID, sErrMsg, null);
        public void set_CheckEntrustInBillAsync(ClsKf_EntrustInBillMain_K3 oMain, string sErrMsg) {
            this.set_CheckEntrustInBillAsync(oMain, sErrMsg, null);
        }
        
        /// <remarks/>
        public void get_SourceBarCode_POStockInBackAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, string sErrMsg, object userState) {
            if ((this.get_SourceBarCode_POStockInBackOperationCompleted == null)) {
                this.get_SourceBarCode_POStockInBackOperationCompleted = new System.Threading.SendOrPostCallback(this.Onget_SourceBarCode_POStockInBackOperationCompleted);
        public void set_CheckEntrustInBillAsync(ClsKf_EntrustInBillMain_K3 oMain, string sErrMsg, object userState) {
            if ((this.set_CheckEntrustInBillOperationCompleted == null)) {
                this.set_CheckEntrustInBillOperationCompleted = new System.Threading.SendOrPostCallback(this.Onset_CheckEntrustInBillOperationCompleted);
            }
            this.InvokeAsync("get_SourceBarCode_POStockInBack", new object[] {
                        HInterID,
                        HBillNo,
                        HBillType,
                        HSourceBillNo,
                        HSourceBillType,
                        HMaker,
                        HStockOrgID,
                        sErrMsg}, this.get_SourceBarCode_POStockInBackOperationCompleted, userState);
            this.InvokeAsync("set_CheckEntrustInBill", new object[] {
                        oMain,
                        sErrMsg}, this.set_CheckEntrustInBillOperationCompleted, userState);
        }
        
        private void Onget_SourceBarCode_POStockInBackOperationCompleted(object arg) {
            if ((this.get_SourceBarCode_POStockInBackCompleted != null)) {
        private void Onset_CheckEntrustInBillOperationCompleted(object arg) {
            if ((this.set_CheckEntrustInBillCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.get_SourceBarCode_POStockInBackCompleted(this, new get_SourceBarCode_POStockInBackCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
                this.set_CheckEntrustInBillCompleted(this, new set_CheckEntrustInBillCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
@@ -13274,33 +13381,36 @@
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/get_ORGANIZATIONS_UserByOrgRelation", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public System.Data.DataSet get_ORGANIZATIONS_UserByOrgRelation(string HUserNumber, string HOrgName) {
            object[] results = this.Invoke("get_ORGANIZATIONS_UserByOrgRelation", new object[] {
                        HUserNumber,
                        HOrgName});
            return ((System.Data.DataSet)(results[0]));
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_SaveEntrustOutBill_New", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public bool set_SaveEntrustOutBill_New(ClsKf_EntrustOutBillMain oMain, string sHSourceType, ref string sErrMsg) {
            object[] results = this.Invoke("set_SaveEntrustOutBill_New", new object[] {
                        oMain,
                        sHSourceType,
                        sErrMsg});
            sErrMsg = ((string)(results[1]));
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        public void get_ORGANIZATIONS_UserByOrgRelationAsync(string HUserNumber, string HOrgName) {
            this.get_ORGANIZATIONS_UserByOrgRelationAsync(HUserNumber, HOrgName, null);
        public void set_SaveEntrustOutBill_NewAsync(ClsKf_EntrustOutBillMain oMain, string sHSourceType, string sErrMsg) {
            this.set_SaveEntrustOutBill_NewAsync(oMain, sHSourceType, sErrMsg, null);
        }
        
        /// <remarks/>
        public void get_ORGANIZATIONS_UserByOrgRelationAsync(string HUserNumber, string HOrgName, object userState) {
            if ((this.get_ORGANIZATIONS_UserByOrgRelationOperationCompleted == null)) {
                this.get_ORGANIZATIONS_UserByOrgRelationOperationCompleted = new System.Threading.SendOrPostCallback(this.Onget_ORGANIZATIONS_UserByOrgRelationOperationCompleted);
        public void set_SaveEntrustOutBill_NewAsync(ClsKf_EntrustOutBillMain oMain, string sHSourceType, string sErrMsg, object userState) {
            if ((this.set_SaveEntrustOutBill_NewOperationCompleted == null)) {
                this.set_SaveEntrustOutBill_NewOperationCompleted = new System.Threading.SendOrPostCallback(this.Onset_SaveEntrustOutBill_NewOperationCompleted);
            }
            this.InvokeAsync("get_ORGANIZATIONS_UserByOrgRelation", new object[] {
                        HUserNumber,
                        HOrgName}, this.get_ORGANIZATIONS_UserByOrgRelationOperationCompleted, userState);
            this.InvokeAsync("set_SaveEntrustOutBill_New", new object[] {
                        oMain,
                        sHSourceType,
                        sErrMsg}, this.set_SaveEntrustOutBill_NewOperationCompleted, userState);
        }
        
        private void Onget_ORGANIZATIONS_UserByOrgRelationOperationCompleted(object arg) {
            if ((this.get_ORGANIZATIONS_UserByOrgRelationCompleted != null)) {
        private void Onset_SaveEntrustOutBill_NewOperationCompleted(object arg) {
            if ((this.set_SaveEntrustOutBill_NewCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.get_ORGANIZATIONS_UserByOrgRelationCompleted(this, new get_ORGANIZATIONS_UserByOrgRelationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
                this.set_SaveEntrustOutBill_NewCompleted(this, new set_SaveEntrustOutBill_NewCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
@@ -14900,34 +15010,38 @@
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_CheckEntrustInBill", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public bool set_CheckEntrustInBill(ClsKf_EntrustInBillMain_K3 oMain, ref string sErrMsg) {
            object[] results = this.Invoke("set_CheckEntrustInBill", new object[] {
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_SaveMoveStockStepOutBill_CLD_New", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public bool set_SaveMoveStockStepOutBill_CLD_New(ClsKf_MoveStockStepOutBillMain oMain, string sHSourceType, ClsXt_SystemParameterMain oSystemParameterMain, ref string sErrMsg) {
            object[] results = this.Invoke("set_SaveMoveStockStepOutBill_CLD_New", new object[] {
                        oMain,
                        sHSourceType,
                        oSystemParameterMain,
                        sErrMsg});
            sErrMsg = ((string)(results[1]));
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        public void set_CheckEntrustInBillAsync(ClsKf_EntrustInBillMain_K3 oMain, string sErrMsg) {
            this.set_CheckEntrustInBillAsync(oMain, sErrMsg, null);
        public void set_SaveMoveStockStepOutBill_CLD_NewAsync(ClsKf_MoveStockStepOutBillMain oMain, string sHSourceType, ClsXt_SystemParameterMain oSystemParameterMain, string sErrMsg) {
            this.set_SaveMoveStockStepOutBill_CLD_NewAsync(oMain, sHSourceType, oSystemParameterMain, sErrMsg, null);
        }
        
        /// <remarks/>
        public void set_CheckEntrustInBillAsync(ClsKf_EntrustInBillMain_K3 oMain, string sErrMsg, object userState) {
            if ((this.set_CheckEntrustInBillOperationCompleted == null)) {
                this.set_CheckEntrustInBillOperationCompleted = new System.Threading.SendOrPostCallback(this.Onset_CheckEntrustInBillOperationCompleted);
        public void set_SaveMoveStockStepOutBill_CLD_NewAsync(ClsKf_MoveStockStepOutBillMain oMain, string sHSourceType, ClsXt_SystemParameterMain oSystemParameterMain, string sErrMsg, object userState) {
            if ((this.set_SaveMoveStockStepOutBill_CLD_NewOperationCompleted == null)) {
                this.set_SaveMoveStockStepOutBill_CLD_NewOperationCompleted = new System.Threading.SendOrPostCallback(this.Onset_SaveMoveStockStepOutBill_CLD_NewOperationCompleted);
            }
            this.InvokeAsync("set_CheckEntrustInBill", new object[] {
            this.InvokeAsync("set_SaveMoveStockStepOutBill_CLD_New", new object[] {
                        oMain,
                        sErrMsg}, this.set_CheckEntrustInBillOperationCompleted, userState);
                        sHSourceType,
                        oSystemParameterMain,
                        sErrMsg}, this.set_SaveMoveStockStepOutBill_CLD_NewOperationCompleted, userState);
        }
        
        private void Onset_CheckEntrustInBillOperationCompleted(object arg) {
            if ((this.set_CheckEntrustInBillCompleted != null)) {
        private void Onset_SaveMoveStockStepOutBill_CLD_NewOperationCompleted(object arg) {
            if ((this.set_SaveMoveStockStepOutBill_CLD_NewCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.set_CheckEntrustInBillCompleted(this, new set_CheckEntrustInBillCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
                this.set_SaveMoveStockStepOutBill_CLD_NewCompleted(this, new set_SaveMoveStockStepOutBill_CLD_NewCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
@@ -16581,40 +16695,6 @@
            if ((this.GetKf_EntrustOutBill_K3_SourceCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetKf_EntrustOutBill_K3_SourceCompleted(this, new GetKf_EntrustOutBill_K3_SourceCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_SaveEntrustOutBill_New", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public bool set_SaveEntrustOutBill_New(ClsKf_EntrustOutBillMain oMain, string sHSourceType, ref string sErrMsg) {
            object[] results = this.Invoke("set_SaveEntrustOutBill_New", new object[] {
                        oMain,
                        sHSourceType,
                        sErrMsg});
            sErrMsg = ((string)(results[1]));
            return ((bool)(results[0]));
        }
        /// <remarks/>
        public void set_SaveEntrustOutBill_NewAsync(ClsKf_EntrustOutBillMain oMain, string sHSourceType, string sErrMsg) {
            this.set_SaveEntrustOutBill_NewAsync(oMain, sHSourceType, sErrMsg, null);
        }
        /// <remarks/>
        public void set_SaveEntrustOutBill_NewAsync(ClsKf_EntrustOutBillMain oMain, string sHSourceType, string sErrMsg, object userState) {
            if ((this.set_SaveEntrustOutBill_NewOperationCompleted == null)) {
                this.set_SaveEntrustOutBill_NewOperationCompleted = new System.Threading.SendOrPostCallback(this.Onset_SaveEntrustOutBill_NewOperationCompleted);
            }
            this.InvokeAsync("set_SaveEntrustOutBill_New", new object[] {
                        oMain,
                        sHSourceType,
                        sErrMsg}, this.set_SaveEntrustOutBill_NewOperationCompleted, userState);
        }
        private void Onset_SaveEntrustOutBill_NewOperationCompleted(object arg) {
            if ((this.set_SaveEntrustOutBill_NewCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.set_SaveEntrustOutBill_NewCompleted(this, new set_SaveEntrustOutBill_NewCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
@@ -19163,38 +19243,6 @@
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_SaveMoveStockBill_CLD_BillCheck", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public bool set_SaveMoveStockBill_CLD_BillCheck(ClsKf_MoveStockBillMain oMain, ref string sErrMsg) {
            object[] results = this.Invoke("set_SaveMoveStockBill_CLD_BillCheck", new object[] {
                        oMain,
                        sErrMsg});
            sErrMsg = ((string)(results[1]));
            return ((bool)(results[0]));
        }
        /// <remarks/>
        public void set_SaveMoveStockBill_CLD_BillCheckAsync(ClsKf_MoveStockBillMain oMain, string sErrMsg) {
            this.set_SaveMoveStockBill_CLD_BillCheckAsync(oMain, sErrMsg, null);
        }
        /// <remarks/>
        public void set_SaveMoveStockBill_CLD_BillCheckAsync(ClsKf_MoveStockBillMain oMain, string sErrMsg, object userState) {
            if ((this.set_SaveMoveStockBill_CLD_BillCheckOperationCompleted == null)) {
                this.set_SaveMoveStockBill_CLD_BillCheckOperationCompleted = new System.Threading.SendOrPostCallback(this.Onset_SaveMoveStockBill_CLD_BillCheckOperationCompleted);
            }
            this.InvokeAsync("set_SaveMoveStockBill_CLD_BillCheck", new object[] {
                        oMain,
                        sErrMsg}, this.set_SaveMoveStockBill_CLD_BillCheckOperationCompleted, userState);
        }
        private void Onset_SaveMoveStockBill_CLD_BillCheckOperationCompleted(object arg) {
            if ((this.set_SaveMoveStockBill_CLD_BillCheckCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.set_SaveMoveStockBill_CLD_BillCheckCompleted(this, new set_SaveMoveStockBill_CLD_BillCheckCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_SaveMoveStockStepOutBill_New", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public bool set_SaveMoveStockStepOutBill_New(ClsKf_MoveStockStepOutBillMain oMain, string sHSourceType, ref string sErrMsg) {
            object[] results = this.Invoke("set_SaveMoveStockStepOutBill_New", new object[] {
@@ -19225,42 +19273,6 @@
            if ((this.set_SaveMoveStockStepOutBill_NewCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.set_SaveMoveStockStepOutBill_NewCompleted(this, new set_SaveMoveStockStepOutBill_NewCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_SaveMoveStockStepOutBill_CLD_New", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public bool set_SaveMoveStockStepOutBill_CLD_New(ClsKf_MoveStockStepOutBillMain oMain, string sHSourceType, ClsXt_SystemParameterMain oSystemParameterMain, ref string sErrMsg) {
            object[] results = this.Invoke("set_SaveMoveStockStepOutBill_CLD_New", new object[] {
                        oMain,
                        sHSourceType,
                        oSystemParameterMain,
                        sErrMsg});
            sErrMsg = ((string)(results[1]));
            return ((bool)(results[0]));
        }
        /// <remarks/>
        public void set_SaveMoveStockStepOutBill_CLD_NewAsync(ClsKf_MoveStockStepOutBillMain oMain, string sHSourceType, ClsXt_SystemParameterMain oSystemParameterMain, string sErrMsg) {
            this.set_SaveMoveStockStepOutBill_CLD_NewAsync(oMain, sHSourceType, oSystemParameterMain, sErrMsg, null);
        }
        /// <remarks/>
        public void set_SaveMoveStockStepOutBill_CLD_NewAsync(ClsKf_MoveStockStepOutBillMain oMain, string sHSourceType, ClsXt_SystemParameterMain oSystemParameterMain, string sErrMsg, object userState) {
            if ((this.set_SaveMoveStockStepOutBill_CLD_NewOperationCompleted == null)) {
                this.set_SaveMoveStockStepOutBill_CLD_NewOperationCompleted = new System.Threading.SendOrPostCallback(this.Onset_SaveMoveStockStepOutBill_CLD_NewOperationCompleted);
            }
            this.InvokeAsync("set_SaveMoveStockStepOutBill_CLD_New", new object[] {
                        oMain,
                        sHSourceType,
                        oSystemParameterMain,
                        sErrMsg}, this.set_SaveMoveStockStepOutBill_CLD_NewOperationCompleted, userState);
        }
        private void Onset_SaveMoveStockStepOutBill_CLD_NewOperationCompleted(object arg) {
            if ((this.set_SaveMoveStockStepOutBill_CLD_NewCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.set_SaveMoveStockStepOutBill_CLD_NewCompleted(this, new set_SaveMoveStockStepOutBill_CLD_NewCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
@@ -36546,7 +36558,6 @@
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_PackUnionBillMain))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_PackDoubleBillMain))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_PackSplitBillMain))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_MoveStockStepOutBillMain))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_MoveStockBillMain))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_QualityReportBillMain))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_ICMOReportBillMain))]
@@ -36560,6 +36571,7 @@
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_StationInBillMain))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_SellOutBillMain))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_MoveStockStepInBillMain))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_MoveStockStepOutBillMain))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_ProductInBillMain_K3))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_AGVRequestBillMain))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_ProductInBillMain_CLD))]
@@ -37397,279 +37409,6 @@
            }
            set {
                this.hUnitIDField = value;
            }
        }
    }
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.3752.0")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
    public partial class ClsKf_MoveStockStepOutBillMain : ClsXt_BaseBillMain {
        private long hSupIDField;
        private long hWHIDField;
        private long hSCWHIDField;
        private long hEmpIDField;
        private long hManagerIDField;
        private long hSecManagerIDField;
        private long hKeeperIDField;
        private long hDeptIDField;
        private string hExplanationField;
        private string hInnerBillNoField;
        private bool hRedBlueFlagField;
        private string hAddressField;
        private string hLinkManField;
        private string hLinkPhoneField;
        private long hConveyTypeIDField;
        private long hConveyCompIDField;
        private double hConveyMoneyField;
        private string hStockStyleField;
        private long hStockInOrgIDField;
        private long hStockOutOrgIDField;
        private long hSTOCKORGIDField;
        private long hOWNERIDField;
        /// <remarks/>
        public long HSupID {
            get {
                return this.hSupIDField;
            }
            set {
                this.hSupIDField = value;
            }
        }
        /// <remarks/>
        public long HWHID {
            get {
                return this.hWHIDField;
            }
            set {
                this.hWHIDField = value;
            }
        }
        /// <remarks/>
        public long HSCWHID {
            get {
                return this.hSCWHIDField;
            }
            set {
                this.hSCWHIDField = value;
            }
        }
        /// <remarks/>
        public long HEmpID {
            get {
                return this.hEmpIDField;
            }
            set {
                this.hEmpIDField = value;
            }
        }
        /// <remarks/>
        public long HManagerID {
            get {
                return this.hManagerIDField;
            }
            set {
                this.hManagerIDField = value;
            }
        }
        /// <remarks/>
        public long HSecManagerID {
            get {
                return this.hSecManagerIDField;
            }
            set {
                this.hSecManagerIDField = value;
            }
        }
        /// <remarks/>
        public long HKeeperID {
            get {
                return this.hKeeperIDField;
            }
            set {
                this.hKeeperIDField = value;
            }
        }
        /// <remarks/>
        public long HDeptID {
            get {
                return this.hDeptIDField;
            }
            set {
                this.hDeptIDField = value;
            }
        }
        /// <remarks/>
        public string HExplanation {
            get {
                return this.hExplanationField;
            }
            set {
                this.hExplanationField = value;
            }
        }
        /// <remarks/>
        public string HInnerBillNo {
            get {
                return this.hInnerBillNoField;
            }
            set {
                this.hInnerBillNoField = value;
            }
        }
        /// <remarks/>
        public bool HRedBlueFlag {
            get {
                return this.hRedBlueFlagField;
            }
            set {
                this.hRedBlueFlagField = value;
            }
        }
        /// <remarks/>
        public string HAddress {
            get {
                return this.hAddressField;
            }
            set {
                this.hAddressField = value;
            }
        }
        /// <remarks/>
        public string HLinkMan {
            get {
                return this.hLinkManField;
            }
            set {
                this.hLinkManField = value;
            }
        }
        /// <remarks/>
        public string HLinkPhone {
            get {
                return this.hLinkPhoneField;
            }
            set {
                this.hLinkPhoneField = value;
            }
        }
        /// <remarks/>
        public long HConveyTypeID {
            get {
                return this.hConveyTypeIDField;
            }
            set {
                this.hConveyTypeIDField = value;
            }
        }
        /// <remarks/>
        public long HConveyCompID {
            get {
                return this.hConveyCompIDField;
            }
            set {
                this.hConveyCompIDField = value;
            }
        }
        /// <remarks/>
        public double HConveyMoney {
            get {
                return this.hConveyMoneyField;
            }
            set {
                this.hConveyMoneyField = value;
            }
        }
        /// <remarks/>
        public string HStockStyle {
            get {
                return this.hStockStyleField;
            }
            set {
                this.hStockStyleField = value;
            }
        }
        /// <remarks/>
        public long HStockInOrgID {
            get {
                return this.hStockInOrgIDField;
            }
            set {
                this.hStockInOrgIDField = value;
            }
        }
        /// <remarks/>
        public long HStockOutOrgID {
            get {
                return this.hStockOutOrgIDField;
            }
            set {
                this.hStockOutOrgIDField = value;
            }
        }
        /// <remarks/>
        public long HSTOCKORGID {
            get {
                return this.hSTOCKORGIDField;
            }
            set {
                this.hSTOCKORGIDField = value;
            }
        }
        /// <remarks/>
        public long HOWNERID {
            get {
                return this.hOWNERIDField;
            }
            set {
                this.hOWNERIDField = value;
            }
        }
    }
@@ -39985,6 +39724,279 @@
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
    public partial class ClsKf_MoveStockStepInBillMain : ClsXt_BaseBillMain {
        private long hSupIDField;
        private long hWHIDField;
        private long hSCWHIDField;
        private long hEmpIDField;
        private long hManagerIDField;
        private long hSecManagerIDField;
        private long hKeeperIDField;
        private long hDeptIDField;
        private string hExplanationField;
        private string hInnerBillNoField;
        private bool hRedBlueFlagField;
        private string hAddressField;
        private string hLinkManField;
        private string hLinkPhoneField;
        private long hConveyTypeIDField;
        private long hConveyCompIDField;
        private double hConveyMoneyField;
        private string hStockStyleField;
        private long hStockInOrgIDField;
        private long hStockOutOrgIDField;
        private long hSTOCKORGIDField;
        private long hOWNERIDField;
        /// <remarks/>
        public long HSupID {
            get {
                return this.hSupIDField;
            }
            set {
                this.hSupIDField = value;
            }
        }
        /// <remarks/>
        public long HWHID {
            get {
                return this.hWHIDField;
            }
            set {
                this.hWHIDField = value;
            }
        }
        /// <remarks/>
        public long HSCWHID {
            get {
                return this.hSCWHIDField;
            }
            set {
                this.hSCWHIDField = value;
            }
        }
        /// <remarks/>
        public long HEmpID {
            get {
                return this.hEmpIDField;
            }
            set {
                this.hEmpIDField = value;
            }
        }
        /// <remarks/>
        public long HManagerID {
            get {
                return this.hManagerIDField;
            }
            set {
                this.hManagerIDField = value;
            }
        }
        /// <remarks/>
        public long HSecManagerID {
            get {
                return this.hSecManagerIDField;
            }
            set {
                this.hSecManagerIDField = value;
            }
        }
        /// <remarks/>
        public long HKeeperID {
            get {
                return this.hKeeperIDField;
            }
            set {
                this.hKeeperIDField = value;
            }
        }
        /// <remarks/>
        public long HDeptID {
            get {
                return this.hDeptIDField;
            }
            set {
                this.hDeptIDField = value;
            }
        }
        /// <remarks/>
        public string HExplanation {
            get {
                return this.hExplanationField;
            }
            set {
                this.hExplanationField = value;
            }
        }
        /// <remarks/>
        public string HInnerBillNo {
            get {
                return this.hInnerBillNoField;
            }
            set {
                this.hInnerBillNoField = value;
            }
        }
        /// <remarks/>
        public bool HRedBlueFlag {
            get {
                return this.hRedBlueFlagField;
            }
            set {
                this.hRedBlueFlagField = value;
            }
        }
        /// <remarks/>
        public string HAddress {
            get {
                return this.hAddressField;
            }
            set {
                this.hAddressField = value;
            }
        }
        /// <remarks/>
        public string HLinkMan {
            get {
                return this.hLinkManField;
            }
            set {
                this.hLinkManField = value;
            }
        }
        /// <remarks/>
        public string HLinkPhone {
            get {
                return this.hLinkPhoneField;
            }
            set {
                this.hLinkPhoneField = value;
            }
        }
        /// <remarks/>
        public long HConveyTypeID {
            get {
                return this.hConveyTypeIDField;
            }
            set {
                this.hConveyTypeIDField = value;
            }
        }
        /// <remarks/>
        public long HConveyCompID {
            get {
                return this.hConveyCompIDField;
            }
            set {
                this.hConveyCompIDField = value;
            }
        }
        /// <remarks/>
        public double HConveyMoney {
            get {
                return this.hConveyMoneyField;
            }
            set {
                this.hConveyMoneyField = value;
            }
        }
        /// <remarks/>
        public string HStockStyle {
            get {
                return this.hStockStyleField;
            }
            set {
                this.hStockStyleField = value;
            }
        }
        /// <remarks/>
        public long HStockInOrgID {
            get {
                return this.hStockInOrgIDField;
            }
            set {
                this.hStockInOrgIDField = value;
            }
        }
        /// <remarks/>
        public long HStockOutOrgID {
            get {
                return this.hStockOutOrgIDField;
            }
            set {
                this.hStockOutOrgIDField = value;
            }
        }
        /// <remarks/>
        public long HSTOCKORGID {
            get {
                return this.hSTOCKORGIDField;
            }
            set {
                this.hSTOCKORGIDField = value;
            }
        }
        /// <remarks/>
        public long HOWNERID {
            get {
                return this.hOWNERIDField;
            }
            set {
                this.hOWNERIDField = value;
            }
        }
    }
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.3752.0")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
    public partial class ClsKf_MoveStockStepOutBillMain : ClsXt_BaseBillMain {
        
        private long hSupIDField;
        
@@ -51243,6 +51255,40 @@
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
    public delegate void get_SourceBarCode_POStockInBackCompletedEventHandler(object sender, get_SourceBarCode_POStockInBackCompletedEventArgs e);
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class get_SourceBarCode_POStockInBackCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        private object[] results;
        internal get_SourceBarCode_POStockInBackCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
                base(exception, cancelled, userState) {
            this.results = results;
        }
        /// <remarks/>
        public ClsKf_ICStockBill_WMS Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((ClsKf_ICStockBill_WMS)(this.results[0]));
            }
        }
        /// <remarks/>
        public string sErrMsg {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[1]));
            }
        }
    }
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
    public delegate void get_SourceBarCode_MateOutBackCompletedEventHandler(object sender, get_SourceBarCode_MateOutBackCompletedEventArgs e);
    
    /// <remarks/>
@@ -51254,6 +51300,40 @@
        private object[] results;
        
        internal get_SourceBarCode_MateOutBackCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        /// <remarks/>
        public ClsKf_ICStockBill_WMS Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((ClsKf_ICStockBill_WMS)(this.results[0]));
            }
        }
        /// <remarks/>
        public string sErrMsg {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[1]));
            }
        }
    }
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
    public delegate void get_SourceBarCode_SellOutBackCompletedEventHandler(object sender, get_SourceBarCode_SellOutBackCompletedEventArgs e);
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class get_SourceBarCode_SellOutBackCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        private object[] results;
        internal get_SourceBarCode_SellOutBackCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
                base(exception, cancelled, userState) {
            this.results = results;
        }
@@ -54105,6 +54185,32 @@
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[7]));
            }
        }
    }
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
    public delegate void get_ORGANIZATIONS_UserByOrgRelationCompletedEventHandler(object sender, get_ORGANIZATIONS_UserByOrgRelationCompletedEventArgs e);
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class get_ORGANIZATIONS_UserByOrgRelationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        private object[] results;
        internal get_ORGANIZATIONS_UserByOrgRelationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
                base(exception, cancelled, userState) {
            this.results = results;
        }
        /// <remarks/>
        public System.Data.DataSet Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((System.Data.DataSet)(this.results[0]));
            }
        }
    }
@@ -57237,26 +57343,26 @@
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
    public delegate void get_SourceBarCode_POStockInBackCompletedEventHandler(object sender, get_SourceBarCode_POStockInBackCompletedEventArgs e);
    public delegate void set_CheckEntrustInBillCompletedEventHandler(object sender, set_CheckEntrustInBillCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class get_SourceBarCode_POStockInBackCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
    public partial class set_CheckEntrustInBillCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal get_SourceBarCode_POStockInBackCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
        internal set_CheckEntrustInBillCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public ClsKf_ICStockBill_WMS Result {
        public bool Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((ClsKf_ICStockBill_WMS)(this.results[0]));
                return ((bool)(this.results[0]));
            }
        }
        
@@ -59425,26 +59531,34 @@
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
    public delegate void get_ORGANIZATIONS_UserByOrgRelationCompletedEventHandler(object sender, get_ORGANIZATIONS_UserByOrgRelationCompletedEventArgs e);
    public delegate void set_SaveEntrustOutBill_NewCompletedEventHandler(object sender, set_SaveEntrustOutBill_NewCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class get_ORGANIZATIONS_UserByOrgRelationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
    public partial class set_SaveEntrustOutBill_NewCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal get_ORGANIZATIONS_UserByOrgRelationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
        internal set_SaveEntrustOutBill_NewCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public System.Data.DataSet Result {
        public bool Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((System.Data.DataSet)(this.results[0]));
                return ((bool)(this.results[0]));
            }
        }
        /// <remarks/>
        public string sErrMsg {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[1]));
            }
        }
    }
@@ -61089,17 +61203,17 @@
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
    public delegate void set_CheckEntrustInBillCompletedEventHandler(object sender, set_CheckEntrustInBillCompletedEventArgs e);
    public delegate void set_SaveMoveStockStepOutBill_CLD_NewCompletedEventHandler(object sender, set_SaveMoveStockStepOutBill_CLD_NewCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class set_CheckEntrustInBillCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
    public partial class set_SaveMoveStockStepOutBill_CLD_NewCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal set_CheckEntrustInBillCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
        internal set_SaveMoveStockStepOutBill_CLD_NewCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
                base(exception, cancelled, userState) {
            this.results = results;
        }
@@ -62743,40 +62857,6 @@
            get {
                this.RaiseExceptionIfNecessary();
                return ((System.Data.DataSet)(this.results[0]));
            }
        }
    }
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
    public delegate void set_SaveEntrustOutBill_NewCompletedEventHandler(object sender, set_SaveEntrustOutBill_NewCompletedEventArgs e);
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class set_SaveEntrustOutBill_NewCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        private object[] results;
        internal set_SaveEntrustOutBill_NewCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
                base(exception, cancelled, userState) {
            this.results = results;
        }
        /// <remarks/>
        public bool Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((bool)(this.results[0]));
            }
        }
        /// <remarks/>
        public string sErrMsg {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[1]));
            }
        }
    }
@@ -64801,40 +64881,6 @@
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
    public delegate void set_SaveMoveStockBill_CLD_BillCheckCompletedEventHandler(object sender, set_SaveMoveStockBill_CLD_BillCheckCompletedEventArgs e);
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class set_SaveMoveStockBill_CLD_BillCheckCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        private object[] results;
        internal set_SaveMoveStockBill_CLD_BillCheckCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
                base(exception, cancelled, userState) {
            this.results = results;
        }
        /// <remarks/>
        public bool Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((bool)(this.results[0]));
            }
        }
        /// <remarks/>
        public string sErrMsg {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[1]));
            }
        }
    }
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
    public delegate void set_SaveMoveStockStepOutBill_NewCompletedEventHandler(object sender, set_SaveMoveStockStepOutBill_NewCompletedEventArgs e);
    
    /// <remarks/>
@@ -64846,40 +64892,6 @@
        private object[] results;
        
        internal set_SaveMoveStockStepOutBill_NewCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        /// <remarks/>
        public bool Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((bool)(this.results[0]));
            }
        }
        /// <remarks/>
        public string sErrMsg {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[1]));
            }
        }
    }
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
    public delegate void set_SaveMoveStockStepOutBill_CLD_NewCompletedEventHandler(object sender, set_SaveMoveStockStepOutBill_CLD_NewCompletedEventArgs e);
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class set_SaveMoveStockStepOutBill_CLD_NewCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        private object[] results;
        internal set_SaveMoveStockStepOutBill_CLD_NewCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
                base(exception, cancelled, userState) {
            this.results = results;
        }
WebAPI/Web References/WebS/WebService1.wsdl
@@ -2,7 +2,7 @@
<wsdl:definitions xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://tempuri.org/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
      <s:element name="get_SourceBarCode_MateOutBack">
      <s:element name="get_SourceBarCode_POStockInBack">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="HInterID" type="s:long" />
@@ -16,10 +16,10 @@
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="get_SourceBarCode_MateOutBackResponse">
      <s:element name="get_SourceBarCode_POStockInBackResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="get_SourceBarCode_MateOutBackResult" type="tns:ClsKf_ICStockBill_WMS" />
            <s:element minOccurs="0" maxOccurs="1" name="get_SourceBarCode_POStockInBackResult" type="tns:ClsKf_ICStockBill_WMS" />
            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
          </s:sequence>
        </s:complexType>
@@ -66,6 +66,50 @@
          <s:element minOccurs="1" maxOccurs="1" name="HSourceBarCodeFlag" type="s:boolean" />
        </s:sequence>
      </s:complexType>
      <s:element name="get_SourceBarCode_MateOutBack">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="HInterID" type="s:long" />
            <s:element minOccurs="0" maxOccurs="1" name="HBillNo" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="HBillType" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="HSourceBillNo" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="HSourceBillType" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="HMaker" type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="HStockOrgID" type="s:long" />
            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="get_SourceBarCode_MateOutBackResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="get_SourceBarCode_MateOutBackResult" type="tns:ClsKf_ICStockBill_WMS" />
            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="get_SourceBarCode_SellOutBack">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="HInterID" type="s:long" />
            <s:element minOccurs="0" maxOccurs="1" name="HBillNo" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="HBillType" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="HSourceBillNo" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="HSourceBillType" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="HMaker" type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="HStockOrgID" type="s:long" />
            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="get_SourceBarCode_SellOutBackResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="get_SourceBarCode_SellOutBackResult" type="tns:ClsKf_ICStockBill_WMS" />
            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="get_BarCode">
        <s:complexType>
          <s:sequence>
@@ -2603,6 +2647,28 @@
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="get_ORGANIZATIONS_UserByOrgRelation">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="HUserNumber" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="HOrgName" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="get_ORGANIZATIONS_UserByOrgRelationResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="get_ORGANIZATIONS_UserByOrgRelationResult">
              <s:complexType>
                <s:sequence>
                  <s:element ref="s:schema" />
                  <s:any />
                </s:sequence>
              </s:complexType>
            </s:element>
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="get_ORGANIZATIONSIDByName">
        <s:complexType>
          <s:sequence>
@@ -4574,29 +4640,7 @@
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="get_SourceBarCode_POStockInBack">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="HInterID" type="s:long" />
            <s:element minOccurs="0" maxOccurs="1" name="HBillNo" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="HBillType" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="HSourceBillNo" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="HSourceBillType" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="HMaker" type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="HStockOrgID" type="s:long" />
            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="get_SourceBarCode_POStockInBackResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="get_SourceBarCode_POStockInBackResult" type="tns:ClsKf_ICStockBill_WMS" />
            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="set_AuditEntrustInBill">
      <s:element name="set_CheckEntrustInBill">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_EntrustInBillMain_K3" />
@@ -4628,6 +4672,22 @@
          </s:extension>
        </s:complexContent>
      </s:complexType>
      <s:element name="set_CheckEntrustInBillResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="set_CheckEntrustInBillResult" type="s:boolean" />
            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="set_AuditEntrustInBill">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_EntrustInBillMain_K3" />
            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="set_AuditEntrustInBillResponse">
        <s:complexType>
          <s:sequence>
@@ -6141,34 +6201,11 @@
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="get_ORGANIZATIONS_UserByOrgRelation">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="HUserNumber" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="HOrgName" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="get_ORGANIZATIONS_UserByOrgRelationResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="get_ORGANIZATIONS_UserByOrgRelationResult">
              <s:complexType>
                <s:sequence>
                  <s:element ref="s:schema" />
                  <s:any />
                </s:sequence>
              </s:complexType>
            </s:element>
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="set_SaveEntrustOutBill_CLD_New">
      <s:element name="set_SaveEntrustOutBill_New">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_EntrustOutBillMain" />
            <s:element minOccurs="0" maxOccurs="1" name="sHSourceType" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="oSystemParameterMain" type="tns:ClsXt_SystemParameterMain" />
            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
          </s:sequence>
        </s:complexType>
@@ -6194,6 +6231,24 @@
          </s:extension>
        </s:complexContent>
      </s:complexType>
      <s:element name="set_SaveEntrustOutBill_NewResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="set_SaveEntrustOutBill_NewResult" type="s:boolean" />
            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="set_SaveEntrustOutBill_CLD_New">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_EntrustOutBillMain" />
            <s:element minOccurs="0" maxOccurs="1" name="sHSourceType" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="oSystemParameterMain" type="tns:ClsXt_SystemParameterMain" />
            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="set_SaveEntrustOutBill_CLD_NewResponse">
        <s:complexType>
          <s:sequence>
@@ -7153,18 +7208,50 @@
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="set_CheckEntrustInBill">
      <s:element name="set_SaveMoveStockStepOutBill_CLD_New">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_EntrustInBillMain_K3" />
            <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_MoveStockStepOutBillMain" />
            <s:element minOccurs="0" maxOccurs="1" name="sHSourceType" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="oSystemParameterMain" type="tns:ClsXt_SystemParameterMain" />
            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="set_CheckEntrustInBillResponse">
      <s:complexType name="ClsKf_MoveStockStepOutBillMain">
        <s:complexContent mixed="false">
          <s:extension base="tns:ClsXt_BaseBillMain">
            <s:sequence>
              <s:element minOccurs="1" maxOccurs="1" name="HSupID" type="s:long" />
              <s:element minOccurs="1" maxOccurs="1" name="HWHID" type="s:long" />
              <s:element minOccurs="1" maxOccurs="1" name="HSCWHID" type="s:long" />
              <s:element minOccurs="1" maxOccurs="1" name="HEmpID" type="s:long" />
              <s:element minOccurs="1" maxOccurs="1" name="HManagerID" type="s:long" />
              <s:element minOccurs="1" maxOccurs="1" name="HSecManagerID" type="s:long" />
              <s:element minOccurs="1" maxOccurs="1" name="HKeeperID" type="s:long" />
              <s:element minOccurs="1" maxOccurs="1" name="HDeptID" type="s:long" />
              <s:element minOccurs="0" maxOccurs="1" name="HExplanation" type="s:string" />
              <s:element minOccurs="0" maxOccurs="1" name="HInnerBillNo" type="s:string" />
              <s:element minOccurs="1" maxOccurs="1" name="HRedBlueFlag" type="s:boolean" />
              <s:element minOccurs="0" maxOccurs="1" name="HAddress" type="s:string" />
              <s:element minOccurs="0" maxOccurs="1" name="HLinkMan" type="s:string" />
              <s:element minOccurs="0" maxOccurs="1" name="HLinkPhone" type="s:string" />
              <s:element minOccurs="1" maxOccurs="1" name="HConveyTypeID" type="s:long" />
              <s:element minOccurs="1" maxOccurs="1" name="HConveyCompID" type="s:long" />
              <s:element minOccurs="1" maxOccurs="1" name="HConveyMoney" type="s:double" />
              <s:element minOccurs="0" maxOccurs="1" name="HStockStyle" type="s:string" />
              <s:element minOccurs="1" maxOccurs="1" name="HStockInOrgID" type="s:long" />
              <s:element minOccurs="1" maxOccurs="1" name="HStockOutOrgID" type="s:long" />
              <s:element minOccurs="1" maxOccurs="1" name="HSTOCKORGID" type="s:long" />
              <s:element minOccurs="1" maxOccurs="1" name="HOWNERID" type="s:long" />
            </s:sequence>
          </s:extension>
        </s:complexContent>
      </s:complexType>
      <s:element name="set_SaveMoveStockStepOutBill_CLD_NewResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="set_CheckEntrustInBillResult" type="s:boolean" />
            <s:element minOccurs="1" maxOccurs="1" name="set_SaveMoveStockStepOutBill_CLD_NewResult" type="s:boolean" />
            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
          </s:sequence>
        </s:complexType>
@@ -8438,23 +8525,6 @@
                </s:sequence>
              </s:complexType>
            </s:element>
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="set_SaveEntrustOutBill_New">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_EntrustOutBillMain" />
            <s:element minOccurs="0" maxOccurs="1" name="sHSourceType" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="set_SaveEntrustOutBill_NewResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="set_SaveEntrustOutBill_NewResult" type="s:boolean" />
            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
@@ -10001,22 +10071,6 @@
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="set_SaveMoveStockBill_CLD_BillCheck">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_MoveStockBillMain" />
            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="set_SaveMoveStockBill_CLD_BillCheckResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="set_SaveMoveStockBill_CLD_BillCheckResult" type="s:boolean" />
            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="set_SaveMoveStockStepOutBill_New">
        <s:complexType>
          <s:sequence>
@@ -10026,58 +10080,10 @@
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="ClsKf_MoveStockStepOutBillMain">
        <s:complexContent mixed="false">
          <s:extension base="tns:ClsXt_BaseBillMain">
            <s:sequence>
              <s:element minOccurs="1" maxOccurs="1" name="HSupID" type="s:long" />
              <s:element minOccurs="1" maxOccurs="1" name="HWHID" type="s:long" />
              <s:element minOccurs="1" maxOccurs="1" name="HSCWHID" type="s:long" />
              <s:element minOccurs="1" maxOccurs="1" name="HEmpID" type="s:long" />
              <s:element minOccurs="1" maxOccurs="1" name="HManagerID" type="s:long" />
              <s:element minOccurs="1" maxOccurs="1" name="HSecManagerID" type="s:long" />
              <s:element minOccurs="1" maxOccurs="1" name="HKeeperID" type="s:long" />
              <s:element minOccurs="1" maxOccurs="1" name="HDeptID" type="s:long" />
              <s:element minOccurs="0" maxOccurs="1" name="HExplanation" type="s:string" />
              <s:element minOccurs="0" maxOccurs="1" name="HInnerBillNo" type="s:string" />
              <s:element minOccurs="1" maxOccurs="1" name="HRedBlueFlag" type="s:boolean" />
              <s:element minOccurs="0" maxOccurs="1" name="HAddress" type="s:string" />
              <s:element minOccurs="0" maxOccurs="1" name="HLinkMan" type="s:string" />
              <s:element minOccurs="0" maxOccurs="1" name="HLinkPhone" type="s:string" />
              <s:element minOccurs="1" maxOccurs="1" name="HConveyTypeID" type="s:long" />
              <s:element minOccurs="1" maxOccurs="1" name="HConveyCompID" type="s:long" />
              <s:element minOccurs="1" maxOccurs="1" name="HConveyMoney" type="s:double" />
              <s:element minOccurs="0" maxOccurs="1" name="HStockStyle" type="s:string" />
              <s:element minOccurs="1" maxOccurs="1" name="HStockInOrgID" type="s:long" />
              <s:element minOccurs="1" maxOccurs="1" name="HStockOutOrgID" type="s:long" />
              <s:element minOccurs="1" maxOccurs="1" name="HSTOCKORGID" type="s:long" />
              <s:element minOccurs="1" maxOccurs="1" name="HOWNERID" type="s:long" />
            </s:sequence>
          </s:extension>
        </s:complexContent>
      </s:complexType>
      <s:element name="set_SaveMoveStockStepOutBill_NewResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="set_SaveMoveStockStepOutBill_NewResult" type="s:boolean" />
            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="set_SaveMoveStockStepOutBill_CLD_New">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_MoveStockStepOutBillMain" />
            <s:element minOccurs="0" maxOccurs="1" name="sHSourceType" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="oSystemParameterMain" type="tns:ClsXt_SystemParameterMain" />
            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="set_SaveMoveStockStepOutBill_CLD_NewResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="set_SaveMoveStockStepOutBill_CLD_NewResult" type="s:boolean" />
            <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" />
          </s:sequence>
        </s:complexType>
@@ -14169,11 +14175,23 @@
      </s:element>
    </s:schema>
  </wsdl:types>
  <wsdl:message name="get_SourceBarCode_POStockInBackSoapIn">
    <wsdl:part name="parameters" element="tns:get_SourceBarCode_POStockInBack" />
  </wsdl:message>
  <wsdl:message name="get_SourceBarCode_POStockInBackSoapOut">
    <wsdl:part name="parameters" element="tns:get_SourceBarCode_POStockInBackResponse" />
  </wsdl:message>
  <wsdl:message name="get_SourceBarCode_MateOutBackSoapIn">
    <wsdl:part name="parameters" element="tns:get_SourceBarCode_MateOutBack" />
  </wsdl:message>
  <wsdl:message name="get_SourceBarCode_MateOutBackSoapOut">
    <wsdl:part name="parameters" element="tns:get_SourceBarCode_MateOutBackResponse" />
  </wsdl:message>
  <wsdl:message name="get_SourceBarCode_SellOutBackSoapIn">
    <wsdl:part name="parameters" element="tns:get_SourceBarCode_SellOutBack" />
  </wsdl:message>
  <wsdl:message name="get_SourceBarCode_SellOutBackSoapOut">
    <wsdl:part name="parameters" element="tns:get_SourceBarCode_SellOutBackResponse" />
  </wsdl:message>
  <wsdl:message name="get_BarCodeSoapIn">
    <wsdl:part name="parameters" element="tns:get_BarCode" />
@@ -14660,6 +14678,12 @@
  </wsdl:message>
  <wsdl:message name="set_SavePonderationBillMain_Temp_BarCode_MouldSoapOut">
    <wsdl:part name="parameters" element="tns:set_SavePonderationBillMain_Temp_BarCode_MouldResponse" />
  </wsdl:message>
  <wsdl:message name="get_ORGANIZATIONS_UserByOrgRelationSoapIn">
    <wsdl:part name="parameters" element="tns:get_ORGANIZATIONS_UserByOrgRelation" />
  </wsdl:message>
  <wsdl:message name="get_ORGANIZATIONS_UserByOrgRelationSoapOut">
    <wsdl:part name="parameters" element="tns:get_ORGANIZATIONS_UserByOrgRelationResponse" />
  </wsdl:message>
  <wsdl:message name="get_ORGANIZATIONSIDByNameSoapIn">
    <wsdl:part name="parameters" element="tns:get_ORGANIZATIONSIDByName" />
@@ -15159,11 +15183,11 @@
  <wsdl:message name="get_SourceBarCode_MoveStockStepInSoapOut">
    <wsdl:part name="parameters" element="tns:get_SourceBarCode_MoveStockStepInResponse" />
  </wsdl:message>
  <wsdl:message name="get_SourceBarCode_POStockInBackSoapIn">
    <wsdl:part name="parameters" element="tns:get_SourceBarCode_POStockInBack" />
  <wsdl:message name="set_CheckEntrustInBillSoapIn">
    <wsdl:part name="parameters" element="tns:set_CheckEntrustInBill" />
  </wsdl:message>
  <wsdl:message name="get_SourceBarCode_POStockInBackSoapOut">
    <wsdl:part name="parameters" element="tns:get_SourceBarCode_POStockInBackResponse" />
  <wsdl:message name="set_CheckEntrustInBillSoapOut">
    <wsdl:part name="parameters" element="tns:set_CheckEntrustInBillResponse" />
  </wsdl:message>
  <wsdl:message name="set_AuditEntrustInBillSoapIn">
    <wsdl:part name="parameters" element="tns:set_AuditEntrustInBill" />
@@ -15555,11 +15579,11 @@
  <wsdl:message name="get_ORGANIZATIONSSoapOut">
    <wsdl:part name="parameters" element="tns:get_ORGANIZATIONSResponse" />
  </wsdl:message>
  <wsdl:message name="get_ORGANIZATIONS_UserByOrgRelationSoapIn">
    <wsdl:part name="parameters" element="tns:get_ORGANIZATIONS_UserByOrgRelation" />
  <wsdl:message name="set_SaveEntrustOutBill_NewSoapIn">
    <wsdl:part name="parameters" element="tns:set_SaveEntrustOutBill_New" />
  </wsdl:message>
  <wsdl:message name="get_ORGANIZATIONS_UserByOrgRelationSoapOut">
    <wsdl:part name="parameters" element="tns:get_ORGANIZATIONS_UserByOrgRelationResponse" />
  <wsdl:message name="set_SaveEntrustOutBill_NewSoapOut">
    <wsdl:part name="parameters" element="tns:set_SaveEntrustOutBill_NewResponse" />
  </wsdl:message>
  <wsdl:message name="set_SaveEntrustOutBill_CLD_NewSoapIn">
    <wsdl:part name="parameters" element="tns:set_SaveEntrustOutBill_CLD_New" />
@@ -15843,11 +15867,11 @@
  <wsdl:message name="set_CheckAddEntrustInBillSoapOut">
    <wsdl:part name="parameters" element="tns:set_CheckAddEntrustInBillResponse" />
  </wsdl:message>
  <wsdl:message name="set_CheckEntrustInBillSoapIn">
    <wsdl:part name="parameters" element="tns:set_CheckEntrustInBill" />
  <wsdl:message name="set_SaveMoveStockStepOutBill_CLD_NewSoapIn">
    <wsdl:part name="parameters" element="tns:set_SaveMoveStockStepOutBill_CLD_New" />
  </wsdl:message>
  <wsdl:message name="set_CheckEntrustInBillSoapOut">
    <wsdl:part name="parameters" element="tns:set_CheckEntrustInBillResponse" />
  <wsdl:message name="set_SaveMoveStockStepOutBill_CLD_NewSoapOut">
    <wsdl:part name="parameters" element="tns:set_SaveMoveStockStepOutBill_CLD_NewResponse" />
  </wsdl:message>
  <wsdl:message name="set_SaveMoveStockStepInBill_NewSoapIn">
    <wsdl:part name="parameters" element="tns:set_SaveMoveStockStepInBill_New" />
@@ -16142,12 +16166,6 @@
  </wsdl:message>
  <wsdl:message name="GetKf_EntrustOutBill_K3_SourceSoapOut">
    <wsdl:part name="parameters" element="tns:GetKf_EntrustOutBill_K3_SourceResponse" />
  </wsdl:message>
  <wsdl:message name="set_SaveEntrustOutBill_NewSoapIn">
    <wsdl:part name="parameters" element="tns:set_SaveEntrustOutBill_New" />
  </wsdl:message>
  <wsdl:message name="set_SaveEntrustOutBill_NewSoapOut">
    <wsdl:part name="parameters" element="tns:set_SaveEntrustOutBill_NewResponse" />
  </wsdl:message>
  <wsdl:message name="set_ClearPonderationBillMain_Temp_ChangGuiSoapIn">
    <wsdl:part name="parameters" element="tns:set_ClearPonderationBillMain_Temp_ChangGui" />
@@ -16539,23 +16557,11 @@
  <wsdl:message name="set_SaveMoveStockBill_BillCheckSoapOut">
    <wsdl:part name="parameters" element="tns:set_SaveMoveStockBill_BillCheckResponse" />
  </wsdl:message>
  <wsdl:message name="set_SaveMoveStockBill_CLD_BillCheckSoapIn">
    <wsdl:part name="parameters" element="tns:set_SaveMoveStockBill_CLD_BillCheck" />
  </wsdl:message>
  <wsdl:message name="set_SaveMoveStockBill_CLD_BillCheckSoapOut">
    <wsdl:part name="parameters" element="tns:set_SaveMoveStockBill_CLD_BillCheckResponse" />
  </wsdl:message>
  <wsdl:message name="set_SaveMoveStockStepOutBill_NewSoapIn">
    <wsdl:part name="parameters" element="tns:set_SaveMoveStockStepOutBill_New" />
  </wsdl:message>
  <wsdl:message name="set_SaveMoveStockStepOutBill_NewSoapOut">
    <wsdl:part name="parameters" element="tns:set_SaveMoveStockStepOutBill_NewResponse" />
  </wsdl:message>
  <wsdl:message name="set_SaveMoveStockStepOutBill_CLD_NewSoapIn">
    <wsdl:part name="parameters" element="tns:set_SaveMoveStockStepOutBill_CLD_New" />
  </wsdl:message>
  <wsdl:message name="set_SaveMoveStockStepOutBill_CLD_NewSoapOut">
    <wsdl:part name="parameters" element="tns:set_SaveMoveStockStepOutBill_CLD_NewResponse" />
  </wsdl:message>
  <wsdl:message name="GetSc_ICMOBillListSoapIn">
    <wsdl:part name="parameters" element="tns:GetSc_ICMOBillList" />
@@ -17578,9 +17584,17 @@
    <wsdl:part name="parameters" element="tns:GetSc_ICMOBackBillListResponse" />
  </wsdl:message>
  <wsdl:portType name="WebService1Soap">
    <wsdl:operation name="get_SourceBarCode_POStockInBack">
      <wsdl:input message="tns:get_SourceBarCode_POStockInBackSoapIn" />
      <wsdl:output message="tns:get_SourceBarCode_POStockInBackSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="get_SourceBarCode_MateOutBack">
      <wsdl:input message="tns:get_SourceBarCode_MateOutBackSoapIn" />
      <wsdl:output message="tns:get_SourceBarCode_MateOutBackSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="get_SourceBarCode_SellOutBack">
      <wsdl:input message="tns:get_SourceBarCode_SellOutBackSoapIn" />
      <wsdl:output message="tns:get_SourceBarCode_SellOutBackSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="get_BarCode">
      <wsdl:input message="tns:get_BarCodeSoapIn" />
@@ -17905,6 +17919,10 @@
    <wsdl:operation name="set_SavePonderationBillMain_Temp_BarCode_Mould">
      <wsdl:input message="tns:set_SavePonderationBillMain_Temp_BarCode_MouldSoapIn" />
      <wsdl:output message="tns:set_SavePonderationBillMain_Temp_BarCode_MouldSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="get_ORGANIZATIONS_UserByOrgRelation">
      <wsdl:input message="tns:get_ORGANIZATIONS_UserByOrgRelationSoapIn" />
      <wsdl:output message="tns:get_ORGANIZATIONS_UserByOrgRelationSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="get_ORGANIZATIONSIDByName">
      <wsdl:input message="tns:get_ORGANIZATIONSIDByNameSoapIn" />
@@ -18238,9 +18256,9 @@
      <wsdl:input message="tns:get_SourceBarCode_MoveStockStepInSoapIn" />
      <wsdl:output message="tns:get_SourceBarCode_MoveStockStepInSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="get_SourceBarCode_POStockInBack">
      <wsdl:input message="tns:get_SourceBarCode_POStockInBackSoapIn" />
      <wsdl:output message="tns:get_SourceBarCode_POStockInBackSoapOut" />
    <wsdl:operation name="set_CheckEntrustInBill">
      <wsdl:input message="tns:set_CheckEntrustInBillSoapIn" />
      <wsdl:output message="tns:set_CheckEntrustInBillSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="set_AuditEntrustInBill">
      <wsdl:input message="tns:set_AuditEntrustInBillSoapIn" />
@@ -18502,9 +18520,9 @@
      <wsdl:input message="tns:get_ORGANIZATIONSSoapIn" />
      <wsdl:output message="tns:get_ORGANIZATIONSSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="get_ORGANIZATIONS_UserByOrgRelation">
      <wsdl:input message="tns:get_ORGANIZATIONS_UserByOrgRelationSoapIn" />
      <wsdl:output message="tns:get_ORGANIZATIONS_UserByOrgRelationSoapOut" />
    <wsdl:operation name="set_SaveEntrustOutBill_New">
      <wsdl:input message="tns:set_SaveEntrustOutBill_NewSoapIn" />
      <wsdl:output message="tns:set_SaveEntrustOutBill_NewSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="set_SaveEntrustOutBill_CLD_New">
      <wsdl:input message="tns:set_SaveEntrustOutBill_CLD_NewSoapIn" />
@@ -18694,9 +18712,9 @@
      <wsdl:input message="tns:set_CheckAddEntrustInBillSoapIn" />
      <wsdl:output message="tns:set_CheckAddEntrustInBillSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="set_CheckEntrustInBill">
      <wsdl:input message="tns:set_CheckEntrustInBillSoapIn" />
      <wsdl:output message="tns:set_CheckEntrustInBillSoapOut" />
    <wsdl:operation name="set_SaveMoveStockStepOutBill_CLD_New">
      <wsdl:input message="tns:set_SaveMoveStockStepOutBill_CLD_NewSoapIn" />
      <wsdl:output message="tns:set_SaveMoveStockStepOutBill_CLD_NewSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="set_SaveMoveStockStepInBill_New">
      <wsdl:input message="tns:set_SaveMoveStockStepInBill_NewSoapIn" />
@@ -18893,10 +18911,6 @@
    <wsdl:operation name="GetKf_EntrustOutBill_K3_Source">
      <wsdl:input message="tns:GetKf_EntrustOutBill_K3_SourceSoapIn" />
      <wsdl:output message="tns:GetKf_EntrustOutBill_K3_SourceSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="set_SaveEntrustOutBill_New">
      <wsdl:input message="tns:set_SaveEntrustOutBill_NewSoapIn" />
      <wsdl:output message="tns:set_SaveEntrustOutBill_NewSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="set_ClearPonderationBillMain_Temp_ChangGui">
      <wsdl:input message="tns:set_ClearPonderationBillMain_Temp_ChangGuiSoapIn" />
@@ -19158,17 +19172,9 @@
      <wsdl:input message="tns:set_SaveMoveStockBill_BillCheckSoapIn" />
      <wsdl:output message="tns:set_SaveMoveStockBill_BillCheckSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="set_SaveMoveStockBill_CLD_BillCheck">
      <wsdl:input message="tns:set_SaveMoveStockBill_CLD_BillCheckSoapIn" />
      <wsdl:output message="tns:set_SaveMoveStockBill_CLD_BillCheckSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="set_SaveMoveStockStepOutBill_New">
      <wsdl:input message="tns:set_SaveMoveStockStepOutBill_NewSoapIn" />
      <wsdl:output message="tns:set_SaveMoveStockStepOutBill_NewSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="set_SaveMoveStockStepOutBill_CLD_New">
      <wsdl:input message="tns:set_SaveMoveStockStepOutBill_CLD_NewSoapIn" />
      <wsdl:output message="tns:set_SaveMoveStockStepOutBill_CLD_NewSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetSc_ICMOBillList">
      <wsdl:input message="tns:GetSc_ICMOBillListSoapIn" />
@@ -19853,8 +19859,26 @@
  </wsdl:portType>
  <wsdl:binding name="WebService1Soap" type="tns:WebService1Soap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="get_SourceBarCode_POStockInBack">
      <soap:operation soapAction="http://tempuri.org/get_SourceBarCode_POStockInBack" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="get_SourceBarCode_MateOutBack">
      <soap:operation soapAction="http://tempuri.org/get_SourceBarCode_MateOutBack" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="get_SourceBarCode_SellOutBack">
      <soap:operation soapAction="http://tempuri.org/get_SourceBarCode_SellOutBack" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
@@ -20584,6 +20608,15 @@
    </wsdl:operation>
    <wsdl:operation name="set_SavePonderationBillMain_Temp_BarCode_Mould">
      <soap:operation soapAction="http://tempuri.org/set_SavePonderationBillMain_Temp_BarCode_Mould" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="get_ORGANIZATIONS_UserByOrgRelation">
      <soap:operation soapAction="http://tempuri.org/get_ORGANIZATIONS_UserByOrgRelation" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
@@ -21338,8 +21371,8 @@
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="get_SourceBarCode_POStockInBack">
      <soap:operation soapAction="http://tempuri.org/get_SourceBarCode_POStockInBack" style="document" />
    <wsdl:operation name="set_CheckEntrustInBill">
      <soap:operation soapAction="http://tempuri.org/set_CheckEntrustInBill" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
@@ -21932,8 +21965,8 @@
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="get_ORGANIZATIONS_UserByOrgRelation">
      <soap:operation soapAction="http://tempuri.org/get_ORGANIZATIONS_UserByOrgRelation" style="document" />
    <wsdl:operation name="set_SaveEntrustOutBill_New">
      <soap:operation soapAction="http://tempuri.org/set_SaveEntrustOutBill_New" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
@@ -22364,8 +22397,8 @@
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="set_CheckEntrustInBill">
      <soap:operation soapAction="http://tempuri.org/set_CheckEntrustInBill" style="document" />
    <wsdl:operation name="set_SaveMoveStockStepOutBill_CLD_New">
      <soap:operation soapAction="http://tempuri.org/set_SaveMoveStockStepOutBill_CLD_New" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
@@ -22807,15 +22840,6 @@
    </wsdl:operation>
    <wsdl:operation name="GetKf_EntrustOutBill_K3_Source">
      <soap:operation soapAction="http://tempuri.org/GetKf_EntrustOutBill_K3_Source" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="set_SaveEntrustOutBill_New">
      <soap:operation soapAction="http://tempuri.org/set_SaveEntrustOutBill_New" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
@@ -23408,26 +23432,8 @@
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="set_SaveMoveStockBill_CLD_BillCheck">
      <soap:operation soapAction="http://tempuri.org/set_SaveMoveStockBill_CLD_BillCheck" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="set_SaveMoveStockStepOutBill_New">
      <soap:operation soapAction="http://tempuri.org/set_SaveMoveStockStepOutBill_New" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="set_SaveMoveStockStepOutBill_CLD_New">
      <soap:operation soapAction="http://tempuri.org/set_SaveMoveStockStepOutBill_CLD_New" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
@@ -24968,8 +24974,26 @@
  </wsdl:binding>
  <wsdl:binding name="WebService1Soap12" type="tns:WebService1Soap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="get_SourceBarCode_POStockInBack">
      <soap12:operation soapAction="http://tempuri.org/get_SourceBarCode_POStockInBack" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="get_SourceBarCode_MateOutBack">
      <soap12:operation soapAction="http://tempuri.org/get_SourceBarCode_MateOutBack" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="get_SourceBarCode_SellOutBack">
      <soap12:operation soapAction="http://tempuri.org/get_SourceBarCode_SellOutBack" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
@@ -25699,6 +25723,15 @@
    </wsdl:operation>
    <wsdl:operation name="set_SavePonderationBillMain_Temp_BarCode_Mould">
      <soap12:operation soapAction="http://tempuri.org/set_SavePonderationBillMain_Temp_BarCode_Mould" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="get_ORGANIZATIONS_UserByOrgRelation">
      <soap12:operation soapAction="http://tempuri.org/get_ORGANIZATIONS_UserByOrgRelation" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
@@ -26453,8 +26486,8 @@
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="get_SourceBarCode_POStockInBack">
      <soap12:operation soapAction="http://tempuri.org/get_SourceBarCode_POStockInBack" style="document" />
    <wsdl:operation name="set_CheckEntrustInBill">
      <soap12:operation soapAction="http://tempuri.org/set_CheckEntrustInBill" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
@@ -27047,8 +27080,8 @@
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="get_ORGANIZATIONS_UserByOrgRelation">
      <soap12:operation soapAction="http://tempuri.org/get_ORGANIZATIONS_UserByOrgRelation" style="document" />
    <wsdl:operation name="set_SaveEntrustOutBill_New">
      <soap12:operation soapAction="http://tempuri.org/set_SaveEntrustOutBill_New" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
@@ -27479,8 +27512,8 @@
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="set_CheckEntrustInBill">
      <soap12:operation soapAction="http://tempuri.org/set_CheckEntrustInBill" style="document" />
    <wsdl:operation name="set_SaveMoveStockStepOutBill_CLD_New">
      <soap12:operation soapAction="http://tempuri.org/set_SaveMoveStockStepOutBill_CLD_New" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
@@ -27922,15 +27955,6 @@
    </wsdl:operation>
    <wsdl:operation name="GetKf_EntrustOutBill_K3_Source">
      <soap12:operation soapAction="http://tempuri.org/GetKf_EntrustOutBill_K3_Source" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="set_SaveEntrustOutBill_New">
      <soap12:operation soapAction="http://tempuri.org/set_SaveEntrustOutBill_New" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
@@ -28523,26 +28547,8 @@
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="set_SaveMoveStockBill_CLD_BillCheck">
      <soap12:operation soapAction="http://tempuri.org/set_SaveMoveStockBill_CLD_BillCheck" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="set_SaveMoveStockStepOutBill_New">
      <soap12:operation soapAction="http://tempuri.org/set_SaveMoveStockStepOutBill_New" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="set_SaveMoveStockStepOutBill_CLD_New">
      <soap12:operation soapAction="http://tempuri.org/set_SaveMoveStockStepOutBill_CLD_New" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
WebAPI/Web.config
@@ -35,7 +35,7 @@
        <!--<add key="sUrl" value="http://47.96.97.237/WEBS-WMS/WebService1.asmx"/> --> <!--测试服务器-->
        <!--<add key="surl" value="http://localhost:8082/webs/webservice1.asmx"/>    æœ¬åœ°-->
        <!--<add key="sUrl" value="http://192.168.110.57:81/WEBS/WebService1.asmx"/>-->    <!--陈雯静本地配置-->
        <add key="surl" value="http://localhost/webs-web/webservice1.asmx" /> <!--翁涛涛本地配置-->
        <!--<add key="surl" value="http://localhost/webs-web/webservice1.asmx" />--> <!--翁涛涛本地配置-->
        <!--<add key="sUrl" value="http://192.168.1.57:8082/WEBS-WMS/WebService1.asmx"/>九菱-->
        <!--<add key="sUrl" value="http://61.130.182.102:18181/WEBSCS/WebService1.asmx"/>--><!--斯莫尔-->
        
WebAPI/WebAPI.csproj
@@ -441,6 +441,7 @@
    <Compile Include="Controllers\CJGL\Sc_KeyElementBindingController.cs" />
    <Compile Include="Controllers\CJGL\Sc_OEEReportController.cs" />
    <Compile Include="Controllers\CKGL\TMZD\Gy_BarCodeBillListController.cs" />
    <Compile Include="Controllers\JHGL\Gy_SourceMouldBillController.cs" />
    <Compile Include="Controllers\Xt_DefineBillMainSetController.cs" />
    <Compile Include="Controllers\MJGL\Sc_MouldBatchWorkCheckBillController.cs" />
    <Compile Include="Controllers\SBGL\SBBB\Sb_EquipMentCollectionTechParamController.cs" />
WebAPI/WebAPI.csproj.user
@@ -3,8 +3,8 @@
  <PropertyGroup>
    <LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
    <NameOfLastUsedPublishProfile>D:\网站发布\后端代码\MES-WEB-API\MES-WEB-API\WebAPI\Properties\PublishProfiles\FolderProfile2.pubxml</NameOfLastUsedPublishProfile>
    <LastActiveSolutionConfig>Debug|x86</LastActiveSolutionConfig>
    <NameOfLastUsedPublishProfile>D:\工作代码\智云迈思\MES\MES-WEB-API\WebAPI\Properties\PublishProfiles\JFAPI.pubxml</NameOfLastUsedPublishProfile>
    <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
    <NameOfLastUsedPublishProfile>E:\智云mes\mes\MES-WEB-API\WebAPI\Properties\PublishProfiles\FolderProfile8.pubxml</NameOfLastUsedPublishProfile>
    <UseIISExpress>true</UseIISExpress>
    <Use64BitIISExpress />
    <IISExpressSSLPort />
sdk_dingding/TopSdk/bin/Debug/TopSdk.dll
Binary files differ
sdk_dingding/TopSdk/bin/Debug/TopSdk.pdb
Binary files differ
sdk_dingding/TopSdk/bin/Release/TopSdk.dll
Binary files differ
sdk_dingding/TopSdk/bin/Release/TopSdk.pdb
Binary files differ
sdk_dingding/TopSdk/obj/Debug/TopSdk.csproj.AssemblyReference.cache
Binary files differ
sdk_dingding/TopSdk/obj/Debug/TopSdk.csproj.FileListAbsolute.txt
@@ -10,3 +10,8 @@
D:\工作代码\智云迈思\MES\MES-WEB-API\sdk_dingding\TopSdk\obj\Debug\TopSdk.csproj.CoreCompileInputs.cache
D:\工作代码\智云迈思\MES\MES-WEB-API\sdk_dingding\TopSdk\obj\Debug\TopSdk.dll
D:\工作代码\智云迈思\MES\MES-WEB-API\sdk_dingding\TopSdk\obj\Debug\TopSdk.pdb
E:\智云mes\mes\MES-WEB-API\sdk_dingding\TopSdk\bin\Debug\TopSdk.dll
E:\智云mes\mes\MES-WEB-API\sdk_dingding\TopSdk\bin\Debug\TopSdk.pdb
E:\智云mes\mes\MES-WEB-API\sdk_dingding\TopSdk\obj\Debug\TopSdk.csproj.CoreCompileInputs.cache
E:\智云mes\mes\MES-WEB-API\sdk_dingding\TopSdk\obj\Debug\TopSdk.dll
E:\智云mes\mes\MES-WEB-API\sdk_dingding\TopSdk\obj\Debug\TopSdk.pdb
sdk_dingding/TopSdk/obj/Debug/TopSdk.dll
Binary files differ
sdk_dingding/TopSdk/obj/Debug/TopSdk.pdb
Binary files differ
sdk_dingding/TopSdk/obj/Release/TopSdk.csproj.AssemblyReference.cache
Binary files differ
sdk_dingding/TopSdk/obj/Release/TopSdk.csproj.CoreCompileInputs.cache
New file
@@ -0,0 +1 @@
eb64bc61f5da8fdd8ad56e04c391e3a377d8ca59
sdk_dingding/TopSdk/obj/Release/TopSdk.csproj.FileListAbsolute.txt
New file
@@ -0,0 +1,6 @@
E:\智云mes\mes\MES-WEB-API\sdk_dingding\TopSdk\bin\Release\TopSdk.dll
E:\智云mes\mes\MES-WEB-API\sdk_dingding\TopSdk\bin\Release\TopSdk.pdb
E:\智云mes\mes\MES-WEB-API\sdk_dingding\TopSdk\obj\Release\TopSdk.csproj.AssemblyReference.cache
E:\智云mes\mes\MES-WEB-API\sdk_dingding\TopSdk\obj\Release\TopSdk.csproj.CoreCompileInputs.cache
E:\智云mes\mes\MES-WEB-API\sdk_dingding\TopSdk\obj\Release\TopSdk.dll
E:\智云mes\mes\MES-WEB-API\sdk_dingding\TopSdk\obj\Release\TopSdk.pdb
sdk_dingding/TopSdk/obj/Release/TopSdk.dll
Binary files differ
sdk_dingding/TopSdk/obj/Release/TopSdk.pdb
Binary files differ