From fbb0bc175c8788f2f6ce4202d2630b01506bff80 Mon Sep 17 00:00:00 2001 From: sjz <1240968267@qq.com> Date: 星期五, 13 六月 2025 11:40:36 +0800 Subject: [PATCH] 发货通知单新增客户编码和客户名称。生产订单添加含税单价 --- MESApplication/Controllers/QC/XJController.cs | 29 ++++++++++++++++++++++++++--- 1 files changed, 26 insertions(+), 3 deletions(-) diff --git a/MESApplication/Controllers/QC/XJController.cs b/MESApplication/Controllers/QC/XJController.cs index 71847ce..bc19dfd 100644 --- a/MESApplication/Controllers/QC/XJController.cs +++ b/MESApplication/Controllers/QC/XJController.cs @@ -165,13 +165,13 @@ [HttpPost("setJYItem")] public ResponseResult setJYItem([FromBody] JObject data) { - var itemId = Convert.ToDecimal(data["itemId"].ToString()); + var itemNo = "XJ001"; try { - + dynamic resultInfos = new ExpandoObject(); var tbBillList = - new XJService().setJYItem(itemId); + new XJService().setJYItem(itemNo); resultInfos.tbBillList = tbBillList; return new ResponseResult { @@ -399,6 +399,29 @@ } } + + //saveCommentGid + [HttpPost("saveCommentGid")] + public ResponseResult saveCommentGid([FromBody] XJDto rkjDto) + { + try + { + dynamic resultInfos = new ExpandoObject(); + var tbBillList = + new XJService().saveCommentGid(rkjDto); + resultInfos.tbBillList = tbBillList; + return new ResponseResult + { + status = 0, + message = "OK", + data = resultInfos + }; + } + catch (Exception ex) + { + return ResponseResult.ResponseError(ex); + } + } //saveRemarksPid [HttpPost("saveRemarksPid")] public ResponseResult saveRemarksPid([FromBody] XJDto rkjDto) -- Gitblit v1.9.3