| | |
| | | List<TChallengeItemDTO> challengeItemDTOs = Model.challengeItemDTOs; |
| | | |
| | | int PrintNum = Model.PrintNum.HasValue? Model.PrintNum.Value:0; |
| | | |
| | | |
| | | ResultDataEntity<SysAttachmentDTO> yinyezhizhao = ViewBag.yinyezhizhao as ResultDataEntity<SysAttachmentDTO>; //营业执照 |
| | | List<SysAttachmentDTO> yinyezhizhaosssss = new List<SysAttachmentDTO>(); |
| | | if (yinyezhizhao.DataList != null) |
| | | { |
| | | yinyezhizhaosssss = yinyezhizhao.DataList; |
| | | } |
| | | |
| | | ResultDataEntity<SysAttachmentDTO> shenfenzheng = ViewBag.shenfenzheng as ResultDataEntity<SysAttachmentDTO>; //法人身份证 |
| | | List<SysAttachmentDTO> shenfenzhengsssss = new List<SysAttachmentDTO>(); |
| | | if (shenfenzheng.DataList != null) |
| | | { |
| | | shenfenzhengsssss = shenfenzheng.DataList; |
| | | } |
| | | |
| | | CooperatecustomCustomerDTO cooperatecustomCustomerDTO = ViewBag.cooperatecustomCustomerDTO as CooperatecustomCustomerDTO; //客户 |
| | | |
| | | } |
| | | @{ |
| | | Layout = null; |
| | |
| | | @*<link href="~/css/plugins/iCheck/custom.css" rel="stylesheet">*@ |
| | | <link href="~/css/style.min.css" rel="stylesheet"> |
| | | <link href="~/css/plugins/chosen/chosen.css" rel="stylesheet"> |
| | | @*<link href="~/js/plugins/layer/skin/layer.css" rel="stylesheet">*@ |
| | | <link href="~/js/plugins/layer/skin/layer.css" rel="stylesheet"> |
| | | @*<link href="~/css/plugins/datapicker/datepicker3.css" rel="stylesheet">*@ |
| | | <link href="~/css/style.min.css" rel="stylesheet"> |
| | | <link href="~/css/plugins/toastr/toastr.min.css" rel="stylesheet" /> |
| | |
| | | <form id="formtest"> |
| | | <div class="wrapper wrapper-content" id="ibox-content" style="padding:15px;"> |
| | | <div class="row"> |
| | | <div id="content" style="overflow-y:auto;height:100%;background: #fff;width:850px; margin: 0 auto;"> |
| | | <div id="content" style="overflow-x: hidden; overflow-y: auto; height: 100%; background: #fff; width: 850px; margin: 0 auto;"> |
| | | <style type="text/css"> |
| | | table { |
| | | width: 595px; |
| | |
| | | <td colspan="2" align="left">质疑供应商:<span style="width:460px;">@Model.GysName</span></td> |
| | | </tr> |
| | | <tr> |
| | | <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> |
| | | <td colspan="2" align="left">地址:<span style="width:290px;">@Model.GysAddress</span> @(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> |
| | | <td align="left">联系电话:<span style="width:120px;">@Model.GysPhone </span></td> |
| | | <td align="left" width="50%">联系人:<span style="width:265px;">@Model.GysContacts </span></td> |
| | | <td align="left" width="50%">联系电话:<span style="width:120px;">@Model.GysPhone </span></td> |
| | | </tr> |
| | | @for (int i = 0; i < challengecomplaintShouquandaibiaoDTOs.Count; i++) |
| | | { |
| | |
| | | <td colspan="2" align="left">联系电话@(i!=0?(i+""):""):<span style="width:480px;">@challengecomplaintShouquandaibiaoDTOs[i].Lianxidianhua </span></td> |
| | | </tr> |
| | | <tr> |
| | | <td align="left">地址@(i!=0?(i+""):""):<span style="width:290px;">@challengecomplaintShouquandaibiaoDTOs[i].Dizhi </span></td> |
| | | <td align="left">@(string.IsNullOrEmpty(challengecomplaintShouquandaibiaoDTOs[i].Youbian)?"":"邮编")@(i!=0?(i+""):""):<span style="width:160px;">@challengecomplaintShouquandaibiaoDTOs[i].Youbian </span></td> |
| | | <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">质疑项目的名称:<span style="width:415px;">@Model.XmName </span></td> |
| | | </tr> |
| | | <tr> |
| | | <td align="left">质疑项目的编号:<span style="width:180px;">@Model.XmCode </span></td> |
| | | <td align="left">包号:<span style="width:160px;">@Model.XmPackage </span></td> |
| | | <td colspan="2" align="left">质疑项目的编号:<span style="width:180px;">@Model.XmCode </span> 包号:<span style="width:160px;">@Model.XmPackage </span></td> |
| | | </tr> |
| | | <tr> |
| | | <td colspan="2" align="left">采购人名称:<span style="width:460px;">@Model.PurchaserName </span></td> |
| | |
| | | 事实依据:@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 (challengeItemDTOs[i].sysCodeDtls[j].CodeSn.IndexOf("【") >= 0) |
| | | { |
| | | sssss = "《" + challengeItemDTOs[i].sysCodeDtls[j].CodeSn.Insert(challengeItemDTOs[i].sysCodeDtls[j].CodeSn.IndexOf("【"), "》"); |
| | | } |
| | | else |
| | | { |
| | | sssss = "《" + challengeItemDTOs[i].sysCodeDtls[j].CodeSn + "》"; |
| | | } |
| | | |
| | | @for (int j = 0; j < challengeItemDTOs[i].sysCodeDtls.Count; j++) |
| | | { |
| | | if (challengeItemDTOs[i].sysCodeDtls.Count == 1) |
| | | { |
| | | <tr> |
| | | <td colspan="2"> |
| | | @Html.Raw("法律依据:<span>《" + challengeItemDTOs[i].sysCodeDtls[j].CodeSn + "》" + challengeItemDTOs[i].sysCodeDtls[j].Classify2 + ":" + challengeItemDTOs[i].sysCodeDtls[j].Contents + "</span>") |
| | | </td> |
| | | </tr> |
| | | } |
| | | else |
| | | { |
| | | <tr> |
| | | <td colspan="2"> |
| | | @Html.Raw("法律依据" + (j + 1) + ":<span>《" + challengeItemDTOs[i].sysCodeDtls[j].CodeSn + "》" + challengeItemDTOs[i].sysCodeDtls[j].Classify2 + ":" + challengeItemDTOs[i].sysCodeDtls[j].Contents + "</span>") |
| | | </td> |
| | | </tr> |
| | | if (j != (challengeItemDTOs[i].sysCodeDtls.Count - 1)) |
| | | { |
| | | @Html.Raw(sssss + challengeItemDTOs[i].sysCodeDtls[j].Classify2 + "、") |
| | | } |
| | | else |
| | | { |
| | | @Html.Raw(sssss + challengeItemDTOs[i].sysCodeDtls[j].Classify2 ) |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | </td> |
| | | </tr> |
| | | |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | |
| | | </td> |
| | | </tr> |
| | | |
| | | @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 (challengeItemDTOs[i].sysCodeDtls[j].CodeSn.IndexOf("【") >= 0) |
| | | { |
| | | sssss = "《" + challengeItemDTOs[i].sysCodeDtls[j].CodeSn.Insert(challengeItemDTOs[i].sysCodeDtls[j].CodeSn.IndexOf("【"), "》"); |
| | | } |
| | | else |
| | | { |
| | | sssss = "《" + challengeItemDTOs[i].sysCodeDtls[j].CodeSn + "》"; |
| | | } |
| | | |
| | | if (j != (challengeItemDTOs[i].sysCodeDtls.Count - 1)) |
| | | { |
| | | @Html.Raw(sssss + challengeItemDTOs[i].sysCodeDtls[j].Classify2 + "、") |
| | | } |
| | | else |
| | | { |
| | | @Html.Raw(sssss + challengeItemDTOs[i].sysCodeDtls[j].Classify2) |
| | | } |
| | | |
| | | if (challengeItemDTOs[i].sysCodeDtls.Count == 1) |
| | | { |
| | | <tr> |
| | | <td colspan="2"> |
| | | @Html.Raw("法律依据:<span>《" + challengeItemDTOs[i].sysCodeDtls[j].CodeSn + "》" + challengeItemDTOs[i].sysCodeDtls[j].Classify2 + ":" + challengeItemDTOs[i].sysCodeDtls[j].Contents + "</span>") |
| | | } |
| | | |
| | | </td> |
| | | </tr> |
| | | } |
| | | else |
| | | { |
| | | <tr> |
| | | <td colspan="2"> |
| | | @Html.Raw("法律依据" + (j + 1) + ":<span>《" + challengeItemDTOs[i].sysCodeDtls[j].CodeSn + "》" + challengeItemDTOs[i].sysCodeDtls[j].Classify2 + ":" + challengeItemDTOs[i].sysCodeDtls[j].Contents + "</span>") |
| | | </td> |
| | | </tr> |
| | | |
| | | } |
| | | } |
| | | </td> |
| | | </tr> |
| | | |
| | | |
| | | } |
| | |
| | | <td align="left">公章:</td> |
| | | </tr> |
| | | <tr> |
| | | <td colspan="2" align="left">日期:@DateTime.Now.ToString("yyyy-MM-dd")</td> |
| | | <td colspan="2" align="left">日期:@Model.Modifytime.Value.ToString("yyyy年MM月dd日")</td> |
| | | </tr> |
| | | </table> |
| | | </div> |
| | | |
| | | <div id="zhuti"> |
| | | @{ |
| | | 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> |
| | | </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> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | |
| | | |
| | | </form> |
| | | <script type="text/javascript"> |
| | | var pt = document.getElementById("page1").innerHTML; |
| | | $('#zhuti').hide(); |
| | | |
| | | |
| | | function printWin() { |
| | | |
| | | var index = layer.open({ |
| | | title: '打印设置' |
| | | , btn: ['提交', '关闭'] |
| | | , 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)" >' + |
| | | |
| | | |
| | | '</div>' + |
| | | '</div>' + |
| | | ' <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">' + |
| | | '<select name="zhutiziliao" id="zhutiziliao" class="form-control">' + |
| | | '<option value="0">是</option>' + |
| | | '<option value="1">否</option>' + |
| | | |
| | | '</select>' + |
| | | '</div>' + |
| | | '</div>', |
| | | yes: function (index, layero) { |
| | | var zhutiziliao = $('#zhutiziliao').val(); |
| | | if (zhutiziliao == "0") { |
| | | $('#zhuti').show(); |
| | | } else { |
| | | $('#zhuti').hide(); |
| | | } |
| | | var a = parseInt($('#PrintNums').val()) ; |
| | | |
| | | |
| | | |
| | | var pt = document.getElementById("page1").innerHTML; |
| | | pt = pt.replace("质疑函(正本)","质疑函(副本)"); |
| | | var a= @PrintNum; |
| | | if (a > 0) { |
| | | $('#content').append(' <div id ="fuben"> </div >'); |
| | | for (var i = 0; i < a; i++) { |
| | | $('#content').append(' <div style="page-break-after:always;">' + pt +' </div>'); |
| | | $('#fuben').append(' <div style="page-break-after:always;">' + pt +' </div>'); |
| | | } |
| | | } |
| | | |
| | | } |
| | | |
| | | function printWin() { |
| | | var oWin = window.open("", "_blank"); |
| | | var pt = document.getElementById("content").innerHTML; |
| | | var pta = document.getElementById("content").innerHTML; |
| | | $('#fuben').remove(); |
| | | |
| | | oWin.document.write(pt); |
| | | oWin.document.write(pta); |
| | | oWin.focus(); |
| | | oWin.document.close(); |
| | | oWin.print(); |
| | | oWin.close(); |
| | | return false; |
| | | oWin.close(); |
| | | layer.close(index); |
| | | $('#zhuti').hide(); |
| | | return false; |
| | | |
| | | } |
| | | }) |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | |
| | | |
| | | function daochuword() { |
| | | $("#content").wordExport("质疑函@(Html.Raw(Model.GysName))"); //fileName为导出的word文件的命名,content为要导出的html内容容器 |
| | | var index = layer.open({ |
| | | title: '打印设置' |
| | | , btn: ['提交', '关闭'] |
| | | , 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)" >' + |
| | | |
| | | |
| | | '</div>' + |
| | | '</div>' + |
| | | ' <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">' + |
| | | '<select name="zhutiziliao" id="zhutiziliao" class="form-control">' + |
| | | '<option value="0">是</option>' + |
| | | '<option value="1">否</option>' + |
| | | |
| | | '</select>' + |
| | | '</div>' + |
| | | '</div>', |
| | | yes: function (index, layero) { |
| | | var zhutiziliao = $('#zhutiziliao').val(); |
| | | if (zhutiziliao == "0") { |
| | | $('#zhuti').show(); |
| | | } else { |
| | | $('#zhuti').hide(); |
| | | } |
| | | var a = parseInt($('#PrintNums').val()) ; |
| | | |
| | | |
| | | |
| | | var pt = document.getElementById("page1").innerHTML; |
| | | 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>'); |
| | | } |
| | | |
| | | } |
| | | |
| | | $("#content").wordExport("质疑函@(Html.Raw(Model.GysName))"); //fileName为导出的word文件的命名,content为要导出的html内容容器 |
| | | $('#fuben').remove(); |
| | | layer.close(index); |
| | | $('#zhuti').hide(); |
| | | return false; |
| | | |
| | | } |
| | | }) |
| | | |
| | | } |
| | | |
| | | |