From a7ae63ad871b986eb1bede54219638edd4e29b63 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期二, 21 十一月 2023 10:45:24 +0800
Subject: [PATCH] 提交

---
 zhengcaioa/zhengcaioa/Views/SysCode/Editfalv.cshtml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/zhengcaioa/zhengcaioa/Views/SysCode/Editfalv.cshtml b/zhengcaioa/zhengcaioa/Views/SysCode/Editfalv.cshtml
index 5aa017d..51e7703 100644
--- a/zhengcaioa/zhengcaioa/Views/SysCode/Editfalv.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/SysCode/Editfalv.cshtml
@@ -115,7 +115,7 @@
                                     <div class="clearfix layer-area" style="padding-bottom:15px;">
                                         <label class="text-right col-sm-1 col-md-1 control-label">缂栫爜</label>
                                         <div class="col-sm-2 col-md-2" style="width:5%;">
-                                            <input class="form-control" label="缂栫爜" id="CodeSn" name="CodeSn" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="50" ismust="true" type="text" value="@Model.CodeSn">
+                                            <input class="form-control" label="缂栫爜" id="CodeSn" name="CodeSn" labtype="txt" @(!string.IsNullOrEmpty(@Model.Id)?"readonly=readonly":"") addvisible="true" editvisible="true" reg="" maxlength="50" ismust="true" type="text" value="@Model.CodeSn">
 
                                             <input type="hidden" name="Id" value="@Model.Id" />
 

--
Gitblit v1.9.1