From 138102a3fd32ed560297622e7ac753b3a0c3ffd3 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期二, 25 一月 2022 16:18:45 +0800 Subject: [PATCH] 提交 --- zhengcaioa/zhengcaioa/Views/CooperOrder/EditTousushu.cshtml | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Views/CooperOrder/EditTousushu.cshtml b/zhengcaioa/zhengcaioa/Views/CooperOrder/EditTousushu.cshtml index 062e2f5..0932f32 100644 --- a/zhengcaioa/zhengcaioa/Views/CooperOrder/EditTousushu.cshtml +++ b/zhengcaioa/zhengcaioa/Views/CooperOrder/EditTousushu.cshtml @@ -671,7 +671,7 @@ <div class="clearfix layer-area" style="padding-bottom:15px;"> <label grouptype="Vdata" id="Evidentiallabel" class="text-right col-sm-1 col-md-1 control-label">浜嬪疄渚濇嵁</label> <div class="col-sm-8 col-md-8"> - <textarea class="form-control bt" name="Evidential" title="浜嬪疄渚濇嵁" isempty="" maxlength="3500" length="long">@complaintItemDTOs[i].Evidential</textarea> + <textarea class="form-control bt" name="Evidential" title="浜嬪疄渚濇嵁" isempty="" maxlength="3500" 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'">@complaintItemDTOs[i].Evidential</textarea> </div> </div> @@ -744,7 +744,7 @@ <div class="clearfix layer-area" style="padding-bottom:15px;"> <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">浜嬪疄渚濇嵁@(i+1)</label> <div class="col-sm-8 col-md-8"> - <textarea class="form-control bt" name="Evidential" title="浜嬪疄渚濇嵁" isempty="" maxlength="3500" length="long">@complaintItemDTOs[i].Evidential</textarea> + <textarea class="form-control bt" name="Evidential" title="浜嬪疄渚濇嵁" isempty="" maxlength="3500" 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'">@complaintItemDTOs[i].Evidential</textarea> </div> </div> @@ -862,6 +862,13 @@ var hh = document.body.clientHeight - $('.ibox-title').height() - $("#top").height() * 2 + 1000; $("#div_content").height(hh); + + var Evidential = document.getElementsByName("Evidential"); + for (var a = 0; a < Evidential.length; a++) { + + Evidential[a].style.height = Evidential[a].scrollHeight + 'px'; + } + toastr.options = { "closeButton": true, @@ -1382,7 +1389,7 @@ <div class="clearfix layer-area" style="padding-bottom:15px;"> <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">浜嬪疄渚濇嵁`+ (sss + 1) + `</label> <div class="col-sm-8 col-md-8"> - <textarea class="form-control bt" name="Evidential" title="浜嬪疄渚濇嵁" isempty="" maxlength="3500" length="long"></textarea> + <textarea class="form-control bt" name="Evidential" title="浜嬪疄渚濇嵁" isempty="" maxlength="3500" 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'"></textarea> </div> </div> -- Gitblit v1.9.1