diff --git a/AMESCoreStudio.Web/Controllers/QRSController.cs b/AMESCoreStudio.Web/Controllers/QRSController.cs index 17b02720..102835b4 100644 --- a/AMESCoreStudio.Web/Controllers/QRSController.cs +++ b/AMESCoreStudio.Web/Controllers/QRSController.cs @@ -9426,7 +9426,7 @@ namespace AMESCoreStudio.Web.Controllers #region 醫療 - wipStation = await _pcsApi.GetWipStation4QRS014GroupM(itemNO, dateStart, dateEnd, modelNO, werksNo, dateType); + wipStation = await _pcsApi.GetWipStation4QRS014GroupMByWeek(itemNO, dateStart, dateEnd, modelNO, werksNo, dateType); if (wipStation.DataTotal > 0) { DataTable dtRate = new DataTable(); diff --git a/AMESCoreStudio.Web/Views/QRS/QRS014C.cshtml b/AMESCoreStudio.Web/Views/QRS/QRS014C.cshtml index 2097070e..591b93ab 100644 --- a/AMESCoreStudio.Web/Views/QRS/QRS014C.cshtml +++ b/AMESCoreStudio.Web/Views/QRS/QRS014C.cshtml @@ -153,8 +153,8 @@ var xAxisData = new Array(); var yieldData = new Array(); $.each(response, function (i, item) { - yieldData[idx] = item["week"]; - xAxisData[idx] = item["month"]; + yieldData[idx] = item["yield"]; + xAxisData[idx] = item["week"]; idx = idx + 1; });