From c2bd119aba05cee7fcb7eb8f2dd39ee4781b885c Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 11 三月 2022 14:21:07 +0800
Subject: [PATCH] 质疑投诉打印格式修改

---
 zhengcaioa/zhengcaioa/Views/CooperOrder/Printtousushu.cshtml |   32 +++++-----
 zhengcaioa/zhengcaioa/Views/CooperOrder/PrintZhiyihan.cshtml |   22 +++---
 zhengcaioa/zhengcaioa/Views/CooperOrder/EditTousushu.cshtml  |   35 ++++++++++-
 zhengcaioa/zhengcaioa/Views/CooperOrder/EditZhiyihan.cshtml  |   35 ++++++++++-
 4 files changed, 90 insertions(+), 34 deletions(-)

diff --git a/zhengcaioa/zhengcaioa/Views/CooperOrder/EditTousushu.cshtml b/zhengcaioa/zhengcaioa/Views/CooperOrder/EditTousushu.cshtml
index 0932f32..50faffc 100644
--- a/zhengcaioa/zhengcaioa/Views/CooperOrder/EditTousushu.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/CooperOrder/EditTousushu.cshtml
@@ -130,9 +130,33 @@
 
                                     <label class="text-right col-sm-1 col-md-1 control-label">鍓湰鏁伴噺锛�<i class="red">*</i></label>
                                     <div class="col-sm-2 col-md-2">
-                                        <input class="form-control" label="鍓湰鏁伴噺" name="PrintNum" id="PrintNum" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.PrintNum" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" onafterpaste="this.value=this.value.replace(/[^0-9]/g,'')">
-                                    </div>
+                                        @*<input class="form-control" label="鍓湰鏁伴噺" name="PrintNum" id="PrintNum" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.PrintNum" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" onafterpaste="this.value=this.value.replace(/[^0-9]/g,'')">*@
+                                        <select id="PrintNumzi" class="form-control" name="PrintNumzi" data-placeholder="閫夋嫨 搴忓垪 ..." onchange="PrintNumzichangge();">
 
+                                            @for (int i = 1; i < 6; i++)
+                                            {
+                                                @if (i != Model.PrintNum)
+                                                {
+                                                    <option value="@i" hassubinfo="true">
+                                                        @i
+                                                    </option>
+                                                }
+                                                else
+                                                {
+                                                    <option value="@i" hassubinfo="true" selected="selected">
+                                                        @i
+                                                    </option>
+                                                }
+
+                                            }
+
+
+                                        </select>
+                                    </div>
+                                    <div class="col-sm-2 col-md-2">
+                                        <input class="form-control" label="鍓湰鏁伴噺" name="PrintNum" id="PrintNum" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.PrintNum" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" onafterpaste="this.value=this.value.replace(/[^0-9]/g,'')">
+
+                                    </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">
@@ -1109,7 +1133,10 @@
             });
         }
 
-
+        function PrintNumzichangge() {
+            var sss = $('#PrintNumzi').val();
+            $('#PrintNum').val(sss);
+        }
 
         function Questionchangge(i) {
 
@@ -1435,7 +1462,7 @@
             }
 
 
-
+            PrintNumzichangge();
 
         }); 
     </script>
diff --git a/zhengcaioa/zhengcaioa/Views/CooperOrder/EditZhiyihan.cshtml b/zhengcaioa/zhengcaioa/Views/CooperOrder/EditZhiyihan.cshtml
index d0bf260..377d89d 100644
--- a/zhengcaioa/zhengcaioa/Views/CooperOrder/EditZhiyihan.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/CooperOrder/EditZhiyihan.cshtml
@@ -123,9 +123,34 @@
 
                                     <label class="text-right col-sm-1 col-md-1 control-label">鍓湰鏁伴噺锛�<i class="red">*</i></label>
                                     <div class="col-sm-2 col-md-2">
