From 00d963405d2d5161052934f2cb67a2b6ea0947dd Mon Sep 17 00:00:00 2001 From: zrg <z18737863051@163.com> Date: 星期二, 23 四月 2024 17:14:30 +0800 Subject: [PATCH] 1.销售出库单 增加 反写源单 销售订单和发货通知单 超出 关联数量 关闭源单 2.应收单 增加 反写源单 销售出库单 和 销售订单 超出关联数量 关闭源单 3.动态获取源单增加参数 Num 0蓝单 1红单 2全部 4.销售流程的测试并完善功能; 销售订单-》发货通知单-》销售出库单-》应收单 (注意: 源单类型的下拉框 需要 根据数据库 表动态加载, 关联数量 要准确 , 审核 且 未关闭 未行关闭的行 才能下推 ,关联数量超额后,要 反写 关闭 源单 ) --- WebAPI/Controllers/BaseSet/Gy_StockPlaceController.cs | 60 ++++++++++++++++++++++++++++++------------------------------ 1 files changed, 30 insertions(+), 30 deletions(-) diff --git a/WebAPI/Controllers/BaseSet/Gy_StockPlaceController.cs b/WebAPI/Controllers/BaseSet/Gy_StockPlaceController.cs index 9606b19..09b5cc9 100644 --- a/WebAPI/Controllers/BaseSet/Gy_StockPlaceController.cs +++ b/WebAPI/Controllers/BaseSet/Gy_StockPlaceController.cs @@ -17,34 +17,34 @@ SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); DataSet ds; - /// <summary> - /// 鏍规嵁鍩虹璧勬枡ID 鏌ユ壘璁板綍 - ///鍙傛暟锛歴tring sql銆� - ///杩斿洖鍊硷細object銆� - /// </summary> - [Route("Gy_Department/cx")] - [HttpGet] - public object cx(long HInterID) - { - try - { - ds = oCN.RunProcReturn("select * from Gy_Department where hitemid = " + HInterID, "Gy_Department"); + ///// <summary> + ///// 鏍规嵁鍩虹璧勬枡ID 鏌ユ壘璁板綍 + /////鍙傛暟锛歴tring sql銆� + /////杩斿洖鍊硷細object銆� + ///// </summary> + //[Route("Gy_Department/cx")] + //[HttpGet] + //public object cx(long HInterID) + //{ + // try + // { + // ds = oCN.RunProcReturn("select * from Gy_Department where hitemid = " + HInterID, "Gy_Department"); - objJsonResult.code = "1"; - objJsonResult.count = 1; - objJsonResult.Message = "Sucess锛�"; - objJsonResult.data = ds.Tables[0]; - return objJsonResult; - } - catch (Exception e) - { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = "Exception锛�" + e.ToString(); - objJsonResult.data = null; - return objJsonResult; - } - } + // objJsonResult.code = "1"; + // objJsonResult.count = 1; + // objJsonResult.Message = "Sucess锛�"; + // objJsonResult.data = ds.Tables[0]; + // return objJsonResult; + // } + // catch (Exception e) + // { + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "Exception锛�" + e.ToString(); + // objJsonResult.data = null; + // return objJsonResult; + // } + //} /// <summary> /// 閮ㄩ棬鍒楄〃鍒犻櫎鎸夐挳 @@ -59,7 +59,7 @@ DAL.ClsGy_Department_View oDeptHlp = new DAL.ClsGy_Department_View(); try { - if (!DBUtility.ClsPub.Security_Log(ModRightNameDelete, 1, true,User)) + if (!DBUtility.ClsPub.Security_Log(ModRightNameDelete, 1, false,User)) { objJsonResult.code = "0"; objJsonResult.count = 0; @@ -288,7 +288,7 @@ ///鍙傛暟锛歴tring sql銆� ///杩斿洖鍊硷細object銆� /// </summary> - [Route("Gy_Department/AddBill1")] + [Route("Gy_StockPlaceController/AddBill1")] [HttpPost] public object AddBill1([FromBody] JObject oMain) { @@ -332,7 +332,7 @@ //鍒ゆ柇鏉冮檺 - if (!ClsPub.Security_Log(msg5, 1, true, msg4)) + if (!ClsPub.Security_Log(msg5, 1, false, msg4)) { objJsonResult.code = "0"; objJsonResult.count = 0; -- Gitblit v1.9.1