From 16f279b01551882fdf7f142025c59692f286f47e Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期一, 14 三月 2022 13:33:32 +0800
Subject: [PATCH] 质疑函,投诉书的页面新增删除按钮
---
zhengcaioa/zhengcaioa/Views/CooperOrder/EditTousushu.cshtml | 526 ++++++++++++++++++++++++++++++++--------------------------
1 files changed, 292 insertions(+), 234 deletions(-)
diff --git a/zhengcaioa/zhengcaioa/Views/CooperOrder/EditTousushu.cshtml b/zhengcaioa/zhengcaioa/Views/CooperOrder/EditTousushu.cshtml
index 50faffc..f4cbae4 100644
--- a/zhengcaioa/zhengcaioa/Views/CooperOrder/EditTousushu.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/CooperOrder/EditTousushu.cshtml
@@ -129,32 +129,39 @@
<div class="clearfix layer-area" style="padding-bottom:15px;">
<label class="text-right col-sm-1 col-md-1 control-label">鍓湰鏁伴噺锛�<i class="red">*</i></label>
+
<div class="col-sm-2 col-md-2">
- @*<input class="form-control" label="鍓湰鏁伴噺" name="PrintNum" id="PrintNum" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.PrintNum" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" onafterpaste="this.value=this.value.replace(/[^0-9]/g,'')">*@
- <select id="PrintNumzi" class="form-control" name="PrintNumzi" data-placeholder="閫夋嫨 搴忓垪 ..." onchange="PrintNumzichangge();">
-
- @for (int i = 1; i < 6; i++)
- {
- @if (i != Model.PrintNum)
- {
- <option value="@i" hassubinfo="true">
- @i
- </option>
- }
- else
- {
- <option value="@i" hassubinfo="true" selected="selected">
- @i
- </option>
- }
-
- }
- </select>
- </div>
- <div class="col-sm-2 col-md-2">
- <input class="form-control" label="鍓湰鏁伴噺" name="PrintNum" id="PrintNum" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.PrintNum" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" onafterpaste="this.value=this.value.replace(/[^0-9]/g,'')">
+ @*<input class="form-control" list="PrintNumzi" label="鍓湰鏁伴噺" name="PrintNum" id="PrintNum" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.PrintNum" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" onafterpaste="this.value=this.value.replace(/[^0-9]/g,'')">
+ <datalist id="PrintNumzi">
+ @for (int i = 1; i < 6; i++)
+ {
+
+ <option value="@i" hassubinfo="true">
+ @i
+ </option>
+
+
+ }
+ </datalist>*@
+ <div class="input-group">
+ <input type="text" name="PrintNum" id="PrintNum" class="form-control" value="@Model.PrintNum" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" onafterpaste="this.value=this.value.replace(/[^0-9]/g,'')">
+ <div class="input-group-btn">
+ <button type="button" class="btn dropdown-toggle" data-toggle="dropdown">
+
+ <span class="caret"></span>
+ </button>
+ <ul class="dropdown-menu pull-right">
+ <li><a href="javascript:document.getElementById('PrintNum').value =1; ">1</a></li>
+ <li><a href="javascript:document.getElementById('PrintNum').value =2; ">2</a></li>
+ <li><a href="javascript:document.getElementById('PrintNum').value =3; ">3</a></li>
+ <li><a href="javascript:document.getElementById('PrintNum').value =4; ">4</a></li>
+ <li><a href="javascript:document.getElementById('PrintNum').value =5; ">5</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ </div><!-- /input-group -->
+
</div>
@@ -292,9 +299,7 @@
</div>
- <div class="col-sm-2 col-md-2" grouptype="Vdata">
- <button type="button" class="addBtn" onclick="addbeitousuren(this)" data-type="1">琚姇璇変汉</button>
- </div>
+
@@ -335,23 +340,23 @@
else
{
- <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-2 col-md-2" grouptype="Vdata">
- <input class="form-control" label="琚姇璇変汉@(i+1)" name="tousuRespondent" labtype="txt" addvisible="true" maxlength="50" editvisible="true" reg="" ismust="true" type="text" value="@complaintRespondentDTOs[i].Respondent">
+ <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-2 col-md-2" grouptype="Vdata">
+ <input class="form-control" label="琚姇璇変汉@(i+1)" name="tousuRespondent" labtype="txt" addvisible="true" maxlength="50" editvisible="true" reg="" ismust="true" type="text" value="@complaintRespondentDTOs[i].Respondent">
- </div>
+ </div>
- @if (i==0)
- {
- <div class="col-sm-2 col-md-2" grouptype="Vdata">
- <button type="button" class="addBtn" onclick="addbeitousuren(this)" data-type="1">琚姇璇変汉</button>
- </div>
- }
+ @if (i == 0)
+ {
+ <div class="col-sm-2 col-md-2" grouptype="Vdata">
+ <button type="button" class="addBtn" onclick="addbeitousuren(this)" data-type="1">琚姇璇変汉</button>
+ </div>
+ }
- </div>
+ </div>
<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>
@@ -390,10 +395,14 @@
</div>
<div class="clearfix layer-area" style="padding-bottom:15px;">
+ <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">琚姇璇変汉</label>
<div class="col-sm-2 col-md-2" grouptype="Vdata">
- <button type="button" class="addBtn" onclick="addxiangguangongyingshang(this)" data-type="1">鐩稿叧渚涘簲鍟�</button>
+
+ <button type="button" class="addBtn" onclick="addbeitousuren(this)" data-type="1" style="width:32px">+</button>
+ <button type="button" class="delBtn" onclick="delBtn(this)" data-type="1" style="width:32px">-</button>
</div>
</div>
+
<div id="xiangguangongyingshang">
@@ -494,7 +503,14 @@
</div>
+ <div class="clearfix layer-area" style="padding-bottom:15px;">
+ <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">鐩稿叧渚涘簲鍟�</label>
+ <div class="col-sm-2 col-md-2" grouptype="Vdata">
+ <button type="button" class="addBtn" onclick="addxiangguangongyingshang(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>
@@ -514,8 +530,22 @@
<label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">鍖呭彿</label>
<div class="col-sm-2 col-md-2" grouptype="Vdata">
- <input class="form-control" label="鍖呭彿" name="tousuXmPackage" id="tousuXmPackage" labtype="txt" addvisible="true" maxlength="30" editvisible="true" reg="" ismust="true" type="text" value="@Model.XmPackage">
+ <div class="input-group">
+ <input type="text" name="tousuXmPackage" id="tousuXmPackage" class="form-control" value="@Model.XmPackage">
+ <div class="input-group-btn">
+ <button type="button" class="btn dropdown-toggle" data-toggle="dropdown">
+ <span class="caret"></span>
+ </button>
+ <ul class="dropdown-menu pull-right">
+ <li><a href="javascript:$('#tousuXmPackage').val('绗�1鍖�')">绗�1鍖�</a></li>
+ <li><a href="javascript:$('#tousuXmPackage').val('绗�2鍖�')">绗�2鍖�</a></li>
+ <li><a href="javascript:$('#tousuXmPackage').val('绗�3鍖�')">绗�3鍖�</a></li>
+ <li><a href="javascript:$('#tousuXmPackage').val('绗�4鍖�')">绗�4鍖�</a></li>
+ <li><a href="javascript:$('#tousuXmPackage').val('绗�5鍖�')">绗�5鍖�</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ </div><!-- /input-group -->
</div>
</div>
@@ -626,7 +656,7 @@
<input class="form-control" label="琚川鐤戜富浣�" name="tousuQuestioned" id="tousuQuestioned" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="@Model.Questioned">
</div>
-
+
</div>
@@ -656,205 +686,206 @@
<div id="zhiyishixiang">
@for (int i = 0; i < complaintItemDTOs.Count; i++)
{
- @if (complaintItemDTOs.Count == 1)
- {
- <div class="clearfix layer-area" style="padding-bottom:15px;">
- <label grouptype="Vdata" id="Questionlabel" class="text-right col-sm-1 col-md-1 control-label">鎶曡瘔浜嬮」</label>
- <div class="col-sm-4 col-md-4" grouptype="Vdata">
- <select class="form-control" name="Question" data-placeholder="閫夋嫨 搴忓垪 ..." onchange="Questionchangge(@i);">
- <option value="" hassubinfo="true">璇烽�夋嫨</option>
- @foreach (var item in question)
- {
- @if (!item.CodeSn.Equals(complaintItemDTOs[i].Question))
- {
- <option value="@item.CodeSn" hassubinfo="true">
- @item.Comments
- </option>
- }
- else
- {
- <option value="@item.CodeSn" hassubinfo="true" selected="selected">
- @item.Comments
- </option>
- }
+ <div class="zhiyishixiangitem">
+ @if (complaintItemDTOs.Count == 1)
+ {
+ <div class="clearfix layer-area" style="padding-bottom:15px;">
+ <label grouptype="Vdata" id="Questionlabel" class="text-right col-sm-1 col-md-1 control-label">鎶曡瘔浜嬮」</label>
+ <div class="col-sm-4 col-md-4" grouptype="Vdata">
+ <select class="form-control" name="Question" data-placeholder="閫夋嫨 搴忓垪 ..." onchange="Questionchangge(@i);">
+ <option value="" hassubinfo="true">璇烽�夋嫨</option>
+ @foreach (var item in question)
+ {
+ @if (!item.CodeSn.Equals(complaintItemDTOs[i].Question))
+ {
+ <option value="@item.CodeSn" hassubinfo="true">
+ @item.Comments
+ </option>
+ }
+ else
+ {
+ <option value="@item.CodeSn" hassubinfo="true" selected="selected">
+ @item.Comments
+ </option>
+ }
- }
- }
+ }
+ }
- </select>
+ </select>
- </div>
-
- <div class="col-sm-2 col-md-2" grouptype="Vdata">
- <button type="button" class="addBtn" onclick="addzhiyishixiang(this)" data-type="1">鎶曡瘔浜嬮」</button>
- </div>
-
-
- </div>
-
- <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" 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>
-
- <div id="falvyiju@(i)">
- @for (int j = 0; j < complaintItemDTOs[i].sysCodeDtls.Count; j++)
- {
- @if (complaintItemDTOs[i].sysCodeDtls.Count == 1)
- {
- <div class="clearfix layer-area" style="padding-bottom:15px;">
- <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">娉曞緥渚濇嵁</label>
- <div class="col-sm-8 col-md-8">
- 銆夽(complaintItemDTOs[i].sysCodeDtls[j].CodeSn)銆婡(complaintItemDTOs[i].sysCodeDtls[j].Classify2)锛欯complaintItemDTOs[i].sysCodeDtls[j].Contents
- </div>
-
-
- </div>
- }
- else
- {
- <div class="clearfix layer-area" style="padding-bottom:15px;">
- <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">娉曞緥渚濇嵁@(j+1)</label>
- <div class="col-sm-8 col-md-8">
- 銆夽(complaintItemDTOs[i].sysCodeDtls[j].CodeSn)銆婡(complaintItemDTOs[i].sysCodeDtls[j].Classify2)锛欯complaintItemDTOs[i].sysCodeDtls[j].Contents
- </div>
-
-
- </div>
- }
- }
- </div>
- }
- else
- {
- <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-4 col-md-4" grouptype="Vdata">
- <select class="form-control" name="Question" data-placeholder="閫夋嫨 搴忓垪 ..." onchange="Questionchangge(@i);">
- <option value="" hassubinfo="true">璇烽�夋嫨</option>
- @foreach (var item in question)
- {
- @if (!item.CodeSn.Equals(complaintItemDTOs[i].Question))
- {
- <option value="@item.CodeSn" hassubinfo="true">
- @item.Comments
- </option>
- }
- else
- {
- <option value="@item.CodeSn" hassubinfo="true" selected="selected">
- @item.Comments
- </option>
- }
-
- }
- }
-
- </select>
-
- </div>
- @if (i == 0)
- {
- <div class="col-sm-2 col-md-2" grouptype="Vdata">
- <button type="button" class="addBtn" onclick="addzhiyishixiang(this)" data-type="1">鎶曡瘔浜嬮」</button>
- </div>
-
- }
-
- </div>
-
- <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" 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>
-
- <div id="falvyiju@(i)">
- @for (int j = 0; j < complaintItemDTOs[i].sysCodeDtls.Count; j++)
- {
- @if (complaintItemDTOs[i].sysCodeDtls.Count == 1)
- {
- <div class="clearfix layer-area" style="padding-bottom:15px;">
- <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">娉曞緥渚濇嵁</label>
- <div class="col-sm-8 col-md-8">
- 銆夽(complaintItemDTOs[i].sysCodeDtls[j].CodeSn)銆婡(complaintItemDTOs[i].sysCodeDtls[j].Classify2)锛欯complaintItemDTOs[i].sysCodeDtls[j].Contents
- </div>
-
-
- </div>
- }
- else
- {
- <div class="clearfix layer-area" style="padding-bottom:15px;">
- <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">娉曞緥渚濇嵁@(j+1)</label>
- <div class="col-sm-8 col-md-8">
- 銆夽(complaintItemDTOs[i].sysCodeDtls[j].CodeSn)銆婡(complaintItemDTOs[i].sysCodeDtls[j].Classify2)锛欯complaintItemDTOs[i].sysCodeDtls[j].Contents
- </div>
-
-
- </div>
- }
- }
- </div>
- }
+ </div>
+ </div>
+
+ <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" 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>
+
+ <div id="falvyiju@(i)">
+ @for (int j = 0; j < complaintItemDTOs[i].sysCodeDtls.Count; j++)
+ {
+ @if (complaintItemDTOs[i].sysCodeDtls.Count == 1)
+ {
+ <div class="clearfix layer-area" style="padding-bottom:15px;">
+ <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">娉曞緥渚濇嵁</label>
+ <div class="col-sm-8 col-md-8">
+ 銆夽(complaintItemDTOs[i].sysCodeDtls[j].CodeSn)銆婡(complaintItemDTOs[i].sysCodeDtls[j].Classify2)锛欯complaintItemDTOs[i].sysCodeDtls[j].Contents
+ </div>
+
+
+ </div>
+ }
+ else
+ {
+ <div class="clearfix layer-area" style="padding-bottom:15px;">
+ <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">娉曞緥渚濇嵁@(j+1)</label>
+ <div class="col-sm-8 col-md-8">
+ 銆夽(complaintItemDTOs[i].sysCodeDtls[j].CodeSn)銆婡(complaintItemDTOs[i].sysCodeDtls[j].Classify2)锛欯complaintItemDTOs[i].sysCodeDtls[j].Contents
+ </div>
+
+
+ </div>
+ }
+ }
+ </div>
+ }
+ else
+ {
+ <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-4 col-md-4" grouptype="Vdata">
+ <select class="form-control" name="Question" data-placeholder="閫夋嫨 搴忓垪 ..." onchange="Questionchangge(@i);">
+ <option value="" hassubinfo="true">璇烽�夋嫨</option>
+ @foreach (var item in question)
+ {
+ @if (!item.CodeSn.Equals(complaintItemDTOs[i].Question))
+ {
+ <option value="@item.CodeSn" hassubinfo="true">
+ @item.Comments
+ </option>
+ }
+ else
+ {
+ <option value="@item.CodeSn" hassubinfo="true" selected="selected">
+ @item.Comments
+ </option>
+ }
+
+ }
+ }
+
+ </select>
+
+ </div>
+
+
+ </div>
+
+ <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" 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>
+
+ <div id="falvyiju@(i)">
+ @for (int j = 0; j < complaintItemDTOs[i].sysCodeDtls.Count; j++)
+ {
+ @if (complaintItemDTOs[i].sysCodeDtls.Count == 1)
+ {
+ <div class="clearfix layer-area" style="padding-bottom:15px;">
+ <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">娉曞緥渚濇嵁</label>
+ <div class="col-sm-8 col-md-8">
+ 銆夽(complaintItemDTOs[i].sysCodeDtls[j].CodeSn)銆婡(complaintItemDTOs[i].sysCodeDtls[j].Classify2)锛欯complaintItemDTOs[i].sysCodeDtls[j].Contents
+ </div>
+
+
+ </div>
+ }
+ else
+ {
+ <div class="clearfix layer-area" style="padding-bottom:15px;">
+ <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">娉曞緥渚濇嵁@(j+1)</label>
+ <div class="col-sm-8 col-md-8">
+ 銆夽(complaintItemDTOs[i].sysCodeDtls[j].CodeSn)銆婡(complaintItemDTOs[i].sysCodeDtls[j].Classify2)锛欯complaintItemDTOs[i].sysCodeDtls[j].Contents
+ </div>
+
+
+ </div>
+ }
+ }
+ </div>
+ }
+
+
+</div>
- }
- </div>
-
-
- <div class="clearfix layer-area" style="padding-bottom:15px;">
- <label class="text-left col-sm-2 col-md-2 control-label">浜斻�佷笌鎶曡瘔浜嬮」鐩稿叧鐨勬姇璇夎姹�</label>
- </div>
-
- <div class="clearfix layer-area" style="padding-bottom:15px;">
- <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">璇锋眰</label>
- <div class="col-sm-4 col-md-4" grouptype="Vdata">
- <select id="RequestInfo" class="form-control" name="RequestInfo" data-placeholder="閫夋嫨 搴忓垪 ...">
- <option value="" hassubinfo="true">璇烽�夋嫨</option>
- @foreach (var item in request_info)
- {
- @if (!item.CodeSn.Equals(Model.RequestInfo))
- {
- <option value="@item.CodeSn" hassubinfo="true">
- @item.Comments
- </option>
- }
- else
- {
- <option value="@item.CodeSn" hassubinfo="true" selected="selected">
- @item.Comments
- </option>
- }
}
- }
+ </div>
- </select>
+ <div class="clearfix layer-area" style="padding-bottom:15px;">
+ <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">鎶曡瘔浜嬮」</label>
+ <div class="col-sm-2 col-md-2" grouptype="Vdata">
+
+ <button type="button" class="addBtn" onclick="addzhiyishixiang(this)" data-type="3" style="width:32px">+</button>
+ <button type="button" class="delBtn" onclick="delBtn(this)" data-type="3" style="width:32px">-</button>
+ </div>
+ </div>
+
+ <div class="clearfix layer-area" style="padding-bottom:15px;">
+ <label class="text-left col-sm-2 col-md-2 control-label">浜斻�佷笌鎶曡瘔浜嬮」鐩稿叧鐨勬姇璇夎姹�</label>
+ </div>
+
+ <div class="clearfix layer-area" style="padding-bottom:15px;">
+ <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">璇锋眰</label>
+ <div class="col-sm-4 col-md-4" grouptype="Vdata">
+ <select id="RequestInfo" class="form-control" name="RequestInfo" data-placeholder="閫夋嫨 搴忓垪 ...">
+ <option value="" hassubinfo="true">璇烽�夋嫨</option>
+ @foreach (var item in request_info)
+ {
+ @if (!item.CodeSn.Equals(Model.RequestInfo))
+ {
+ <option value="@item.CodeSn" hassubinfo="true">
+ @item.Comments
+ </option>
+ }
+ else
+ {
+ <option value="@item.CodeSn" hassubinfo="true" selected="selected">
+ @item.Comments
+ </option>
+ }
+
+ }
+ }
+
+ </select>
+
+ </div>
+ @*<div class="col-sm-2 col-md-2" grouptype="Vdata">
+ <button type="button" class="addBtn" onclick="addrequestinfo(this)" data-type="1">鏂板鎶曡瘔璇锋眰</button>
+ </div>*@
+
+
+ </div>
+
+
+
+
+
+
</div>
- @*<div class="col-sm-2 col-md-2" grouptype="Vdata">
- <button type="button" class="addBtn" onclick="addrequestinfo(this)" data-type="1">鏂板鎶曡瘔璇锋眰</button>
- </div>*@
-
-
- </div>
-
-
-
-
-
-
-
- </div>
</div>
</div>
</div>
@@ -1133,10 +1164,10 @@
});
}
- function PrintNumzichangge() {
- var sss = $('#PrintNumzi').val();
- $('#PrintNum').val(sss);
- }
+ //function PrintNumzichangge() {
+ // var sss = $('#PrintNumzi').val();
+ // $('#PrintNum').val(sss);
+ //}
function Questionchangge(i) {
@@ -1225,7 +1256,7 @@
function addtousushouquan(obj) {
- $("#tousushouquan").show();
+ $("#tousushouquan").toggle();
//var sss = document.getElementsByName("tousuShouquandaibiao").length;
@@ -1391,7 +1422,7 @@
$('#Evidentiallabel').text("浜嬪疄渚濇嵁1");
}
- $('#zhiyishixiang').append(`
+ $('#zhiyishixiang').append(` <div class="zhiyishixiangitem">
<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-4 col-md-4" grouptype="Vdata">
@@ -1430,7 +1461,7 @@
</div>
-
+</div>
`);
$("select").chosen();
}
@@ -1462,9 +1493,36 @@
}
- PrintNumzichangge();
+ /* PrintNumzichangge();*/
- });
+ });
+
+ function delBtn(obj) {
+ var num = $(obj).data().type;
+ console.log(num)
+
+ if (num == 1) {
+ if ($('#beitousuren').find('.clearfix').length > 3) {
+ $('#beitousuren').find('.clearfix:last').remove();
+ $('#beitousuren').find('.clearfix:last').remove();
+ $('#beitousuren').find('.clearfix:last').remove();
+ }
+
+ } else if (num == 2) {
+ if ($('#xiangguangongyingshang').find('.clearfix').length > 1) {
+ $('#xiangguangongyingshang').find('.clearfix:last').remove();
+ $('#xiangguangongyingshang').find('.clearfix:last').remove();
+ $('#xiangguangongyingshang').find('.clearfix:last').remove();
+ }
+ }else if (num == 3) {
+ if ($('#zhiyishixiang').find('.zhiyishixiangitem').length > 1) {
+ $('#zhiyishixiang').find('.zhiyishixiangitem:last').remove();
+ }
+
+
+
+ }
+ }
</script>
</body>
</html>
\ No newline at end of file
--
Gitblit v1.9.1