-                                        <input class="form-control" label="鍓湰鏁伴噺" name="PrintNum" id="PrintNum" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.PrintNum" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" onafterpaste="this.value=this.value.replace(/[^0-9]/g,'')">
-                                    </div>
+                                        @*<input class="form-control" label="鍓湰鏁伴噺" name="PrintNum" id="PrintNum" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.PrintNum" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" onafterpaste="this.value=this.value.replace(/[^0-9]/g,'')">*@
+                                        <select id="PrintNumzi" class="form-control" name="PrintNumzi" data-placeholder="閫夋嫨 搴忓垪 ..." onchange="PrintNumzichangge();">
+                                            
 
+                                            @for (int i = 1; i < 6; i++)
+                                            {
+                                            @if (i != Model.PrintNum)
+                                                {
+                                            <option value="@i" hassubinfo="true">
+                                                @i
+                                            </option>
+                                                }
+                                                else
+                                                {
+                                            <option value="@i" hassubinfo="true" selected="selected">
+                                                @i
+                                            </option>
+                                                }
+
+                                            }
+
+
+                                        </select>
+                                    </div>
+                                    <div class="col-sm-2 col-md-2">
+                                        <input class="form-control" label="鍓湰鏁伴噺" name="PrintNum" id="PrintNum" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.PrintNum" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" onafterpaste="this.value=this.value.replace(/[^0-9]/g,'')">
+                                         
+                                    </div>
 
 
 
@@ -868,6 +893,10 @@
             OpenWindow("鏂板璐ㄧ枒璇锋眰", "98%", "90%", "/SysCode/Editrequestinfo/");
         }
 
+        function PrintNumzichangge() {
+            var sss = $('#PrintNumzi').val();
+            $('#PrintNum').val(sss);
+        }
 
         $(document).ready(function () {
 
@@ -881,7 +910,7 @@
 
 
 
-
+            PrintNumzichangge();
 
         });
 
diff --git a/zhengcaioa/zhengcaioa/Views/CooperOrder/PrintZhiyihan.cshtml b/zhengcaioa/zhengcaioa/Views/CooperOrder/PrintZhiyihan.cshtml
index 2a5a6cf..3d045b4 100644
--- a/zhengcaioa/zhengcaioa/Views/CooperOrder/PrintZhiyihan.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/CooperOrder/PrintZhiyihan.cshtml
@@ -83,9 +83,9 @@
                         }
 
                         span {
-                            font-size: 15pt;
+                            font-size: 16pt;
                             display: inline;
-                            border-bottom: 1px dashed #111;
+                            /*  border-bottom: 1px dashed #111;*/
                         }
 
                         s22pan:after {
@@ -93,7 +93,7 @@
                             display: inline;
                             width: 100%;
                             margin-top: -5px;
-                            border-bottom: 1px dashed #111;
+                            /*  border-bottom: 1px dashed #111;*/
                         }
                     </style>
                     <div id="page1" style="page-break-after:always;">
@@ -102,14 +102,14 @@
                                 <td colspan="2" style="font-size:29.3px;text-align:center">璐ㄧ枒鍑斤紙姝f湰锛�</td>
                             </tr>
                             <tr>
-                                <td colspan="2" style="font-family:'SimHei';">涓�銆佽川鐤戜緵搴斿晢鍩烘湰淇℃伅</td>
+                                <td colspan="2"><b>涓�銆佽川鐤戜緵搴斿晢鍩烘湰淇℃伅</b></td>
                             </tr>
                             <tr>
                                 <td colspan="2" align="left">璐ㄧ枒渚涘簲鍟嗭細<span style="width:460px;">@Model.GysName</span></td>
                             </tr>
                             <tr>
-                                <td width="60%" align="left">鍦板潃锛�<span style="width:290px;font-size:13pt;">@Model.GysAddress</span></td>
-                                <td width="40%" align="left">閭紪锛�<span style="width:160px;">@Model.GysPostcode</span></td>
+                                <td width="60%" align="left">鍦板潃锛�<span style="width:290px;">@Model.GysAddress</span></td>
+                                <td width="40%" align="left">@(string.IsNullOrEmpty(Model.GysPostcode)?"":"閭紪锛�" )<span style="width:160px;">@Model.GysPostcode</span></td>
                             </tr>
                             <tr>
                                 <td align="left">鑱旂郴浜猴細<span style="width:265px;">@Model.GysContacts </span></td>
