From 6a4007b2dd8f98ac42136f6e93010097afdb5d12 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 31 十二月 2021 14:09:44 +0800
Subject: [PATCH] 会员退款申请
---
zhengcaioa/zhengcaioa/Views/CooperOrder/EditZhiyihan.cshtml | 440 +++++++++++++++++++++++++++++++++++++++---------------
1 files changed, 314 insertions(+), 126 deletions(-)
diff --git a/zhengcaioa/zhengcaioa/Views/CooperOrder/EditZhiyihan.cshtml b/zhengcaioa/zhengcaioa/Views/CooperOrder/EditZhiyihan.cshtml
index a2a6538..b470e0f 100644
--- a/zhengcaioa/zhengcaioa/Views/CooperOrder/EditZhiyihan.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/CooperOrder/EditZhiyihan.cshtml
@@ -179,40 +179,40 @@
</div>
+ <div class="clearfix layer-area" style="padding-bottom:15px;">
+ <div class="col-sm-2 col-md-2" grouptype="Vdata">
+ <button type="button" class="addBtn" onclick="addzhiyishouquan(this)" data-type="1">鎺堟潈浠h〃</button>
+ </div>
+ </div>
<div id="zhiyishouquan">
@for (int i = 0; i < challengecomplaintShouquandaibiaoDTOs.Count; i++)
{
<div class="clearfix layer-area" style="padding-bottom:15px;">
- <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">鎺堟潈浠h〃@(i!=0?(i+""):"")</label>
+ <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">鎺堟潈浠h〃</label>
<div class="col-sm-2 col-md-2" grouptype="Vdata">
- <input class="form-control" label="鎺堟潈浠h〃@(i!=0?(i+""):"")" name="zhiyiShouquandaibiao" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="@challengecomplaintShouquandaibiaoDTOs[i].Shouquandaibiao">
+ <input class="form-control" label="鎺堟潈浠h〃" id="zhiyiShouquandaibiao" name="zhiyiShouquandaibiao" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="@challengecomplaintShouquandaibiaoDTOs[i].Shouquandaibiao">
</div>
- <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">鑱旂郴鐢佃瘽@(i!=0?(i+""):"")</label>
+ <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="鑱旂郴鐢佃瘽@(i!=0?(i+""):"")" name="zhiyiLianxidianhua" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="@challengecomplaintShouquandaibiaoDTOs[i].Lianxidianhua">
+ <input class="form-control" label="鑱旂郴鐢佃瘽" id="zhiyiLianxidianhua" name="zhiyiLianxidianhua" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="@challengecomplaintShouquandaibiaoDTOs[i].Lianxidianhua">
</div>
- @if (i == 0)
- {
- <div class="col-sm-2 col-md-2" grouptype="Vdata">
- <button type="button" class="addBtn" onclick="addzhiyishouquan(this)" data-type="1">鎺堟潈浠h〃</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!=0?(i+""):"")</label>
+ <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="鍦板潃@(i!=0?(i+""):"")" name="zhiyiDizhi" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="@challengecomplaintShouquandaibiaoDTOs[i].Dizhi">
+ <input class="form-control" label="鍦板潃" id="zhiyiDizhi" name="zhiyiDizhi" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="@challengecomplaintShouquandaibiaoDTOs[i].Dizhi">
</div>
- <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">閭紪@(i!=0?(i+""):"")</label>
+ <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="閭紪@(i!=0?(i+""):"")" name="zhiyiYoubian" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="@challengecomplaintShouquandaibiaoDTOs[i].Youbian">
+ <input class="form-control" label="閭紪" id="zhiyiYoubian" name="zhiyiYoubian" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="@challengecomplaintShouquandaibiaoDTOs[i].Youbian">
</div>
@@ -274,88 +274,166 @@
<div id="zhiyishixiang">
@for (int i = 0; i < challengeItemDTOs.Count; i++)
{
- <div class="clearfix layer-area" style="padding-bottom:15px;">
- <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">璐ㄧ枒浜嬮」@(i!=0?(i+""):"")</label>
- <div class="col-sm-4 col-md-4" grouptype="Vdata">
- <select class="form-control" name="Question" data-placeholder="閫夋嫨 搴忓垪 ...">
- <option value="" hassubinfo="true">璇烽�夋嫨</option>
- @foreach (var item in question)
- {
- @if (!item.CodeSn.Equals(challengeItemDTOs[i].Question))
+ @if (challengeItemDTOs.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)
{
- <option value="@item.CodeSn" hassubinfo="true">
- @item.Comments
- </option>
+ @if (!item.CodeSn.Equals(challengeItemDTOs[i].Question))
+ {
+ <option value="@item.CodeSn" hassubinfo="true">
+ @item.Comments
+ </option>
+ }
+ else
+ {
+ <option value="@item.CodeSn" hassubinfo="true" selected="selected">
+ @item.Comments
+ </option>
+ }
+
}
- else
- {
- <option value="@item.CodeSn" hassubinfo="true" selected="selected">
- @item.Comments
- </option>
}
- }
- }
+ </select>
- </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="col-sm-2 col-md-2" grouptype="Vdata">
+ <button type="button" class="addBtn" onclick="addzhiyishixiang(this)" data-type="1">璐ㄧ枒浜嬮」</button>
+ </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!=0?(i+""):"")</label>
- <div class="col-sm-8 col-md-8">
- <textarea class="form-control bt" name="Evidential" title="浜嬪疄渚濇嵁" isempty="" maxlength="300" length="long">@challengeItemDTOs[i].Evidential</textarea>
</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!=0?(i+""):"")</label>
- <div class="col-sm-4 col-md-4" grouptype="Vdata">
- <select class="form-control" name="Law" data-placeholder="閫夋嫨 搴忓垪 ..." onchange="Lawchangge(@i);">
- <option value="" hassubinfo="true">璇烽�夋嫨</option>
- @foreach (var item in law)
+ <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="300" length="long">@challengeItemDTOs[i].Evidential</textarea>
+ </div>
+ </div>
+ <div id="falvyiju@(i)">
+ @for (int j = 0; j < challengeItemDTOs[i].sysCodeDtls.Count; j++)
+ {
+ @if (challengeItemDTOs[i].sysCodeDtls.Count == 1)
{
- @if (!item.CodeSn.Equals(challengeItemDTOs[i].Law))
- {
- <option value="@item.CodeSn" hassubinfo="true">
- @item.Comments
- </option>
- }
- else
- {
- <option value="@item.CodeSn" hassubinfo="true" selected="selected">
- @item.Comments
- </option>
- }
+ <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">
+ 銆夽(challengeItemDTOs[i].sysCodeDtls[j].CodeSn)銆婡(challengeItemDTOs[i].sysCodeDtls[j].Classify2)锛欯challengeItemDTOs[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">
+ 銆夽(challengeItemDTOs[i].sysCodeDtls[j].CodeSn)銆婡(challengeItemDTOs[i].sysCodeDtls[j].Classify2)锛欯challengeItemDTOs[i].sysCodeDtls[j].Contents
+ </div>
+
+
+ </div>
}
- </select>
+
+
+ }
+ </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(challengeItemDTOs[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 class="col-sm-2 col-md-2" grouptype="Vdata">
+ <button type="button" class="addBtn" onclick="addquestion(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!=0?(i+""):"")</label>
- <div class="col-sm-8 col-md-8">
- <textarea class="form-control bt" name="Lawcoment" title="鍐呭" isempty="" maxlength="300" length="long">@challengeItemDTOs[i].Lawcoment</textarea>
+ <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="300" length="long">@challengeItemDTOs[i].Evidential</textarea>
+ </div>
</div>
- </div>
+ <div id="falvyiju@(i)">
+ @for (int j = 0; j < challengeItemDTOs[i].sysCodeDtls.Count; j++)
+ {
+ @if (challengeItemDTOs[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">
+ 銆夽(challengeItemDTOs[i].sysCodeDtls[j].CodeSn)銆婡(challengeItemDTOs[i].sysCodeDtls[j].Classify2)锛欯challengeItemDTOs[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">
+ 銆夽(challengeItemDTOs[i].sysCodeDtls[j].CodeSn)銆婡(challengeItemDTOs[i].sysCodeDtls[j].Classify2)锛欯challengeItemDTOs[i].sysCodeDtls[j].Contents
+ </div>
+
+
+ </div>
+ }
+ }
+ </div>
+ }
+
+
+
+
+
}
</div>
+
+
<div class="clearfix layer-area" style="padding-bottom:15px;">
@@ -389,6 +467,10 @@
</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>
@@ -409,9 +491,11 @@
<div class="ibox-content" id="top" style="z-index:100; position:fixed; height:50px; width:100%;bottom:0; text-align: right; padding-top:8px ">
<div class="" style="float:right;" data-bootstro-width="500px" data-bootstro-content="鍔熻兘鎸夐挳锛氣�滀繚瀛樷�濓紝鈥滃垹闄も��">
@*<a class="btn btn-success" href="javascript:void(0)" onclick="delPosition();" style="margin-left:4px; border-radius:4px;">
- <i class="glyphicon glyphicon-remove"></i> <span class="bold">鍒犻櫎</span>
- </a>*@
-
+ <i class="glyphicon glyphicon-remove"></i> <span class="bold">鍒犻櫎</span>
+ </a>*@
+ <a class="btn btn-success" href="javascript:void(0)" onclick="printPosition();" style="margin-left:4px; border-radius:4px;">
+ <i class="glyphicon glyphicon-ok"></i> <span class="bold">鎵撳嵃</span>
+ </a>
<a class="btn btn-success" href="javascript:void(0)" onclick="savePosition();" style="margin-left:4px; border-radius:4px;">
<i class="glyphicon glyphicon-ok"></i> <span class="bold">鎻愪氦</span>
</a>
@@ -458,6 +542,15 @@
var bDeleteFile = false; // 鍒犻櫎鎿嶄綔
var attachment_id = 0; // 闄勪欢id
var imgLoad = new Object();
+
+ //var aaaaaa = document.getElementsByName("Question");
+ //for (var aa = 0; aa < aaaaaa.length; aa++) {
+ // Questionchangge(aa);
+ //}
+
+ var printPosition = function () {
+ OpenWindow("鎵撳嵃璐ㄧ枒鍑�", "100%", "100%", "/CooperOrder/PrintZhiyihan?id=@Model.OrderId");
+ }
@@ -575,6 +668,84 @@
});
}
+ function Questionchangge(i) {
+
+ var sss = document.getElementsByName("Question")[i].value;
+ $.ajax({
+ type: "GET",
+ url: "/CooperOrder/getQuestionLaw?id=" + sss + "&no=" + i,
+ dataType: "json",
+ global: false,
+ data: "",
+ success: function (data) {
+ var falvyiju = $("#falvyiju" + data.Message);
+
+ var falvyijuhtml = "";
+ falvyijuhtml += ` <div id="falvyiju` + data.Message + `">`;
+
+ if (data.DataList.length > 0) {
+ for (var i = 0; i < data.DataList.length; i++) {
+ if (data.DataList.length == 1) {
+ falvyijuhtml += `
+
+ <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" >
+ 銆奰 + data.DataList[i].CodeSn + `銆媊 + data.DataList[i].Classify2 + `锛歚 + data.DataList[i].Contents + `
+
+ </div>
+
+ </div>
+
+ `;
+ } else {
+ falvyijuhtml += `
+
+ <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" >
+ 銆奰 + data.DataList[i].CodeSn + `銆媊 + data.DataList[i].Classify2 + `锛歚 + data.DataList[i].Contents + `
+
+ </div>
+
+ </div>
+
+ `;
+ }
+
+
+ }
+
+
+ }
+ else {
+ falvyijuhtml += `
+
+ <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>
+
+ `;
+ }
+
+ falvyijuhtml += ` </div> `;
+
+ falvyiju.html(falvyijuhtml);
+
+
+
+ },
+ error: function () {
+
+
+ parent.layer.msg('鏌ヨ澶辫触', { icon: 5 });
+ }
+ });
+ }
+
+
function _pageAutoClose() {
parent.window._reloadPageData();
var index = parent.layer.getFrameIndex(window.name);
@@ -587,39 +758,40 @@
function addzhiyishouquan(obj) {
- var sss = document.getElementsByName("zhiyiShouquandaibiao").length;
+ $("#zhiyishouquan").show();
+ //var sss = document.getElementsByName("zhiyiShouquandaibiao").length;
- $('#zhiyishouquan').append(` <div class="clearfix layer-area" style="padding-bottom:15px;">
- <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">鎺堟潈浠h〃`+ sss + `</label>
- <div class="col-sm-2 col-md-2" grouptype="Vdata">
- <input class="form-control" label="鎺堟潈浠h〃`+ sss + `" name="zhiyiShouquandaibiao" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="">
+ //$('#zhiyishouquan').append(` <div class="clearfix layer-area" style="padding-bottom:15px;">
+ // <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">鎺堟潈浠h〃`+ sss + `</label>
+ // <div class="col-sm-2 col-md-2" grouptype="Vdata">
+ // <input class="form-control" label="鎺堟潈浠h〃`+ sss + `" name="zhiyiShouquandaibiao" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="">
- </div>
+ // </div>
- <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">鑱旂郴鐢佃瘽`+ sss + `</label>
- <div class="col-sm-2 col-md-2" grouptype="Vdata">
- <input class="form-control" label="鑱旂郴鐢佃瘽`+ sss + `" name="zhiyiLianxidianhua" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="">
+ // <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">鑱旂郴鐢佃瘽`+ sss + `</label>
+ // <div class="col-sm-2 col-md-2" grouptype="Vdata">
+ // <input class="form-control" label="鑱旂郴鐢佃瘽`+ sss + `" name="zhiyiLianxidianhua" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="">
- </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">鍦板潃`+ sss + `</label>
- <div class="col-sm-2 col-md-2" grouptype="Vdata">
- <input class="form-control" label="鍦板潃`+ sss + `" name="zhiyiDizhi" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value=" ">
+ // </div>
+ // <div class="clearfix layer-area" style="padding-bottom:15px;">
+ // <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">鍦板潃`+ sss + `</label>
+ // <div class="col-sm-2 col-md-2" grouptype="Vdata">
+ // <input class="form-control" label="鍦板潃`+ sss + `" name="zhiyiDizhi" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value=" ">
- </div>
+ // </div>
- <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">閭紪`+ sss + `</label>
- <div class="col-sm-2 col-md-2" grouptype="Vdata">
- <input class="form-control" label="閭紪`+ sss + `" name="zhiyiYoubian" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value=" ">
+ // <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">閭紪`+ sss + `</label>
+ // <div class="col-sm-2 col-md-2" grouptype="Vdata">
+ // <input class="form-control" label="閭紪`+ sss + `" name="zhiyiYoubian" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value=" ">
- </div>
+ // </div>
- </div>`);
+ // </div>`);
}
@@ -627,20 +799,25 @@
function addzhiyishixiang(obj) {
var sss = document.getElementsByName("Question").length;
+ if (document.getElementsByName("Question").length == 1) {
+
+ $('#Questionlabel').text("璐ㄧ枒浜嬮」1");
+ $('#Evidentiallabel').text("浜嬪疄渚濇嵁1");
+ }
$('#zhiyishixiang').append(`
<div class="clearfix layer-area" style="padding-bottom:15px;">
- <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">璐ㄧ枒浜嬮」`+ sss + `</label>
+ <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">
- <select class="form-control" name="Question" data-placeholder="閫夋嫨 搴忓垪 ...">
+ <select class="form-control" name="Question" data-placeholder="閫夋嫨 搴忓垪 ..." onchange="Questionchangge(`+ sss + `);">
<option value="" hassubinfo="true">璇烽�夋嫨</option>
@foreach (var item in question)
{
-
+
<option value="@item.CodeSn" hassubinfo="true" >
@item.Comments
</option>
-
+
}
}
@@ -651,44 +828,55 @@
</div>
<div class="clearfix layer-area" style="padding-bottom:15px;">
- <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">浜嬪疄渚濇嵁`+ sss + `</label>
+ <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="4000" length="long"></textarea>
+ <textarea class="form-control bt" name="Evidential" title="浜嬪疄渚濇嵁`+ sss + `" isempty="" maxlength="4000" length="long"></textarea>
</div>
</div>
-
+ <div id="falvyiju`+ sss + `">
<div class="clearfix layer-area" style="padding-bottom:15px;">
- <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">娉曞緥渚濇嵁`+ sss + `</label>
- <div class="col-sm-4 col-md-4" grouptype="Vdata">
- <select class="form-control" name="Law" data-placeholder="閫夋嫨 搴忓垪 ..." onchange="Lawchangge(`+ sss + `);">
- <option value="" hassubinfo="true">璇烽�夋嫨</option>
- @foreach (var item in law)
- {
-
- <option value="@item.CodeSn" hassubinfo="true" >
- @item.Comments
- </option>
-
- }
- }
+ <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">娉曞緥渚濇嵁</label>
- </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">鍐呭`+ sss + `</label>
- <div class="col-sm-8 col-md-8">
- <textarea class="form-control bt" name="Lawcoment" title="鍐呭" isempty="" maxlength="4000" length="long"></textarea>
- </div>
- </div>
+</div>
`);
- $("select").chosen();
+ $("select" + sss).chosen();
}
+ var addLaw = function () {
+ OpenWindow("鏂板娉曞緥渚濇嵁", "98%", "90%", "/SysCode/Editlaw/");
+ }
+
+ var _reloadPageData = function () {
+ window.location = "/CooperOrder/EditTousushu?id=" + $("#OrderId").val();
+ }
+ var addquestion = function () {
+ OpenWindow("鏂板璐ㄧ枒浜嬮」", "98%", "90%", "/SysCode/Editquestion/");
+ }
+
+ var addrequestinfo = function () {
+ OpenWindow("鏂板璐ㄧ枒璇锋眰", "98%", "90%", "/SysCode/Editrequestinfo/");
+ }
+
+
+ $(document).ready(function () {
+
+
+ if ($("#zhiyiShouquandaibiao").val() != "") {
+ $("#zhiyishouquan").show();
+ } else {
+ $("#zhiyishouquan").hide();
+ }
+
+
+
+
+
+
+ });
</script>
</body>
--
Gitblit v1.9.1