From 2edb9dc0a179a3905feac626593ffc0e1272313a Mon Sep 17 00:00:00 2001 From: Ray Date: Wed, 23 Mar 2022 11:09:09 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E4=BF=AE=E6=AD=A3Login=E5=8F=8ASOP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AMESCoreStudio.Web/Controllers/PCSController.cs | 1 + AMESCoreStudio.Web/Models/LoginViewModel.cs | 4 ++-- AMESCoreStudio.Web/Views/PCS/PCS030.cshtml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/AMESCoreStudio.Web/Controllers/PCSController.cs b/AMESCoreStudio.Web/Controllers/PCSController.cs index 5b27c068..65761837 100644 --- a/AMESCoreStudio.Web/Controllers/PCSController.cs +++ b/AMESCoreStudio.Web/Controllers/PCSController.cs @@ -3617,6 +3617,7 @@ namespace AMESCoreStudio.Web.Controllers [HttpGet] public async Task PCS030() { + GetSOPTypeSelect(); await GetFactoryUnit(); return View(); } diff --git a/AMESCoreStudio.Web/Models/LoginViewModel.cs b/AMESCoreStudio.Web/Models/LoginViewModel.cs index f4a96152..c1a9cfaa 100644 --- a/AMESCoreStudio.Web/Models/LoginViewModel.cs +++ b/AMESCoreStudio.Web/Models/LoginViewModel.cs @@ -12,8 +12,8 @@ namespace AMESCoreStudio.Web public class LoginViewModel { [Required] - public string LoginNo { get; set; } = "admin"; + public string LoginNo { get; set; } [Required] - public string LoginPassword { get; set; } = "admin"; + public string LoginPassword { get; set; } } } diff --git a/AMESCoreStudio.Web/Views/PCS/PCS030.cshtml b/AMESCoreStudio.Web/Views/PCS/PCS030.cshtml index b282f127..2d46a265 100644 --- a/AMESCoreStudio.Web/Views/PCS/PCS030.cshtml +++ b/AMESCoreStudio.Web/Views/PCS/PCS030.cshtml @@ -197,7 +197,7 @@ sort: true }, { - field: 'spType', + field: 'sopType', title: 'SOP類型', width: 100, sort: true