From 6e2b929cf381e2320ba6e7dec56c0371124d2b51 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期六, 27 八月 2022 15:03:00 +0800
Subject: [PATCH] 提交

---
 zhengcaioa/zhengcaioa/Views/CooperOrder/Edit.cshtml | 1321 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 1,282 insertions(+), 39 deletions(-)

diff --git a/zhengcaioa/zhengcaioa/Views/CooperOrder/Edit.cshtml b/zhengcaioa/zhengcaioa/Views/CooperOrder/Edit.cshtml
index e42be0b..2ac3108 100644
--- a/zhengcaioa/zhengcaioa/Views/CooperOrder/Edit.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/CooperOrder/Edit.cshtml
@@ -18,11 +18,17 @@
 
     List<TChallengeItemDTO> challengeItemDTOs = challengeletterDTO.challengeItemDTOs;
 
+    List<TComplaintShouquandaibiaoDTO> challengecomplaintShouquandaibiaoDTOs = challengeletterDTO.complaintShouquandaibiaoDTOs;
+
     TComplaintletterDTO complaintletterDTO = ViewData["complaintletterDTO"] as TComplaintletterDTO; //鎶曡瘔涔�
 
     List<TComplaintItemDTO> complaintItemDTOs = complaintletterDTO.complaintItemDTOs;
 
     List<TComplaintRespondentDTO> complaintRespondentDTOs = complaintletterDTO.complaintRespondentDTOs;
+
+    List<TComplaintShouquandaibiaoDTO> complaintShouquandaibiaoDTOs = complaintletterDTO.complaintShouquandaibiaoDTOs;
+
+    List<TComplaintGongyingshangDTO> complaintGongyingshangDTOs = complaintletterDTO.complaintGongyingshangDTOs;
 
     List<SysCodeDtl> request_info = ViewData["request_info"] as List<SysCodeDtl>; //璐ㄧ枒璇锋眰
 
@@ -30,6 +36,11 @@
 
     List<SysCodeDtl> law = ViewData["law"] as List<SysCodeDtl>; //娉曞緥渚濇嵁
 