@@ -126,11 +126,11 @@
                                 </tr>
                                 <tr>
                                     <td align="left">鍦板潃@(i!=0?(i+""):"")锛�<span style="width:290px;font-size:13pt;">@challengecomplaintShouquandaibiaoDTOs[i].Dizhi </span></td>
-                                    <td align="left">閭紪@(i!=0?(i+""):"")锛�<span style="width:160px;">@challengecomplaintShouquandaibiaoDTOs[i].Youbian </span></td>
+                                    <td align="left">@(string.IsNullOrEmpty(challengecomplaintShouquandaibiaoDTOs[i].Youbian)?"":"閭紪")@(i!=0?(i+""):"")锛�<span style="width:160px;">@challengecomplaintShouquandaibiaoDTOs[i].Youbian </span></td>
                                 </tr>
                             }
                             <tr>
-                                <td colspan="2" style="font-family:'SimHei';">浜屻�佽川鐤戦」鐩熀鏈儏鍐�</td>
+                                <td colspan="2"><b>浜屻�佽川鐤戦」鐩熀鏈儏鍐�</b></td>
                             </tr>
                             <tr>
                                 <td colspan="2" align="left">璐ㄧ枒椤圭洰鐨勫悕绉帮細<span style="width:415px;font-size:13pt;">@Model.XmName </span></td>
@@ -146,7 +146,7 @@
                                 <td colspan="2" align="left">閲囪喘鏂囦欢鑾峰彇鏃ユ湡锛�<span style="width:395px;">@Model.DocumentsDateName </span></td>
                             </tr>
                             <tr>
-                                <td colspan="2" style="font-family:'SimHei';">涓夈�佽川鐤戜簨椤瑰叿浣撳唴瀹�</td>
+                                <td colspan="2"><b>涓夈�佽川鐤戜簨椤瑰叿浣撳唴瀹�</b></td>
                             </tr>
 
 
@@ -235,7 +235,7 @@
                                 }
                             }
                             <tr>
-                                <td colspan="2" style="font-family:'SimHei';">鍥涖�佷笌璐ㄧ枒浜嬮」鐩稿叧鐨勮川鐤戣姹�</td>
+                                <td colspan="2"><b>鍥涖�佷笌璐ㄧ枒浜嬮」鐩稿叧鐨勮川鐤戣姹�</b></td>
                             </tr>
                             <tr>
                                 <td colspan="2" align="left">璇锋眰锛�<span>@Model.RequestInfoName</span></td>
@@ -248,7 +248,7 @@
                                 <td align="left">鍏珷锛�</td>
                             </tr>
                             <tr>
-                                <td colspan="2" align="left">鏃ユ湡锛�</td>
+                                <td colspan="2" align="left">鏃ユ湡锛欯DateTime.Now.ToString("yyyy-MM-dd")</td>
                             </tr>
                         </table>
                     </div>
diff --git a/zhengcaioa/zhengcaioa/Views/CooperOrder/Printtousushu.cshtml b/zhengcaioa/zhengcaioa/Views/CooperOrder/Printtousushu.cshtml
index 377d06c..0f4e6b3 100644
--- a/zhengcaioa/zhengcaioa/Views/CooperOrder/Printtousushu.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/CooperOrder/Printtousushu.cshtml
@@ -87,9 +87,9 @@
                         }
 
                         span {
-                            font-size: 15pt;
+                            font-size: 16pt;
                             display: inline;
-                            border-bottom: 1px dashed #111;
+                          /*  border-bottom: 1px dashed #111;*/
                         }
 
                         s22pan:after {
@@ -97,7 +97,7 @@
                             display: inline;
                             width: 100%;
                             margin-top: -5px;
-                            border-bottom: 1px dashed #111;
+                           /* border-bottom: 1px dashed #111;*/
                         }
                     </style>
                     <div id="page1" style="page-break-after:always;">
