diff --git a/AMESCoreStudio.Web/Controllers/SPCController.cs b/AMESCoreStudio.Web/Controllers/SPCController.cs index 87fd3cbc..441e4322 100644 --- a/AMESCoreStudio.Web/Controllers/SPCController.cs +++ b/AMESCoreStudio.Web/Controllers/SPCController.cs @@ -1267,6 +1267,15 @@ namespace AMESCoreStudio.Web.Controllers //return Json(new Result() { success = true, msg = "資料有誤!!" }); } + + [HttpPost] + public async Task SPC005GetPLMECN(string ItemNo) + { + IResultModel result; + result = await _spcApi.GetPLMEcn(ItemNo); + return Json(result); + } + [ResponseCache(Duration = 0)] [HttpGet] public async Task GetInspectionResultMastersAsync() diff --git a/AMESCoreStudio.Web/HttpApis/AMES/ISPC.cs b/AMESCoreStudio.Web/HttpApis/AMES/ISPC.cs index 51999830..b81750ea 100644 --- a/AMESCoreStudio.Web/HttpApis/AMES/ISPC.cs +++ b/AMESCoreStudio.Web/HttpApis/AMES/ISPC.cs @@ -338,6 +338,12 @@ namespace AMESCoreStudio.Web ITask> PutInspectionResultDetailForType([FromBody, RawJsonContent] string model); + /// + /// FQC007 取PLM ECN + /// + /// + [WebApiClient.Attributes.HttpGet("api/GetPLMData/Get_PLM_ECN")] + ITask> GetPLMEcn(string ItemNo); #endregion diff --git a/AMESCoreStudio.Web/Views/SPC/SPC005C.cshtml b/AMESCoreStudio.Web/Views/SPC/SPC005C.cshtml index 0c9be70a..82769dc8 100644 --- a/AMESCoreStudio.Web/Views/SPC/SPC005C.cshtml +++ b/AMESCoreStudio.Web/Views/SPC/SPC005C.cshtml @@ -69,10 +69,10 @@
- + @@ -113,12 +113,12 @@
@*
-
- @Html.ValidationMessage("error") - - -
-
*@ +
+ @Html.ValidationMessage("error") + + +
+ *@
@@ -172,7 +172,7 @@ @* *@ - + } diff --git a/AMESCoreStudio.Web/Views/SPC/SPC005U.cshtml b/AMESCoreStudio.Web/Views/SPC/SPC005U.cshtml index e3290084..0635a7fd 100644 --- a/AMESCoreStudio.Web/Views/SPC/SPC005U.cshtml +++ b/AMESCoreStudio.Web/Views/SPC/SPC005U.cshtml @@ -56,10 +56,10 @@
- + @@ -180,7 +180,7 @@ *@ - + }