diff --git a/AMESCoreStudio.Web/Controllers/QRSController.cs b/AMESCoreStudio.Web/Controllers/QRSController.cs index 87a69228..5841fcd2 100644 --- a/AMESCoreStudio.Web/Controllers/QRSController.cs +++ b/AMESCoreStudio.Web/Controllers/QRSController.cs @@ -473,7 +473,7 @@ namespace AMESCoreStudio.Web.Controllers { stationList = stationList + rule_sation[j].StationID + ","; - wipDataList = wipDataList + "" + rule_sation[j].Station.StationName + ""; + wipDataList = wipDataList + "" + rule_sation[j].Station.StationName + ""; var wip_station = await _pcsApi.GetWipStation4QRS009Group(wip_id, rule_sation[j].StationID); @@ -512,7 +512,7 @@ namespace AMESCoreStudio.Web.Controllers } //stationQty = stationQty + "" + okQty + "/" + ngQty + ""; - stationQty = stationQty + "" + okQty + "/" + ngQty + ""; + stationQty = stationQty + "" + okQty + "/" + ngQty + ""; double rate = ((okQty * 1.0) / (okQty + ngQty)) * 100; @@ -521,7 +521,7 @@ namespace AMESCoreStudio.Web.Controllers rate = 100; } - if (j == rule_sation.Count - 2) + if (j == rule_sation.Count - 1) { if (rate <= 90) { @@ -638,7 +638,7 @@ namespace AMESCoreStudio.Web.Controllers { wip_qty = 0; } - stationWip = stationWip + "" + wip_qty + ""; + stationWip = stationWip + "" + wip_qty + ""; } stationWip = stationWip + "
"; diff --git a/AMESCoreStudio.Web/Views/QRS/QRS011A.cshtml b/AMESCoreStudio.Web/Views/QRS/QRS011A.cshtml index 42ec4686..b1ca9f94 100644 --- a/AMESCoreStudio.Web/Views/QRS/QRS011A.cshtml +++ b/AMESCoreStudio.Web/Views/QRS/QRS011A.cshtml @@ -12,6 +12,58 @@
- @Html.Raw(ViewData["WipDataList"]) + +
+ + + + +
@Html.Raw(ViewData["WipDataList"])
+ +