From 63b8880e08f489986edc9e24b09462ac916d7f72 Mon Sep 17 00:00:00 2001 From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU> Date: 星期四, 18 九月 2025 09:22:12 +0800 Subject: [PATCH] 受托退料:前端界面规范,列表与明细转为存储过程,添加组织隔离、拆分、库位列表、已扫待扫、完结功能 --- Controllers/Wom/WomdaaController.cs | 31 +++++++++++++++++++++++++++---- 1 files changed, 27 insertions(+), 4 deletions(-) diff --git a/Controllers/Wom/WomdaaController.cs b/Controllers/Wom/WomdaaController.cs index b4dc967..3b5c3ca 100644 --- a/Controllers/Wom/WomdaaController.cs +++ b/Controllers/Wom/WomdaaController.cs @@ -13,7 +13,6 @@ [Route("api/[controller]")] public class WomdaaController : BaseController { - private readonly WomdaaManager m = new(); private readonly MesPrintMangeer _mCf = new(); @@ -30,7 +29,7 @@ try { dynamic resultInfos = new ExpandoObject(); - resultInfos.tbBillList = m.GetProductionPickDaa001(query, OrgId); + resultInfos.tbBillList = m.GetProductionPickDaa001(query, RequestInfo); return new ResponseResult { status = 0, @@ -58,7 +57,7 @@ try { dynamic resultInfos = new ExpandoObject(); - resultInfos.tbBillList = m.GetItemsByDaa001(query, OrgId); + resultInfos.tbBillList = m.GetItemsByDaa001(query, RequestInfo); return new ResponseResult { status = 0, @@ -138,6 +137,30 @@ { dynamic resultInfos = new ExpandoObject(); resultInfos.tbBillList = m.GetBarKwByItem(unity); + return new ResponseResult + { + status = 0, + message = "OK", + data = resultInfos + }; + } + catch (Exception ex) + { + return ResponseResult.ResponseError(ex); + } + } + + /// <summary> + /// 鐢熶骇棰嗘枡鐐瑰嚮鐗╂枡鏄庣粏鑾峰彇鐩稿叧鏉$爜淇℃伅 + /// </summary> + /// <returns></returns> + [HttpPost("GetBarKwByItemCK")] + public ResponseResult GetBarKwByItemCK(dynamic unity) + { + try + { + dynamic resultInfos = new ExpandoObject(); + resultInfos.tbBillList = m.GetBarKwByItemCK(unity); return new ResponseResult { status = 0, @@ -548,7 +571,7 @@ try { dynamic resultInfos = new ExpandoObject(); - resultInfos.tbBillList = m.GetXcslDaa(query); + resultInfos.tbBillList = m.GetXcslDaa(query, RequestInfo); return new ResponseResult { status = 0, -- Gitblit v1.9.3