@@ -106,14 +106,14 @@
                                 <td colspan="2" style="font-size:29.3px;text-align:center">鎶曡瘔涔︼紙姝f湰锛�</td>
                             </tr>
                             <tr>
-                                <td colspan="2" style="font-family:'SimHei';">涓�銆佹姇璇夌浉鍏充富浣撳熀鏈俊鎭�</td>
+                                <td colspan="2" ><b>涓�銆佹姇璇夌浉鍏充富浣撳熀鏈俊鎭�</b></td>
                             </tr>
                             <tr>
                                 <td colspan="2" align="left">鎶曡瘔浜猴細<span style="width:460px;">@Model.TsrName</span></td>
                             </tr>
                             <tr>
-                                <td width="60%" align="left">鍦板潃锛�<span style="width:290px;font-size:13pt;">@Model.TsrAddress</span></td>
-                                <td width="40%" align="left">閭紪锛�<span style="width:160px;">@Model.TsrPostcode</span></td>
+                                <td width="60%" align="left">鍦板潃锛�<span style="width:290px;">@Model.TsrAddress</span></td>
+                                <td width="40%" align="left">@(string.IsNullOrEmpty(Model.TsrPostcode)?"":"閭紪锛�")<span style="width:160px;">@Model.TsrPostcode</span></td>
                             </tr>
                             <tr>
                                 <td colspan="2" align="left">娉曞畾浠h〃浜�/涓昏璐熻矗浜猴細<span style="width:460px;">@Model.TsrCorporation</span></td>
@@ -134,7 +134,7 @@
                                 </tr>
                                 <tr>
                                     <td align="left">鍦板潃@(i!=0?(i+""):"")锛�<span style="width:290px;font-size:13pt;">@complaintShouquandaibiaoDTOs[i].Dizhi </span></td>
-                                    <td align="left">閭紪@(i!=0?(i+""):"")锛�<span style="width:160px;">@complaintShouquandaibiaoDTOs[i].Youbian </span></td>
+                                    <td align="left">@(string.IsNullOrEmpty(complaintShouquandaibiaoDTOs[i].Youbian)?"":"閭紪锛�")@(i!=0?(i+""):"")锛�<span style="width:160px;">@complaintShouquandaibiaoDTOs[i].Youbian </span></td>
                                 </tr>
                             }
                             @for (int i = 0; i < complaintRespondentDTOs.Count; i++)
@@ -146,7 +146,7 @@
                                     </tr>
                                     <tr>
                                         <td align="left">鍦板潃锛�<span style="width:290px;font-size:13pt;">@complaintRespondentDTOs[i].Address </span></td>
-                                        <td align="left">閭紪锛�<span style="width:160px;">@complaintRespondentDTOs[i].Postcode </span></td>
+                                        <td align="left">@(string.IsNullOrEmpty(complaintRespondentDTOs[i].Postcode)?"":"閭紪锛�")<span style="width:160px;">@complaintRespondentDTOs[i].Postcode </span></td>
                                     </tr>
                                     <tr>
                                         <td align="left">鑱旂郴浜猴細<span style="width:290px;">@complaintRespondentDTOs[i].Contacts </span></td>
@@ -160,7 +160,7 @@
                                     </tr>
                                     <tr>
                                         <td align="left">鍦板潃@(i+1)锛�<span style="width:290px;font-size:13pt;">@complaintRespondentDTOs[i].Address </span></td>
-                                        <td align="left">閭紪@(i+1)锛�<span style="width:160px;">@complaintRespondentDTOs[i].Postcode </span></td>
+                                        <td align="left">@(string.IsNullOrEmpty(complaintRespondentDTOs[i].Postcode)?"":"閭紪锛�")@(i+1)锛�<span style="width:160px;">@complaintRespondentDTOs[i].Postcode </span></td>
                                     </tr>
                                     <tr>
                                         <td align="left">鑱旂郴浜篅(i+1)锛�<span style="width:290px;">@complaintRespondentDTOs[i].Contacts </span></td>
@@ -179,7 +179,7 @@
                                     </tr>
                                     <tr>
                                         <td align="left">鍦板潃锛�<span style="width:290px;font-size:13pt;">@complaintGongyingshangDTOs[i].Dizhi </span></td>
