From 283f3e33e15409f657c152881620103c95811768 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期五, 15 七月 2022 15:29:15 +0800 Subject: [PATCH] 提交修改 --- zhengcaioa/zhengcaioa/Views/SysCode/Editlaw.cshtml | 25 +++++++++++++------------ 1 files changed, 13 insertions(+), 12 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Views/SysCode/Editlaw.cshtml b/zhengcaioa/zhengcaioa/Views/SysCode/Editlaw.cshtml index 862c0ef..9905069 100644 --- a/zhengcaioa/zhengcaioa/Views/SysCode/Editlaw.cshtml +++ b/zhengcaioa/zhengcaioa/Views/SysCode/Editlaw.cshtml @@ -144,20 +144,14 @@ <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="缂栫爜" name="CodeSns" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="50" ismust="true" type="text" value="@sysCodeDtlEntities[i].CodeSn"> + <input class="form-control" label="缂栫爜" name="CodeSns" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="50" ismust="true" type="text" value="@sysCodeDtlEntities[i].CodeSn"> <input type="hidden" name="Id" value="@Model.Id" /> </div> - @if (i == 0) - { - <div class="col-sm-1 col-md-1" style="width:80px;"> - <button type="button" class="addBtn" onclick="addBtn(this)" data-type="2" style="width:32px">+</button> - <button type="button" class="delBtn" onclick="delBtn(this)" data-type="2" style="width:32px">-</button> - </div> - } + </div> @@ -167,7 +161,7 @@ <div class="col-sm-10 col-md-10"> @*<input class="form-control" label="娉曞緥鍚嶇О" id="Comments" name="Comments" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="100" ismust="true" type="text" value="@Model.Comments">*@ - <select class="form-control" name="Commentss" data-placeholder="閫夋嫨 搴忓垪 ..."> + <select class="form-control" name="Commentss" data-placeholder="閫夋嫨 搴忓垪 ..."> <option value="" hassubinfo="true">璇烽�夋嫨</option> @foreach (var item in falv) { @@ -201,23 +195,30 @@ <div class="col-sm-10 col-md-10"> @*<input class="form-control" label="鍐呭" id="Contents" name="Contents" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="300" ismust="true" type="text" value="@Model.Contents">*@ - <textarea class="form-control bt" name="Contentss" title="鍐呭" isempty="" maxlength="300" length="long" style="resize:none;overflow-y:hidden; min-height:60px;" onpropertychange="this.style.height=this.scrollHeight + 'px'" oninput="this.style.height=this.scrollHeight + 'px'">@sysCodeDtlEntities[i].Contents</textarea> + <textarea class="form-control bt" name="Contentss" title="鍐呭" isempty="" maxlength="300" length="long" style="resize:none;overflow-y:hidden; min-height:60px;" onpropertychange="this.style.height=this.scrollHeight + 'px'" oninput="this.style.height=this.scrollHeight + 'px'">@sysCodeDtlEntities[i].Contents</textarea> </div> </div> <div class="clearfix layer-area" style="padding-bottom:15px;display:none;"> <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="鎺掑簭" name="Sorts" labtype="txt" addvisible="true" editvisible="true" maxlength="100" reg="" ismust="flase" type="text" value="@sysCodeDtlEntities[i].Sort" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> + <input class="form-control" label="鎺掑簭" name="Sorts" labtype="txt" addvisible="true" editvisible="true" maxlength="100" reg="" ismust="flase" type="text" value="@sysCodeDtlEntities[i].Sort" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> </div> </div> </div> } + + </div> - + <div class="clearfix layer-area" style="padding-bottom:15px;"> + <div class="col-sm-1 col-md-1"> + <button type="button" class="addBtn" onclick="addBtn(this)" data-type="2" style="width:32px">+</button> + <button type="button" class="delBtn" onclick="delBtn(this)" data-type="2" style="width:32px">-</button> + </div> + </div> -- Gitblit v1.9.1