DAL/WMS/ClsKF_PonderationBillMain_Temp_View.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
WebAPI/Controllers/MoveStockBillController.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
WebAPI/Controllers/ProductInController.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
WebAPI/Controllers/WebAPIController.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
WebAPI/WebServer.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
DAL/WMS/ClsKF_PonderationBillMain_Temp_View.cs
@@ -75,6 +75,21 @@ #endregion //缓存列表界面,返回缓存列表信息 public DataSet GetKf_PonderationBillMain_TempList_New(string sHBillType, string sHMaker, Int64 sHOWNERID) { SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); DataSet Ds = oCn.RunProcReturn("exec h_p_KF_GetPonderationBillMain_TempList_New '" + sHBillType + "','" + sHMaker + "'," + sHOWNERID.ToString(), "h_p_KF_GetPonderationBillMain_TempList_New"); if (Ds == null || Ds.Tables[0].Rows.Count == 0) { return null; } else { return Ds; } } public DataSet GetKf_ICStockBillList(string sHBillType, string sHMaker, Int64 sHOWNERID) { SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); WebAPI/Controllers/MoveStockBillController.cs
@@ -440,7 +440,7 @@ websLsmain.HSupID = 0; //websLsmain.HGroupID = lsmain[0].HGroupID; if (webserver.set_SaveMoveStockBill(websLsmain, "-1", ref DBUtility.ClsPub.sErrInfo)) if (webserver.set_SaveMoveStockBill(websLsmain, sSourceBillType, ref DBUtility.ClsPub.sErrInfo)) { objJsonResult.code = "0"; objJsonResult.count = 1; WebAPI/Controllers/ProductInController.cs
@@ -59,6 +59,37 @@ return ""; } } /// <summary> /// 产品入库缓存列表编辑前判断单据是否已上传 直接调WebService /// </summary> /// <returns></returns> //[Route("ProductIn/ProductInTempList_Modify")] //[HttpGet] //public Object ProductInTempList_Modify(Int64 sInterID,string sBillNo, string sBillType) //{ // //oBar = webserver.get_CheckTypeByBarCode(sCode, sInterID, sBillType, sBillNo, sMaker, WhID, SPID, sQty, sRedBlue, SourceFlag, sSourceBillNo, sSourceType, HOWNERID, ref DBUtility.ClsPub.sErrInfo); // WebS.WebService1 oWebs = new WebS.WebService1(); // if (oWebs.TempList_Modify(sInterID, sBillNo, sBillType, ref sErrMsg)) // { // objJsonResult.code = "0"; // objJsonResult.count = 0; // objJsonResult.Message = DBUtility.ClsPub.sErrInfo; // objJsonResult.data = null; // return objJsonResult; // } // else // { // objJsonResult.code = "0"; // objJsonResult.count = 1; // objJsonResult.Message = DBUtility.ClsPub.sErrInfo; // objJsonResult.data = null; // return objJsonResult; // } //} /// <summary> /// 产品入库/扫条码/直接调用webservice /// </summary> @@ -165,6 +196,46 @@ } } ///// <summary> ///// 产品入库缓存列表刷新信息 ///// </summary> ///// <returns></returns> //[Route("ProductIn/DisBillEntryList_Json1")] //[HttpGet] //public object DisBillEntryList_Json1(string HBillType,string sHMaker, Int64 HOrgID) //{ // try // { // ds = webserver.GetKf_PonderationBillMain_TempList_New(HBillType, sHMaker, HOrgID); // if (ds == null || ds.Tables[0].Rows.Count <= 0) // { // objJsonResult.code = "0"; // objJsonResult.count = 0; // objJsonResult.Message = "没有返回任何记录!"; // objJsonResult.data = null; // return objJsonResult; // //DBUtility.ClsPub.MessageBeep((int)DBUtility.ClsPub.BeepType.Warning); // } // else // { // objJsonResult.code = "0"; // objJsonResult.count = 1; // objJsonResult.Message = "获取信息成功!"; // objJsonResult.data = ds.Tables[0]; // return objJsonResult; // } // } // catch (Exception e) // { // objJsonResult.code = "0"; // objJsonResult.count = 0; // objJsonResult.Message = "没有返回任何记录!" + e.ToString(); // objJsonResult.data = null; // return objJsonResult; // } //} /// <summary> WebAPI/Controllers/WebAPIController.cs
@@ -2497,6 +2497,48 @@ } #endregion /// <summary> /// 产品入库缓存列表刷新信息 /// </summary> /// <returns></returns> [Route("Web/chanpinruk")] [HttpGet] public object chanpinruk(string HBillType, string sHMaker, Int64 HOrgID) { try { ds = webserver.GetKf_PonderationBillMain_TempList_New(HBillType, sHMaker, HOrgID); if (ds == null || ds.Tables[0].Rows.Count <= 0) { objJsonResult.code = "0"; objJsonResult.count = 0; objJsonResult.Message = "没有返回任何记录!"; objJsonResult.data = null; return objJsonResult; //DBUtility.ClsPub.MessageBeep((int)DBUtility.ClsPub.BeepType.Warning); } else { objJsonResult.code = "0"; objJsonResult.count = 1; objJsonResult.Message = "获取信息成功!"; objJsonResult.data = ds.Tables[0]; return objJsonResult; } } catch (Exception e) { objJsonResult.code = "0"; objJsonResult.count = 0; objJsonResult.Message = "没有返回任何记录!" + e.ToString(); objJsonResult.data = null; return objJsonResult; } } } } WebAPI/WebServer.cs
@@ -4429,6 +4429,14 @@ //返回缓存列表信息 同步资料 public DataSet GetKf_PonderationBillMain_TempList_New(string sHBillType, string sHMaker, Int64 sHOWNERID) { DAL.ClsKF_PonderationBillMain_Temp_View dal = new DAL.ClsKF_PonderationBillMain_Temp_View(); return dal.GetKf_PonderationBillMain_TempList_New(sHBillType, sHMaker, sHOWNERID); } //返回缓存列表信息 同步资料 public DataSet GetKf_PonderationBillMain_TempList(string sHBillType, string sWhere) { DAL.ClsKF_PonderationBillMain_Temp_View dal = new DAL.ClsKF_PonderationBillMain_Temp_View(); @@ -4437,6 +4445,7 @@ /// <summary> /// 生成外购入库单 /// </summary>