-                                        <td align="left">閭紪锛�<span style="width:160px;">@complaintGongyingshangDTOs[i].Youbian </span></td>
+                                        <td align="left">@(string.IsNullOrEmpty(complaintGongyingshangDTOs[i].Youbian)?"":"閭紪锛�")<span style="width:160px;">@complaintGongyingshangDTOs[i].Youbian </span></td>
                                     </tr>
                                     <tr>
                                         <td align="left">鑱旂郴浜猴細<span style="width:290px;font-size:13pt;">@complaintGongyingshangDTOs[i].Dizhi </span></td>
@@ -193,7 +193,7 @@
                                     </tr>
                                     <tr>
                                         <td align="left">鍦板潃@(i+1)锛�<span style="width:290px;font-size:13pt;">@complaintGongyingshangDTOs[i].Dizhi </span></td>
-                                        <td align="left">閭紪@(i+1)锛�<span style="width:160px;">@complaintGongyingshangDTOs[i].Youbian </span></td>
+                                        <td align="left">@(string.IsNullOrEmpty(complaintGongyingshangDTOs[i].Youbian)?"":"閭紪锛�")@(i+1)锛�<span style="width:160px;">@complaintGongyingshangDTOs[i].Youbian </span></td>
                                     </tr>
                                     <tr>
                                         <td align="left">鑱旂郴浜篅(i+1)锛�<span style="width:290px;font-size:13pt;">@complaintGongyingshangDTOs[i].Dizhi </span></td>
@@ -204,7 +204,7 @@
 
                             }
                             <tr>
-                                <td colspan="2" style="font-family:'SimHei';">浜屻�佹姇璇夐」鐩熀鏈儏鍐�</td>
+                                <td colspan="2" ><b>浜屻�佹姇璇夐」鐩熀鏈儏鍐�</b></td>
                             </tr>
                             <tr>
                                 <td colspan="2" align="left">閲囪喘椤圭洰鐨勫悕绉帮細<span style="width:415px;font-size:13pt;">@Model.XmName </span></td>
@@ -228,7 +228,7 @@
                                 <td align="left">鍏憡鏈熼檺锛�<span style="width:160px;">@Model.ResultnoticeDateName </span></td>
                             </tr>
                             <tr>
-                                <td colspan="2" style="font-family:'SimHei';">涓夈�佽川鐤戝熀鏈儏鍐�</td>
+                                <td colspan="2" ><b>涓夈�佽川鐤戝熀鏈儏鍐�</b></td>
                             </tr>
                             <tr>
                                 <td align="left" colspan="2">
@@ -254,7 +254,7 @@
                             </tr>
 
                             <tr>
-                                <td colspan="2" style="font-family:'SimHei';">鍥涖�佹姇璇変簨椤瑰叿浣撳唴瀹�</td>
+                                <td colspan="2"  ><b>鍥涖�佹姇璇変簨椤瑰叿浣撳唴瀹�</b></td>
                             </tr>
 
                             @{
@@ -337,7 +337,7 @@
                                 }
                             }
                             <tr>
-                                <td colspan="2" style="font-family:'SimHei';">浜斻�佷笌鎶曡瘔浜嬮」鐩稿叧鐨勬姇璇夎姹�</td>
+                                <td colspan="2" ><b>浜斻�佷笌鎶曡瘔浜嬮」鐩稿叧鐨勬姇璇夎姹�</b></td>
                             </tr>
                             <tr>
                                 <td colspan="2" align="left">璇锋眰锛�<span>@Model.RequestInfoName</span></td>
@@ -350,7 +350,7 @@
                                 <td align="left">鍏珷锛�</td>
                             </tr>
                             <tr>
-                                <td colspan="2" align="left">鏃ユ湡锛�</td>
+                                <td colspan="2" align="left">鏃ユ湡锛欯DateTime.Now.ToString("yyyy-MM-dd")</td>
                             </tr>
                         </table>
                     </div>

--
Gitblit v1.9.1