From 3e2600eadb6054f9d9aef8f586f4244021b35045 Mon Sep 17 00:00:00 2001 From: yangle <admin@YINMOU> Date: 星期四, 13 二月 2025 16:55:43 +0800 Subject: [PATCH] 1 --- WebAPI/Controllers/JHGL/Gy_SourceMouldBillController.cs | 648 +++++++++++++ WebAPI/Web References/WebS/WebService1.wsdl | 510 +++++----- WebAPI/ListModels.cs | 24 WebAPI/Web References/WebS/Reference.cs | 1152 ++++++++++++------------ Model/计划管理/ClsGy_SourceMouldBillSub.cs | 14 WebAPI/Controllers/条码管理/WEBSController.cs | 128 ++ WebAPI/Web.config | 2 DAL/DAL.csproj | 1 Model/Model.csproj | 2 WebAPI/WebAPI.csproj | 1 DAL/计划管理/ClsGy_SourceMouldBillMain.cs | 271 +++++ Model/计划管理/ClsGy_SourceMouldBillMain.cs | 17 12 files changed, 1,947 insertions(+), 823 deletions(-) diff --git a/DAL/DAL.csproj b/DAL/DAL.csproj index ed4923e..e801991 100644 --- a/DAL/DAL.csproj +++ b/DAL/DAL.csproj @@ -95,6 +95,7 @@ <Compile Include="婧愬崟\InterFace婧愬崟\Cls_S_IF_ICMOBillList_CusBarCodeBill.cs" /> <Compile Include="婧愬崟\InterFace婧愬崟\Cls_S_IF_ICMOReportBillList_CusBarCodeBill.cs" /> <Compile Include="绯荤粺鍏敤\ClsXt_DefineBillMainSet.cs" /> + <Compile Include="璁″垝绠$悊\ClsGy_SourceMouldBillMain.cs" /> <Compile Include="璐ㄦ绠$悊\ClsQC_EnvironmentTestDotCheckBillMain.cs" /> <Compile Include="璐ㄦ绠$悊\ClsQC_MonthTarGetBill.cs" /> <Compile Include="鐢熶骇绠$悊\璁惧绠$悊\ClsSb_EquipRepairSignBill.cs" /> diff --git "a/DAL/\350\256\241\345\210\222\347\256\241\347\220\206/ClsGy_SourceMouldBillMain.cs" "b/DAL/\350\256\241\345\210\222\347\256\241\347\220\206/ClsGy_SourceMouldBillMain.cs" new file mode 100644 index 0000000..5514547 --- /dev/null +++ "b/DAL/\350\256\241\345\210\222\347\256\241\347\220\206/ClsGy_SourceMouldBillMain.cs" @@ -0,0 +1,271 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Text; +using System.Data; + +namespace DAL +{ + public class ClsGy_SourceMouldBillMain : DBUtility.ClsXt_BaseBill + { + public Model.ClsGy_SourceMouldBillMain omodel = new Model.ClsGy_SourceMouldBillMain(); + public List<Model.ClsGy_SourceMouldBillSub> DetailColl = new List<Model.ClsGy_SourceMouldBillSub>(); + + public ClsGy_SourceMouldBillMain() + { + base.MvarItemKeySub = "Gy_SourceMouldBillSub"; + base.MvarItemKeySub2 = ""; + base.MvarItemKeySub3 = ""; + base.MvarItemKeySub4 = ""; + base.MvarItemKey = "Gy_SourceMouldBillMain"; + base.MvarReportTitle = "浜х嚎鍣ㄥ叿娓呭崟"; + base.BillType = "4617"; + base.HBillSubType = "4617"; + + } + + #region 鍥哄畾浠g爜 + #region 鏃犲弬鏋勯�犲嚱鏁� + ~ClsGy_SourceMouldBillMain() + { + DetailColl = null; + } + #endregion + #endregion + + //#region 淇敼鍗曟嵁 + public override bool ModifyBill(Int64 lngBillKey, ref string sReturn) + { + try + { + oCn.BeginTran(); + //鏇存柊涓昏〃 + string mainSql = "update Gy_SourceMouldBillMain set " + + " HBillNo = '" + omodel.HBillNo + + "', HDate = '" + omodel.HDate + + "', HRemark = '" + omodel.HRemark + + "', HUpDater = '" + omodel.HUpDater + + "', HUpDateDate = getdate()" + + //=============================================================== + + ", HDeptID = '" + omodel.HDeptID + + "', HEmpID = '" + omodel.HEmpID + + "', HSourceID = '" + omodel.HSourceID + + "', HWorkCenterID = '" + omodel.HWorkCenterID + + "', HEquipID = '" + omodel.HEquipID + + "', HOrgID = '" + omodel.HOrgID + + "', HProcID = " + omodel.HProcID + + " where HInterID = " + omodel.HInterID; + + oCn.RunProc(mainSql); + //鍒犻櫎鍏宠仈 + DeleteRelation(ref sReturn, lngBillKey); + //鍒犻櫎瀛愯〃 + DeleteBillSub(lngBillKey); + + //鎻掑叆瀛愯〃 + omodel.HInterID = lngBillKey; + foreach (Model.ClsGy_SourceMouldBillSub oSub in DetailColl) + { + string subSql = "insert into Gy_SourceMouldBillSub" + + "(HInterID,HEntryID,HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType" + + ",HMouldID,HQty,HMouldQty,HRate) " + + " values(" + + "" + omodel.HInterID.ToString() + + "," + oSub.HEntryID.ToString() + + "," + oSub.HSourceInterID + + "," + oSub.HSourceEntryID + + ",'" + oSub.HSourceBillNo + + "','" + oSub.HSourceBillType + + "','" + oSub.HMouldID + + "'," + oSub.HQty + + "," + oSub.HMouldQty + + ",'" + oSub.HRate + + "')"; + oCn.RunProc(subSql); + } + + sReturn = "淇敼鍗曟嵁鎴愬姛锛�"; + oCn.Commit(); + return true; + } + catch (Exception e) + { + sReturn = e.Message; + oCn.RollBack(); + throw (e); + } + } + //#endregion + + #region 鏂板鍗曟嵁 + public override bool AddBill(ref string sReturn) + { + try + { + DataSet ds; + + + oCn.BeginTran(); + + //妫�鏌ヤ富琛ㄥ唴鐮佹槸鍚﹂噸澶嶏紝鑻ラ噸澶嶅垯閲嶆柊鐢熸垚骞剁户缁鏌ワ紝鐩村埌涓嶅啀閲嶅 + while (true) + { + ds = oCn.RunProcReturn("select * from Gy_SourceMouldBillMain where HInterID = " + omodel.HInterID, "Gy_SourceMouldBillMain"); + if (ds != null && ds.Tables[0].Rows.Count > 0) + { + omodel.HInterID = DBUtility.ClsPub.CreateBillID(BillType, ref DBUtility.ClsPub.sExeReturnInfo); + } + else + { + break; + } + } + + //鎻掑叆涓昏〃 + string mainSql = "insert into Gy_SourceMouldBillMain" + + "(HYear,HPeriod,HBillType,HBillSubType,HInterID,HDate,HBillNo,HRemark,HMaker,HMakeDate" + + ",HDeptID,HEmpID,HSourceID,HWorkCenterID,HEquipID,HOrgID,HProcID) " + + "values(" + + "" + omodel.HYear.ToString() + + "," + omodel.HPeriod.ToString() + + ",'" + this.BillType + + "','" + this.HBillSubType + + "'," + omodel.HInterID + + ",'" + omodel.HDate + + "','" + omodel.HBillNo + + "','" + omodel.HRemark + + "','" + omodel.HMaker + + "',getdate()" + + "," + omodel.HDeptID + + "," + omodel.HEmpID + + ",'" + omodel.HSourceID + + "','" + omodel.HWorkCenterID + + "','" + omodel.HEquipID + + "','" + omodel.HOrgID + + "'," + omodel.HProcID + + ")"; + + oCn.RunProc(mainSql); + + //鎻掑叆瀛愯〃 + foreach (Model.ClsGy_SourceMouldBillSub oSub in DetailColl) + { + string subSql = "insert into Gy_SourceMouldBillSub" + + "" + + "" + + "" + + "(HInterID,HEntryID,HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType" + + ",HMouldID,HQty,HMouldQty,HRate) " + + " values(" + + "" + omodel.HInterID.ToString() + + "," + oSub.HEntryID.ToString() + + "," + oSub.HSourceInterID + + "," + oSub.HSourceEntryID + + ",'" + oSub.HSourceBillNo + + "','" + oSub.HSourceBillType + + "','" + oSub.HMouldID + + "'," + oSub.HQty + + "," + oSub.HMouldQty + + ",'" + oSub.HRate + + "')"; + oCn.RunProc(subSql); + } + sReturn = "鏂板鍗曟嵁鎴愬姛锛�"; + oCn.Commit(); + return true; + } + catch (Exception e) + { + sReturn = e.Message; + oCn.RollBack(); + throw (e); + } + } + #endregion + + #region 鏄剧ず鍗曟嵁 + public override bool ShowBill(Int64 lngBillKey, ref string sReturn) + { + try + { + //鏌ヨ涓昏〃 + DataSet Ds; + Ds = oCn.RunProcReturn("select * from Gy_SourceMouldBillMain Where HInterID = " + lngBillKey.ToString(), "Gy_SourceMouldBillMain"); + if (Ds.Tables[0].Rows.Count == 0) + { + sReturn = "鍗曟嵁鏈壘鍒帮紒"; + return false; + } + + //鍥哄畾璧嬪��=========================================== + omodel.HYear = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HYear"]); + omodel.HPeriod = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HPeriod"]); + omodel.HBillType = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HBillType"]); + omodel.HBillSubType = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HBillSubType"]); + omodel.HInterID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HInterID"]); + omodel.HDate = DBUtility.ClsPub.isDate(Ds.Tables[0].Rows[0]["HDate"]); + omodel.HBillNo = Ds.Tables[0].Rows[0]["HBillNo"].ToString().Trim(); + omodel.HBillStatus = DBUtility.ClsPub.isInt(Ds.Tables[0].Rows[0]["HBillStatus"]); + omodel.HCheckItemNowID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HCheckItemNowID"]); + omodel.HCheckItemNextID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HCheckItemNextID"]); + omodel.HCheckFlowID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HCheckFlowID"]); + omodel.HRemark = Ds.Tables[0].Rows[0]["HRemark"].ToString().Trim(); + omodel.HBackDate = Ds.Tables[0].Rows[0]["HBackDate"].ToString().Trim(); + omodel.HBacker = Ds.Tables[0].Rows[0]["HBacker"].ToString().Trim(); + omodel.HCheckDate = Ds.Tables[0].Rows[0]["HCheckDate"].ToString().Trim(); + omodel.HChecker = Ds.Tables[0].Rows[0]["HChecker"].ToString().Trim(); + omodel.HMaker = Ds.Tables[0].Rows[0]["HMaker"].ToString().Trim(); + omodel.HMakeDate = Ds.Tables[0].Rows[0]["HMakeDate"].ToString().Trim(); + omodel.HUpDateDate = Ds.Tables[0].Rows[0]["HUpDateDate"].ToString().Trim(); + omodel.HUpDater = Ds.Tables[0].Rows[0]["HUpDater"].ToString().Trim(); + omodel.HCloseDate = Ds.Tables[0].Rows[0]["HCloseDate"].ToString().Trim(); + omodel.HCloseMan = Ds.Tables[0].Rows[0]["HCloseMan"].ToString().Trim(); + omodel.HCloseType = DBUtility.ClsPub.isBool(Ds.Tables[0].Rows[0]["HCloseType"]); + omodel.HDeleteDate = Ds.Tables[0].Rows[0]["HDeleteDate"].ToString().Trim(); + omodel.HDeleteMan = Ds.Tables[0].Rows[0]["HDeleteMan"].ToString().Trim(); + //======================================================== + + omodel.HOrgID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HOrgID"]); + + + // + + //寰幆 + DataSet DsSub; + DsSub = oCn.RunProcReturn("select * from Gy_SourceMouldBillSub where HInterID = " + lngBillKey.ToString() + "order by HEntryID", "Gy_SourceMouldBillSub"); + DetailColl.Clear();//娓呯┖ + for (int i = 0; i < DsSub.Tables[0].Rows.Count; i++) + { + Model.ClsGy_SourceMouldBillSub oSub = new Model.ClsGy_SourceMouldBillSub(); + // 鍥哄畾璧嬪��=============================================== + oSub.HInterID = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HInterID"]); + oSub.HEntryID = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HEntryID"]); + oSub.HSourceInterID = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HSourceInterID"]); + oSub.HSourceEntryID = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HSourceEntryID"]); + oSub.HSourceBillType = DsSub.Tables[0].Rows[i]["HSourceBillType"].ToString().Trim(); + oSub.HSourceBillNo = DsSub.Tables[0].Rows[i]["HSourceBillNo"].ToString().Trim(); + oSub.HRelationQty = DBUtility.ClsPub.isDoule(DsSub.Tables[0].Rows[i]["HRelationQty"]); + oSub.HRelationMoney = DBUtility.ClsPub.isDoule(DsSub.Tables[0].Rows[i]["HRelationMoney"]); + oSub.HCloseMan = DBUtility.ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HCloseMan"]); + oSub.HCloseType = DBUtility.ClsPub.isBool(DsSub.Tables[0].Rows[i]["HCloseType"]); + oSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DsSub.Tables[0].Rows[i]["HEntryCloseDate"]); + oSub.HRemark = DsSub.Tables[0].Rows[i]["HRemark"].ToString().Trim(); + //=================================================== + + + DetailColl.Add(oSub); + } + sReturn = "鏄剧ず鍗曟嵁鎴愬姛锛�"; + return true; + } + catch (Exception e) + { + sReturn = e.Message; + throw (e); + } + } + #endregion + + } + +} diff --git a/Model/Model.csproj b/Model/Model.csproj index 594fa4d..cde9819 100644 --- a/Model/Model.csproj +++ b/Model/Model.csproj @@ -155,6 +155,8 @@ <Compile Include="鐢熶骇绠$悊\妯″叿绠$悊\ClsSc_MouldMaintainPlanBillSub_Plan.cs" /> <Compile Include="绯荤粺鍏敤\ClsXt_DefineBillMainSetSub.cs" /> <Compile Include="绯荤粺鍏敤\ClsXt_DefineBillMainSetMain.cs" /> + <Compile Include="璁″垝绠$悊\ClsGy_SourceMouldBillMain.cs" /> + <Compile Include="璁″垝绠$悊\ClsGy_SourceMouldBillSub.cs" /> <Compile Include="璐ㄦ绠$悊\ClsQC_EnvironmentTestDotCheckBillMain.cs" /> <Compile Include="璐ㄦ绠$悊\ClsQC_EnvironmentTestDotCheckBillSub.cs" /> <Compile Include="璐ㄦ绠$悊\ClsQC_MonthTarGetBillMain.cs" /> diff --git "a/Model/\350\256\241\345\210\222\347\256\241\347\220\206/ClsGy_SourceMouldBillMain.cs" "b/Model/\350\256\241\345\210\222\347\256\241\347\220\206/ClsGy_SourceMouldBillMain.cs" new file mode 100644 index 0000000..959d94e --- /dev/null +++ "b/Model/\350\256\241\345\210\222\347\256\241\347\220\206/ClsGy_SourceMouldBillMain.cs" @@ -0,0 +1,17 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Text; +namespace Model +{ + public class ClsGy_SourceMouldBillMain : DBUtility.ClsXt_BaseBillMain + { + public Int64 HOrgID; //int 缁勭粐 + public Int64 HDeptID; //int 閮ㄩ棬 + public Int64 HEmpID; //int 璐熻矗浜� + public Int64 HSourceID; //int 浜х嚎 + public Int64 HWorkCenterID; //int 宸ヤ綔涓績 + public Int64 HEquipID; //int 璁惧ID + + public Int64 HProcID; //宸ュ簭ID + } +} diff --git "a/Model/\350\256\241\345\210\222\347\256\241\347\220\206/ClsGy_SourceMouldBillSub.cs" "b/Model/\350\256\241\345\210\222\347\256\241\347\220\206/ClsGy_SourceMouldBillSub.cs" new file mode 100644 index 0000000..d1f52d2 --- /dev/null +++ "b/Model/\350\256\241\345\210\222\347\256\241\347\220\206/ClsGy_SourceMouldBillSub.cs" @@ -0,0 +1,14 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Text; + +namespace Model +{ + public class ClsGy_SourceMouldBillSub : DBUtility.ClsXt_BaseBillSub + { + public Int64 HMouldID; + public Int64 HMouldQty; + public decimal HQty; + public decimal HRate; + } +} diff --git a/WebAPI/Controllers/JHGL/Gy_SourceMouldBillController.cs b/WebAPI/Controllers/JHGL/Gy_SourceMouldBillController.cs new file mode 100644 index 0000000..4fd3b93 --- /dev/null +++ b/WebAPI/Controllers/JHGL/Gy_SourceMouldBillController.cs @@ -0,0 +1,648 @@ +锘縰sing DBUtility; +using Model; +using Newtonsoft.Json; +using Newtonsoft.Json.Linq; +using System; +using System.Collections.Generic; +using System.Data; +using System.Linq; +using System.Web; +using System.Web.Http; +using System.Windows.Forms; +using WebAPI.Models; + + +namespace WebAPI.Controllers.JHGL +{ + public class Gy_SourceMouldBillController : ApiController + { + private json objJsonResult = new json(); + public DataSet ds = new DataSet(); + SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); + public DAL.ClsGy_SourceMouldBillMain BillNew1 = new DAL.ClsGy_SourceMouldBillMain(); //浜у搧鍣ㄥ叿娓呭崟瀵瑰簲鍗曟嵁绫� + public DAL.ClsGy_SourceMouldBillMain BillOld1 = new DAL.ClsGy_SourceMouldBillMain(); + public DBUtility.ClsPub.Enum_BillStatus BillStatus;//鍗曟嵁鐘舵�侊紙鏂板锛屼慨鏀癸紝娴忚锛屾洿鏂板崟浠凤紝鍙樻洿锛� + + + #region 浜х嚎鍣ㄥ叿娓呭崟鍗曞垪琛� + [Route("Gy_SourceMouldBill/Gy_SourceMouldBillList")] + [HttpGet] + public object Gy_SourceMouldBillList(string sWhere, string user) + { + try + { + List<object> columnNameList = new List<object>(); + //鏌ヨ鏉冮檺 + if (!DBUtility.ClsPub.Security_Log("Gy_SourceMouldBill_Query", 1, false, user)) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鏃犳煡鐪嬫潈闄愶紒"; + objJsonResult.data = null; + return objJsonResult; + } + + if (sWhere == null || sWhere.Equals("")) + { + ds = oCN.RunProcReturn("select * from h_v_Gy_SourceMouldBillMainList order by 鍗曟嵁鍙� desc", "h_v_Gy_SourceMouldBillMainList"); + } + else + { + string sql1 = "select * from h_v_Gy_SourceMouldBillMainList where 1 = 1 "; + string sql = sql1 + sWhere + " order by 鍗曟嵁鍙� desc"; + ds = oCN.RunProcReturn(sql, "h_v_Gy_SourceMouldBillMainList"); + } + //娣诲姞鍒楀悕 + foreach (DataColumn col in ds.Tables[0].Columns) + { + Type dataType = col.DataType; + string ColmString = "{\"ColmCols\":\"" + col.ColumnName + "\",\"ColmType\":\"" + dataType.Name + "\"}"; + columnNameList.Add(JsonConvert.DeserializeObject(ColmString));//鑾峰彇鍒癉ataColumn鍒楀璞$殑鍒楀悕 + } + + + objJsonResult.code = "1"; + objJsonResult.count = 1; + objJsonResult.Message = "Sucess锛�"; + objJsonResult.data = ds.Tables[0]; + objJsonResult.list = columnNameList; + return objJsonResult; + } + catch (Exception ex) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "娌℃湁杩斿洖浠讳綍璁板綍锛�" + ex.ToString(); + objJsonResult.data = null; + return objJsonResult; + } + } + #endregion + + #region 浜у搧鍣ㄥ叿娓呭崟缂栬緫鏃惰幏鍙栬〃浣撴暟鎹� + [Route("Gy_SourceMouldBill/Gy_SourceMouldBillEditList")] + [HttpGet] + public object Gy_SourceMouldBillEditList(string HInterID, string User) + { + try + { + //鏌ョ湅鏉冮檺 + if (!DBUtility.ClsPub.Security_Log("Gy_SourceMouldBill_Edit", 1, false, User)) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鏃犳煡鐪嬫潈闄愶紒"; + objJsonResult.data = null; + return objJsonResult; + } + + if (HInterID == null || HInterID.Equals("")) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "HInterID涓嶈兘涓虹┖锛�"; + objJsonResult.data = null; + return objJsonResult; + } + + ds = oCN.RunProcReturn("select * from h_v_Gy_SourceMouldBill_Edit where HInterID = " + HInterID, "h_v_Gy_SourceMouldBill_Edit"); + + if (ds != null && ds.Tables.Count > 0) + { + objJsonResult.code = "1"; + objJsonResult.count = 1; + objJsonResult.Message = "Sucess锛�"; + objJsonResult.data = ds.Tables[0]; + return objJsonResult; + } + else + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "娌℃湁鏌ヨ鍒版暟鎹紒"; + objJsonResult.data = ""; + return objJsonResult; + } + } + catch (Exception e) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "Exception锛�" + e.ToString(); + objJsonResult.data = null; + return objJsonResult; + } + } + #endregion + + #region 浜у搧鍣ㄥ叿娓呭崟 淇濆瓨/缂栬緫 + /// <summary> + /// 淇濆瓨妯″叿缁翠慨鍗� + /// </summary> + /// <param name="msg"></param> + /// <returns></returns> + [Route("Gy_SourceMouldBill/SaveGy_SourceMouldBillMain")] + [HttpPost] + public object SaveGy_SourceMouldBillMain([FromBody] JObject sMainSub) + { + var _value = sMainSub["sMainSub"].ToString(); + string msg1 = _value.ToString(); + string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); + string msg2 = sArray[0].ToString(); + string msg3 = sArray[1].ToString(); //瀛愯〃 + string refSav = sArray[2].ToString();//鎿嶄綔鏂瑰紡鏁版嵁绫诲瀷 1娣诲姞 3淇敼 2 澶嶅埗 + string user = sArray[3].ToString();//鐢ㄦ埛鍚� + + string UserName = ""; + string s = ""; + ListModels oListModels = new ListModels(); + try + { + //淇濆瓨鏉冮檺 + if (!DBUtility.ClsPub.Security_Log_second("Gy_SourceMouldBill_Edit", 1, false, user)) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鏃犱繚瀛樻潈闄愶紒"; + objJsonResult.data = null; + return objJsonResult; + } + + DAL.ClsGy_SourceMouldBillMain oBill = new DAL.ClsGy_SourceMouldBillMain(); + List<Model.ClsGy_SourceMouldBillMain> lsmain = new List<Model.ClsGy_SourceMouldBillMain>(); + msg2 = msg2.Replace("\\", ""); + msg2 = msg2.Replace("\n", ""); //\n + lsmain = oListModels.getObjectByJson_Gy_SourceMouldBillMain(msg2); + foreach (Model.ClsGy_SourceMouldBillMain oItem in lsmain) + { + if (refSav == "Add") + { + //鍗曟嵁鍙锋槸鍚﹂噸澶� + if (BillNew1.IsExistBillNo(ref ClsPub.sExeReturnInfo, oItem.HBillNo, BillStatus, BillOld1.omodel.HInterID)) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鍗曟嵁鍙烽噸澶嶏紒涓嶅厑璁镐繚瀛橈紒"; + objJsonResult.data = 1; + return objJsonResult; + } + } + if (refSav == "Update") + { + if (BillOld1.ShowBill(oItem.HInterID, ref s) == false) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "姝ゅ崟鎹湁璇紒"; + objJsonResult.data = 1; + return objJsonResult; + } + //鍒ゆ柇鏄惁鍙紪杈� + if (BillOld1.omodel.HChecker != "" && BillOld1.omodel.HChecker != null) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "姝ゅ崟鎹凡缁忚瀹℃牳锛屼笉鍏佽淇敼锛�"; + objJsonResult.data = 1; + return objJsonResult; + } + if (BillOld1.omodel.HBillStatus > 1) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "姝ゅ崟鎹浜庝笉鍙紪杈戠姸鎬侊紝涓嶅厑璁镐慨鏀癸紒"; + objJsonResult.data = 1; + return objJsonResult; + } + if (!DBUtility.Xt_BaseBillFun.Fun_AllowEditBill(BillOld1, ref s)) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = s + "锛屼笉鍏佽淇敼"; + objJsonResult.data = 1; + return objJsonResult; + } + } + UserName = oItem.HMaker; //鍒跺崟浜� + oItem.HBillType = "4617"; + oItem.HBillSubType = "4617"; + + oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year); + oItem.HPeriod = DBUtility.ClsPub.isLong(DateTime.Now.Month); + oItem.HMakeDate = DBUtility.ClsPub.isStrNull(DateTime.Now.ToString("yyyy-MM-dd")); + + if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "") + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "淇濆瓨澶辫触锛佹病鏈夊崟鎹棩鏈燂紝鏃犳硶淇濆瓨锛�"; + objJsonResult.data = 1; + return objJsonResult; + } + oBill.omodel = oItem; + } + // 琛ㄤ綋鏁版嵁 + //鎸� },{鏉ユ媶鍒嗘暟缁� //鍘绘帀銆愬拰銆� + msg3 = msg3.Substring(1, msg3.Length - 2); + msg3 = msg3.Replace("\\", ""); + msg3 = msg3.Replace("\n", ""); //\n + List<Model.ClsGy_SourceMouldBillSub> ls = new List<Model.ClsGy_SourceMouldBillSub>(); + ls = oListModels.getObjectByJson_Gy_SourceMouldBillSub(msg3); + int i = 0; + foreach (Model.ClsGy_SourceMouldBillSub oItemSub in ls) + { + i++; + oItemSub.HEntryID = i; + + oItemSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DateTime.Now); + oItemSub.HCloseType = false; //鍏抽棴绫诲瀷 + + oBill.DetailColl.Add(oItemSub); + + } + //淇濆瓨 + //淇濆瓨瀹屾瘯鍚庡鐞� + bool bResult; + if (refSav == "Add") + { + + bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); + } + else if (refSav == "Update") + { + bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); + } + else + { + bResult = false; + } + if (bResult) + { + objJsonResult.code = "0"; + objJsonResult.count = 1; + objJsonResult.Message = "淇濆瓨鎴愬姛锛�"; + objJsonResult.data = 1; + return objJsonResult; + } + else + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "淇濆瓨澶辫触锛�" + DBUtility.ClsPub.sExeReturnInfo; + objJsonResult.data = 1; + return objJsonResult; + } + } + catch (Exception e) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "淇濆瓨澶辫触锛�" + e.ToString(); + objJsonResult.data = 1; + return objJsonResult; + } + } + #endregion + + #region 浜х嚎鍣ㄥ叿娓呭崟璁板綍鍒犻櫎鍔熻兘 + [Route("Gy_SourceMouldBill/DeleteGy_SourceMould")] + [HttpGet] + public object DeleteGy_SourceMould(string HInterID, string user) + { + try + { + //鍒犻櫎鏉冮檺 + if (!DBUtility.ClsPub.Security_Log("Gy_SourceMouldBill_Delete", 1, false, user)) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鏃犲垹闄ゆ潈闄愶紒"; + objJsonResult.data = null; + return objJsonResult; + } + + if (HInterID == null || HInterID.Equals("")) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "HInterID涓嶈兘涓虹┖锛�"; + objJsonResult.data = null; + return objJsonResult; + } + + oCN.BeginTran(); + + oCN.RunProc("delete from Gy_SourceMouldBillMain where HInterID = " + HInterID); + oCN.RunProc("delete from Gy_SourceMouldBillSub where HInterID = " + HInterID); + + oCN.Commit(); + + objJsonResult.code = "1"; + objJsonResult.count = 1; + objJsonResult.Message = "鍒犻櫎鎴愬姛锛�"; + objJsonResult.data = null; + return objJsonResult; + } + catch (Exception e) + { + oCN.RollBack(); + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "Exception锛�" + e.ToString(); + objJsonResult.data = null; + return objJsonResult; + } + } + #endregion + + #region 浜у搧鍣ㄥ叿娓呭崟鍒楄〃 瀹℃牳/鍙嶅鏍稿姛鑳� + [Route("Gy_SourceMouldBill/CheckGy_SourceMouldBillMain")] + [HttpGet] + public object CheckGy_SourceMouldBillMain(int HInterID, int IsAudit, string CurUserName) + { + DBUtility.ClsPub.CurUserName = CurUserName; + try + { + //瀹℃牳鏉冮檺 + if (!DBUtility.ClsPub.Security_Log_second("Gy_SourceMouldBill_Check", 1, false, CurUserName)) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "瀹℃牳澶辫触锛佹棤鏉冮檺锛�"; + objJsonResult.data = null; + return objJsonResult; + } + + //HInterID鏁版嵁鍒ゆ柇 + if (HInterID <= 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "HInterID灏忎簬0锛�"; + objJsonResult.data = null; + return objJsonResult; + } + + + Int64 lngBillKey = 0; + lngBillKey = DBUtility.ClsPub.isLong(HInterID); //瀵笻InterID杩涜绫诲瀷鐨勮浆鎹� + DAL.ClsGy_SourceMouldBillMain oBill = new DAL.ClsGy_SourceMouldBillMain(); //瀹炰緥鍖栧崟鎹搷浣滅被锛岀敤浜庤繘琛岀浉鍏虫搷浣� + + //閽堝闇�瑕佽繘琛岀殑鎿嶄綔锛屾楠屽綋鍓嶅崟鎹殑鐘舵�佹槸鍚︽敮鎸侀渶瑕佽繘琛岀殑鎿嶄綔 + if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo)) //鏍规嵁HInterID鑾峰彇璇ュ崟鎹殑鏁版嵁 + { + if (oBill.omodel.HCloseMan.Trim() != "") + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鍗曟嵁宸插叧闂�!涓嶈兘鍐嶆瀹℃牳锛�"; + objJsonResult.data = null; + return objJsonResult; + } + if (oBill.omodel.HDeleteMan.Trim() != "") + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鍗曟嵁宸蹭綔搴�!涓嶈兘鍐嶆瀹℃牳锛�"; + objJsonResult.data = null; + return objJsonResult; + } + if (IsAudit == 0) //瀹℃牳鍒ゆ柇 + { + if (oBill.omodel.HChecker.Trim() != "") + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鍗曟嵁宸插鏍�!涓嶈兘鍐嶆瀹℃牳锛�"; + objJsonResult.data = null; + return objJsonResult; + } + } + if (IsAudit == 1) //鍙嶅鏍稿垽鏂� + { + if (oBill.omodel.HChecker.Trim() == "") + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鍗曟嵁鏈鏍�!涓嶉渶瑕佸弽瀹℃牳!"; + objJsonResult.data = null; + return objJsonResult; + } + } + } + else + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鍗曟嵁涓嶅瓨鍦�!鍘熷洜:" + DBUtility.ClsPub.sExeReturnInfo; + objJsonResult.data = null; + return objJsonResult; + } + + + //杩涜闇�瑕佽繘琛岀殑瀹℃牳/鍙嶅鏍告搷浣� + if (IsAudit == 0) //瀹℃牳鎻愪氦 + { + oCN.BeginTran(); + + //璁板綍杩斿洖淇℃伅 + string msg = ""; + + + + //瀹℃牳鍓嶆帶鍒�========================================= + string sql1 = "exec h_p_Gy_SourceMouldBill_BeforeCheckCtrl " + oBill.omodel.HInterID + ",'" + oBill.omodel.HBillNo + "','" + CurUserName + "'"; + ds = oCN.RunProcReturn(sql1, "h_p_Gy_SourceMouldBill_BeforeCheckCtrl"); + if (ds == null || ds.Tables.Count == 0 || ds.Tables[0].Rows.Count == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 1; + objJsonResult.Message = "瀹℃牳澶辫触!鍘熷洜:瀹℃牳鍓嶅垽鏂け璐ワ紝璇蜂笌缃戠粶绠$悊浜哄憳鑱旂郴"; + objJsonResult.data = null; + oCN.RollBack(); + return objJsonResult; + } + + if (ds.Tables[0].Rows[0]["HBack"].ToString() != "0") + { + objJsonResult.code = "0"; + objJsonResult.count = 1; + objJsonResult.Message = "瀹℃牳澶辫触!鍘熷洜:" + ds.Tables[0].Rows[0]["HRemark"].ToString(); ; + objJsonResult.data = null; + oCN.RollBack(); + return objJsonResult; + } + //================================================================================== + + //瀹℃牳鎻愪氦 + if (oBill.CheckBill(oBill.omodel.HInterID, oBill.omodel.HBillNo, "h_p_Gy_SourceMouldBill_AfterCheckCtrl", CurUserName, ref DBUtility.ClsPub.sExeReturnInfo) == true) + { + oCN.Commit(); + + objJsonResult.code = "1"; + objJsonResult.count = 1; + objJsonResult.Message = "瀹℃牳鎴愬姛锛�" + msg; + objJsonResult.data = null; + return objJsonResult; + } + else + { + oCN.RollBack(); + + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "瀹℃牳澶辫触!鍘熷洜:" + DBUtility.ClsPub.sExeReturnInfo; + objJsonResult.data = null; + return objJsonResult; + } + } + if (IsAudit == 1) //鍙嶅鏍告彁浜� + { + + //鍙嶅鏍稿墠鎺у埗========================================= + string sql1 = "exec h_p_Gy_SourceMouldBill_BeforeUnCheckCtrl " + oBill.omodel.HInterID + ",'" + oBill.omodel.HBillNo + "','" + CurUserName + "'"; + ds = oCN.RunProcReturn(sql1, "h_p_Gy_SourceMouldBill_BeforeUnCheckCtrl"); + if (ds == null || ds.Tables.Count == 0 || ds.Tables[0].Rows.Count == 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 1; + objJsonResult.Message = "鍙嶅鏍稿け璐�!鍘熷洜:鍙嶅鏍稿墠鍒ゆ柇澶辫触锛岃涓庣綉缁滅鐞嗕汉鍛樿仈绯�"; + objJsonResult.data = null; + return objJsonResult; + + } + if (ds.Tables[0].Rows[0]["HBack"].ToString() != "0") + { + objJsonResult.code = "0"; + objJsonResult.count = 1; + objJsonResult.Message = "鍙嶅鏍稿け璐�!鍘熷洜:" + ds.Tables[0].Rows[0]["HRemark"].ToString(); ; + objJsonResult.data = null; + return objJsonResult; + } + //=========================================================== + + //鍙嶅鏍告彁浜bandonCheck + if (oBill.AbandonCheck(oBill.omodel.HInterID, oBill.omodel.HBillNo, "h_p_Gy_SourceMouldBill_AfterUnCheckCtrl", CurUserName, ref DBUtility.ClsPub.sExeReturnInfo) == true) + { + objJsonResult.code = "1"; + objJsonResult.count = 1; + objJsonResult.Message = "鍙嶅鏍告垚鍔�"; + objJsonResult.data = null; + return objJsonResult; + } + else + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鍙嶅鏍稿け璐�!鍘熷洜:" + DBUtility.ClsPub.sExeReturnInfo; + objJsonResult.data = null; + return objJsonResult; + } + } + return objJsonResult; + } + catch (Exception e) + { + oCN.RollBack(); + + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "瀹℃牳澶辫触鎴栬�呭弽瀹℃牳澶辫触锛�" + e.ToString(); + objJsonResult.data = null; + return objJsonResult; + } + + } + #endregion + + #region 浜х嚎鍣ㄥ叿娓呭崟鍒楄〃 鍏抽棴/鍙嶅叧闂姛鑳� + [Route("Gy_SourceMouldBill/CloseGy_SourceMouldBillMain")] + [HttpGet] + public object CloseGy_SourceMouldBillMain(string HInterID, int IsAudit, string user) + { + try + { + //鍒ゆ柇鏄惁鏈夊叧闂潈闄� + if (!DBUtility.ClsPub.Security_Log("Gy_SourceMouldBill_Close", 1, false, user)) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鏃犳潈闄愬叧闂�!"; + objJsonResult.data = null; + return objJsonResult; + } + + + var ds = oCN.RunProcReturn("select * from Gy_SourceMouldBillMain where HInterID=" + HInterID, "Gy_SourceMouldBillMain"); + if (ds.Tables[0].Rows.Count > 0) + { + if (IsAudit == 0) //鍏抽棴鍒ゆ柇 + { + if (ds.Tables[0].Rows[0]["HCloseMan"].ToString() != "") + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鍗曟嵁宸插叧闂�!涓嶈兘鍐嶆鍏抽棴锛�"; + objJsonResult.data = null; + return objJsonResult; + } + } + if (IsAudit == 1) //鍙嶅叧闂垽鏂� + { + if (ds.Tables[0].Rows[0]["HCloseMan"].ToString() == "") + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鍗曟嵁鏈叧闂�!涓嶉渶瑕佸弽鍏抽棴!"; + objJsonResult.data = null; + return objJsonResult; + } + } + } + else + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鍗曟嵁涓嶅瓨鍦�!"; + objJsonResult.data = null; + return objJsonResult; + } + + oCN.BeginTran(); + + if (IsAudit == 0) //鍏抽棴鍒ゆ柇 + { + oCN.RunProc("update Gy_SourceMouldBillMain set HCloseMan='" + user + "',HCloseDate=getdate() where HInterID=" + HInterID); + + objJsonResult.code = "1"; + objJsonResult.count = 1; + objJsonResult.Message = "鍏抽棴鎴愬姛"; + objJsonResult.data = null; + } + if (IsAudit == 1) //鍙嶅鏍稿垽鏂� + { + oCN.RunProc("update Gy_SourceMouldBillMain set HCloseMan='',HCloseDate=null where HInterID=" + HInterID); + + objJsonResult.code = "1"; + objJsonResult.count = 1; + objJsonResult.Message = "鍙嶅叧闂垚鍔�"; + objJsonResult.data = null; + } + oCN.Commit(); + + return objJsonResult; + + } + catch (Exception e) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鎵ц澶辫触锛�" + e.ToString(); + objJsonResult.data = null; + return objJsonResult; + } + } + #endregion + + } +} diff --git "a/WebAPI/Controllers/\346\235\241\347\240\201\347\256\241\347\220\206/WEBSController.cs" "b/WebAPI/Controllers/\346\235\241\347\240\201\347\256\241\347\220\206/WEBSController.cs" index b422d37..6f9dd00 100644 --- "a/WebAPI/Controllers/\346\235\241\347\240\201\347\256\241\347\220\206/WEBSController.cs" +++ "b/WebAPI/Controllers/\346\235\241\347\240\201\347\256\241\347\220\206/WEBSController.cs" @@ -3871,6 +3871,92 @@ #endregion + #region 閿�鍞��璐� 涓婁紶鐢熷崟 + + #region 閿�鍞��璐� 鏂板妯″紡 + + /// <summary> + /// 閿�鍞��璐ф柊澧炰笂浼� + /// </summary> + /// <returns></returns> + [Route("WEBSController/set_SaveSellOutBackBill_Json")] + [HttpPost] + public object set_SaveSellOutBackBill_Json([FromBody] JObject oMain) + { + var _value = oMain["oMain"].ToString(); + string msg1 = _value.ToString(); + try + { + List<Model.ClsKf_ICStockBillMain> lsmain = new List<Model.ClsKf_ICStockBillMain>(); + ListModels oListModels = new ListModels(); + lsmain = oListModels.getICStockBillMainByJson(msg1); + WebS.ClsKf_ICStockBillMain websLsmain = new WebS.ClsKf_ICStockBillMain(); + string sSourceType = lsmain[0].HMainSourceBillType; + websLsmain.HInterID = lsmain[0].HInterID; + websLsmain.HBillNo = lsmain[0].HBillNo; + websLsmain.HBillType = lsmain[0].HBillType; + websLsmain.HDate = lsmain[0].HDate; + websLsmain.HDeptID = lsmain[0].HDeptID; + websLsmain.HWHID = lsmain[0].HWHID; + websLsmain.HSCWHID = lsmain[0].HSCWHID; + websLsmain.HSupID = lsmain[0].HSupID; + websLsmain.HKeeperID = lsmain[0].HKeeperID; + websLsmain.HSecManagerID = lsmain[0].HSecManagerID; + websLsmain.HEmpID = lsmain[0].HEmpID; + websLsmain.HManagerID = lsmain[0].HManagerID; + websLsmain.HRemark = lsmain[0].HRemark; + websLsmain.HExplanation = lsmain[0].HExplanation; + websLsmain.HInnerBillNo = lsmain[0].HInnerBillNo; + websLsmain.HRedBlueFlag = lsmain[0].HRedBlueFlag; + websLsmain.HBillSubType = lsmain[0].HBillSubType; + if (lsmain[0].HMainSourceBillType == "1403") + { + websLsmain.HMainSourceBillType = "閫�璐ч�氱煡鍗�"; + } + else if (lsmain[0].HMainSourceBillType == "1401") + { + websLsmain.HMainSourceBillType = "閿�鍞鍗�"; + } + else + { + websLsmain.HMainSourceBillType = "鎵嬪伐褰曞叆"; + } + websLsmain.HMaker = lsmain[0].HMaker; + websLsmain.HBillerID = lsmain[0].HBillerID; + websLsmain.HSTOCKORGID = lsmain[0].HSTOCKORGID; + websLsmain.HOWNERID = lsmain[0].HSTOCKORGID; + + if (oWebs.set_SaveSellOutBackBill_New(websLsmain, sSourceType, ref DBUtility.ClsPub.sErrInfo)) + { + objJsonResult.code = "0"; + objJsonResult.count = 1; + objJsonResult.Message = DBUtility.ClsPub.sErrInfo; //鎴愬姛锛� + objJsonResult.data = null; + return objJsonResult; + } + else + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = DBUtility.ClsPub.sErrInfo; //澶辫触锛� + objJsonResult.data = null; + return objJsonResult; + } + } + catch (Exception e) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "閿�鍞��璐у崟涓婁紶澶辫触锛�" + e.ToString(); + objJsonResult.data = null; + return objJsonResult; + } + } + + #endregion + + #endregion + #region 鐢熶骇缁勬墭鍗� 涓婁紶鐢熷崟 /// <summary> @@ -4719,6 +4805,48 @@ #endregion + #region 閿�鍞��璐� 鎵弿婧愬崟鏉$爜 + + /// <summary> + /// 閿�鍞��璐� 鎵弿婧愬崟鏉$爜 + /// </summary> + /// <returns></returns> + [Route("WEBSController/Get_SourceBarCode_SellOutBack_Json")] + [HttpGet] + public object Get_SourceBarCode_SellOutBack_Json(Int64 HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, Int64 HStockOrgID) + { + try + { + WebSoBar = oWebs.get_SourceBarCode_SellOutBack(HInterID, HBillNo, HBillType, HSourceBillNo, HSourceBillType, HMaker, HStockOrgID, ref DBUtility.ClsPub.sErrInfo); + if (WebSoBar == null) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = DBUtility.ClsPub.sErrInfo; + objJsonResult.data = null; + return objJsonResult; + } + else + { + objJsonResult.code = "0"; + objJsonResult.count = 1; + objJsonResult.Message = "鎴愬姛"; + objJsonResult.data = WebSoBar; + return objJsonResult; + } + } + catch (Exception e) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鎵弿婧愬崟鏉$爜澶辫触锛�" + e.ToString(); + objJsonResult.data = null; + return objJsonResult; + } + } + + #endregion + #endregion diff --git a/WebAPI/ListModels.cs b/WebAPI/ListModels.cs index 201b0bd..8d41335 100644 --- a/WebAPI/ListModels.cs +++ b/WebAPI/ListModels.cs @@ -1637,6 +1637,30 @@ } /// <summary> + /// 澶勭悊鏂板浜х嚎鍣ㄥ叿娓呭崟琛ㄧ殑json + /// </summary> + /// <param name="jsonString"></param> + /// <returns></returns> + public List<Model.ClsGy_SourceMouldBillMain> getObjectByJson_Gy_SourceMouldBillMain(string jsonString) + { + jsonString = "[" + jsonString.ToString() + "]"; + List<Model.ClsGy_SourceMouldBillMain> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsGy_SourceMouldBillMain>>(jsonString); + return list; + } + + /// <summary> + /// 澶勭悊鏂板浜х嚎鍣ㄥ叿娓呭崟瀛愯〃鐨刯son + /// </summary> + /// <param name="jsonString"></param> + /// <returns></returns> + public List<Model.ClsGy_SourceMouldBillSub> getObjectByJson_Gy_SourceMouldBillSub(string jsonString) + { + jsonString = "[" + jsonString.ToString() + "]"; + List<Model.ClsGy_SourceMouldBillSub> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsGy_SourceMouldBillSub>>(jsonString); + return list; + } + + /// <summary> /// 澶勭悊鏂板浜у搧宸ヨ壓鍙傛暟娓呭崟琛ㄧ殑json /// </summary> /// <param name="jsonString"></param> diff --git a/WebAPI/Web References/WebS/Reference.cs b/WebAPI/Web References/WebS/Reference.cs index 9d1a960..f4be136 100644 --- a/WebAPI/Web References/WebS/Reference.cs +++ b/WebAPI/Web References/WebS/Reference.cs @@ -34,7 +34,11 @@ [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsXt_BaseBillMain))] public partial class WebService1 : System.Web.Services.Protocols.SoapHttpClientProtocol { + private System.Threading.SendOrPostCallback get_SourceBarCode_POStockInBackOperationCompleted; + private System.Threading.SendOrPostCallback get_SourceBarCode_MateOutBackOperationCompleted; + + private System.Threading.SendOrPostCallback get_SourceBarCode_SellOutBackOperationCompleted; private System.Threading.SendOrPostCallback get_BarCodeOperationCompleted; @@ -197,6 +201,8 @@ private System.Threading.SendOrPostCallback DeleteMouldOperationCompleted; private System.Threading.SendOrPostCallback set_SavePonderationBillMain_Temp_BarCode_MouldOperationCompleted; + + private System.Threading.SendOrPostCallback get_ORGANIZATIONS_UserByOrgRelationOperationCompleted; private System.Threading.SendOrPostCallback get_ORGANIZATIONSIDByNameOperationCompleted; @@ -364,7 +370,7 @@ private System.Threading.SendOrPostCallback get_SourceBarCode_MoveStockStepInOperationCompleted; - private System.Threading.SendOrPostCallback get_SourceBarCode_POStockInBackOperationCompleted; + private System.Threading.SendOrPostCallback set_CheckEntrustInBillOperationCompleted; private System.Threading.SendOrPostCallback set_AuditEntrustInBillOperationCompleted; @@ -496,7 +502,7 @@ private System.Threading.SendOrPostCallback get_ORGANIZATIONSOperationCompleted; - private System.Threading.SendOrPostCallback get_ORGANIZATIONS_UserByOrgRelationOperationCompleted; + private System.Threading.SendOrPostCallback set_SaveEntrustOutBill_NewOperationCompleted; private System.Threading.SendOrPostCallback set_SaveEntrustOutBill_CLD_NewOperationCompleted; @@ -592,7 +598,7 @@ private System.Threading.SendOrPostCallback set_CheckAddEntrustInBillOperationCompleted; - private System.Threading.SendOrPostCallback set_CheckEntrustInBillOperationCompleted; + private System.Threading.SendOrPostCallback set_SaveMoveStockStepOutBill_CLD_NewOperationCompleted; private System.Threading.SendOrPostCallback set_SaveMoveStockStepInBill_NewOperationCompleted; @@ -691,8 +697,6 @@ private System.Threading.SendOrPostCallback set_AuditEntrustOutBillOperationCompleted; private System.Threading.SendOrPostCallback GetKf_EntrustOutBill_K3_SourceOperationCompleted; - - private System.Threading.SendOrPostCallback set_SaveEntrustOutBill_NewOperationCompleted; private System.Threading.SendOrPostCallback set_ClearPonderationBillMain_Temp_ChangGuiOperationCompleted; @@ -824,11 +828,7 @@ private System.Threading.SendOrPostCallback set_SaveMoveStockBill_BillCheckOperationCompleted; - private System.Threading.SendOrPostCallback set_SaveMoveStockBill_CLD_BillCheckOperationCompleted; - private System.Threading.SendOrPostCallback set_SaveMoveStockStepOutBill_NewOperationCompleted; - - private System.Threading.SendOrPostCallback set_SaveMoveStockStepOutBill_CLD_NewOperationCompleted; private System.Threading.SendOrPostCallback GetSc_ICMOBillListOperationCompleted; @@ -1209,7 +1209,13 @@ } /// <remarks/> + public event get_SourceBarCode_POStockInBackCompletedEventHandler get_SourceBarCode_POStockInBackCompleted; + + /// <remarks/> public event get_SourceBarCode_MateOutBackCompletedEventHandler get_SourceBarCode_MateOutBackCompleted; + + /// <remarks/> + public event get_SourceBarCode_SellOutBackCompletedEventHandler get_SourceBarCode_SellOutBackCompleted; /// <remarks/> public event get_BarCodeCompletedEventHandler get_BarCodeCompleted; @@ -1453,6 +1459,9 @@ /// <remarks/> public event set_SavePonderationBillMain_Temp_BarCode_MouldCompletedEventHandler set_SavePonderationBillMain_Temp_BarCode_MouldCompleted; + + /// <remarks/> + public event get_ORGANIZATIONS_UserByOrgRelationCompletedEventHandler get_ORGANIZATIONS_UserByOrgRelationCompleted; /// <remarks/> public event get_ORGANIZATIONSIDByNameCompletedEventHandler get_ORGANIZATIONSIDByNameCompleted; @@ -1704,7 +1713,7 @@ public event get_SourceBarCode_MoveStockStepInCompletedEventHandler get_SourceBarCode_MoveStockStepInCompleted; /// <remarks/> - public event get_SourceBarCode_POStockInBackCompletedEventHandler get_SourceBarCode_POStockInBackCompleted; + public event set_CheckEntrustInBillCompletedEventHandler set_CheckEntrustInBillCompleted; /// <remarks/> public event set_AuditEntrustInBillCompletedEventHandler set_AuditEntrustInBillCompleted; @@ -1902,7 +1911,7 @@ public event get_ORGANIZATIONSCompletedEventHandler get_ORGANIZATIONSCompleted; /// <remarks/> - public event get_ORGANIZATIONS_UserByOrgRelationCompletedEventHandler get_ORGANIZATIONS_UserByOrgRelationCompleted; + public event set_SaveEntrustOutBill_NewCompletedEventHandler set_SaveEntrustOutBill_NewCompleted; /// <remarks/> public event set_SaveEntrustOutBill_CLD_NewCompletedEventHandler set_SaveEntrustOutBill_CLD_NewCompleted; @@ -2046,7 +2055,7 @@ public event set_CheckAddEntrustInBillCompletedEventHandler set_CheckAddEntrustInBillCompleted; /// <remarks/> - public event set_CheckEntrustInBillCompletedEventHandler set_CheckEntrustInBillCompleted; + public event set_SaveMoveStockStepOutBill_CLD_NewCompletedEventHandler set_SaveMoveStockStepOutBill_CLD_NewCompleted; /// <remarks/> public event set_SaveMoveStockStepInBill_NewCompletedEventHandler set_SaveMoveStockStepInBill_NewCompleted; @@ -2194,9 +2203,6 @@ /// <remarks/> public event GetKf_EntrustOutBill_K3_SourceCompletedEventHandler GetKf_EntrustOutBill_K3_SourceCompleted; - - /// <remarks/> - public event set_SaveEntrustOutBill_NewCompletedEventHandler set_SaveEntrustOutBill_NewCompleted; /// <remarks/> public event set_ClearPonderationBillMain_Temp_ChangGuiCompletedEventHandler set_ClearPonderationBillMain_Temp_ChangGuiCompleted; @@ -2394,13 +2400,7 @@ public event set_SaveMoveStockBill_BillCheckCompletedEventHandler set_SaveMoveStockBill_BillCheckCompleted; /// <remarks/> - public event set_SaveMoveStockBill_CLD_BillCheckCompletedEventHandler set_SaveMoveStockBill_CLD_BillCheckCompleted; - - /// <remarks/> public event set_SaveMoveStockStepOutBill_NewCompletedEventHandler set_SaveMoveStockStepOutBill_NewCompleted; - - /// <remarks/> - public event set_SaveMoveStockStepOutBill_CLD_NewCompletedEventHandler set_SaveMoveStockStepOutBill_CLD_NewCompleted; /// <remarks/> public event GetSc_ICMOBillListCompletedEventHandler GetSc_ICMOBillListCompleted; @@ -2913,6 +2913,50 @@ public event GetSc_ICMOBackBillListCompletedEventHandler GetSc_ICMOBackBillListCompleted; /// <remarks/> + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/get_SourceBarCode_POStockInBack", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public ClsKf_ICStockBill_WMS get_SourceBarCode_POStockInBack(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, ref string sErrMsg) { + object[] results = this.Invoke("get_SourceBarCode_POStockInBack", new object[] { + HInterID, + HBillNo, + HBillType, + HSourceBillNo, + HSourceBillType, + HMaker, + HStockOrgID, + sErrMsg}); + sErrMsg = ((string)(results[1])); + return ((ClsKf_ICStockBill_WMS)(results[0])); + } + + /// <remarks/> + public void get_SourceBarCode_POStockInBackAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, string sErrMsg) { + this.get_SourceBarCode_POStockInBackAsync(HInterID, HBillNo, HBillType, HSourceBillNo, HSourceBillType, HMaker, HStockOrgID, sErrMsg, null); + } + + /// <remarks/> + public void get_SourceBarCode_POStockInBackAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, string sErrMsg, object userState) { + if ((this.get_SourceBarCode_POStockInBackOperationCompleted == null)) { + this.get_SourceBarCode_POStockInBackOperationCompleted = new System.Threading.SendOrPostCallback(this.Onget_SourceBarCode_POStockInBackOperationCompleted); + } + this.InvokeAsync("get_SourceBarCode_POStockInBack", new object[] { + HInterID, + HBillNo, + HBillType, + HSourceBillNo, + HSourceBillType, + HMaker, + HStockOrgID, + sErrMsg}, this.get_SourceBarCode_POStockInBackOperationCompleted, userState); + } + + private void Onget_SourceBarCode_POStockInBackOperationCompleted(object arg) { + if ((this.get_SourceBarCode_POStockInBackCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.get_SourceBarCode_POStockInBackCompleted(this, new get_SourceBarCode_POStockInBackCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// <remarks/> [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/get_SourceBarCode_MateOutBack", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public ClsKf_ICStockBill_WMS get_SourceBarCode_MateOutBack(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, ref string sErrMsg) { object[] results = this.Invoke("get_SourceBarCode_MateOutBack", new object[] { @@ -2953,6 +2997,50 @@ if ((this.get_SourceBarCode_MateOutBackCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.get_SourceBarCode_MateOutBackCompleted(this, new get_SourceBarCode_MateOutBackCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// <remarks/> + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/get_SourceBarCode_SellOutBack", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public ClsKf_ICStockBill_WMS get_SourceBarCode_SellOutBack(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, ref string sErrMsg) { + object[] results = this.Invoke("get_SourceBarCode_SellOutBack", new object[] { + HInterID, + HBillNo, + HBillType, + HSourceBillNo, + HSourceBillType, + HMaker, + HStockOrgID, + sErrMsg}); + sErrMsg = ((string)(results[1])); + return ((ClsKf_ICStockBill_WMS)(results[0])); + } + + /// <remarks/> + public void get_SourceBarCode_SellOutBackAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, string sErrMsg) { + this.get_SourceBarCode_SellOutBackAsync(HInterID, HBillNo, HBillType, HSourceBillNo, HSourceBillType, HMaker, HStockOrgID, sErrMsg, null); + } + + /// <remarks/> + public void get_SourceBarCode_SellOutBackAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, string sErrMsg, object userState) { + if ((this.get_SourceBarCode_SellOutBackOperationCompleted == null)) { + this.get_SourceBarCode_SellOutBackOperationCompleted = new System.Threading.SendOrPostCallback(this.Onget_SourceBarCode_SellOutBackOperationCompleted); + } + this.InvokeAsync("get_SourceBarCode_SellOutBack", new object[] { + HInterID, + HBillNo, + HBillType, + HSourceBillNo, + HSourceBillType, + HMaker, + HStockOrgID, + sErrMsg}, this.get_SourceBarCode_SellOutBackOperationCompleted, userState); + } + + private void Onget_SourceBarCode_SellOutBackOperationCompleted(object arg) { + if ((this.get_SourceBarCode_SellOutBackCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.get_SourceBarCode_SellOutBackCompleted(this, new get_SourceBarCode_SellOutBackCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } @@ -6837,6 +6925,37 @@ if ((this.set_SavePonderationBillMain_Temp_BarCode_MouldCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.set_SavePonderationBillMain_Temp_BarCode_MouldCompleted(this, new set_SavePonderationBillMain_Temp_BarCode_MouldCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// <remarks/> + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/get_ORGANIZATIONS_UserByOrgRelation", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public System.Data.DataSet get_ORGANIZATIONS_UserByOrgRelation(string HUserNumber, string HOrgName) { + object[] results = this.Invoke("get_ORGANIZATIONS_UserByOrgRelation", new object[] { + HUserNumber, + HOrgName}); + return ((System.Data.DataSet)(results[0])); + } + + /// <remarks/> + public void get_ORGANIZATIONS_UserByOrgRelationAsync(string HUserNumber, string HOrgName) { + this.get_ORGANIZATIONS_UserByOrgRelationAsync(HUserNumber, HOrgName, null); + } + + /// <remarks/> + public void get_ORGANIZATIONS_UserByOrgRelationAsync(string HUserNumber, string HOrgName, object userState) { + if ((this.get_ORGANIZATIONS_UserByOrgRelationOperationCompleted == null)) { + this.get_ORGANIZATIONS_UserByOrgRelationOperationCompleted = new System.Threading.SendOrPostCallback(this.Onget_ORGANIZATIONS_UserByOrgRelationOperationCompleted); + } + this.InvokeAsync("get_ORGANIZATIONS_UserByOrgRelation", new object[] { + HUserNumber, + HOrgName}, this.get_ORGANIZATIONS_UserByOrgRelationOperationCompleted, userState); + } + + private void Onget_ORGANIZATIONS_UserByOrgRelationOperationCompleted(object arg) { + if ((this.get_ORGANIZATIONS_UserByOrgRelationCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.get_ORGANIZATIONS_UserByOrgRelationCompleted(this, new get_ORGANIZATIONS_UserByOrgRelationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } @@ -11001,46 +11120,34 @@ } /// <remarks/> - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/get_SourceBarCode_POStockInBack", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public ClsKf_ICStockBill_WMS get_SourceBarCode_POStockInBack(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, ref string sErrMsg) { - object[] results = this.Invoke("get_SourceBarCode_POStockInBack", new object[] { - HInterID, - HBillNo, - HBillType, - HSourceBillNo, - HSourceBillType, - HMaker, - HStockOrgID, + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_CheckEntrustInBill", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public bool set_CheckEntrustInBill(ClsKf_EntrustInBillMain_K3 oMain, ref string sErrMsg) { + object[] results = this.Invoke("set_CheckEntrustInBill", new object[] { + oMain, sErrMsg}); sErrMsg = ((string)(results[1])); - return ((ClsKf_ICStockBill_WMS)(results[0])); + return ((bool)(results[0])); } /// <remarks/> - public void get_SourceBarCode_POStockInBackAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, string sErrMsg) { - this.get_SourceBarCode_POStockInBackAsync(HInterID, HBillNo, HBillType, HSourceBillNo, HSourceBillType, HMaker, HStockOrgID, sErrMsg, null); + public void set_CheckEntrustInBillAsync(ClsKf_EntrustInBillMain_K3 oMain, string sErrMsg) { + this.set_CheckEntrustInBillAsync(oMain, sErrMsg, null); } /// <remarks/> - public void get_SourceBarCode_POStockInBackAsync(long HInterID, string HBillNo, string HBillType, string HSourceBillNo, string HSourceBillType, string HMaker, long HStockOrgID, string sErrMsg, object userState) { - if ((this.get_SourceBarCode_POStockInBackOperationCompleted == null)) { - this.get_SourceBarCode_POStockInBackOperationCompleted = new System.Threading.SendOrPostCallback(this.Onget_SourceBarCode_POStockInBackOperationCompleted); + public void set_CheckEntrustInBillAsync(ClsKf_EntrustInBillMain_K3 oMain, string sErrMsg, object userState) { + if ((this.set_CheckEntrustInBillOperationCompleted == null)) { + this.set_CheckEntrustInBillOperationCompleted = new System.Threading.SendOrPostCallback(this.Onset_CheckEntrustInBillOperationCompleted); } - this.InvokeAsync("get_SourceBarCode_POStockInBack", new object[] { - HInterID, - HBillNo, - HBillType, - HSourceBillNo, - HSourceBillType, - HMaker, - HStockOrgID, - sErrMsg}, this.get_SourceBarCode_POStockInBackOperationCompleted, userState); + this.InvokeAsync("set_CheckEntrustInBill", new object[] { + oMain, + sErrMsg}, this.set_CheckEntrustInBillOperationCompleted, userState); } - private void Onget_SourceBarCode_POStockInBackOperationCompleted(object arg) { - if ((this.get_SourceBarCode_POStockInBackCompleted != null)) { + private void Onset_CheckEntrustInBillOperationCompleted(object arg) { + if ((this.set_CheckEntrustInBillCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.get_SourceBarCode_POStockInBackCompleted(this, new get_SourceBarCode_POStockInBackCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + this.set_CheckEntrustInBillCompleted(this, new set_CheckEntrustInBillCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } @@ -13274,33 +13381,36 @@ } /// <remarks/> - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/get_ORGANIZATIONS_UserByOrgRelation", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public System.Data.DataSet get_ORGANIZATIONS_UserByOrgRelation(string HUserNumber, string HOrgName) { - object[] results = this.Invoke("get_ORGANIZATIONS_UserByOrgRelation", new object[] { - HUserNumber, - HOrgName}); - return ((System.Data.DataSet)(results[0])); + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_SaveEntrustOutBill_New", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public bool set_SaveEntrustOutBill_New(ClsKf_EntrustOutBillMain oMain, string sHSourceType, ref string sErrMsg) { + object[] results = this.Invoke("set_SaveEntrustOutBill_New", new object[] { + oMain, + sHSourceType, + sErrMsg}); + sErrMsg = ((string)(results[1])); + return ((bool)(results[0])); } /// <remarks/> - public void get_ORGANIZATIONS_UserByOrgRelationAsync(string HUserNumber, string HOrgName) { - this.get_ORGANIZATIONS_UserByOrgRelationAsync(HUserNumber, HOrgName, null); + public void set_SaveEntrustOutBill_NewAsync(ClsKf_EntrustOutBillMain oMain, string sHSourceType, string sErrMsg) { + this.set_SaveEntrustOutBill_NewAsync(oMain, sHSourceType, sErrMsg, null); } /// <remarks/> - public void get_ORGANIZATIONS_UserByOrgRelationAsync(string HUserNumber, string HOrgName, object userState) { - if ((this.get_ORGANIZATIONS_UserByOrgRelationOperationCompleted == null)) { - this.get_ORGANIZATIONS_UserByOrgRelationOperationCompleted = new System.Threading.SendOrPostCallback(this.Onget_ORGANIZATIONS_UserByOrgRelationOperationCompleted); + public void set_SaveEntrustOutBill_NewAsync(ClsKf_EntrustOutBillMain oMain, string sHSourceType, string sErrMsg, object userState) { + if ((this.set_SaveEntrustOutBill_NewOperationCompleted == null)) { + this.set_SaveEntrustOutBill_NewOperationCompleted = new System.Threading.SendOrPostCallback(this.Onset_SaveEntrustOutBill_NewOperationCompleted); } - this.InvokeAsync("get_ORGANIZATIONS_UserByOrgRelation", new object[] { - HUserNumber, - HOrgName}, this.get_ORGANIZATIONS_UserByOrgRelationOperationCompleted, userState); + this.InvokeAsync("set_SaveEntrustOutBill_New", new object[] { + oMain, + sHSourceType, + sErrMsg}, this.set_SaveEntrustOutBill_NewOperationCompleted, userState); } - private void Onget_ORGANIZATIONS_UserByOrgRelationOperationCompleted(object arg) { - if ((this.get_ORGANIZATIONS_UserByOrgRelationCompleted != null)) { + private void Onset_SaveEntrustOutBill_NewOperationCompleted(object arg) { + if ((this.set_SaveEntrustOutBill_NewCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.get_ORGANIZATIONS_UserByOrgRelationCompleted(this, new get_ORGANIZATIONS_UserByOrgRelationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + this.set_SaveEntrustOutBill_NewCompleted(this, new set_SaveEntrustOutBill_NewCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } @@ -14900,34 +15010,38 @@ } /// <remarks/> - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_CheckEntrustInBill", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public bool set_CheckEntrustInBill(ClsKf_EntrustInBillMain_K3 oMain, ref string sErrMsg) { - object[] results = this.Invoke("set_CheckEntrustInBill", new object[] { + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_SaveMoveStockStepOutBill_CLD_New", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public bool set_SaveMoveStockStepOutBill_CLD_New(ClsKf_MoveStockStepOutBillMain oMain, string sHSourceType, ClsXt_SystemParameterMain oSystemParameterMain, ref string sErrMsg) { + object[] results = this.Invoke("set_SaveMoveStockStepOutBill_CLD_New", new object[] { oMain, + sHSourceType, + oSystemParameterMain, sErrMsg}); sErrMsg = ((string)(results[1])); return ((bool)(results[0])); } /// <remarks/> - public void set_CheckEntrustInBillAsync(ClsKf_EntrustInBillMain_K3 oMain, string sErrMsg) { - this.set_CheckEntrustInBillAsync(oMain, sErrMsg, null); + public void set_SaveMoveStockStepOutBill_CLD_NewAsync(ClsKf_MoveStockStepOutBillMain oMain, string sHSourceType, ClsXt_SystemParameterMain oSystemParameterMain, string sErrMsg) { + this.set_SaveMoveStockStepOutBill_CLD_NewAsync(oMain, sHSourceType, oSystemParameterMain, sErrMsg, null); } /// <remarks/> - public void set_CheckEntrustInBillAsync(ClsKf_EntrustInBillMain_K3 oMain, string sErrMsg, object userState) { - if ((this.set_CheckEntrustInBillOperationCompleted == null)) { - this.set_CheckEntrustInBillOperationCompleted = new System.Threading.SendOrPostCallback(this.Onset_CheckEntrustInBillOperationCompleted); + public void set_SaveMoveStockStepOutBill_CLD_NewAsync(ClsKf_MoveStockStepOutBillMain oMain, string sHSourceType, ClsXt_SystemParameterMain oSystemParameterMain, string sErrMsg, object userState) { + if ((this.set_SaveMoveStockStepOutBill_CLD_NewOperationCompleted == null)) { + this.set_SaveMoveStockStepOutBill_CLD_NewOperationCompleted = new System.Threading.SendOrPostCallback(this.Onset_SaveMoveStockStepOutBill_CLD_NewOperationCompleted); } - this.InvokeAsync("set_CheckEntrustInBill", new object[] { + this.InvokeAsync("set_SaveMoveStockStepOutBill_CLD_New", new object[] { oMain, - sErrMsg}, this.set_CheckEntrustInBillOperationCompleted, userState); + sHSourceType, + oSystemParameterMain, + sErrMsg}, this.set_SaveMoveStockStepOutBill_CLD_NewOperationCompleted, userState); } - private void Onset_CheckEntrustInBillOperationCompleted(object arg) { - if ((this.set_CheckEntrustInBillCompleted != null)) { + private void Onset_SaveMoveStockStepOutBill_CLD_NewOperationCompleted(object arg) { + if ((this.set_SaveMoveStockStepOutBill_CLD_NewCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.set_CheckEntrustInBillCompleted(this, new set_CheckEntrustInBillCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + this.set_SaveMoveStockStepOutBill_CLD_NewCompleted(this, new set_SaveMoveStockStepOutBill_CLD_NewCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } @@ -16581,40 +16695,6 @@ if ((this.GetKf_EntrustOutBill_K3_SourceCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetKf_EntrustOutBill_K3_SourceCompleted(this, new GetKf_EntrustOutBill_K3_SourceCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// <remarks/> - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_SaveEntrustOutBill_New", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public bool set_SaveEntrustOutBill_New(ClsKf_EntrustOutBillMain oMain, string sHSourceType, ref string sErrMsg) { - object[] results = this.Invoke("set_SaveEntrustOutBill_New", new object[] { - oMain, - sHSourceType, - sErrMsg}); - sErrMsg = ((string)(results[1])); - return ((bool)(results[0])); - } - - /// <remarks/> - public void set_SaveEntrustOutBill_NewAsync(ClsKf_EntrustOutBillMain oMain, string sHSourceType, string sErrMsg) { - this.set_SaveEntrustOutBill_NewAsync(oMain, sHSourceType, sErrMsg, null); - } - - /// <remarks/> - public void set_SaveEntrustOutBill_NewAsync(ClsKf_EntrustOutBillMain oMain, string sHSourceType, string sErrMsg, object userState) { - if ((this.set_SaveEntrustOutBill_NewOperationCompleted == null)) { - this.set_SaveEntrustOutBill_NewOperationCompleted = new System.Threading.SendOrPostCallback(this.Onset_SaveEntrustOutBill_NewOperationCompleted); - } - this.InvokeAsync("set_SaveEntrustOutBill_New", new object[] { - oMain, - sHSourceType, - sErrMsg}, this.set_SaveEntrustOutBill_NewOperationCompleted, userState); - } - - private void Onset_SaveEntrustOutBill_NewOperationCompleted(object arg) { - if ((this.set_SaveEntrustOutBill_NewCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.set_SaveEntrustOutBill_NewCompleted(this, new set_SaveEntrustOutBill_NewCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } @@ -19163,38 +19243,6 @@ } /// <remarks/> - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_SaveMoveStockBill_CLD_BillCheck", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public bool set_SaveMoveStockBill_CLD_BillCheck(ClsKf_MoveStockBillMain oMain, ref string sErrMsg) { - object[] results = this.Invoke("set_SaveMoveStockBill_CLD_BillCheck", new object[] { - oMain, - sErrMsg}); - sErrMsg = ((string)(results[1])); - return ((bool)(results[0])); - } - - /// <remarks/> - public void set_SaveMoveStockBill_CLD_BillCheckAsync(ClsKf_MoveStockBillMain oMain, string sErrMsg) { - this.set_SaveMoveStockBill_CLD_BillCheckAsync(oMain, sErrMsg, null); - } - - /// <remarks/> - public void set_SaveMoveStockBill_CLD_BillCheckAsync(ClsKf_MoveStockBillMain oMain, string sErrMsg, object userState) { - if ((this.set_SaveMoveStockBill_CLD_BillCheckOperationCompleted == null)) { - this.set_SaveMoveStockBill_CLD_BillCheckOperationCompleted = new System.Threading.SendOrPostCallback(this.Onset_SaveMoveStockBill_CLD_BillCheckOperationCompleted); - } - this.InvokeAsync("set_SaveMoveStockBill_CLD_BillCheck", new object[] { - oMain, - sErrMsg}, this.set_SaveMoveStockBill_CLD_BillCheckOperationCompleted, userState); - } - - private void Onset_SaveMoveStockBill_CLD_BillCheckOperationCompleted(object arg) { - if ((this.set_SaveMoveStockBill_CLD_BillCheckCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.set_SaveMoveStockBill_CLD_BillCheckCompleted(this, new set_SaveMoveStockBill_CLD_BillCheckCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// <remarks/> [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_SaveMoveStockStepOutBill_New", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public bool set_SaveMoveStockStepOutBill_New(ClsKf_MoveStockStepOutBillMain oMain, string sHSourceType, ref string sErrMsg) { object[] results = this.Invoke("set_SaveMoveStockStepOutBill_New", new object[] { @@ -19225,42 +19273,6 @@ if ((this.set_SaveMoveStockStepOutBill_NewCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.set_SaveMoveStockStepOutBill_NewCompleted(this, new set_SaveMoveStockStepOutBill_NewCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// <remarks/> - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/set_SaveMoveStockStepOutBill_CLD_New", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public bool set_SaveMoveStockStepOutBill_CLD_New(ClsKf_MoveStockStepOutBillMain oMain, string sHSourceType, ClsXt_SystemParameterMain oSystemParameterMain, ref string sErrMsg) { - object[] results = this.Invoke("set_SaveMoveStockStepOutBill_CLD_New", new object[] { - oMain, - sHSourceType, - oSystemParameterMain, - sErrMsg}); - sErrMsg = ((string)(results[1])); - return ((bool)(results[0])); - } - - /// <remarks/> - public void set_SaveMoveStockStepOutBill_CLD_NewAsync(ClsKf_MoveStockStepOutBillMain oMain, string sHSourceType, ClsXt_SystemParameterMain oSystemParameterMain, string sErrMsg) { - this.set_SaveMoveStockStepOutBill_CLD_NewAsync(oMain, sHSourceType, oSystemParameterMain, sErrMsg, null); - } - - /// <remarks/> - public void set_SaveMoveStockStepOutBill_CLD_NewAsync(ClsKf_MoveStockStepOutBillMain oMain, string sHSourceType, ClsXt_SystemParameterMain oSystemParameterMain, string sErrMsg, object userState) { - if ((this.set_SaveMoveStockStepOutBill_CLD_NewOperationCompleted == null)) { - this.set_SaveMoveStockStepOutBill_CLD_NewOperationCompleted = new System.Threading.SendOrPostCallback(this.Onset_SaveMoveStockStepOutBill_CLD_NewOperationCompleted); - } - this.InvokeAsync("set_SaveMoveStockStepOutBill_CLD_New", new object[] { - oMain, - sHSourceType, - oSystemParameterMain, - sErrMsg}, this.set_SaveMoveStockStepOutBill_CLD_NewOperationCompleted, userState); - } - - private void Onset_SaveMoveStockStepOutBill_CLD_NewOperationCompleted(object arg) { - if ((this.set_SaveMoveStockStepOutBill_CLD_NewCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.set_SaveMoveStockStepOutBill_CLD_NewCompleted(this, new set_SaveMoveStockStepOutBill_CLD_NewCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } @@ -36546,7 +36558,6 @@ [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_PackUnionBillMain))] [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_PackDoubleBillMain))] [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_PackSplitBillMain))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_MoveStockStepOutBillMain))] [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_MoveStockBillMain))] [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_QualityReportBillMain))] [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_ICMOReportBillMain))] @@ -36560,6 +36571,7 @@ [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsSc_StationInBillMain))] [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_SellOutBillMain))] [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_MoveStockStepInBillMain))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_MoveStockStepOutBillMain))] [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_ProductInBillMain_K3))] [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_AGVRequestBillMain))] [System.Xml.Serialization.XmlIncludeAttribute(typeof(ClsKf_ProductInBillMain_CLD))] @@ -37397,279 +37409,6 @@ } set { this.hUnitIDField = value; - } - } - } - - /// <remarks/> - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.3752.0")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] - public partial class ClsKf_MoveStockStepOutBillMain : ClsXt_BaseBillMain { - - private long hSupIDField; - - private long hWHIDField; - - private long hSCWHIDField; - - private long hEmpIDField; - - private long hManagerIDField; - - private long hSecManagerIDField; - - private long hKeeperIDField; - - private long hDeptIDField; - - private string hExplanationField; - - private string hInnerBillNoField; - - private bool hRedBlueFlagField; - - private string hAddressField; - - private string hLinkManField; - - private string hLinkPhoneField; - - private long hConveyTypeIDField; - - private long hConveyCompIDField; - - private double hConveyMoneyField; - - private string hStockStyleField; - - private long hStockInOrgIDField; - - private long hStockOutOrgIDField; - - private long hSTOCKORGIDField; - - private long hOWNERIDField; - - /// <remarks/> - public long HSupID { - get { - return this.hSupIDField; - } - set { - this.hSupIDField = value; - } - } - - /// <remarks/> - public long HWHID { - get { - return this.hWHIDField; - } - set { - this.hWHIDField = value; - } - } - - /// <remarks/> - public long HSCWHID { - get { - return this.hSCWHIDField; - } - set { - this.hSCWHIDField = value; - } - } - - /// <remarks/> - public long HEmpID { - get { - return this.hEmpIDField; - } - set { - this.hEmpIDField = value; - } - } - - /// <remarks/> - public long HManagerID { - get { - return this.hManagerIDField; - } - set { - this.hManagerIDField = value; - } - } - - /// <remarks/> - public long HSecManagerID { - get { - return this.hSecManagerIDField; - } - set { - this.hSecManagerIDField = value; - } - } - - /// <remarks/> - public long HKeeperID { - get { - return this.hKeeperIDField; - } - set { - this.hKeeperIDField = value; - } - } - - /// <remarks/> - public long HDeptID { - get { - return this.hDeptIDField; - } - set { - this.hDeptIDField = value; - } - } - - /// <remarks/> - public string HExplanation { - get { - return this.hExplanationField; - } - set { - this.hExplanationField = value; - } - } - - /// <remarks/> - public string HInnerBillNo { - get { - return this.hInnerBillNoField; - } - set { - this.hInnerBillNoField = value; - } - } - - /// <remarks/> - public bool HRedBlueFlag { - get { - return this.hRedBlueFlagField; - } - set { - this.hRedBlueFlagField = value; - } - } - - /// <remarks/> - public string HAddress { - get { - return this.hAddressField; - } - set { - this.hAddressField = value; - } - } - - /// <remarks/> - public string HLinkMan { - get { - return this.hLinkManField; - } - set { - this.hLinkManField = value; - } - } - - /// <remarks/> - public string HLinkPhone { - get { - return this.hLinkPhoneField; - } - set { - this.hLinkPhoneField = value; - } - } - - /// <remarks/> - public long HConveyTypeID { - get { - return this.hConveyTypeIDField; - } - set { - this.hConveyTypeIDField = value; - } - } - - /// <remarks/> - public long HConveyCompID { - get { - return this.hConveyCompIDField; - } - set { - this.hConveyCompIDField = value; - } - } - - /// <remarks/> - public double HConveyMoney { - get { - return this.hConveyMoneyField; - } - set { - this.hConveyMoneyField = value; - } - } - - /// <remarks/> - public string HStockStyle { - get { - return this.hStockStyleField; - } - set { - this.hStockStyleField = value; - } - } - - /// <remarks/> - public long HStockInOrgID { - get { - return this.hStockInOrgIDField; - } - set { - this.hStockInOrgIDField = value; - } - } - - /// <remarks/> - public long HStockOutOrgID { - get { - return this.hStockOutOrgIDField; - } - set { - this.hStockOutOrgIDField = value; - } - } - - /// <remarks/> - public long HSTOCKORGID { - get { - return this.hSTOCKORGIDField; - } - set { - this.hSTOCKORGIDField = value; - } - } - - /// <remarks/> - public long HOWNERID { - get { - return this.hOWNERIDField; - } - set { - this.hOWNERIDField = value; } } } @@ -39985,6 +39724,279 @@ [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] public partial class ClsKf_MoveStockStepInBillMain : ClsXt_BaseBillMain { + + private long hSupIDField; + + private long hWHIDField; + + private long hSCWHIDField; + + private long hEmpIDField; + + private long hManagerIDField; + + private long hSecManagerIDField; + + private long hKeeperIDField; + + private long hDeptIDField; + + private string hExplanationField; + + private string hInnerBillNoField; + + private bool hRedBlueFlagField; + + private string hAddressField; + + private string hLinkManField; + + private string hLinkPhoneField; + + private long hConveyTypeIDField; + + private long hConveyCompIDField; + + private double hConveyMoneyField; + + private string hStockStyleField; + + private long hStockInOrgIDField; + + private long hStockOutOrgIDField; + + private long hSTOCKORGIDField; + + private long hOWNERIDField; + + /// <remarks/> + public long HSupID { + get { + return this.hSupIDField; + } + set { + this.hSupIDField = value; + } + } + + /// <remarks/> + public long HWHID { + get { + return this.hWHIDField; + } + set { + this.hWHIDField = value; + } + } + + /// <remarks/> + public long HSCWHID { + get { + return this.hSCWHIDField; + } + set { + this.hSCWHIDField = value; + } + } + + /// <remarks/> + public long HEmpID { + get { + return this.hEmpIDField; + } + set { + this.hEmpIDField = value; + } + } + + /// <remarks/> + public long HManagerID { + get { + return this.hManagerIDField; + } + set { + this.hManagerIDField = value; + } + } + + /// <remarks/> + public long HSecManagerID { + get { + return this.hSecManagerIDField; + } + set { + this.hSecManagerIDField = value; + } + } + + /// <remarks/> + public long HKeeperID { + get { + return this.hKeeperIDField; + } + set { + this.hKeeperIDField = value; + } + } + + /// <remarks/> + public long HDeptID { + get { + return this.hDeptIDField; + } + set { + this.hDeptIDField = value; + } + } + + /// <remarks/> + public string HExplanation { + get { + return this.hExplanationField; + } + set { + this.hExplanationField = value; + } + } + + /// <remarks/> + public string HInnerBillNo { + get { + return this.hInnerBillNoField; + } + set { + this.hInnerBillNoField = value; + } + } + + /// <remarks/> + public bool HRedBlueFlag { + get { + return this.hRedBlueFlagField; + } + set { + this.hRedBlueFlagField = value; + } + } + + /// <remarks/> + public string HAddress { + get { + return this.hAddressField; + } + set { + this.hAddressField = value; + } + } + + /// <remarks/> + public string HLinkMan { + get { + return this.hLinkManField; + } + set { + this.hLinkManField = value; + } + } + + /// <remarks/> + public string HLinkPhone { + get { + return this.hLinkPhoneField; + } + set { + this.hLinkPhoneField = value; + } + } + + /// <remarks/> + public long HConveyTypeID { + get { + return this.hConveyTypeIDField; + } + set { + this.hConveyTypeIDField = value; + } + } + + /// <remarks/> + public long HConveyCompID { + get { + return this.hConveyCompIDField; + } + set { + this.hConveyCompIDField = value; + } + } + + /// <remarks/> + public double HConveyMoney { + get { + return this.hConveyMoneyField; + } + set { + this.hConveyMoneyField = value; + } + } + + /// <remarks/> + public string HStockStyle { + get { + return this.hStockStyleField; + } + set { + this.hStockStyleField = value; + } + } + + /// <remarks/> + public long HStockInOrgID { + get { + return this.hStockInOrgIDField; + } + set { + this.hStockInOrgIDField = value; + } + } + + /// <remarks/> + public long HStockOutOrgID { + get { + return this.hStockOutOrgIDField; + } + set { + this.hStockOutOrgIDField = value; + } + } + + /// <remarks/> + public long HSTOCKORGID { + get { + return this.hSTOCKORGIDField; + } + set { + this.hSTOCKORGIDField = value; + } + } + + /// <remarks/> + public long HOWNERID { + get { + return this.hOWNERIDField; + } + set { + this.hOWNERIDField = value; + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.3752.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class ClsKf_MoveStockStepOutBillMain : ClsXt_BaseBillMain { private long hSupIDField; @@ -51243,6 +51255,40 @@ /// <remarks/> [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")] + public delegate void get_SourceBarCode_POStockInBackCompletedEventHandler(object sender, get_SourceBarCode_POStockInBackCompletedEventArgs e); + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class get_SourceBarCode_POStockInBackCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal get_SourceBarCode_POStockInBackCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// <remarks/> + public ClsKf_ICStockBill_WMS Result { + get { + this.RaiseExceptionIfNecessary(); + return ((ClsKf_ICStockBill_WMS)(this.results[0])); + } + } + + /// <remarks/> + public string sErrMsg { + get { + this.RaiseExceptionIfNecessary(); + return ((string)(this.results[1])); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")] public delegate void get_SourceBarCode_MateOutBackCompletedEventHandler(object sender, get_SourceBarCode_MateOutBackCompletedEventArgs e); /// <remarks/> @@ -51254,6 +51300,40 @@ private object[] results; internal get_SourceBarCode_MateOutBackCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// <remarks/> + public ClsKf_ICStockBill_WMS Result { + get { + this.RaiseExceptionIfNecessary(); + return ((ClsKf_ICStockBill_WMS)(this.results[0])); + } + } + + /// <remarks/> + public string sErrMsg { + get { + this.RaiseExceptionIfNecessary(); + return ((string)(this.results[1])); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")] + public delegate void get_SourceBarCode_SellOutBackCompletedEventHandler(object sender, get_SourceBarCode_SellOutBackCompletedEventArgs e); + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class get_SourceBarCode_SellOutBackCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal get_SourceBarCode_SellOutBackCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } @@ -54105,6 +54185,32 @@ get { this.RaiseExceptionIfNecessary(); return ((string)(this.results[7])); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")] + public delegate void get_ORGANIZATIONS_UserByOrgRelationCompletedEventHandler(object sender, get_ORGANIZATIONS_UserByOrgRelationCompletedEventArgs e); + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class get_ORGANIZATIONS_UserByOrgRelationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal get_ORGANIZATIONS_UserByOrgRelationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// <remarks/> + public System.Data.DataSet Result { + get { + this.RaiseExceptionIfNecessary(); + return ((System.Data.DataSet)(this.results[0])); } } } @@ -57237,26 +57343,26 @@ /// <remarks/> [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")] - public delegate void get_SourceBarCode_POStockInBackCompletedEventHandler(object sender, get_SourceBarCode_POStockInBackCompletedEventArgs e); + public delegate void set_CheckEntrustInBillCompletedEventHandler(object sender, set_CheckEntrustInBillCompletedEventArgs e); /// <remarks/> [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class get_SourceBarCode_POStockInBackCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + public partial class set_CheckEntrustInBillCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; - internal get_SourceBarCode_POStockInBackCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + internal set_CheckEntrustInBillCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// <remarks/> - public ClsKf_ICStockBill_WMS Result { + public bool Result { get { this.RaiseExceptionIfNecessary(); - return ((ClsKf_ICStockBill_WMS)(this.results[0])); + return ((bool)(this.results[0])); } } @@ -59425,26 +59531,34 @@ /// <remarks/> [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")] - public delegate void get_ORGANIZATIONS_UserByOrgRelationCompletedEventHandler(object sender, get_ORGANIZATIONS_UserByOrgRelationCompletedEventArgs e); + public delegate void set_SaveEntrustOutBill_NewCompletedEventHandler(object sender, set_SaveEntrustOutBill_NewCompletedEventArgs e); /// <remarks/> [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class get_ORGANIZATIONS_UserByOrgRelationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + public partial class set_SaveEntrustOutBill_NewCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; - internal get_ORGANIZATIONS_UserByOrgRelationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + internal set_SaveEntrustOutBill_NewCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// <remarks/> - public System.Data.DataSet Result { + public bool Result { get { this.RaiseExceptionIfNecessary(); - return ((System.Data.DataSet)(this.results[0])); + return ((bool)(this.results[0])); + } + } + + /// <remarks/> + public string sErrMsg { + get { + this.RaiseExceptionIfNecessary(); + return ((string)(this.results[1])); } } } @@ -61089,17 +61203,17 @@ /// <remarks/> [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")] - public delegate void set_CheckEntrustInBillCompletedEventHandler(object sender, set_CheckEntrustInBillCompletedEventArgs e); + public delegate void set_SaveMoveStockStepOutBill_CLD_NewCompletedEventHandler(object sender, set_SaveMoveStockStepOutBill_CLD_NewCompletedEventArgs e); /// <remarks/> [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class set_CheckEntrustInBillCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + public partial class set_SaveMoveStockStepOutBill_CLD_NewCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; - internal set_CheckEntrustInBillCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + internal set_SaveMoveStockStepOutBill_CLD_NewCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } @@ -62743,40 +62857,6 @@ get { this.RaiseExceptionIfNecessary(); return ((System.Data.DataSet)(this.results[0])); - } - } - } - - /// <remarks/> - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")] - public delegate void set_SaveEntrustOutBill_NewCompletedEventHandler(object sender, set_SaveEntrustOutBill_NewCompletedEventArgs e); - - /// <remarks/> - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class set_SaveEntrustOutBill_NewCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal set_SaveEntrustOutBill_NewCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// <remarks/> - public bool Result { - get { - this.RaiseExceptionIfNecessary(); - return ((bool)(this.results[0])); - } - } - - /// <remarks/> - public string sErrMsg { - get { - this.RaiseExceptionIfNecessary(); - return ((string)(this.results[1])); } } } @@ -64801,40 +64881,6 @@ /// <remarks/> [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")] - public delegate void set_SaveMoveStockBill_CLD_BillCheckCompletedEventHandler(object sender, set_SaveMoveStockBill_CLD_BillCheckCompletedEventArgs e); - - /// <remarks/> - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class set_SaveMoveStockBill_CLD_BillCheckCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal set_SaveMoveStockBill_CLD_BillCheckCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// <remarks/> - public bool Result { - get { - this.RaiseExceptionIfNecessary(); - return ((bool)(this.results[0])); - } - } - - /// <remarks/> - public string sErrMsg { - get { - this.RaiseExceptionIfNecessary(); - return ((string)(this.results[1])); - } - } - } - - /// <remarks/> - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")] public delegate void set_SaveMoveStockStepOutBill_NewCompletedEventHandler(object sender, set_SaveMoveStockStepOutBill_NewCompletedEventArgs e); /// <remarks/> @@ -64846,40 +64892,6 @@ private object[] results; internal set_SaveMoveStockStepOutBill_NewCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// <remarks/> - public bool Result { - get { - this.RaiseExceptionIfNecessary(); - return ((bool)(this.results[0])); - } - } - - /// <remarks/> - public string sErrMsg { - get { - this.RaiseExceptionIfNecessary(); - return ((string)(this.results[1])); - } - } - } - - /// <remarks/> - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")] - public delegate void set_SaveMoveStockStepOutBill_CLD_NewCompletedEventHandler(object sender, set_SaveMoveStockStepOutBill_CLD_NewCompletedEventArgs e); - - /// <remarks/> - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3752.0")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class set_SaveMoveStockStepOutBill_CLD_NewCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal set_SaveMoveStockStepOutBill_CLD_NewCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } diff --git a/WebAPI/Web References/WebS/WebService1.wsdl b/WebAPI/Web References/WebS/WebService1.wsdl index 17599d7..424b76f 100644 --- a/WebAPI/Web References/WebS/WebService1.wsdl +++ b/WebAPI/Web References/WebS/WebService1.wsdl @@ -2,7 +2,7 @@ <wsdl:definitions xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://tempuri.org/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> <wsdl:types> <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/"> - <s:element name="get_SourceBarCode_MateOutBack"> + <s:element name="get_SourceBarCode_POStockInBack"> <s:complexType> <s:sequence> <s:element minOccurs="1" maxOccurs="1" name="HInterID" type="s:long" /> @@ -16,10 +16,10 @@ </s:sequence> </s:complexType> </s:element> - <s:element name="get_SourceBarCode_MateOutBackResponse"> + <s:element name="get_SourceBarCode_POStockInBackResponse"> <s:complexType> <s:sequence> - <s:element minOccurs="0" maxOccurs="1" name="get_SourceBarCode_MateOutBackResult" type="tns:ClsKf_ICStockBill_WMS" /> + <s:element minOccurs="0" maxOccurs="1" name="get_SourceBarCode_POStockInBackResult" type="tns:ClsKf_ICStockBill_WMS" /> <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" /> </s:sequence> </s:complexType> @@ -66,6 +66,50 @@ <s:element minOccurs="1" maxOccurs="1" name="HSourceBarCodeFlag" type="s:boolean" /> </s:sequence> </s:complexType> + <s:element name="get_SourceBarCode_MateOutBack"> + <s:complexType> + <s:sequence> + <s:element minOccurs="1" maxOccurs="1" name="HInterID" type="s:long" /> + <s:element minOccurs="0" maxOccurs="1" name="HBillNo" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="HBillType" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="HSourceBillNo" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="HSourceBillType" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="HMaker" type="s:string" /> + <s:element minOccurs="1" maxOccurs="1" name="HStockOrgID" type="s:long" /> + <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="get_SourceBarCode_MateOutBackResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="get_SourceBarCode_MateOutBackResult" type="tns:ClsKf_ICStockBill_WMS" /> + <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="get_SourceBarCode_SellOutBack"> + <s:complexType> + <s:sequence> + <s:element minOccurs="1" maxOccurs="1" name="HInterID" type="s:long" /> + <s:element minOccurs="0" maxOccurs="1" name="HBillNo" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="HBillType" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="HSourceBillNo" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="HSourceBillType" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="HMaker" type="s:string" /> + <s:element minOccurs="1" maxOccurs="1" name="HStockOrgID" type="s:long" /> + <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="get_SourceBarCode_SellOutBackResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="get_SourceBarCode_SellOutBackResult" type="tns:ClsKf_ICStockBill_WMS" /> + <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> <s:element name="get_BarCode"> <s:complexType> <s:sequence> @@ -2603,6 +2647,28 @@ </s:sequence> </s:complexType> </s:element> + <s:element name="get_ORGANIZATIONS_UserByOrgRelation"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="HUserNumber" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="HOrgName" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="get_ORGANIZATIONS_UserByOrgRelationResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="get_ORGANIZATIONS_UserByOrgRelationResult"> + <s:complexType> + <s:sequence> + <s:element ref="s:schema" /> + <s:any /> + </s:sequence> + </s:complexType> + </s:element> + </s:sequence> + </s:complexType> + </s:element> <s:element name="get_ORGANIZATIONSIDByName"> <s:complexType> <s:sequence> @@ -4574,29 +4640,7 @@ </s:sequence> </s:complexType> </s:element> - <s:element name="get_SourceBarCode_POStockInBack"> - <s:complexType> - <s:sequence> - <s:element minOccurs="1" maxOccurs="1" name="HInterID" type="s:long" /> - <s:element minOccurs="0" maxOccurs="1" name="HBillNo" type="s:string" /> - <s:element minOccurs="0" maxOccurs="1" name="HBillType" type="s:string" /> - <s:element minOccurs="0" maxOccurs="1" name="HSourceBillNo" type="s:string" /> - <s:element minOccurs="0" maxOccurs="1" name="HSourceBillType" type="s:string" /> - <s:element minOccurs="0" maxOccurs="1" name="HMaker" type="s:string" /> - <s:element minOccurs="1" maxOccurs="1" name="HStockOrgID" type="s:long" /> - <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" /> - </s:sequence> - </s:complexType> - </s:element> - <s:element name="get_SourceBarCode_POStockInBackResponse"> - <s:complexType> - <s:sequence> - <s:element minOccurs="0" maxOccurs="1" name="get_SourceBarCode_POStockInBackResult" type="tns:ClsKf_ICStockBill_WMS" /> - <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" /> - </s:sequence> - </s:complexType> - </s:element> - <s:element name="set_AuditEntrustInBill"> + <s:element name="set_CheckEntrustInBill"> <s:complexType> <s:sequence> <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_EntrustInBillMain_K3" /> @@ -4628,6 +4672,22 @@ </s:extension> </s:complexContent> </s:complexType> + <s:element name="set_CheckEntrustInBillResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="1" maxOccurs="1" name="set_CheckEntrustInBillResult" type="s:boolean" /> + <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="set_AuditEntrustInBill"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_EntrustInBillMain_K3" /> + <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> <s:element name="set_AuditEntrustInBillResponse"> <s:complexType> <s:sequence> @@ -6141,34 +6201,11 @@ </s:sequence> </s:complexType> </s:element> - <s:element name="get_ORGANIZATIONS_UserByOrgRelation"> - <s:complexType> - <s:sequence> - <s:element minOccurs="0" maxOccurs="1" name="HUserNumber" type="s:string" /> - <s:element minOccurs="0" maxOccurs="1" name="HOrgName" type="s:string" /> - </s:sequence> - </s:complexType> - </s:element> - <s:element name="get_ORGANIZATIONS_UserByOrgRelationResponse"> - <s:complexType> - <s:sequence> - <s:element minOccurs="0" maxOccurs="1" name="get_ORGANIZATIONS_UserByOrgRelationResult"> - <s:complexType> - <s:sequence> - <s:element ref="s:schema" /> - <s:any /> - </s:sequence> - </s:complexType> - </s:element> - </s:sequence> - </s:complexType> - </s:element> - <s:element name="set_SaveEntrustOutBill_CLD_New"> + <s:element name="set_SaveEntrustOutBill_New"> <s:complexType> <s:sequence> <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_EntrustOutBillMain" /> <s:element minOccurs="0" maxOccurs="1" name="sHSourceType" type="s:string" /> - <s:element minOccurs="0" maxOccurs="1" name="oSystemParameterMain" type="tns:ClsXt_SystemParameterMain" /> <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" /> </s:sequence> </s:complexType> @@ -6194,6 +6231,24 @@ </s:extension> </s:complexContent> </s:complexType> + <s:element name="set_SaveEntrustOutBill_NewResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="1" maxOccurs="1" name="set_SaveEntrustOutBill_NewResult" type="s:boolean" /> + <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="set_SaveEntrustOutBill_CLD_New"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_EntrustOutBillMain" /> + <s:element minOccurs="0" maxOccurs="1" name="sHSourceType" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="oSystemParameterMain" type="tns:ClsXt_SystemParameterMain" /> + <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> <s:element name="set_SaveEntrustOutBill_CLD_NewResponse"> <s:complexType> <s:sequence> @@ -7153,18 +7208,50 @@ </s:sequence> </s:complexType> </s:element> - <s:element name="set_CheckEntrustInBill"> + <s:element name="set_SaveMoveStockStepOutBill_CLD_New"> <s:complexType> <s:sequence> - <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_EntrustInBillMain_K3" /> + <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_MoveStockStepOutBillMain" /> + <s:element minOccurs="0" maxOccurs="1" name="sHSourceType" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="oSystemParameterMain" type="tns:ClsXt_SystemParameterMain" /> <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" /> </s:sequence> </s:complexType> </s:element> - <s:element name="set_CheckEntrustInBillResponse"> + <s:complexType name="ClsKf_MoveStockStepOutBillMain"> + <s:complexContent mixed="false"> + <s:extension base="tns:ClsXt_BaseBillMain"> + <s:sequence> + <s:element minOccurs="1" maxOccurs="1" name="HSupID" type="s:long" /> + <s:element minOccurs="1" maxOccurs="1" name="HWHID" type="s:long" /> + <s:element minOccurs="1" maxOccurs="1" name="HSCWHID" type="s:long" /> + <s:element minOccurs="1" maxOccurs="1" name="HEmpID" type="s:long" /> + <s:element minOccurs="1" maxOccurs="1" name="HManagerID" type="s:long" /> + <s:element minOccurs="1" maxOccurs="1" name="HSecManagerID" type="s:long" /> + <s:element minOccurs="1" maxOccurs="1" name="HKeeperID" type="s:long" /> + <s:element minOccurs="1" maxOccurs="1" name="HDeptID" type="s:long" /> + <s:element minOccurs="0" maxOccurs="1" name="HExplanation" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="HInnerBillNo" type="s:string" /> + <s:element minOccurs="1" maxOccurs="1" name="HRedBlueFlag" type="s:boolean" /> + <s:element minOccurs="0" maxOccurs="1" name="HAddress" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="HLinkMan" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="HLinkPhone" type="s:string" /> + <s:element minOccurs="1" maxOccurs="1" name="HConveyTypeID" type="s:long" /> + <s:element minOccurs="1" maxOccurs="1" name="HConveyCompID" type="s:long" /> + <s:element minOccurs="1" maxOccurs="1" name="HConveyMoney" type="s:double" /> + <s:element minOccurs="0" maxOccurs="1" name="HStockStyle" type="s:string" /> + <s:element minOccurs="1" maxOccurs="1" name="HStockInOrgID" type="s:long" /> + <s:element minOccurs="1" maxOccurs="1" name="HStockOutOrgID" type="s:long" /> + <s:element minOccurs="1" maxOccurs="1" name="HSTOCKORGID" type="s:long" /> + <s:element minOccurs="1" maxOccurs="1" name="HOWNERID" type="s:long" /> + </s:sequence> + </s:extension> + </s:complexContent> + </s:complexType> + <s:element name="set_SaveMoveStockStepOutBill_CLD_NewResponse"> <s:complexType> <s:sequence> - <s:element minOccurs="1" maxOccurs="1" name="set_CheckEntrustInBillResult" type="s:boolean" /> + <s:element minOccurs="1" maxOccurs="1" name="set_SaveMoveStockStepOutBill_CLD_NewResult" type="s:boolean" /> <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" /> </s:sequence> </s:complexType> @@ -8438,23 +8525,6 @@ </s:sequence> </s:complexType> </s:element> - </s:sequence> - </s:complexType> - </s:element> - <s:element name="set_SaveEntrustOutBill_New"> - <s:complexType> - <s:sequence> - <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_EntrustOutBillMain" /> - <s:element minOccurs="0" maxOccurs="1" name="sHSourceType" type="s:string" /> - <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" /> - </s:sequence> - </s:complexType> - </s:element> - <s:element name="set_SaveEntrustOutBill_NewResponse"> - <s:complexType> - <s:sequence> - <s:element minOccurs="1" maxOccurs="1" name="set_SaveEntrustOutBill_NewResult" type="s:boolean" /> - <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" /> </s:sequence> </s:complexType> </s:element> @@ -10001,22 +10071,6 @@ </s:sequence> </s:complexType> </s:element> - <s:element name="set_SaveMoveStockBill_CLD_BillCheck"> - <s:complexType> - <s:sequence> - <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_MoveStockBillMain" /> - <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" /> - </s:sequence> - </s:complexType> - </s:element> - <s:element name="set_SaveMoveStockBill_CLD_BillCheckResponse"> - <s:complexType> - <s:sequence> - <s:element minOccurs="1" maxOccurs="1" name="set_SaveMoveStockBill_CLD_BillCheckResult" type="s:boolean" /> - <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" /> - </s:sequence> - </s:complexType> - </s:element> <s:element name="set_SaveMoveStockStepOutBill_New"> <s:complexType> <s:sequence> @@ -10026,58 +10080,10 @@ </s:sequence> </s:complexType> </s:element> - <s:complexType name="ClsKf_MoveStockStepOutBillMain"> - <s:complexContent mixed="false"> - <s:extension base="tns:ClsXt_BaseBillMain"> - <s:sequence> - <s:element minOccurs="1" maxOccurs="1" name="HSupID" type="s:long" /> - <s:element minOccurs="1" maxOccurs="1" name="HWHID" type="s:long" /> - <s:element minOccurs="1" maxOccurs="1" name="HSCWHID" type="s:long" /> - <s:element minOccurs="1" maxOccurs="1" name="HEmpID" type="s:long" /> - <s:element minOccurs="1" maxOccurs="1" name="HManagerID" type="s:long" /> - <s:element minOccurs="1" maxOccurs="1" name="HSecManagerID" type="s:long" /> - <s:element minOccurs="1" maxOccurs="1" name="HKeeperID" type="s:long" /> - <s:element minOccurs="1" maxOccurs="1" name="HDeptID" type="s:long" /> - <s:element minOccurs="0" maxOccurs="1" name="HExplanation" type="s:string" /> - <s:element minOccurs="0" maxOccurs="1" name="HInnerBillNo" type="s:string" /> - <s:element minOccurs="1" maxOccurs="1" name="HRedBlueFlag" type="s:boolean" /> - <s:element minOccurs="0" maxOccurs="1" name="HAddress" type="s:string" /> - <s:element minOccurs="0" maxOccurs="1" name="HLinkMan" type="s:string" /> - <s:element minOccurs="0" maxOccurs="1" name="HLinkPhone" type="s:string" /> - <s:element minOccurs="1" maxOccurs="1" name="HConveyTypeID" type="s:long" /> - <s:element minOccurs="1" maxOccurs="1" name="HConveyCompID" type="s:long" /> - <s:element minOccurs="1" maxOccurs="1" name="HConveyMoney" type="s:double" /> - <s:element minOccurs="0" maxOccurs="1" name="HStockStyle" type="s:string" /> - <s:element minOccurs="1" maxOccurs="1" name="HStockInOrgID" type="s:long" /> - <s:element minOccurs="1" maxOccurs="1" name="HStockOutOrgID" type="s:long" /> - <s:element minOccurs="1" maxOccurs="1" name="HSTOCKORGID" type="s:long" /> - <s:element minOccurs="1" maxOccurs="1" name="HOWNERID" type="s:long" /> - </s:sequence> - </s:extension> - </s:complexContent> - </s:complexType> <s:element name="set_SaveMoveStockStepOutBill_NewResponse"> <s:complexType> <s:sequence> <s:element minOccurs="1" maxOccurs="1" name="set_SaveMoveStockStepOutBill_NewResult" type="s:boolean" /> - <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" /> - </s:sequence> - </s:complexType> - </s:element> - <s:element name="set_SaveMoveStockStepOutBill_CLD_New"> - <s:complexType> - <s:sequence> - <s:element minOccurs="0" maxOccurs="1" name="oMain" type="tns:ClsKf_MoveStockStepOutBillMain" /> - <s:element minOccurs="0" maxOccurs="1" name="sHSourceType" type="s:string" /> - <s:element minOccurs="0" maxOccurs="1" name="oSystemParameterMain" type="tns:ClsXt_SystemParameterMain" /> - <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" /> - </s:sequence> - </s:complexType> - </s:element> - <s:element name="set_SaveMoveStockStepOutBill_CLD_NewResponse"> - <s:complexType> - <s:sequence> - <s:element minOccurs="1" maxOccurs="1" name="set_SaveMoveStockStepOutBill_CLD_NewResult" type="s:boolean" /> <s:element minOccurs="0" maxOccurs="1" name="sErrMsg" type="s:string" /> </s:sequence> </s:complexType> @@ -14169,11 +14175,23 @@ </s:element> </s:schema> </wsdl:types> + <wsdl:message name="get_SourceBarCode_POStockInBackSoapIn"> + <wsdl:part name="parameters" element="tns:get_SourceBarCode_POStockInBack" /> + </wsdl:message> + <wsdl:message name="get_SourceBarCode_POStockInBackSoapOut"> + <wsdl:part name="parameters" element="tns:get_SourceBarCode_POStockInBackResponse" /> + </wsdl:message> <wsdl:message name="get_SourceBarCode_MateOutBackSoapIn"> <wsdl:part name="parameters" element="tns:get_SourceBarCode_MateOutBack" /> </wsdl:message> <wsdl:message name="get_SourceBarCode_MateOutBackSoapOut"> <wsdl:part name="parameters" element="tns:get_SourceBarCode_MateOutBackResponse" /> + </wsdl:message> + <wsdl:message name="get_SourceBarCode_SellOutBackSoapIn"> + <wsdl:part name="parameters" element="tns:get_SourceBarCode_SellOutBack" /> + </wsdl:message> + <wsdl:message name="get_SourceBarCode_SellOutBackSoapOut"> + <wsdl:part name="parameters" element="tns:get_SourceBarCode_SellOutBackResponse" /> </wsdl:message> <wsdl:message name="get_BarCodeSoapIn"> <wsdl:part name="parameters" element="tns:get_BarCode" /> @@ -14660,6 +14678,12 @@ </wsdl:message> <wsdl:message name="set_SavePonderationBillMain_Temp_BarCode_MouldSoapOut"> <wsdl:part name="parameters" element="tns:set_SavePonderationBillMain_Temp_BarCode_MouldResponse" /> + </wsdl:message> + <wsdl:message name="get_ORGANIZATIONS_UserByOrgRelationSoapIn"> + <wsdl:part name="parameters" element="tns:get_ORGANIZATIONS_UserByOrgRelation" /> + </wsdl:message> + <wsdl:message name="get_ORGANIZATIONS_UserByOrgRelationSoapOut"> + <wsdl:part name="parameters" element="tns:get_ORGANIZATIONS_UserByOrgRelationResponse" /> </wsdl:message> <wsdl:message name="get_ORGANIZATIONSIDByNameSoapIn"> <wsdl:part name="parameters" element="tns:get_ORGANIZATIONSIDByName" /> @@ -15159,11 +15183,11 @@ <wsdl:message name="get_SourceBarCode_MoveStockStepInSoapOut"> <wsdl:part name="parameters" element="tns:get_SourceBarCode_MoveStockStepInResponse" /> </wsdl:message> - <wsdl:message name="get_SourceBarCode_POStockInBackSoapIn"> - <wsdl:part name="parameters" element="tns:get_SourceBarCode_POStockInBack" /> + <wsdl:message name="set_CheckEntrustInBillSoapIn"> + <wsdl:part name="parameters" element="tns:set_CheckEntrustInBill" /> </wsdl:message> - <wsdl:message name="get_SourceBarCode_POStockInBackSoapOut"> - <wsdl:part name="parameters" element="tns:get_SourceBarCode_POStockInBackResponse" /> + <wsdl:message name="set_CheckEntrustInBillSoapOut"> + <wsdl:part name="parameters" element="tns:set_CheckEntrustInBillResponse" /> </wsdl:message> <wsdl:message name="set_AuditEntrustInBillSoapIn"> <wsdl:part name="parameters" element="tns:set_AuditEntrustInBill" /> @@ -15555,11 +15579,11 @@ <wsdl:message name="get_ORGANIZATIONSSoapOut"> <wsdl:part name="parameters" element="tns:get_ORGANIZATIONSResponse" /> </wsdl:message> - <wsdl:message name="get_ORGANIZATIONS_UserByOrgRelationSoapIn"> - <wsdl:part name="parameters" element="tns:get_ORGANIZATIONS_UserByOrgRelation" /> + <wsdl:message name="set_SaveEntrustOutBill_NewSoapIn"> + <wsdl:part name="parameters" element="tns:set_SaveEntrustOutBill_New" /> </wsdl:message> - <wsdl:message name="get_ORGANIZATIONS_UserByOrgRelationSoapOut"> - <wsdl:part name="parameters" element="tns:get_ORGANIZATIONS_UserByOrgRelationResponse" /> + <wsdl:message name="set_SaveEntrustOutBill_NewSoapOut"> + <wsdl:part name="parameters" element="tns:set_SaveEntrustOutBill_NewResponse" /> </wsdl:message> <wsdl:message name="set_SaveEntrustOutBill_CLD_NewSoapIn"> <wsdl:part name="parameters" element="tns:set_SaveEntrustOutBill_CLD_New" /> @@ -15843,11 +15867,11 @@ <wsdl:message name="set_CheckAddEntrustInBillSoapOut"> <wsdl:part name="parameters" element="tns:set_CheckAddEntrustInBillResponse" /> </wsdl:message> - <wsdl:message name="set_CheckEntrustInBillSoapIn"> - <wsdl:part name="parameters" element="tns:set_CheckEntrustInBill" /> + <wsdl:message name="set_SaveMoveStockStepOutBill_CLD_NewSoapIn"> + <wsdl:part name="parameters" element="tns:set_SaveMoveStockStepOutBill_CLD_New" /> </wsdl:message> - <wsdl:message name="set_CheckEntrustInBillSoapOut"> - <wsdl:part name="parameters" element="tns:set_CheckEntrustInBillResponse" /> + <wsdl:message name="set_SaveMoveStockStepOutBill_CLD_NewSoapOut"> + <wsdl:part name="parameters" element="tns:set_SaveMoveStockStepOutBill_CLD_NewResponse" /> </wsdl:message> <wsdl:message name="set_SaveMoveStockStepInBill_NewSoapIn"> <wsdl:part name="parameters" element="tns:set_SaveMoveStockStepInBill_New" /> @@ -16142,12 +16166,6 @@ </wsdl:message> <wsdl:message name="GetKf_EntrustOutBill_K3_SourceSoapOut"> <wsdl:part name="parameters" element="tns:GetKf_EntrustOutBill_K3_SourceResponse" /> - </wsdl:message> - <wsdl:message name="set_SaveEntrustOutBill_NewSoapIn"> - <wsdl:part name="parameters" element="tns:set_SaveEntrustOutBill_New" /> - </wsdl:message> - <wsdl:message name="set_SaveEntrustOutBill_NewSoapOut"> - <wsdl:part name="parameters" element="tns:set_SaveEntrustOutBill_NewResponse" /> </wsdl:message> <wsdl:message name="set_ClearPonderationBillMain_Temp_ChangGuiSoapIn"> <wsdl:part name="parameters" element="tns:set_ClearPonderationBillMain_Temp_ChangGui" /> @@ -16539,23 +16557,11 @@ <wsdl:message name="set_SaveMoveStockBill_BillCheckSoapOut"> <wsdl:part name="parameters" element="tns:set_SaveMoveStockBill_BillCheckResponse" /> </wsdl:message> - <wsdl:message name="set_SaveMoveStockBill_CLD_BillCheckSoapIn"> - <wsdl:part name="parameters" element="tns:set_SaveMoveStockBill_CLD_BillCheck" /> - </wsdl:message> - <wsdl:message name="set_SaveMoveStockBill_CLD_BillCheckSoapOut"> - <wsdl:part name="parameters" element="tns:set_SaveMoveStockBill_CLD_BillCheckResponse" /> - </wsdl:message> <wsdl:message name="set_SaveMoveStockStepOutBill_NewSoapIn"> <wsdl:part name="parameters" element="tns:set_SaveMoveStockStepOutBill_New" /> </wsdl:message> <wsdl:message name="set_SaveMoveStockStepOutBill_NewSoapOut"> <wsdl:part name="parameters" element="tns:set_SaveMoveStockStepOutBill_NewResponse" /> - </wsdl:message> - <wsdl:message name="set_SaveMoveStockStepOutBill_CLD_NewSoapIn"> - <wsdl:part name="parameters" element="tns:set_SaveMoveStockStepOutBill_CLD_New" /> - </wsdl:message> - <wsdl:message name="set_SaveMoveStockStepOutBill_CLD_NewSoapOut"> - <wsdl:part name="parameters" element="tns:set_SaveMoveStockStepOutBill_CLD_NewResponse" /> </wsdl:message> <wsdl:message name="GetSc_ICMOBillListSoapIn"> <wsdl:part name="parameters" element="tns:GetSc_ICMOBillList" /> @@ -17578,9 +17584,17 @@ <wsdl:part name="parameters" element="tns:GetSc_ICMOBackBillListResponse" /> </wsdl:message> <wsdl:portType name="WebService1Soap"> + <wsdl:operation name="get_SourceBarCode_POStockInBack"> + <wsdl:input message="tns:get_SourceBarCode_POStockInBackSoapIn" /> + <wsdl:output message="tns:get_SourceBarCode_POStockInBackSoapOut" /> + </wsdl:operation> <wsdl:operation name="get_SourceBarCode_MateOutBack"> <wsdl:input message="tns:get_SourceBarCode_MateOutBackSoapIn" /> <wsdl:output message="tns:get_SourceBarCode_MateOutBackSoapOut" /> + </wsdl:operation> + <wsdl:operation name="get_SourceBarCode_SellOutBack"> + <wsdl:input message="tns:get_SourceBarCode_SellOutBackSoapIn" /> + <wsdl:output message="tns:get_SourceBarCode_SellOutBackSoapOut" /> </wsdl:operation> <wsdl:operation name="get_BarCode"> <wsdl:input message="tns:get_BarCodeSoapIn" /> @@ -17905,6 +17919,10 @@ <wsdl:operation name="set_SavePonderationBillMain_Temp_BarCode_Mould"> <wsdl:input message="tns:set_SavePonderationBillMain_Temp_BarCode_MouldSoapIn" /> <wsdl:output message="tns:set_SavePonderationBillMain_Temp_BarCode_MouldSoapOut" /> + </wsdl:operation> + <wsdl:operation name="get_ORGANIZATIONS_UserByOrgRelation"> + <wsdl:input message="tns:get_ORGANIZATIONS_UserByOrgRelationSoapIn" /> + <wsdl:output message="tns:get_ORGANIZATIONS_UserByOrgRelationSoapOut" /> </wsdl:operation> <wsdl:operation name="get_ORGANIZATIONSIDByName"> <wsdl:input message="tns:get_ORGANIZATIONSIDByNameSoapIn" /> @@ -18238,9 +18256,9 @@ <wsdl:input message="tns:get_SourceBarCode_MoveStockStepInSoapIn" /> <wsdl:output message="tns:get_SourceBarCode_MoveStockStepInSoapOut" /> </wsdl:operation> - <wsdl:operation name="get_SourceBarCode_POStockInBack"> - <wsdl:input message="tns:get_SourceBarCode_POStockInBackSoapIn" /> - <wsdl:output message="tns:get_SourceBarCode_POStockInBackSoapOut" /> + <wsdl:operation name="set_CheckEntrustInBill"> + <wsdl:input message="tns:set_CheckEntrustInBillSoapIn" /> + <wsdl:output message="tns:set_CheckEntrustInBillSoapOut" /> </wsdl:operation> <wsdl:operation name="set_AuditEntrustInBill"> <wsdl:input message="tns:set_AuditEntrustInBillSoapIn" /> @@ -18502,9 +18520,9 @@ <wsdl:input message="tns:get_ORGANIZATIONSSoapIn" /> <wsdl:output message="tns:get_ORGANIZATIONSSoapOut" /> </wsdl:operation> - <wsdl:operation name="get_ORGANIZATIONS_UserByOrgRelation"> - <wsdl:input message="tns:get_ORGANIZATIONS_UserByOrgRelationSoapIn" /> - <wsdl:output message="tns:get_ORGANIZATIONS_UserByOrgRelationSoapOut" /> + <wsdl:operation name="set_SaveEntrustOutBill_New"> + <wsdl:input message="tns:set_SaveEntrustOutBill_NewSoapIn" /> + <wsdl:output message="tns:set_SaveEntrustOutBill_NewSoapOut" /> </wsdl:operation> <wsdl:operation name="set_SaveEntrustOutBill_CLD_New"> <wsdl:input message="tns:set_SaveEntrustOutBill_CLD_NewSoapIn" /> @@ -18694,9 +18712,9 @@ <wsdl:input message="tns:set_CheckAddEntrustInBillSoapIn" /> <wsdl:output message="tns:set_CheckAddEntrustInBillSoapOut" /> </wsdl:operation> - <wsdl:operation name="set_CheckEntrustInBill"> - <wsdl:input message="tns:set_CheckEntrustInBillSoapIn" /> - <wsdl:output message="tns:set_CheckEntrustInBillSoapOut" /> + <wsdl:operation name="set_SaveMoveStockStepOutBill_CLD_New"> + <wsdl:input message="tns:set_SaveMoveStockStepOutBill_CLD_NewSoapIn" /> + <wsdl:output message="tns:set_SaveMoveStockStepOutBill_CLD_NewSoapOut" /> </wsdl:operation> <wsdl:operation name="set_SaveMoveStockStepInBill_New"> <wsdl:input message="tns:set_SaveMoveStockStepInBill_NewSoapIn" /> @@ -18893,10 +18911,6 @@ <wsdl:operation name="GetKf_EntrustOutBill_K3_Source"> <wsdl:input message="tns:GetKf_EntrustOutBill_K3_SourceSoapIn" /> <wsdl:output message="tns:GetKf_EntrustOutBill_K3_SourceSoapOut" /> - </wsdl:operation> - <wsdl:operation name="set_SaveEntrustOutBill_New"> - <wsdl:input message="tns:set_SaveEntrustOutBill_NewSoapIn" /> - <wsdl:output message="tns:set_SaveEntrustOutBill_NewSoapOut" /> </wsdl:operation> <wsdl:operation name="set_ClearPonderationBillMain_Temp_ChangGui"> <wsdl:input message="tns:set_ClearPonderationBillMain_Temp_ChangGuiSoapIn" /> @@ -19158,17 +19172,9 @@ <wsdl:input message="tns:set_SaveMoveStockBill_BillCheckSoapIn" /> <wsdl:output message="tns:set_SaveMoveStockBill_BillCheckSoapOut" /> </wsdl:operation> - <wsdl:operation name="set_SaveMoveStockBill_CLD_BillCheck"> - <wsdl:input message="tns:set_SaveMoveStockBill_CLD_BillCheckSoapIn" /> - <wsdl:output message="tns:set_SaveMoveStockBill_CLD_BillCheckSoapOut" /> - </wsdl:operation> <wsdl:operation name="set_SaveMoveStockStepOutBill_New"> <wsdl:input message="tns:set_SaveMoveStockStepOutBill_NewSoapIn" /> <wsdl:output message="tns:set_SaveMoveStockStepOutBill_NewSoapOut" /> - </wsdl:operation> - <wsdl:operation name="set_SaveMoveStockStepOutBill_CLD_New"> - <wsdl:input message="tns:set_SaveMoveStockStepOutBill_CLD_NewSoapIn" /> - <wsdl:output message="tns:set_SaveMoveStockStepOutBill_CLD_NewSoapOut" /> </wsdl:operation> <wsdl:operation name="GetSc_ICMOBillList"> <wsdl:input message="tns:GetSc_ICMOBillListSoapIn" /> @@ -19853,8 +19859,26 @@ </wsdl:portType> <wsdl:binding name="WebService1Soap" type="tns:WebService1Soap"> <soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="get_SourceBarCode_POStockInBack"> + <soap:operation soapAction="http://tempuri.org/get_SourceBarCode_POStockInBack" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> <wsdl:operation name="get_SourceBarCode_MateOutBack"> <soap:operation soapAction="http://tempuri.org/get_SourceBarCode_MateOutBack" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="get_SourceBarCode_SellOutBack"> + <soap:operation soapAction="http://tempuri.org/get_SourceBarCode_SellOutBack" style="document" /> <wsdl:input> <soap:body use="literal" /> </wsdl:input> @@ -20584,6 +20608,15 @@ </wsdl:operation> <wsdl:operation name="set_SavePonderationBillMain_Temp_BarCode_Mould"> <soap:operation soapAction="http://tempuri.org/set_SavePonderationBillMain_Temp_BarCode_Mould" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="get_ORGANIZATIONS_UserByOrgRelation"> + <soap:operation soapAction="http://tempuri.org/get_ORGANIZATIONS_UserByOrgRelation" style="document" /> <wsdl:input> <soap:body use="literal" /> </wsdl:input> @@ -21338,8 +21371,8 @@ <soap:body use="literal" /> </wsdl:output> </wsdl:operation> - <wsdl:operation name="get_SourceBarCode_POStockInBack"> - <soap:operation soapAction="http://tempuri.org/get_SourceBarCode_POStockInBack" style="document" /> + <wsdl:operation name="set_CheckEntrustInBill"> + <soap:operation soapAction="http://tempuri.org/set_CheckEntrustInBill" style="document" /> <wsdl:input> <soap:body use="literal" /> </wsdl:input> @@ -21932,8 +21965,8 @@ <soap:body use="literal" /> </wsdl:output> </wsdl:operation> - <wsdl:operation name="get_ORGANIZATIONS_UserByOrgRelation"> - <soap:operation soapAction="http://tempuri.org/get_ORGANIZATIONS_UserByOrgRelation" style="document" /> + <wsdl:operation name="set_SaveEntrustOutBill_New"> + <soap:operation soapAction="http://tempuri.org/set_SaveEntrustOutBill_New" style="document" /> <wsdl:input> <soap:body use="literal" /> </wsdl:input> @@ -22364,8 +22397,8 @@ <soap:body use="literal" /> </wsdl:output> </wsdl:operation> - <wsdl:operation name="set_CheckEntrustInBill"> - <soap:operation soapAction="http://tempuri.org/set_CheckEntrustInBill" style="document" /> + <wsdl:operation name="set_SaveMoveStockStepOutBill_CLD_New"> + <soap:operation soapAction="http://tempuri.org/set_SaveMoveStockStepOutBill_CLD_New" style="document" /> <wsdl:input> <soap:body use="literal" /> </wsdl:input> @@ -22807,15 +22840,6 @@ </wsdl:operation> <wsdl:operation name="GetKf_EntrustOutBill_K3_Source"> <soap:operation soapAction="http://tempuri.org/GetKf_EntrustOutBill_K3_Source" style="document" /> - <wsdl:input> - <soap:body use="literal" /> - </wsdl:input> - <wsdl:output> - <soap:body use="literal" /> - </wsdl:output> - </wsdl:operation> - <wsdl:operation name="set_SaveEntrustOutBill_New"> - <soap:operation soapAction="http://tempuri.org/set_SaveEntrustOutBill_New" style="document" /> <wsdl:input> <soap:body use="literal" /> </wsdl:input> @@ -23408,26 +23432,8 @@ <soap:body use="literal" /> </wsdl:output> </wsdl:operation> - <wsdl:operation name="set_SaveMoveStockBill_CLD_BillCheck"> - <soap:operation soapAction="http://tempuri.org/set_SaveMoveStockBill_CLD_BillCheck" style="document" /> - <wsdl:input> - <soap:body use="literal" /> - </wsdl:input> - <wsdl:output> - <soap:body use="literal" /> - </wsdl:output> - </wsdl:operation> <wsdl:operation name="set_SaveMoveStockStepOutBill_New"> <soap:operation soapAction="http://tempuri.org/set_SaveMoveStockStepOutBill_New" style="document" /> - <wsdl:input> - <soap:body use="literal" /> - </wsdl:input> - <wsdl:output> - <soap:body use="literal" /> - </wsdl:output> - </wsdl:operation> - <wsdl:operation name="set_SaveMoveStockStepOutBill_CLD_New"> - <soap:operation soapAction="http://tempuri.org/set_SaveMoveStockStepOutBill_CLD_New" style="document" /> <wsdl:input> <soap:body use="literal" /> </wsdl:input> @@ -24968,8 +24974,26 @@ </wsdl:binding> <wsdl:binding name="WebService1Soap12" type="tns:WebService1Soap"> <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="get_SourceBarCode_POStockInBack"> + <soap12:operation soapAction="http://tempuri.org/get_SourceBarCode_POStockInBack" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> <wsdl:operation name="get_SourceBarCode_MateOutBack"> <soap12:operation soapAction="http://tempuri.org/get_SourceBarCode_MateOutBack" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="get_SourceBarCode_SellOutBack"> + <soap12:operation soapAction="http://tempuri.org/get_SourceBarCode_SellOutBack" style="document" /> <wsdl:input> <soap12:body use="literal" /> </wsdl:input> @@ -25699,6 +25723,15 @@ </wsdl:operation> <wsdl:operation name="set_SavePonderationBillMain_Temp_BarCode_Mould"> <soap12:operation soapAction="http://tempuri.org/set_SavePonderationBillMain_Temp_BarCode_Mould" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="get_ORGANIZATIONS_UserByOrgRelation"> + <soap12:operation soapAction="http://tempuri.org/get_ORGANIZATIONS_UserByOrgRelation" style="document" /> <wsdl:input> <soap12:body use="literal" /> </wsdl:input> @@ -26453,8 +26486,8 @@ <soap12:body use="literal" /> </wsdl:output> </wsdl:operation> - <wsdl:operation name="get_SourceBarCode_POStockInBack"> - <soap12:operation soapAction="http://tempuri.org/get_SourceBarCode_POStockInBack" style="document" /> + <wsdl:operation name="set_CheckEntrustInBill"> + <soap12:operation soapAction="http://tempuri.org/set_CheckEntrustInBill" style="document" /> <wsdl:input> <soap12:body use="literal" /> </wsdl:input> @@ -27047,8 +27080,8 @@ <soap12:body use="literal" /> </wsdl:output> </wsdl:operation> - <wsdl:operation name="get_ORGANIZATIONS_UserByOrgRelation"> - <soap12:operation soapAction="http://tempuri.org/get_ORGANIZATIONS_UserByOrgRelation" style="document" /> + <wsdl:operation name="set_SaveEntrustOutBill_New"> + <soap12:operation soapAction="http://tempuri.org/set_SaveEntrustOutBill_New" style="document" /> <wsdl:input> <soap12:body use="literal" /> </wsdl:input> @@ -27479,8 +27512,8 @@ <soap12:body use="literal" /> </wsdl:output> </wsdl:operation> - <wsdl:operation name="set_CheckEntrustInBill"> - <soap12:operation soapAction="http://tempuri.org/set_CheckEntrustInBill" style="document" /> + <wsdl:operation name="set_SaveMoveStockStepOutBill_CLD_New"> + <soap12:operation soapAction="http://tempuri.org/set_SaveMoveStockStepOutBill_CLD_New" style="document" /> <wsdl:input> <soap12:body use="literal" /> </wsdl:input> @@ -27922,15 +27955,6 @@ </wsdl:operation> <wsdl:operation name="GetKf_EntrustOutBill_K3_Source"> <soap12:operation soapAction="http://tempuri.org/GetKf_EntrustOutBill_K3_Source" style="document" /> - <wsdl:input> - <soap12:body use="literal" /> - </wsdl:input> - <wsdl:output> - <soap12:body use="literal" /> - </wsdl:output> - </wsdl:operation> - <wsdl:operation name="set_SaveEntrustOutBill_New"> - <soap12:operation soapAction="http://tempuri.org/set_SaveEntrustOutBill_New" style="document" /> <wsdl:input> <soap12:body use="literal" /> </wsdl:input> @@ -28523,26 +28547,8 @@ <soap12:body use="literal" /> </wsdl:output> </wsdl:operation> - <wsdl:operation name="set_SaveMoveStockBill_CLD_BillCheck"> - <soap12:operation soapAction="http://tempuri.org/set_SaveMoveStockBill_CLD_BillCheck" style="document" /> - <wsdl:input> - <soap12:body use="literal" /> - </wsdl:input> - <wsdl:output> - <soap12:body use="literal" /> - </wsdl:output> - </wsdl:operation> <wsdl:operation name="set_SaveMoveStockStepOutBill_New"> <soap12:operation soapAction="http://tempuri.org/set_SaveMoveStockStepOutBill_New" style="document" /> - <wsdl:input> - <soap12:body use="literal" /> - </wsdl:input> - <wsdl:output> - <soap12:body use="literal" /> - </wsdl:output> - </wsdl:operation> - <wsdl:operation name="set_SaveMoveStockStepOutBill_CLD_New"> - <soap12:operation soapAction="http://tempuri.org/set_SaveMoveStockStepOutBill_CLD_New" style="document" /> <wsdl:input> <soap12:body use="literal" /> </wsdl:input> diff --git a/WebAPI/Web.config b/WebAPI/Web.config index 352a956..77d3f96 100644 --- a/WebAPI/Web.config +++ b/WebAPI/Web.config @@ -35,7 +35,7 @@ <!--<add key="sUrl" value="http://47.96.97.237/WEBS-WMS/WebService1.asmx"/> --> <!--娴嬭瘯鏈嶅姟鍣�--> <!--<add key="surl" value="http://localhost:8082/webs/webservice1.asmx"/> 鏈湴--> <!--<add key="sUrl" value="http://192.168.110.57:81/WEBS/WebService1.asmx"/>--> <!--闄堥洴闈欐湰鍦伴厤缃�--> - <add key="surl" value="http://localhost/webs-web/webservice1.asmx" /> <!--缈佹稕娑涙湰鍦伴厤缃�--> + <!--<add key="surl" value="http://localhost/webs-web/webservice1.asmx" />--> <!--缈佹稕娑涙湰鍦伴厤缃�--> <!--<add key="sUrl" value="http://192.168.1.57:8082/WEBS-WMS/WebService1.asmx"/>涔濊彵--> <!--<add key="sUrl" value="http://61.130.182.102:18181/WEBSCS/WebService1.asmx"/>--><!--鏂帿灏�--> diff --git a/WebAPI/WebAPI.csproj b/WebAPI/WebAPI.csproj index 06d7a93..2525845 100644 --- a/WebAPI/WebAPI.csproj +++ b/WebAPI/WebAPI.csproj @@ -441,6 +441,7 @@ <Compile Include="Controllers\CJGL\Sc_KeyElementBindingController.cs" /> <Compile Include="Controllers\CJGL\Sc_OEEReportController.cs" /> <Compile Include="Controllers\CKGL\TMZD\Gy_BarCodeBillListController.cs" /> + <Compile Include="Controllers\JHGL\Gy_SourceMouldBillController.cs" /> <Compile Include="Controllers\Xt_DefineBillMainSetController.cs" /> <Compile Include="Controllers\MJGL\Sc_MouldBatchWorkCheckBillController.cs" /> <Compile Include="Controllers\SBGL\SBBB\Sb_EquipMentCollectionTechParamController.cs" /> -- Gitblit v1.9.1