From 0e6d0e8975e92a6395d2d9f692edd5a7d0984c5a Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 15 六月 2022 08:39:59 +0800
Subject: [PATCH] 爬虫

---
 zhengcaioa/zhengcaioa/Views/CooperOrder/Edit.cshtml |  114 +++++++++++++++++++++++++++++++++++++++++---------------
 1 files changed, 83 insertions(+), 31 deletions(-)

diff --git a/zhengcaioa/zhengcaioa/Views/CooperOrder/Edit.cshtml b/zhengcaioa/zhengcaioa/Views/CooperOrder/Edit.cshtml
index 0461843..39bd473 100644
--- a/zhengcaioa/zhengcaioa/Views/CooperOrder/Edit.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/CooperOrder/Edit.cshtml
@@ -176,17 +176,17 @@
                                             <option value="" hassubinfo="true">璇烽�夋嫨</option>
                                             @foreach (var item in OrderType)
                                             {
-                                            @if (!item.CodeSn.Equals(Model.OrderType))
+                                                @if (!item.CodeSn.Equals(Model.OrderType))
                                                 {
-                                            <option value="@item.CodeSn" hassubinfo="true">
-                                                @item.Comments
-                                            </option>
+                                                    <option value="@item.CodeSn" hassubinfo="true">
+                                                        @item.Comments
+                                                    </option>
                                                 }
                                                 else
                                                 {
-                                            <option value="@item.CodeSn" hassubinfo="true" selected="selected">
-                                                @item.Comments
-                                            </option>
+                                                    <option value="@item.CodeSn" hassubinfo="true" selected="selected">
+                                                        @item.Comments
+                                                    </option>
                                                 }
 
                                             }
@@ -216,31 +216,38 @@
                                         <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="閫夋嫨 搴忓垪 ...">
-                    <option value="" hassubinfo="true">璇烽�夋嫨</option>
-                    @foreach (var item in project)
+        <div class="col-sm-2 col-md-2">
+            <select id="OrderPro" class="form-control" name="OrderPro" data-placeholder="閫夋嫨 搴忓垪 ...">
+                <option value="" hassubinfo="true">璇烽�夋嫨</option>
+                @foreach (var item in project)
+                {
+                    @if (!item.Id.Equals(Model.OrderPro))
                     {
-                        @if (!item.Id.Equals(Model.OrderPro))
-                        {
-                            <option value="@item.Id" hassubinfo="true">
-                                @item.Name
-                            </option>
-                        }
-                        else
-                        {
-                            <option value="@item.Id" hassubinfo="true" selected="selected">
-                                @item.Name
-                            </option>
-                        }
-
+                        <option value="@item.Id" hassubinfo="true">
+                            @item.Name
+                        </option>
                     }
+                    else
+                    {
+                        <option value="@item.Id" hassubinfo="true" selected="selected">
+                            @item.Name
+                        </option>
                     }
 
-                </select>
+                }
+                }
 
-            </div>*@
+            </select>
+
+        </div>*@
 
 
 
@@ -867,8 +874,8 @@
                                             </select>
                                         </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">
+                                        <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>
@@ -903,8 +910,8 @@
                                             </select>
                                         </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">
+                                        <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>
@@ -977,7 +984,8 @@
         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") {
@@ -1399,6 +1407,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>';
@@ -1533,6 +1548,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 = '';
@@ -1928,6 +1950,36 @@
 
             }
         }
+
+
+        $("#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();
+            }
+
+        });
+
+
     </script>
 </body>
 </html>
\ No newline at end of file

--
Gitblit v1.9.1