From e7b8aa7d549348376e0ac3abaccf16e180b1f348 Mon Sep 17 00:00:00 2001 From: yiru Date: Thu, 2 Oct 2025 11:26:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A8=99=E6=BA=96=E5=B7=A5?= =?UTF-8?q?=E6=99=82=E5=BB=BA=E7=AB=8B=E4=BA=BA=E5=93=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AMESCoreStudio.Web/Controllers/WHSController.cs | 2 ++ AMESCoreStudio.Web/Views/WHS/WHS025C.cshtml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/AMESCoreStudio.Web/Controllers/WHSController.cs b/AMESCoreStudio.Web/Controllers/WHSController.cs index 996e05a..9791705 100644 --- a/AMESCoreStudio.Web/Controllers/WHSController.cs +++ b/AMESCoreStudio.Web/Controllers/WHSController.cs @@ -3479,6 +3479,8 @@ namespace AMESCoreStudio.Web.Controllers await GetWorkingUnit(""); //報工生產單位 await GetFactoryUnitsListbyWH025(""); //途程生產單位 GetSideListByWH025(); + var tt = Request.Cookies["UserID"]; + ViewBag.UserID = tt; return View(); } //修改页面 diff --git a/AMESCoreStudio.Web/Views/WHS/WHS025C.cshtml b/AMESCoreStudio.Web/Views/WHS/WHS025C.cshtml index 37c5994..1f2d9c2 100644 --- a/AMESCoreStudio.Web/Views/WHS/WHS025C.cshtml +++ b/AMESCoreStudio.Web/Views/WHS/WHS025C.cshtml @@ -16,7 +16,7 @@
- +