From 7c05480508fb7fa0f2350867b93b2eab104e3939 Mon Sep 17 00:00:00 2001 From: Marvin Date: Mon, 25 Dec 2023 23:32:47 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E7=94=9F=E4=BA=A7=E7=9C=8B?= =?UTF-8?q?=E6=9D=BF=EF=BC=8C=E5=A2=9E=E5=8A=A0=E7=94=9F=E4=BA=A7=E5=8A=9B?= =?UTF-8?q?=EF=BC=8C=E6=95=88=E7=8E=87=E5=9B=BE=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/RPTController.cs | 4 + AMESCoreStudio.Web/Views/RPT/RPT001.cshtml | 132 +++++++++++++++++- 2 files changed, 135 insertions(+), 1 deletion(-) diff --git a/AMESCoreStudio.Web/Controllers/RPTController.cs b/AMESCoreStudio.Web/Controllers/RPTController.cs index c8194842..09576cfb 100644 --- a/AMESCoreStudio.Web/Controllers/RPTController.cs +++ b/AMESCoreStudio.Web/Controllers/RPTController.cs @@ -46,6 +46,7 @@ namespace AMESCoreStudio.Web.Controllers ViewBag.QueryDate = DateTime.Now.ToString("yyyy/MM"); ViewBag.QueryDate2 = DateTime.Now.ToString("yyyyMM"); + ViewBag.QueryDate3 = DateTime.Now.Year.ToString(); var model = await _rptApi.GetRPT001View(sdate, edate); @@ -59,11 +60,14 @@ namespace AMESCoreStudio.Web.Controllers ViewBag.QueryDate = new DateTime(Data.Year, Data.Month, 1).ToString("yyyy/MM"); ViewBag.QueryDate2 = new DateTime(Data.Year, Data.Month, 1).ToString("yyyyMM"); + ViewBag.QueryDate3 = Data.Year.ToString(); var sDate = new DateTime(Data.Year, Data.Month, 1).ToString("yyyy/MM/dd"); var eDate = new DateTime(Data.Year, Data.Month, DateTime.DaysInMonth(Data.Year, Data.Month)).ToString("yyyy/MM/dd"); var model = await _rptApi.GetRPT001View(sDate, eDate); + ViewBag.Title01 = SerachData.Substring(0, 4) + "生產力"; ; + return View(model); } diff --git a/AMESCoreStudio.Web/Views/RPT/RPT001.cshtml b/AMESCoreStudio.Web/Views/RPT/RPT001.cshtml index 20e2d0bb..ddffaffb 100644 --- a/AMESCoreStudio.Web/Views/RPT/RPT001.cshtml +++ b/AMESCoreStudio.Web/Views/RPT/RPT001.cshtml @@ -64,6 +64,10 @@ } + + + +
@@ -76,6 +80,8 @@
+ +
@@ -217,7 +223,16 @@
- +
+
+
+
+
+
+
+
+ + @section Scripts { } \ No newline at end of file