From 77bdf82751cb33f88c2d772044741e09affc424f Mon Sep 17 00:00:00 2001 From: Marvin Date: Wed, 11 Oct 2023 22:37:50 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E6=B8=85=E7=B6=AB=E4=BD=9C?= =?UTF-8?q?=E6=A5=AD=201.1.=E5=A2=9E=E5=8A=A0=E6=9F=A5=E8=A9=A2=E6=A2=9D?= =?UTF-8?q?=E4=BB=B6=201.2.=E4=BF=AE=E6=94=B9=E6=A9=9F=E7=A8=AE=E7=94=A8it?= =?UTF-8?q?emNO=201.3.=E4=BF=AE=E6=94=B9=E7=A2=BA=E8=AA=8D=E5=90=8E?= =?UTF-8?q?=EF=BC=8C=E4=B8=8D=E8=83=BD=E4=BF=AE=E6=94=B9=201.4.=E6=98=8E?= =?UTF-8?q?=E7=B4=B0=E9=A0=81=E9=9D=A2=EF=BC=8C=E5=A2=9E=E5=8A=A0=E9=A1=AF?= =?UTF-8?q?=E7=A4=BA=E5=B7=A5=E5=96=AE=E8=B3=87=E8=A8=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/PCSController.cs | 12 ++- AMESCoreStudio.Web/HttpApis/AMES/IPCS.cs | 2 +- AMESCoreStudio.Web/Views/PCS/PCS037.cshtml | 79 ++++++++++++++++++- AMESCoreStudio.Web/Views/PCS/PCS037L.cshtml | 9 ++- .../Controllers/AMES/WipClearsController.cs | 26 +++++- 5 files changed, 117 insertions(+), 11 deletions(-) diff --git a/AMESCoreStudio.Web/Controllers/PCSController.cs b/AMESCoreStudio.Web/Controllers/PCSController.cs index 23cfcaf1..3bd8b7ba 100644 --- a/AMESCoreStudio.Web/Controllers/PCSController.cs +++ b/AMESCoreStudio.Web/Controllers/PCSController.cs @@ -8814,9 +8814,15 @@ namespace AMESCoreStudio.Web.Controllers //维护明细页面 [HttpGet] - public ActionResult PCS037L(string wipNO, int clearID) + public ActionResult PCS037L(string wipNO, int clearID, string itemNO, int planQty, string checkFlag) { + ViewData["Tips"] = "工單號碼 : " + wipNO + ", 工單數量 : " + planQty + ", 機種 : " + itemNO + ", ISO編號 : QO4-038"; + ViewBag.ClearID = clearID; + ViewBag.wipNO = wipNO; + ViewBag.itemNO = itemNO; + ViewBag.planQty = planQty; + ViewBag.checkFlag = checkFlag; return View(); } @@ -8914,9 +8920,9 @@ namespace AMESCoreStudio.Web.Controllers [ResponseCache(Duration = 0)] [HttpGet] - public async Task GetWipClearsAsync(int page = 0, int limit = 10) + public async Task GetWipClearsAsync(string wipNo, string itemNo, string dateStart, string dateEnd, int page = 0, int limit = 10) { - var result = await _pcsApi.GetWipClears(page, limit); + var result = await _pcsApi.GetWipClears(wipNo, itemNo, dateStart, dateEnd, page, limit); if (result.DataTotal > 0) { diff --git a/AMESCoreStudio.Web/HttpApis/AMES/IPCS.cs b/AMESCoreStudio.Web/HttpApis/AMES/IPCS.cs index 25bd15fe..b7c3fdfd 100644 --- a/AMESCoreStudio.Web/HttpApis/AMES/IPCS.cs +++ b/AMESCoreStudio.Web/HttpApis/AMES/IPCS.cs @@ -1525,7 +1525,7 @@ namespace AMESCoreStudio.Web /// /// [WebApiClient.Attributes.HttpGet("api/WipClears")] - ITask> GetWipClears(int page, int limit); + ITask> GetWipClears(string wipNo,string itemNo,string dateStart,string dateEnd,int page, int limit); /// /// 新增清線資料 diff --git a/AMESCoreStudio.Web/Views/PCS/PCS037.cshtml b/AMESCoreStudio.Web/Views/PCS/PCS037.cshtml index 32cc3dfa..9d7651e1 100644 --- a/AMESCoreStudio.Web/Views/PCS/PCS037.cshtml +++ b/AMESCoreStudio.Web/Views/PCS/PCS037.cshtml @@ -21,12 +21,68 @@
+
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
@section Scripts{