+    List<SysCodeDtl> shifou = ViewData["shifou"] as List<SysCodeDtl>; //鏄惁
+
+    List<TChallengeletterDTO> ChallengeletterChosen = ViewData["ChallengeletterChosen"] as List<TChallengeletterDTO>;
+
+    List<PageEntity> ActionInfo2 = ViewData["ActionInfo2"] as List<PageEntity>;
 }
 @{
     Layout = null;
@@ -206,6 +217,13 @@
                                         <input type="hidden" id="order_type2" name="order_type2" value="@Model.OrderType2" />
                                     </div>
 
+                                    <label class="text-right col-sm-1 col-md-1 control-label" id="dingdanleixing4">璁㈠崟绫诲瀷2</label>
+                                    <div class="col-sm-2 col-md-2" id="dingdanleixing5">
+                                        <input class="form-control" label="瀹㈡埛鍚嶇О" name="OrderType3" id="OrderType3" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.OrderType2" maxlength="50">
+
+                                    </div>
+
+
                                     @*<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">
                 <select id="OrderPro" class="form-control" name="OrderPro" data-placeholder="閫夋嫨 搴忓垪 ...">
@@ -244,50 +262,705 @@
 
                                     <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">璁㈠崟鏁伴噺<i class="red">*</i></label>
                                     <div class="col-sm-2 col-md-2" grouptype="Vdata">
-                                        <input class="form-control" label="瀹㈡埛鍚嶇О" name="OrderNum" id="OrderNum" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="@Model.OrderNum" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.replace(/^(0+)|[^\d]+/g,'')">
+                                        <input class="form-control" label="瀹㈡埛鍚嶇О" name="OrderNum" id="OrderNum" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.OrderNum" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.replace(/^(0+)|[^\d]+/g,'')">
 
                                     </div>
 
                                     <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">鍗曚环<i class="red">*</i></label>
                                     <div class="col-sm-2 col-md-2" grouptype="Vdata">
-                                        <input class="form-control" label="瀹㈡埛鍚嶇О" name="Price" id="Price" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="@Model.Price" 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="Price" id="Price" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.Price" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)">
 
                                     </div>
 
                                     <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">閲戦<i class="red">*</i></label>
                                     <div class="col-sm-2 col-md-2" grouptype="Vdata">
-                                        <input class="form-control" label="瀹㈡埛鍚嶇О" name="Money" id="Money" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="@Model.Money" oninput="if(value.length>8)value=value.slice(0,18)" readonly="readonly">
+                                        <input class="form-control" label="瀹㈡埛鍚嶇О" name="Money" id="Money" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.Money" oninput="if(value.length>8)value=value.slice(0,18)" readonly="readonly">
 
                                     </div>
 
 
                                 </div>
-
-                                <div class="clearfix layer-area" style="padding-bottom:15px;">
+                                <div id="putong">
+                                    <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">
-                                        <input class="form-control" label="瀹㈡埛鍚嶇О" name="Shr" id="Shr" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value="@Model.Shr">
+                                        <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="Shr" id="Shr" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value="@Model.Shr">
+
+                                        </div>
+
+                                        <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="ShrAddress" id="ShrAddress" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value="@Model.ShrAddress">
+
+                                        </div>
+
+                                        <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="ShrTel" id="ShrTel" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value="@Model.ShrTel">
+
+                                        </div>
+
 
                                     </div>
-
-                                    <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="ShrAddress" id="ShrAddress" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value="@Model.ShrAddress">
-
-                                    </div>
-
-                                    <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="ShrTel" id="ShrTel" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value="@Model.ShrTel">
-
-                                    </div>
-
 
                                 </div>
+
+                                <div id="xiangmuxinxi">
+                                    <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">
+                                            <input class="form-control" label="椤圭洰鍚嶇О" name="Xmname" id="Xmname" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value="@Model.Xmname">
+
+                                        </div>
+
+                                        <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="Xmcode" id="Xmcode" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value="@Model.Xmcode">
+
+                                        </div>
+
+                                        
+
+
+                                    </div>
+
+                                </div>
+
+                                <div id="jichujine">
+                                    <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">
+                                            <input class="form-control" label="鍩虹閲戦" name="Jichumoney" id="Jichumoney" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@(Model.Jichumoney.HasValue?Model.Jichumoney.Value.ToString():"")" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)">
+                                        </div>
+
+
+                                    </div>
+
+                                </div>
+
+                                <div id="zhiyi">
+                                    <div class="clearfix layer-area" style="padding-bottom:15px;">
+
+
+
+
+                                        <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">璐ㄧ枒渚涘簲鍟�<i class="red">*</i></label>
+                                        <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                            <input class="form-control" label="璐ㄧ枒渚涘簲鍟�" name="GysName" id="GysName" labtype="txt" addvisible="true" maxlength="50" editvisible="true" reg="" ismust="true" type="text" value="@challengeletterDTO.GysName">
+
+                                        </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 class="red">*</i></label>
+                                        <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                            <input class="form-control" label="鍦板潃" name="GysAddress" id="GysAddress" labtype="txt" addvisible="true" maxlength="100" editvisible="true" reg="" ismust="true" type="text" value="@challengeletterDTO.GysAddress">
+
+                                        </div>
+
+                                        <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="GysPostcode" id="GysPostcode" labtype="txt" addvisible="true" maxlength="10" editvisible="true" reg="" ismust="true" type="text" value="@challengeletterDTO.GysPostcode">
+
+                                        </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 class="red">*</i></label>
+                                        <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                            <input class="form-control" label="鑱旂郴浜�" name="GysContacts" id="GysContacts" labtype="txt" addvisible="true" maxlength="30" editvisible="true" reg="" ismust="true" type="text" value="@challengeletterDTO.GysContacts">
+
+                                        </div>
+
+                                        <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">鑱旂郴鐢佃瘽<i class="red">*</i></label>
+                                        <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                            <input class="form-control" label="鑱旂郴鐢佃瘽" name="GysPhone" id="GysPhone" labtype="txt" addvisible="true" maxlength="30" editvisible="true" reg="" ismust="true" type="text" value="@challengeletterDTO.GysPhone">
+
+                                        </div>
+
+
+                                    </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〃</label>
+                                                <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                                    <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">鑱旂郴鐢佃瘽</label>
+                                                <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                                    <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>
+
+
+
+                                            </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">
+                                                    <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">閭紪</label>
+                                                <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                                    <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>
+
+
+                                            </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 class="red">*</i></label>
+                                        <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                            <input class="form-control" label="椤圭洰鍚嶇О" name="zhiyiXmName" id="zhiyiXmName" labtype="txt" addvisible="true" maxlength="100" editvisible="true" reg="" ismust="true" type="text" value="@challengeletterDTO.XmName">
+
+                                        </div>
+
+                                        <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">椤圭洰缂栧彿<i class="red">*</i></label>
+                                        <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                            <input class="form-control" label="椤圭洰缂栧彿" name="zhiyiXmCode" id="zhiyiXmCode" labtype="txt" addvisible="true" maxlength="30" editvisible="true" reg="" ismust="true" type="text" value="@challengeletterDTO.XmCode">
+
+                                        </div>
+
+                                        <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">
+
+                                            <div class="input-group">
+                                                <input type="text" name="zhiyiXmPackage" id="zhiyiXmPackage" class="form-control" value="@(string.IsNullOrEmpty(Model.Id)?"绗�1鍖�":challengeletterDTO.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:$('#zhiyiXmPackage').val('绗�1鍖�')">绗�1鍖�</a></li>
+                                                        <li><a href="javascript:$('#zhiyiXmPackage').val('绗�2鍖�')">绗�2鍖�</a></li>
+                                                        <li><a href="javascript:$('#zhiyiXmPackage').val('绗�3鍖�')">绗�3鍖�</a></li>
+                                                        <li><a href="javascript:$('#zhiyiXmPackage').val('绗�4鍖�')">绗�4鍖�</a></li>
+                                                        <li><a href="javascript:$('#zhiyiXmPackage').val('绗�5鍖�')">绗�5鍖�</a></li>
+                                                    </ul>
+                                                </div><!-- /btn-group -->
+                                            </div><!-- /input-group -->
+                                        </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 class="red">*</i></label>
+                                        <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                            <input class="form-control" label="閲囪喘浜哄悕绉�" name="zhiyiPurchaserName" id="zhiyiPurchaserName" labtype="txt" addvisible="true" maxlength="50" editvisible="true" reg="" ismust="true" type="text" value="@challengeletterDTO.PurchaserName">
+
+                                        </div>
+
+                                        <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">閲囪喘鏂囦欢鑾峰彇鏃ユ湡<i class="red">*</i></label>
+                                        <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                            <input class="form-control" label="閲囪喘鏂囦欢鑾峰彇鏃ユ湡" name="zhiyiDocumentsDate" id="zhiyiDocumentsDate" labtype="txt" addvisible="true" maxlength="50" editvisible="true" reg="" ismust="true" type="text" value="@challengeletterDTO.DocumentsDateName" readonly="readonly">
+
+                                        </div>
+
+
+
+                                    </div>
+
+                                </div>
+
+
+                                <div id="tousu">
+                                    <div class="clearfix layer-area" style="padding-bottom:15px;">
+
+
+
+
+                                        <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">鎶曡瘔浜�<i class="red">*</i></label>
+                                        <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                            <input class="form-control" label="鎶曡瘔浜�" name="TsrName" id="TsrName" labtype="txt" addvisible="true" maxlength="50" editvisible="true" reg="" ismust="true" type="text" value="@complaintletterDTO.TsrName">
+
+                                        </div>
+
+                                        @*<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">
+                    <select id="TsrId" class="form-control" name="TsrId" data-placeholder="閫夋嫨 搴忓垪 ..." onchange="TsrIdchangge();">
+                        <option value="" hassubinfo="true">璇烽�夋嫨</option>
+                        @foreach (var item in ChallengeletterChosen)
+                        {
+                            @if (!item.Id.Equals(complaintletterDTO.TsrId))
+                            {
+                                <option value="@item.Id" hassubinfo="true">
+                                    @item.OrderId
+                                </option>
+                            }
+                            else
+                            {
+                                <option value="@item.Id" hassubinfo="true" selected="selected">
+                                    @item.OrderId
+                                </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 class="red">*</i></label>
+                                        <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                            <input class="form-control" label="鍦板潃" name="TsrAddress" id="TsrAddress" labtype="txt" addvisible="true" maxlength="100" editvisible="true" reg="" ismust="true" type="text" value="@complaintletterDTO.TsrAddress">
+
+                                        </div>
+
+                                        <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="TsrPostcode" id="TsrPostcode" labtype="txt" addvisible="true" maxlength="10" editvisible="true" reg="" ismust="true" type="text" value="@complaintletterDTO.TsrPostcode">
+
+                                        </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">娉曞畾浠h〃浜�<i class="red">*</i></label>
+                                        <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                            <input class="form-control" label="娉曞畾浠h〃浜�" name="TsrCorporation" id="TsrCorporation" labtype="txt" addvisible="true" maxlength="30" editvisible="true" reg="" ismust="true" type="text" value="@complaintletterDTO.TsrCorporation">
+
+                                        </div>
+
+                                        <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">鑱旂郴鐢佃瘽<i class="red">*</i></label>
+                                        <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                            <input class="form-control" label="鑱旂郴鐢佃瘽" name="TsrPhone" id="TsrPhone" labtype="txt" addvisible="true" maxlength="30" editvisible="true" reg="" ismust="true" type="text" value="@complaintletterDTO.TsrPhone">
+
+                                        </div>
+
+
+                                    </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="addtousushouquan(this)" data-type="1">鎺堟潈浠h〃</button>
+                                        </div>
+                                    </div>
+                                    <div id="tousushouquan">
+                                        @for (int i = 0; i < complaintShouquandaibiaoDTOs.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〃</label>
+                                                <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                                    <input class="form-control" label="鎺堟潈浠h〃" id="tousuShouquandaibiao" name="tousuShouquandaibiao" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="@complaintShouquandaibiaoDTOs[i].Shouquandaibiao">
+
+                                                </div>
+
+                                                <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="鑱旂郴鐢佃瘽" id="tousuLianxidianhua" name="tousuLianxidianhua" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="@complaintShouquandaibiaoDTOs[i].Lianxidianhua">
+
+                                                </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">鍦板潃</label>
+                                                <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                                    <input class="form-control" label="鍦板潃" id="tousuDizhi" name="tousuDizhi" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="@complaintShouquandaibiaoDTOs[i].Dizhi">
+
+                                                </div>
+
+                                                <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="閭紪" id="tousuYoubian" name="tousuYoubian" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="@complaintShouquandaibiaoDTOs[i].Youbian">
+
+                                                </div>
+
+
+                                            </div>
+                                        }
+                                    </div>
+
+
+                                    <div id="beitousuren">
+                                        @for (int i = 0; i < complaintRespondentDTOs.Count; i++)
+                                        {
+                                            @if (complaintRespondentDTOs.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">琚姇璇変汉<i class="red">*</i></label>
+                                                    <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                                        <input class="form-control" label="琚姇璇変汉" name="tousuRespondent" labtype="txt" addvisible="true" maxlength="50" editvisible="true" reg="" ismust="true" type="text" value="@complaintRespondentDTOs[i].Respondent">
+
+                                                    </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 class="red">*</i></label>
+                                                    <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                                        <input class="form-control" label="鍦板潃" name="tousuAddress" labtype="txt" addvisible="true" maxlength="100" editvisible="true" reg="" ismust="true" type="text" value="@complaintRespondentDTOs[i].Address">
+
+                                                    </div>
+
+                                                    <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="tousuPostcode" labtype="txt" addvisible="true" maxlength="10" editvisible="true" reg="" ismust="true" type="text" value="@complaintRespondentDTOs[i].Postcode">
+
+                                                    </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 class="red">*</i></label>
+                                                    <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                                        <input class="form-control" label="鑱旂郴浜�" name="tousuContacts" labtype="txt" addvisible="true" maxlength="30" editvisible="true" reg="" ismust="true" type="text" value="@complaintRespondentDTOs[i].Contacts">
+
+                                                    </div>
+
+                                                    <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">鑱旂郴鐢佃瘽<i class="red">*</i></label>
+                                                    <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                                        <input class="form-control" label="鑱旂郴鐢佃瘽" name="tousuPhone" labtype="txt" addvisible="true" maxlength="30" editvisible="true" reg="" ismust="true" type="text" value="@complaintRespondentDTOs[i].Phone">
+
+                                                    </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-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>
+
+                                                <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="tousuAddress" labtype="txt" addvisible="true" maxlength="100" editvisible="true" reg="" ismust="true" type="text" value="@complaintRespondentDTOs[i].Address">
+
+                                                    </div>
+
+                                                    <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="tousuPostcode" labtype="txt" addvisible="true" maxlength="10" editvisible="true" reg="" ismust="true" type="text" value="@complaintRespondentDTOs[i].Postcode">
+
+                                                    </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-2 col-md-2" grouptype="Vdata">
+                                                        <input class="form-control" label="鑱旂郴浜篅(i+1)" name="tousuContacts" labtype="txt" addvisible="true" maxlength="30" editvisible="true" reg="" ismust="true" type="text" value="@complaintRespondentDTOs[i].Contacts">
+
+                                                    </div>
+
+                                                    <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="tousuPhone" labtype="txt" addvisible="true" maxlength="30" editvisible="true" reg="" ismust="true" type="text" value="@complaintRespondentDTOs[i].Phone">
+
+                                                    </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">琚姇璇変汉</label>
+                                        <div class="col-sm-2 col-md-2" grouptype="Vdata">
+
+                                            <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">
+                                        @for (int i = 0; i < complaintGongyingshangDTOs.Count; i++)
+                                        {
+                                            @if (complaintGongyingshangDTOs.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-2 col-md-2" grouptype="Vdata">
+                                                        <input class="form-control" label="鐩稿叧渚涘簲鍟�" name="Gongytingshang" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="@complaintGongyingshangDTOs[i].Gongytingshang">
+
+                                                    </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">鍦板潃</label>
+                                                    <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                                        <input class="form-control" label="鍦板潃" name="gongyingshangDizhi" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="@complaintGongyingshangDTOs[i].Dizhi">
+
+                                                    </div>
+
+                                                    <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="gongyingshangYoubian" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="@complaintGongyingshangDTOs[i].Youbian">
+
+                                                    </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">鑱旂郴浜�</label>
+                                                    <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                                        <input class="form-control" label="鑱旂郴浜�" name="gongyingshangLianxiren" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="@complaintGongyingshangDTOs[i].Lianxiren">
+
+                                                    </div>
+
+                                                    <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="gongyingshangLianxidianhua" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="@complaintGongyingshangDTOs[i].Lianxidianhua">
+
+                                                    </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-2 col-md-2" grouptype="Vdata">
+                                                        <input class="form-control" label="鐩稿叧渚涘簲鍟咢(i+1)" name="Gongytingshang" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="@complaintGongyingshangDTOs[i].Gongytingshang">
+
+                                                    </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-2 col-md-2" grouptype="Vdata">
+                                                        <input class="form-control" label="鍦板潃@(i+1)" name="gongyingshangDizhi" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="@complaintGongyingshangDTOs[i].Dizhi">
+
+                                                    </div>
+
+                                                    <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="gongyingshangYoubian" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="@complaintGongyingshangDTOs[i].Youbian">
+
+                                                    </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-2 col-md-2" grouptype="Vdata">
+                                                        <input class="form-control" label="鑱旂郴浜篅(i+1)" name="gongyingshangLianxiren" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="@complaintGongyingshangDTOs[i].Lianxiren">
+
+                                                    </div>
+
+                                                    <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="gongyingshangLianxidianhua" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="@complaintGongyingshangDTOs[i].Lianxidianhua">
+
+                                                    </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">鐩稿叧渚涘簲鍟�</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>
+
+
+
+
+
+                                    <div class="clearfix layer-area" style="padding-bottom:15px;">
+                                        <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">椤圭洰鍚嶇О<i class="red">*</i></label>
+                                        <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                            <input class="form-control" label="椤圭洰鍚嶇О" name="tousuXmName" id="tousuXmName" labtype="txt" addvisible="true" maxlength="100" editvisible="true" reg="" ismust="true" type="text" value="@complaintletterDTO.XmName">
+
+                                        </div>
+
+                                        <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">椤圭洰缂栧彿<i class="red">*</i></label>
+                                        <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                            <input class="form-control" label="椤圭洰缂栧彿" name="tousuXmCode" id="tousuXmCode" labtype="txt" addvisible="true" maxlength="30" editvisible="true" reg="" ismust="true" type="text" value="@complaintletterDTO.XmCode">
+
+                                        </div>
+
+                                        <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">
+
+                                            <div class="input-group">
+                                                <input type="text" name="tousuXmPackage" id="tousuXmPackage" class="form-control" value="@(string.IsNullOrEmpty(Model.Id)?"绗�1鍖�":complaintletterDTO.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>
+
+                                    <div class="clearfix layer-area" style="padding-bottom:15px;">
+                                        <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">閲囪喘浜哄悕绉�<i class="red">*</i></label>
+                                        <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                            <input class="form-control" label="閲囪喘浜哄悕绉�" name="tousuPurchaserName" id="tousuPurchaserName" labtype="txt" addvisible="true" maxlength="50" editvisible="true" reg="" ismust="true" type="text" value="@complaintletterDTO.PurchaserName">
+
+                                        </div>
+
+                                        <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">浠g悊鏈烘瀯鍚嶇О<i class="red">*</i></label>
+                                        <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                            <input class="form-control" label="浠g悊鏈烘瀯鍚嶇О" name="tousuAgency" id="tousuAgency" labtype="txt" addvisible="true" maxlength="50" editvisible="true" reg="" ismust="true" type="text" value="@complaintletterDTO.Agency">
+
+                                        </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 class="red">*</i></label>
+                                        <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                            <select id="tousuIsNotice" class="form-control" name="tousuIsNotice" data-placeholder="閫夋嫨 搴忓垪 ...">
+                                                <option value="" hassubinfo="true">璇烽�夋嫨</option>
+                                                @foreach (var item in shifou)
+                                                {
+                                                    @if (!item.CodeSn.Equals(complaintletterDTO.IsNotice))
+                                                    {
+                                                        <option value="@item.CodeSn" hassubinfo="true">
+                                                            @item.Comments
+                                                        </option>
+                                                    }
+                                                    else
+                                                    {
+                                                        <option value="@item.CodeSn" hassubinfo="true" selected="selected">
+                                                            @item.Comments
+                                                        </option>
+                                                    }
+
+                                                }
+
+
+                                            </select>
+                                        </div>
+
+                                        <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label" id="tousuNoticeDatelabel">鍏憡鏈熼檺</label>
+                                        <div class="col-sm-2 col-md-2" grouptype="Vdata" id="tousuNoticeDatediv">
+                                            <input class="form-control" label="鍏憡鏈熼檺" name="tousuNoticeDate" id="tousuNoticeDate" labtype="txt" addvisible="true" maxlength="50" editvisible="true" reg="" ismust="true" type="text" value="@complaintletterDTO.NoticeDateName" readonly="readonly">
+
+                                        </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 class="red">*</i></label>
+                                        <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                            <select id="tousuIsResultnotice" class="form-control" name="tousuIsResultnotice" data-placeholder="閫夋嫨 搴忓垪 ...">
+                                                <option value="" hassubinfo="true">璇烽�夋嫨</option>
+                                                @foreach (var item in shifou)
+                                                {
+                                                    @if (!item.CodeSn.Equals(complaintletterDTO.IsResultnotice))
+                                                    {
+                                                        <option value="@item.CodeSn" hassubinfo="true">
+                                                            @item.Comments
+                                                        </option>
+                                                    }
+                                                    else
+                                                    {
+                                                        <option value="@item.CodeSn" hassubinfo="true" selected="selected">
+                                                            @item.Comments
+                                                        </option>
+                                                    }
+
+                                                }
+
+
+                                            </select>
+                                        </div>
+
+                                        <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label" id="tousuResultnoticeDatelabel">鍏憡鏈熼檺</label>
+                                        <div class="col-sm-2 col-md-2" grouptype="Vdata" id="tousuResultnoticeDatediv">
+                                            <input class="form-control" label="鍏憡鏈熼檺" name="tousuResultnoticeDate" id="tousuResultnoticeDate" labtype="txt" addvisible="true" maxlength="50" editvisible="true" reg="" ismust="true" type="text" value="@complaintletterDTO.ResultnoticeDateName" readonly="readonly">
+
+                                        </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">澶囨敞</label>
@@ -299,7 +972,7 @@
 
                                 <div class="clearfix layer-area" style="padding-bottom:15px;">
                                     <div class="col-sm-1 col-md-1">
-                                        
+
                                     </div>
                                     <div class="col-sm-8 col-md-8" style="color:red;">
                                         绯荤粺鑷姩鏍规嵁8澶╁唴鐢宠鐨勪紭鎯犻」鐩绠椾紭鎯犻噾棰�
@@ -317,11 +990,11 @@
         <div class="wrapper wrapper-content" style="margin-top:0px"></div>
         <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;">
+                <a class="btn btn-success Delete" href="javascript:void(0)" onclick="delPosition();" style="margin-left:4px; border-radius:4px;display:none;">
                     <i class="glyphicon glyphicon-remove"></i>&nbsp;&nbsp;<span class="bold">鍒犻櫎</span>
                 </a>
 
-                <a class="btn btn-success" href="javascript:void(0)" onclick="savePosition();" style="margin-left:4px; border-radius:4px;">
+                <a class="btn btn-success Update" href="javascript:void(0)" onclick="savePosition();" style="margin-left: 4px; border-radius: 4px; display: none;">
                     <i class="glyphicon glyphicon-ok"></i>&nbsp;&nbsp;<span class="bold">鎻愪氦</span>
                 </a>
             </div>
@@ -329,7 +1002,7 @@
 
     </form>
     <script type="text/javascript">
-        var hh = document.body.clientHeight - $('.ibox-title').height() - $("#top").height() * 2 - 95;
+        var hh = document.body.clientHeight - $('.ibox-title').height() - $("#top").height() * 2 +600;
         $("#div_content").height(hh);
 
         toastr.options = {
@@ -347,9 +1020,11 @@
             "showMethod": "fadeIn",
             "hideMethod": "fadeOut"
         };
-
-
-
+        laydate({ elem: "#zhiyiDocumentsDate", format: 'YYYY-MM-DD', istime: true, event: "focus" });
+        laydate({ elem: "#tousuResultnoticeDate", format: 'YYYY-MM-DD', istime: true, event: "focus" });
+        laydate({ elem: "#tousuNoticeDate", format: 'YYYY-MM-DD', istime: true, event: "focus" });
+        $("#dingdanleixing4").hide();
+        $("#dingdanleixing5").hide();
 
         $(document).ready(function () {
             if ("@ShouliStatus" != "1") {
@@ -418,8 +1093,8 @@
 
         var id = '@Model.Id';
          var order_type = '@Model.OrderType';
-        var order_type1 = $("#order_type1").val();
-        var order_type2 = $("#order_type2").val();
+        var order_type1 =  '@Html.Raw(Model.OrderType1)';/*$("#order_type1").val();*/
+        var order_type2 =  '@Html.Raw(Model.OrderType2)';/*$("#order_type2").val();*/
 
         var bUpload = false;
         var bAdd = false; // 鏂板鎿嶄綔
@@ -501,6 +1176,118 @@
             }
 
 
+            if ($("#OrderType1").val() == "浠f嫙鎶曡瘔涔�") {
+                if ($.trim($("#TsrName").val()) == '') {
+                    toastr.warning("鎶曡瘔浜轰笉鑳戒负绌�");
+                    return;
+                }
+                if ($.trim($("#TsrAddress").val()) == '') {
+                    toastr.warning("鎶曡瘔浜哄湴鍧�涓嶈兘涓虹┖");
+                    return;
+                }
+                //if ($.trim($("#TsrPostcode").val()) == '') {
+                //    toastr.warning("鎶曡瘔浜洪偖缂栦笉鑳戒负绌�");
+                //    return;
+                //}
+                if ($.trim($("#TsrCorporation").val()) == '') {
+                    toastr.warning("鎶曡瘔浜烘硶瀹氫唬琛ㄤ汉涓嶈兘涓虹┖");
+                    return;
+                }
+                if ($.trim($("#TsrPhone").val()) == '') {
+                    toastr.warning("鎶曡瘔浜鸿仈绯荤數璇濅笉鑳戒负绌�");
+                    return;
+                }
+
+
+                if ($.trim($("#tousuXmName").val()) == '') {
+                    toastr.warning("椤圭洰鍚嶇О涓嶈兘涓虹┖");
+                    return;
+                }
+                if ($.trim($("#tousuXmName").val()) == '') {
+                    toastr.warning("椤圭洰缂栧彿涓嶈兘涓虹┖");
+                    return;
+                }
+                if ($.trim($("#tousuPurchaserName").val()) == '') {
+                    toastr.warning("閲囪喘浜哄悕绉颁笉鑳戒负绌�");
+                    return;
+                }
+                if ($.trim($("#tousuAgency").val()) == '') {
+                    toastr.warning("浠g悊鏈烘瀯鍚嶇О涓嶈兘涓虹┖");
+                    return;
+                }
+                if ($.trim($("#tousuIsNotice").val()) == '') {
+                    toastr.warning("閲囪喘鏂囦欢鍏憡涓嶈兘涓虹┖");
+                    return;
+                }
+                if ($.trim($("#tousuIsResultnotice").val()) == '') {
+                    toastr.warning("閲囪喘缁撴灉鍏憡涓嶈兘涓虹┖");
+                    return;
+                }
+
+
+                if ($.trim(document.getElementsByName("tousuRespondent")[0].value) == '') {
+                    toastr.warning("琚姇璇変汉涓嶈兘涓虹┖");
+                    return;
+                }
+                if ($.trim(document.getElementsByName("tousuAddress")[0].value) == '') {
+                    toastr.warning("琚姇璇変汉鍦板潃涓嶈兘涓虹┖");
+                    return;
+                }
+                if ($.trim(document.getElementsByName("tousuContacts")[0].value) == '') {
+                    toastr.warning("琚姇璇変汉鑱旂郴浜轰笉鑳戒负绌�");
+                    return;
+                }
+                if ($.trim(document.getElementsByName("tousuPhone")[0].value) == '') {
+                    toastr.warning("琚姇璇変汉鑱旂郴鐢佃瘽涓嶈兘涓虹┖");
+                    return;
+                }
+
+
+            } else if ($("#OrderType1").val() == "浠f嫙璐ㄧ枒鍑�") {
+                if ($.trim($("#GysName").val()) == '') {
+                    toastr.warning("璐ㄧ枒渚涘簲鍟嗕笉鑳戒负绌�");
+                    return;
+                }
+                if ($.trim($("#GysAddress").val()) == '') {
+                    toastr.warning("璐ㄧ枒渚涘簲鍟嗗湴鍧�涓嶈兘涓虹┖");
+                    return;
+                }
+                //if ($.trim($("#GysPostcode").val()) == '') {
+                //    toastr.warning("璐ㄧ枒渚涘簲鍟嗛偖缂栦笉鑳戒负绌�");
+                //    return;
+                //}
+                if ($.trim($("#GysContacts").val()) == '') {
+                    toastr.warning("璐ㄧ枒渚涘簲鍟嗚仈绯讳汉涓嶈兘涓虹┖");
+                    return;
+                }
+                if ($.trim($("#GysPhone").val()) == '') {
+                    toastr.warning("璐ㄧ枒渚涘簲鍟嗚仈绯荤數璇濅笉鑳戒负绌�");
+                    return;
+                }
+
+                if ($.trim($("#zhiyiXmName").val()) == '') {
+                    toastr.warning("椤圭洰鍚嶇О涓嶈兘涓虹┖");
+                    return;
+                }
+                if ($.trim($("#zhiyiXmCode").val()) == '') {
+                    toastr.warning("椤圭洰缂栧彿涓嶈兘涓虹┖");
+                    return;
+                }
+                if ($.trim($("#zhiyiPurchaserName").val()) == '') {
+                    toastr.warning("閲囪喘浜哄悕绉颁笉鑳戒负绌�");
+                    return;
+                }
+                if ($.trim($("#zhiyiDocumentsDate").val()) == '') {
+                    toastr.warning("閲囪喘鏂囦欢鑾峰彇鏃ユ湡涓嶈兘涓虹┖");
+                    return;
+                }
+
+
+
+
+            }
+
+
 
 
             //var data = { id: $("#Id").val(), StartTime:$("#StartTime").val(), Sheng: $("#Sheng").val(), job_level: $("#Job_level").val().toString(), ExistsAttachment: fileId != "" }
@@ -578,6 +1365,11 @@
 
         $("#OrderType").change(function () {
             var sheng = $("#OrderType").val();
+            if (sheng == '08' || sheng == '11' || sheng == '10') {
+                $('#Price').removeAttr("readonly");//鍘婚櫎input鍏冪礌鐨剅eadonly灞炴��
+            } else {
+                $('#Price').attr("readonly", "readonly")//灏唅nput鍏冪礌璁剧疆涓簉eadonly
+            }
             $.ajax({
                 type: "GET",
                 url: "/CooperOrder/getOrderType?OrderType=" + sheng,
@@ -590,9 +1382,9 @@
                     var city = $("#OrderType1");
                     city.find('option').remove();
                     $("#OrderType2").find('option').remove();
-                   
+
                         $("#Price").val("");
-                   
+
                     var aaa = '<option value="" hassubinfo="true">璇烽�夋嫨</option>';
                     city.append(aaa);
                     if (data.length > 0) {
@@ -617,6 +1409,21 @@
                     parent.layer.msg('澶辫触', { icon: 5 });
                 }
             });
+            $("#putong").show();
+            $("#zhiyi").hide();
+            $("#tousu").hide();
+
+            if (sheng == '03' || sheng == '08') {
+                $("#xiangmuxinxi").show();
+            } else {
+                $("#xiangmuxinxi").hide();
+            }
+
+            if (sheng == '08') {
+                $("#jichujine").show();
+            } else {
+                $("#jichujine").hide();
+            }
         });
 
 
@@ -633,9 +1440,9 @@
                 success: function (data) {
                     var city = $("#OrderType2");
                     city.find('option').remove();
-                   
+
                         $("#Price").val("");
-                   
+
 
                     if (OrderType != "02" || sheng == "鐢佃瘽鍜ㄨ" || sheng == "褰撻潰鍜ㄨ" || sheng == "浠f嫙璐ㄧ枒绛斿" || sheng == "浠f嫙鎶曡瘔澶勭悊鍐冲畾" || sheng == "绔炰簤瀵规墜鍜岃瘎瀹′笓瀹跺弬鍔犳斂搴滈噰璐暟鎹俊鎭煡璇�" || sheng == "鏀块噰璐�") {
                         if (OrderType == "01") {
@@ -651,6 +1458,13 @@
 
                         $("#dingdanleixing2").hide();
                         $("#dingdanleixing3").hide();
+                        if (sheng == "姘戜簨绾犵悍" || sheng == "鍏朵粬绾犵悍") {
+                            $("#dingdanleixing4").show();
+                            $("#dingdanleixing5").show();
+                        } else {
+                            $("#dingdanleixing4").hide();
+                            $("#dingdanleixing5").hide();
+                        }
 
                     } else {
                         var aaa = '<option value="" hassubinfo="true">璇烽�夋嫨</option>';
@@ -672,7 +1486,30 @@
                         $("#dingdanleixing3").show();
                     }
 
+                    if ($("#OrderType1").val() == "浠f嫙鎶曡瘔涔�") {
+                        $("#putong").hide();
+                        $("#zhiyi").hide();
+                        $("#tousu").show();
+                    } else if ($("#OrderType1").val() == "浠f嫙璐ㄧ枒鍑�") {
+                        $("#putong").hide();
+                        $("#zhiyi").show();
+                        $("#tousu").hide();
+                    } else {
+                        $("#putong").show();
+                        $("#zhiyi").hide();
+                        $("#tousu").hide();
+                        if (OrderType == '03' || OrderType == '08') {
+                            $("#xiangmuxinxi").show();
+                        } else {
+                            $("#xiangmuxinxi").hide();
+                        }
 
+                        if (OrderType == '08') {
+                            $("#jichujine").show();
+                        } else {
+                            $("#jichujine").hide();
+                        }
+                    }
 
 
 
@@ -688,6 +1525,7 @@
 
 
         $("#OrderType2").change(function () {
+
             var OrderType = $("#OrderType").val();
             var OrderType1 = $("#OrderType1").val();
             var OrderType2 = $("#OrderType2").val();
@@ -716,7 +1554,7 @@
 
 
 
-        if (id != null  &&  id != '') {
+        if (order_type != null && order_type != '') {
 
             $.ajax({
                 type: "GET",
@@ -730,7 +1568,7 @@
                     var city = $("#OrderType1");
 
 
-                
+
                     var aaa = '';
                     city.append(aaa);
 
@@ -759,7 +1597,6 @@
             });
 
 
-            
 
             $.ajax({
                 type: "GET",
@@ -773,6 +1610,13 @@
                     if (order_type != "02" || order_type1 == "鐢佃瘽鍜ㄨ" || order_type1 == "褰撻潰鍜ㄨ" || order_type1 == "浠f嫙璐ㄧ枒绛斿" || order_type1 == "浠f嫙鎶曡瘔澶勭悊鍐冲畾" || order_type1 == "绔炰簤瀵规墜鍜岃瘎瀹′笓瀹跺弬鍔犳斂搴滈噰璐暟鎹俊鎭煡璇�" || order_type1 == "鏀块噰璐�") {
                         $("#dingdanleixing2").hide();
                         $("#dingdanleixing3").hide();
+                        if (order_type1 == "姘戜簨绾犵悍" || order_type1 == "鍏朵粬绾犵悍") {
+                            $("#dingdanleixing4").show();
+                            $("#dingdanleixing5").show();
+                        } else {
+                            $("#dingdanleixing4").hide();
+                            $("#dingdanleixing5").hide();
+                        }
 
                     } else {
                         var aaa = '';
@@ -797,7 +1641,9 @@
 
 
 
-
+                    if (id == null || id == '') {
+                        $("#OrderType2").trigger("change");
+                    }
 
 
                 },
@@ -808,16 +1654,94 @@
                 }
             });
 
+
+            if (order_type == '03' || order_type == '08') {
+                $("#xiangmuxinxi").show();
+            } else {
+                $("#xiangmuxinxi").hide();
+            }
+
+            if (order_type == '08') {
+                $("#jichujine").show();
+            } else {
+                $("#jichujine").hide();
+            }
         }
 
 
 
 
+        $(document).ready(function () {
+
+            if ($("#OrderType").val() == "02") {
+                if ($("#OrderType1").val() == "浠f嫙鎶曡瘔涔�") {
+                    $("#putong").hide();
+                    $("#zhiyi").hide();
+                    $("#tousu").show();
+                } else if ($("#OrderType1").val() == "浠f嫙璐ㄧ枒鍑�") {
+                    $("#putong").hide();
+                    $("#zhiyi").show();
+                    $("#tousu").hide();
+                } else {
+                    $("#putong").show();
+                    $("#zhiyi").hide();
+                    $("#tousu").hide();
+                    if ($("#OrderType").val() == '03' || $("#OrderType").val() == '08') {
+                        $("#xiangmuxinxi").show();
+                    } else {
+                        $("#xiangmuxinxi").hide();
+                    }
+
+                    if (sheng == '08') {
+                        $("#jichujine").show();
+                    } else {
+                        $("#jichujine").hide();
+                    }
+                }
+            } else {
+                $("#putong").show();
+                $("#zhiyi").hide();
+                $("#tousu").hide();
+                if ($("#OrderType").val() == '03' || $("#OrderType").val() == '08') {
+                    $("#xiangmuxinxi").show();
+                } else {
+                    $("#xiangmuxinxi").hide();
+                }
+
+                if ($("#OrderType").val() == '08') {
+                    $("#jichujine").show();
+                } else {
+                    $("#jichujine").hide();
+                }
+            }
+
+            if ($("#zhiyiShouquandaibiao").val() != "") {
+                $("#zhiyishouquan").show();
+            } else {
+                $("#zhiyishouquan").hide();
+            }
+
+            if ($("#tousuShouquandaibiao").val() != "") {
+                $("#tousushouquan").show();
+            } else {
+                $("#tousushouquan").hide();
+            }
+
+            var sheng = $("#OrderType").val();
+            if (sheng == '08' || sheng == '11' || sheng == '10') {
+                $('#Price').removeAttr("readonly");//鍘婚櫎input鍏冪礌鐨剅eadonly灞炴��
+            } else {
+                $('#Price').attr("readonly", "readonly")//灏唅nput鍏冪礌璁剧疆涓簉eadonly
+            }
+
+            $("#TsrId").chosen();
+
+        });
 
 
         $("#Khdw").change(function () {
             var Khdw = $("#Khdw").val();
-            
+
             $.ajax({
                 type: "GET",
                 url: "/CooperatecustomCustomer/GetCustomer?id=" + Khdw,
@@ -826,9 +1750,21 @@
                 data: "",
                 success: function (data) {
 
+
                     $("#Shr").val(data.ShrName);
                     $("#ShrAddress").val(data.ShrAddress);
                     $("#ShrTel").val(data.ShrTel);
+
+                    $("#GysName").val(data.Name);
+                    $("#GysAddress").val(data.Address);
+                    $("#GysContacts").val(data.FName);
+                    $("#GysPhone").val(data.FTel);
+                    $("#GysPostcode").val(data.Postal);
+                    $("#TsrName").val(data.Name);
+                    $("#TsrAddress").val(data.Address);
+                    $("#TsrPostcode").val(data.Postal);
+                    $("#TsrCorporation").val(data.FName);
+                    $("#TsrPhone").val(data.FTel);
 
                 },
                 error: function () {
@@ -848,6 +1784,313 @@
             parent.layer.close(index);
             return false;
         }
+
+
+        function addzhiyishouquan(obj) {
+            $("#zhiyishouquan").toggle();
+            //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="">
+
+            //                                </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="">
+
+            //                                </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>
+
+            //                                <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>`);
+
+        }
+
+
+        function addtousushouquan(obj) {
+            $("#tousushouquan").toggle();
+            //var sss = document.getElementsByName("tousuShouquandaibiao").length;
+
+            //$('#tousushouquan').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="tousuShouquandaibiao" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="">
+
+            //                                </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="tousuLianxidianhua" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="">
+
+            //                                </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="tousuDizhi" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value=" ">
+
+            //                                </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="tousuYoubian" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value=" ">
+
+            //                                </div>
+
+
+            //                            </div>`);
+
+        }
+
+
+        function addbeitousuren(obj) {
+            var sss = document.getElementsByName("tousuRespondent").length + 1;
+            if (document.getElementsByName("tousuRespondent").length == 1) {
+                var ssss = $('#beitousuren').html();
+                ssss = ssss.replaceAll("琚姇璇変汉", "琚姇璇変汉1");
+                ssss = ssss.replaceAll("鍦板潃", "鍦板潃1");
+                ssss = ssss.replaceAll("閭紪", "閭紪1");
+                ssss = ssss.replaceAll("鑱旂郴浜�", "鑱旂郴浜�1");
+                ssss = ssss.replaceAll("鑱旂郴鐢佃瘽", "鑱旂郴鐢佃瘽1");
+                $('#beitousuren').html(ssss);
+            }
+
+            $('#beitousuren').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>
+                                            <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                                <input class="form-control" label="琚姇璇変汉`+ sss + `" name="tousuRespondent" labtype="txt" addvisible="true" maxlength="50" editvisible="true" reg="" ismust="true" type="text" value="">
+
+                                            </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="tousuAddress" labtype="txt" addvisible="true" maxlength="100" editvisible="true" reg="" ismust="true" type="text" value="">
+
+                                            </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="tousuPostcode" labtype="txt" addvisible="true" maxlength="10" editvisible="true" reg="" ismust="true" type="text" value="">
+
+                                            </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="tousuContacts" labtype="txt" addvisible="true" maxlength="30" editvisible="true" reg="" ismust="true" type="text" value="">
+
+                                            </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="tousuPhone" labtype="txt" addvisible="true" maxlength="30" editvisible="true" reg="" ismust="true" type="text" value="">
+
+                                            </div>
+
+
+                                        </div>`);
+
+        }
+
+        function addxiangguangongyingshang(obj) {
+            var sss = "";
+
+            if (document.getElementsByName("Gongytingshang").length > 0) {
+                sss = (document.getElementsByName("Gongytingshang").length+1);
+            }
+            if (document.getElementsByName("Gongytingshang").length == 1) {
+                var ssss = $('#xiangguangongyingshang').html();
+                ssss = ssss.replaceAll("鐩稿叧渚涘簲鍟�", "鐩稿叧渚涘簲鍟�1");
+                ssss = ssss.replaceAll("鍦板潃", "鍦板潃1");
+                ssss = ssss.replaceAll("閭紪", "閭紪1");
+                ssss = ssss.replaceAll("鑱旂郴浜�", "鑱旂郴浜�1");
+                ssss = ssss.replaceAll("鑱旂郴鐢佃瘽", "鑱旂郴鐢佃瘽1");
+                $('#xiangguangongyingshang').html(ssss);
+            }
+
+            $('#xiangguangongyingshang').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>
+                                            <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                                <input class="form-control" label="鐩稿叧渚涘簲鍟哷+ sss + `" name="Gongytingshang" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="">
+
+                                            </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="gongyingshangDizhi" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="">
+
+                                            </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="gongyingshangYoubian" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="">
+
+                                            </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="gongyingshangLianxiren" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="">
+
+                                            </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="gongyingshangLianxidianhua" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="">
+
+                                            </div>
+
+
+                                        </div>`);
+
+        }
+
+
+
+        function TsrIdchangge() {
+            var sss = $('#TsrId').val();
+            $.ajax({
+                type: "GET",
+                url: "/CooperOrder/getZhiyihan?id=" + sss,
+                dataType: "json",
+                global: false,
+                data: "",
+                success: function (data) {
+
+                    //$('#zhiyishixiang').html(data.GysId);
+                    //$("select").chosen();
+                    $("#TsrName").val(data.GysName);
+                    $("#TsrAddress").val(data.GysAddress);
+                    $("#TsrPostcode").val(data.GysPostcode);
+                    $("#TsrCorporation").val(data.GysContacts);
+                    $("#TsrPhone").val(data.GysPhone);
+
+                    if (data.complaintShouquandaibiaoDTOs.length > 0) {
+                        if (data.complaintShouquandaibiaoDTOs[0].Shouquandaibiao != null && data.complaintShouquandaibiaoDTOs[0].Shouquandaibiao != "null" && data.complaintShouquandaibiaoDTOs[0].Shouquandaibiao != "") {
+                            $("#tousushouquan").show();
+                            $("#tousuShouquandaibiao").val(data.complaintShouquandaibiaoDTOs[0].Shouquandaibiao);
+                            $("#tousuLianxidianhua").val(data.complaintShouquandaibiaoDTOs[0].Lianxidianhua);
+                            $("#tousuDizhi").val(data.complaintShouquandaibiaoDTOs[0].Dizhi);
+                            $("#tousuYoubian").val(data.complaintShouquandaibiaoDTOs[0].Youbian);
+
+                        }
+                    }
+
+                    $("#tousuXmName").val(data.XmName);
+                    $("#tousuXmCode").val(data.XmCode);
+                    $("#tousuXmPackage").val(data.XmPackage);
+                    $("#tousuPurchaserName").val(data.PurchaserName);
+
+
+                },
+                error: function () {
+
+
+                    parent.layer.msg('鏌ヨ澶辫触', { icon: 5 });
+                }
+            });
+        }
+
+
+        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();
+                }
+
+            }
+        }
+
+
+        $("#tousuIsNotice").change(function () {
+
+            var OrderNum = $("#tousuIsNotice").val();
+            if (OrderNum == 'D') {
+                $("#tousuNoticeDatelabel").hide();
+                $("#tousuNoticeDatediv").hide();
+            } else {
+                $("#tousuNoticeDatelabel").show();
+                $("#tousuNoticeDatediv").show();
+            }
+
+        });
+
+
+        $("#tousuIsResultnotice").change(function () {
+
+            var OrderNum = $("#tousuIsResultnotice").val();
+            if (OrderNum == 'D') {
+                $("#tousuResultnoticeDatelabel").hide();
+                $("#tousuResultnoticeDatediv").hide();
+            } else {
+                $("#tousuResultnoticeDatelabel").show();
+                $("#tousuResultnoticeDatediv").show();
+            }
+
+        });
+          var ActionInfo22 = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ActionInfo2))';
+
+
+
+        $(function () {
+            var data = JSON.parse(ActionInfo22);
+            for (var o in data) {
+                if ("@ShouliStatus" == "1") {
+                    $("." + data[o].PageShortcut).show();
+                }
+             
+
+            }
+        });
+
     </script>
 </body>
 </html>
\ No newline at end of file

--
Gitblit v1.9.1