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{