| | |
| | | |
| | | int PrintNum = Model.PrintNum.HasValue? Model.PrintNum.Value:0; |
| | | |
| | | List<TChallengeRequestInfoDTO> challengeRequestInfoDTOs = Model.challengeRequestInfoDTOs; |
| | | |
| | | ResultDataEntity<SysAttachmentDTO> yinyezhizhao = ViewBag.yinyezhizhao as ResultDataEntity<SysAttachmentDTO>; //营业执照 |
| | | |
| | | ResultDataEntity<SysAttachmentDTO> yinyezhizhao = ViewBag.yinyezhizhao as ResultDataEntity<SysAttachmentDTO>; //营业执照 |
| | | List<SysAttachmentDTO> yinyezhizhaosssss = new List<SysAttachmentDTO>(); |
| | | if (yinyezhizhao.DataList != null) |
| | | { |
| | |
| | | shenfenzhengsssss = shenfenzheng.DataList; |
| | | } |
| | | |
| | | CooperatecustomCustomerDTO cooperatecustomCustomerDTO = ViewBag.cooperatecustomCustomerDTO as CooperatecustomCustomerDTO; //客户 |
| | | CooperatecustomCustomerDTO cooperatecustomCustomerDTO = ViewBag.cooperatecustomCustomerDTO as CooperatecustomCustomerDTO; //客户 |
| | | |
| | | } |
| | | @{ |
| | |
| | | @*<script src="~/js/plugins/iTexbox/itextbox.js" type="text/javascript"></script>*@ |
| | | @*<script src="~/js/plugins/iuploader/iuploader.js"></script>*@ |
| | | <script src="~/js/TUJS.js"></script> |
| | | <script language="javascript" src="~/js/fileSaver.js" type="text/javascript"></script> |
| | | <script language="javascript" src="~/js/jquery.wordexport.js" type="text/javascript"></script> |
| | | <script language="javascript" src="~/js/fileSaver.js?v=2" type="text/javascript"></script> |
| | | <script language="javascript" src="~/js/jquery.wordexport.js?v=2" type="text/javascript"></script> |
| | | </head> |
| | | <body class="gray-bg" style="overflow:auto"> |
| | | <form id="formtest"> |
| | |
| | | <style type="text/css"> |
| | | table { |
| | | width: 595px; |
| | | font-size: 16pt; |
| | | font-size: 14pt; |
| | | font-family: 'FangSong'; |
| | | background: #fff; |
| | | line-height: 1.5; |
| | | line-height: 150%; |
| | | } |
| | | |
| | | span { |
| | | font-size: 16pt; |
| | | font-size: 14pt; |
| | | display: inline; |
| | | /* border-bottom: 1px dashed #111;*/ |
| | | } |
| | |
| | | <div id="page1" style="page-break-after:always;"> |
| | | <table border="0" align="center" cellpadding="3" cellspacing="0"> |
| | | <tr> |
| | | <td colspan="2" style="font-size:29.3px;text-align:center">质疑函(正本)</td> |
| | | <td colspan="2" style="font-size:21px; text-align: center"><b>质疑函(正本)</b></td> |
| | | </tr> |
| | | <tr> |
| | | <td colspan="2"><b>一、质疑供应商基本信息</b></td> |
| | |
| | | @for (int i = 0; i < challengecomplaintShouquandaibiaoDTOs.Count; i++) |
| | | { |
| | | |
| | | <tr> |
| | | <td colspan="2" align="left">授权代表@(i!=0?(i+""):""):<span style="width:480px;">@challengecomplaintShouquandaibiaoDTOs[i].Shouquandaibiao </span></td> |
| | | </tr> |
| | | <tr> |
| | | <td colspan="2" align="left">联系电话@(i!=0?(i+""):""):<span style="width:480px;">@challengecomplaintShouquandaibiaoDTOs[i].Lianxidianhua </span></td> |
| | | </tr> |
| | | <tr> |
| | | <td align="left" colspan="2">地址@(i!=0?(i+""):""):<span style="width:290px;">@challengecomplaintShouquandaibiaoDTOs[i].Dizhi </span> @(string.IsNullOrEmpty(challengecomplaintShouquandaibiaoDTOs[i].Youbian)?"":"邮编")@(i!=0?(i+""):""):<span style="width:160px;">@challengecomplaintShouquandaibiaoDTOs[i].Youbian </span></td> |
| | | </tr> |
| | | <tr> |
| | | <td colspan="2" align="left">授权代表@(i!=0?(i+""):""):<span style="width:480px;">@challengecomplaintShouquandaibiaoDTOs[i].Shouquandaibiao </span></td> |
| | | </tr> |
| | | <tr> |
| | | <td colspan="2" align="left">联系电话@(i!=0?(i+""):""):<span style="width:480px;">@challengecomplaintShouquandaibiaoDTOs[i].Lianxidianhua </span></td> |
| | | </tr> |
| | | <tr> |
| | | <td align="left" colspan="2">地址@(i!=0?(i+""):""):<span style="width:290px;">@challengecomplaintShouquandaibiaoDTOs[i].Dizhi </span> @(string.IsNullOrEmpty(challengecomplaintShouquandaibiaoDTOs[i].Youbian)?"":"邮编")@(i!=0?(i+""):""):<span style="width:160px;">@challengecomplaintShouquandaibiaoDTOs[i].Youbian </span></td> |
| | | </tr> |
| | | } |
| | | <tr> |
| | | <td colspan="2"><b>二、质疑项目基本情况</b></td> |
| | |
| | | { |
| | | if (challengeItemDTOs.Count == 1) |
| | | { |
| | | <tr> |
| | | <td colspan="2"> |
| | | 质疑事项:<span style="text-indent:10px">@challengeItemDTOs[i].QuestionName </span> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <td colspan="2"> |
| | | 事实依据:@Html.Raw("<span>" + (string.IsNullOrEmpty(challengeItemDTOs[i].Evidential) ? "" : challengeItemDTOs[i].Evidential.Replace(" ", " ").Replace("\r", "<br/>")) + "</span>") |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <td colspan="2"> |
| | | 法律依据: |
| | | @for (int j = 0; j < challengeItemDTOs[i].sysCodeDtls.Count; j++) |
| | | <tr> |
| | | <td colspan="2"> |
| | | 质疑事项:<span style="text-indent:10px">@(string.IsNullOrEmpty(challengeItemDTOs[i].Questionname)?challengeItemDTOs[i].QuestionName: challengeItemDTOs[i].Questionname) </span> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <td colspan="2"> |
| | | 事实依据:@Html.Raw("<span>" + (string.IsNullOrEmpty(challengeItemDTOs[i].Evidential) ? "" : challengeItemDTOs[i].Evidential.Replace(" ", " ").Replace("\r", "<br/>")) + "</span>") |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <td colspan="2"> |
| | | 法律依据: |
| | | @for (int j = 0; j < challengeItemDTOs[i].sysCodeDtls.Count; j++) |
| | | { |
| | | var sssss = ""; |
| | | if(j == 0 || challengeItemDTOs[i].sysCodeDtls[j].Classify3 != challengeItemDTOs[i].sysCodeDtls[j-1].Classify3){ |
| | | if (challengeItemDTOs[i].sysCodeDtls[j].Classify3.IndexOf("【") >= 0) |
| | | if (j == 0 || challengeItemDTOs[i].sysCodeDtls[j].Classify3 != challengeItemDTOs[i].sysCodeDtls[j - 1].Classify3) |
| | | { |
| | | sssss = "《" + challengeItemDTOs[i].sysCodeDtls[j].Classify3.Insert(challengeItemDTOs[i].sysCodeDtls[j].Classify3.IndexOf("【"), "》"); |
| | | if (challengeItemDTOs[i].sysCodeDtls[j].Classify3.IndexOf("【") >= 0) |
| | | { |
| | | sssss = "《" + challengeItemDTOs[i].sysCodeDtls[j].Classify3.Insert(challengeItemDTOs[i].sysCodeDtls[j].Classify3.IndexOf("【"), "》"); |
| | | } |
| | | else |
| | | { |
| | | sssss = "《" + challengeItemDTOs[i].sysCodeDtls[j].Classify3 + "》"; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | sssss = "《" + challengeItemDTOs[i].sysCodeDtls[j].Classify3 + "》"; |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | if (j != (challengeItemDTOs[i].sysCodeDtls.Count - 1)) |
| | | { |
| | | @Html.Raw(sssss + challengeItemDTOs[i].sysCodeDtls[j].Classify2 + "、") |
| | | @Html.Raw(sssss + challengeItemDTOs[i].sysCodeDtls[j].Classify2 + "、") |
| | | } |
| | | else |
| | | { |
| | | @Html.Raw(sssss + challengeItemDTOs[i].sysCodeDtls[j].Classify2 ) |
| | | @Html.Raw(sssss + challengeItemDTOs[i].sysCodeDtls[j].Classify2) |
| | | } |
| | | |
| | | } |
| | | |
| | | </td> |
| | | </tr> |
| | | </td> |
| | | </tr> |
| | | |
| | | |
| | | |
| | |
| | | } |
| | | else |
| | | { |
| | | <tr> |
| | | <td colspan="2"> |
| | | 质疑事项@((i + 1) + ""):<span style="text-indent:10px">@challengeItemDTOs[i].QuestionName </span> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <td colspan="2"> |
| | | 事实依据@((i + 1) + ""): @Html.Raw("<span>" + (string.IsNullOrEmpty(challengeItemDTOs[i].Evidential) ? "" : challengeItemDTOs[i].Evidential.Replace(" ", " ").Replace("\r", "<br/>")) + "</span>") |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <td colspan="2"> |
| | | 质疑事项@((i + 1) + ""):<span style="text-indent:10px">@(string.IsNullOrEmpty(challengeItemDTOs[i].Questionname)?challengeItemDTOs[i].QuestionName: challengeItemDTOs[i].Questionname) </span> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <td colspan="2"> |
| | | 事实依据: @Html.Raw("<span>" + (string.IsNullOrEmpty(challengeItemDTOs[i].Evidential) ? "" : challengeItemDTOs[i].Evidential.Replace(" ", " ").Replace("\r", "<br/>")) + "</span>") |
| | | </td> |
| | | </tr> |
| | | |
| | | <tr> |
| | | <td colspan="2"> |
| | | 法律依据: |
| | | @for (int j = 0; j < challengeItemDTOs[i].sysCodeDtls.Count; j++) |
| | | <tr> |
| | | <td colspan="2"> |
| | | 法律依据: |
| | | @for (int j = 0; j < challengeItemDTOs[i].sysCodeDtls.Count; j++) |
| | | { |
| | | var sssss = ""; |
| | | if(j == 0 || challengeItemDTOs[i].sysCodeDtls[j].Classify3 != challengeItemDTOs[i].sysCodeDtls[j-1].Classify3){ |
| | | if (challengeItemDTOs[i].sysCodeDtls[j].Classify3.IndexOf("【") >= 0) |
| | | if (j == 0 || challengeItemDTOs[i].sysCodeDtls[j].Classify3 != challengeItemDTOs[i].sysCodeDtls[j - 1].Classify3) |
| | | { |
| | | sssss = "《" + challengeItemDTOs[i].sysCodeDtls[j].Classify3.Insert(challengeItemDTOs[i].sysCodeDtls[j].Classify3.IndexOf("【"), "》"); |
| | | if (challengeItemDTOs[i].sysCodeDtls[j].Classify3.IndexOf("【") >= 0) |
| | | { |
| | | sssss = "《" + challengeItemDTOs[i].sysCodeDtls[j].Classify3.Insert(challengeItemDTOs[i].sysCodeDtls[j].Classify3.IndexOf("【"), "》"); |
| | | } |
| | | else |
| | | { |
| | | sssss = "《" + challengeItemDTOs[i].sysCodeDtls[j].Classify3 + "》"; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | sssss = "《" + challengeItemDTOs[i].sysCodeDtls[j].Classify3 + "》"; |
| | | } |
| | | } |
| | | |
| | | if (j != (challengeItemDTOs[i].sysCodeDtls.Count - 1)) |
| | | { |
| | | @Html.Raw(sssss + challengeItemDTOs[i].sysCodeDtls[j].Classify2 + "、") |
| | | @Html.Raw(sssss + challengeItemDTOs[i].sysCodeDtls[j].Classify2 + "、") |
| | | } |
| | | else |
| | | { |
| | | @Html.Raw(sssss + challengeItemDTOs[i].sysCodeDtls[j].Classify2) |
| | | @Html.Raw(sssss + challengeItemDTOs[i].sysCodeDtls[j].Classify2) |
| | | } |
| | | |
| | | } |
| | | |
| | | </td> |
| | | </tr> |
| | | </td> |
| | | </tr> |
| | | |
| | | |
| | | } |
| | |
| | | <tr> |
| | | <td colspan="2"><b>四、与质疑事项相关的质疑请求</b></td> |
| | | </tr> |
| | | <tr> |
| | | <td colspan="2" align="left">请求:<span>@Model.RequestInfoName</span></td> |
| | | </tr> |
| | | |
| | | @{ |
| | | @for (int i = 0; i < challengeRequestInfoDTOs.Count; i++) |
| | | { |
| | | if (challengeRequestInfoDTOs.Count == 1) |
| | | { |
| | | <tr> |
| | | <td colspan="2"> |
| | | 请求:<span style="text-indent:10px">@(string.IsNullOrEmpty(challengeRequestInfoDTOs[i].RequestInfoname)? challengeRequestInfoDTOs[i].RequestInfoNameName: challengeRequestInfoDTOs[i].RequestInfoname) </span> |
| | | </td> |
| | | </tr> |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | else |
| | | { |
| | | <tr> |
| | | <td colspan="2"> |
| | | 请求@((i + 1) + ""):<span style="text-indent:10px">@(string.IsNullOrEmpty(challengeRequestInfoDTOs[i].RequestInfoname)? challengeRequestInfoDTOs[i].RequestInfoNameName: challengeRequestInfoDTOs[i].RequestInfoname) </span> |
| | | </td> |
| | | </tr> |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | |
| | | } |
| | | } |
| | | @*<tr> |
| | | <td colspan="2" style="height:15px"></td> |
| | | </tr>*@ |
| | | <td colspan="2" align="left">请求:<span>@Model.RequestInfoName</span></td> |
| | | </tr>*@ |
| | | @*<tr> |
| | | <td colspan="2" style="height:15px"></td> |
| | | </tr>*@ |
| | | <tr> |
| | | <td align="left">签字(签章):</td> |
| | | <td align="left">公章:</td> |
| | |
| | | <tr> |
| | | <td colspan="2" style="font-size:29.3px;text-align:center">法定代表人资格证明书</td> |
| | | </tr> |
| | | |
| | | <tr> |
| | | <td colspan="2">兹证明 @(cooperatecustomCustomerDTO.FName) 在 @(cooperatecustomCustomerDTO.Name) 任 @(cooperatecustomCustomerDTO.Zhiwu) 职务,是 @(cooperatecustomCustomerDTO.Name) 的法定代表人。</td> |
| | | </tr> |
| | | <tr> |
| | | <td colspan="2" align="left"> 特此证明。</td> |
| | | </tr> |
| | | <tr> |
| | | <td colspan="2" style="height:50px"></td> |
| | | </tr> |
| | | <tr> |
| | | <td colspan="2" align="right">川印文化集团股份有限公司(公章)<img src="~/img/images/gongzhang.png?v=3" alt="" /></td> |
| | | </tr> |
| | | <tr> |
| | | <td colspan="2" align="right">日期:@Model.Modifytime.Value.ToString("yyyy年MM月dd日")</td> |
| | | </tr> |
| | | </table> |
| | | </div> |
| | | |
| | | |
| | | </div> |
| | | |
| | | |
| | | |
| | | <div id="zhuti1"> |
| | | @{ |
| | | for (int i = 0; i < yinyezhizhaosssss.Count; i++) |
| | | { |
| | | <div style="page-break-after:always;"> |
| | | <img src="@yinyezhizhaosssss[i].Filepath" alt="" style="height: auto; max-width: 100%; "> |
| | | |
| | | </div> |
| | | } |
| | | |
| | | |
| | | for (int i = 0; i < shenfenzhengsssss.Count; i++) |
| | | { |
| | | <div style="page-break-after:always;"> |
| | | <img src="@shenfenzhengsssss[i].Filepath" alt="" style="height: auto; max-width: 100%; "> |
| | | |
| | | </div> |
| | | } |
| | | } |
| | | |
| | | <div style="page-break-after:always;"> |
| | | <table border="0" align="center" cellpadding="3" cellspacing="0"> |
| | | <tr> |
| | | <td colspan="2" style="font-size:29.3px;text-align:center">法定代表人资格证明书</td> |
| | | </tr> |
| | | <tr> |
| | | <td colspan="2">兹证明 @(cooperatecustomCustomerDTO.FName) 在 @(cooperatecustomCustomerDTO.Name) 任 @(cooperatecustomCustomerDTO.Zhiwu) 职务,是 @(cooperatecustomCustomerDTO.Name) 的法定代表人。</td> |
| | | <td colspan="2"> 兹证明 @(cooperatecustomCustomerDTO.FName) 在 @(cooperatecustomCustomerDTO.Name) 任 @(cooperatecustomCustomerDTO.Zhiwu) 职务,是 @(cooperatecustomCustomerDTO.Name) 的法定代表人。</td> |
| | | </tr> |
| | | <tr> |
| | | <td colspan="2" align="left"> 特此证明。</td> |
| | |
| | | </tr> |
| | | </table> |
| | | </div> |
| | | |
| | | |
| | | </div> |
| | | |
| | | |
| | | |
| | | <div id="zhuti1"> |
| | | @{ |
| | | for (int i = 0; i < yinyezhizhaosssss.Count; i++) |
| | | { |
| | | <br clear=all style="page-break-before:always" mce_style="page-break-before:always"> |
| | | |
| | | <img src="@yinyezhizhaosssss[i].Filepath" alt="" style="height: auto; max-width: 100%; "> |
| | | |
| | | |
| | | } |
| | | |
| | | |
| | | for (int i = 0; i < shenfenzhengsssss.Count; i++) |
| | | { |
| | | <br clear=all style="page-break-before:always" mce_style="page-break-before:always"> |
| | | |
| | | <img src="@shenfenzhengsssss[i].Filepath" alt="" style="height: auto; max-width: 100%; "> |
| | | |
| | | |
| | | } |
| | | } |
| | | <br clear=all style="page-break-before:always" mce_style="page-break-before:always"> |
| | | |
| | | <table border="0" align="center" cellpadding="3" cellspacing="0"> |
| | | <tr> |
| | | <td colspan="2" style="font-size:29.3px;text-align:center">法定代表人资格证明书</td> |
| | | </tr> |
| | | |
| | | <tr> |
| | | <td colspan="2"> 兹证明 @(cooperatecustomCustomerDTO.FName) 在 @(cooperatecustomCustomerDTO.Name) 任 @(cooperatecustomCustomerDTO.Zhiwu) 职务,是 @(cooperatecustomCustomerDTO.Name) 的法定代表人。</td> |
| | | </tr> |
| | | <tr> |
| | | <td colspan="2" align="left"> 特此证明。</td> |
| | | </tr> |
| | | <tr> |
| | | <td colspan="2" style="height:50px"></td> |
| | | </tr> |
| | | <tr> |
| | | <td colspan="2" align="right">川印文化集团股份有限公司(公章)</td> |
| | | </tr> |
| | | <tr> |
| | | <td colspan="2" align="right">日期:@Model.Modifytime.Value.ToString("yyyy年MM月dd日")</td> |
| | | </tr> |
| | | </table> |
| | | |
| | | |
| | | |
| | | </div> |
| | |
| | | , content: ' <div class="clearfix layer-area" style="padding-bottom:15px;"> ' + |
| | | ' <label class="text-right col-sm-6 col-md-6 control-label">副本数量</label>' + |
| | | ' <div class="col-sm-6 col-md-6">' + |
| | | ' <input class="form-control" label="副本数量" name="PrintNums" id="PrintNums" labtype="txt" addvisible="true" type="number" value="@(PrintNum)" oninput="if(value.length>2)value=value.slice(0,2)" >' + |
| | | ' <input class="form-control" label="副本数量" name="PrintNums" id="PrintNums" labtype="txt" addvisible="true" type="text" value="@(PrintNum)" oninput="if(value.length>2)value=value.slice(0,2)" >' + |
| | | |
| | | |
| | | '</div>' + |
| | |
| | | , content: ' <div class="clearfix layer-area" style="padding-bottom:15px;"> ' + |
| | | ' <label class="text-right col-sm-6 col-md-6 control-label">副本数量</label>' + |
| | | ' <div class="col-sm-6 col-md-6">' + |
| | | ' <input class="form-control" label="副本数量" name="PrintNums" id="PrintNums" labtype="txt" addvisible="true" type="number" value="0" oninput="if(value.length>2)value=value.slice(0,2)" >' + |
| | | ' <input class="form-control" label="副本数量" name="PrintNums" id="PrintNums" labtype="txt" addvisible="true" type="text" value="0" oninput="if(value.length>2)value=value.slice(0,2)" >' + |
| | | |
| | | |
| | | '</div>' + |
| | |
| | | |
| | | |
| | | |
| | | var pt = document.getElementById("page1").innerHTML; |
| | | var pt = $('#page1').html(); |
| | | var zhutiziliao = $('#zhutiziliao').val(); |
| | | $('#content').append(' <div id ="zhutilinshi"> <style type="text/css" >' + |
| | | ' table {' + |
| | | 'width: 595px;' + |
| | | 'font-size: 14pt;' + |
| | | ' font-family: "FangSong";' + |
| | | 'background: #fff;' + |
| | | ' line-height: 150%;' + |
| | | ' }' + |
| | | |
| | | ' span {' + |
| | | ' font-size: 14pt;' + |
| | | 'display: inline;' + |
| | | |
| | | ' }' + |
| | | |
| | | ' s22pan: after {' + |
| | | ' content: "";' + |
| | | ' display: inline;' + |
| | | ' width: 100%;' + |
| | | ' margin-top: -5px;' + |
| | | ' }' + |
| | | ' </style > </div >'); |
| | | |
| | | $('#zhutilinshi').append($('#page1').html()); |
| | | if (zhutiziliao == "0") { |
| | | $('#content').append(' <div id ="zhutilinshi"> </div >'); |
| | | $('#zhutilinshi').append(document.getElementById("zhuti1").innerHTML); |
| | | |
| | | |
| | | $('#zhutilinshi').append($('#zhuti1').html()); |
| | | |
| | | } |
| | | var a = parseInt($('#PrintNums').val()); |
| | | |
| | | pt = pt.replace("质疑函(正本)","质疑函(副本)"); |
| | | if (a > 0) { |
| | | $('#content').append(' <div id ="fuben"> </div >'); |
| | | for (var i = 0; i < a; i++) { |
| | | $('#fuben').append(' <div style="page-break-after:always;">' + pt +' </div>'); |
| | | } |
| | | pt = pt.replace("质疑函(正本)", "质疑函(副本)"); |
| | | if (a > 0) { |
| | | for (var i = 0; i < a; i++) { |
| | | $('#zhutilinshi').append(' <br clear=all style="page-break-before:always" mce_style="page-break-before:always"> ' + pt + ' '); |
| | | |
| | | } |
| | | } |
| | | |
| | | $("#content").wordExport("质疑函@(Html.Raw(Model.GysName))"); //fileName为导出的word文件的命名,content为要导出的html内容容器 |
| | | $('#fuben').remove(); |
| | | } |
| | | // console.log(document.getElementById("zhutilinshi").innerHTML); |
| | | $("#zhutilinshi").wordExport("质疑函@(Html.Raw(Model.GysName))"); //fileName为导出的word文件的命名,content为要导出的html内容容器 |
| | | $('#zhutilinshi').remove(); |
| | | layer.close(index); |
| | | $('#zhuti').hide(); |
| | | $('#zhuti1').hide(); |
| | | |
| | | return false; |
| | | |