username@email.com
2022-07-28 976aa1a04fff81af4939affa80d3357013157353
zhengcaioa/zhengcaioa/Views/CooperOrder/Printtousushu.cshtml
@@ -15,12 +15,15 @@
    List<TComplaintGongyingshangDTO> complaintGongyingshangDTOs = Model.complaintGongyingshangDTOs;
    List<TChallengeRequestInfoDTO> challengeRequestInfoDTOs = Model.challengeRequestInfoDTOs;
    List<TComplaintItemDTO> complaintItemDTOs = Model.complaintItemDTOs;
    int PrintNum = Model.PrintNum.HasValue ? Model.PrintNum.Value : 0;
 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)
    {
@@ -34,7 +37,7 @@
        shenfenzhengsssss = shenfenzheng.DataList;
    }
 CooperatecustomCustomerDTO cooperatecustomCustomerDTO = ViewBag.cooperatecustomCustomerDTO as CooperatecustomCustomerDTO; //客户
    CooperatecustomCustomerDTO cooperatecustomCustomerDTO = ViewBag.cooperatecustomCustomerDTO as CooperatecustomCustomerDTO; //客户
}
@{
@@ -98,14 +101,14 @@
                    <style type="text/css">
                        table {
                            width: 595px;
                            font-size: 16pt;
                            font-size: 14pt;
                            font-family: 'FangSong';
                            background: #fff;
                            line-height: 1.5;
                        }
                        span {
                            font-size: 16pt;
                            font-size: 14pt;
                            display: inline;
                            /*  border-bottom: 1px dashed #111;*/
                        }
@@ -144,43 +147,43 @@
                            @for (int i = 0; i < complaintShouquandaibiaoDTOs.Count; i++)
                            {
                            <tr>
                                <td colspan="2" align="left">授权代表@(i!=0?(i+""):""):<span style="width:480px;">@complaintShouquandaibiaoDTOs[i].Shouquandaibiao </span></td>
                            </tr>
                            <tr>
                                <td colspan="2" align="left">联系电话@(i!=0?(i+""):""):<span style="width:480px;">@complaintShouquandaibiaoDTOs[i].Lianxidianhua </span></td>
                            </tr>
                            <tr>
                                <td colspan="2" align="left">地址@(i!=0?(i+""):""):<span style="width:290px;">@complaintShouquandaibiaoDTOs[i].Dizhi </span>&nbsp; &nbsp; @(string.IsNullOrEmpty(complaintShouquandaibiaoDTOs[i].Youbian)?"":"邮编:")@(i!=0?(i+""):"")<span style="width:160px;">@complaintShouquandaibiaoDTOs[i].Youbian </span></td>
                            </tr>
                                <tr>
                                    <td colspan="2" align="left">授权代表@(i!=0?(i+""):""):<span style="width:480px;">@complaintShouquandaibiaoDTOs[i].Shouquandaibiao </span></td>
                                </tr>
                                <tr>
                                    <td colspan="2" align="left">联系电话@(i!=0?(i+""):""):<span style="width:480px;">@complaintShouquandaibiaoDTOs[i].Lianxidianhua </span></td>
                                </tr>
                                <tr>
                                    <td colspan="2" align="left">地址@(i!=0?(i+""):""):<span style="width:290px;">@complaintShouquandaibiaoDTOs[i].Dizhi </span>&nbsp; &nbsp; @(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++)
                            {
                                if (complaintRespondentDTOs.Count == 1)
                                {
                            <tr>
                                <td colspan="2" align="left">被投诉人:<span style="width:480px;">@complaintRespondentDTOs[i].Respondent </span></td>
                            </tr>
                            <tr>
                                <td colspan="2" align="left">地址:<span style="width:290px;">@complaintRespondentDTOs[i].Address </span>&nbsp; &nbsp; @(string.IsNullOrEmpty(complaintRespondentDTOs[i].Postcode)?"":"邮编:")<span style="width:160px;">@complaintRespondentDTOs[i].Postcode </span></td>
                            </tr>
                            <tr>
                                <td align="left" width="50%">联系人:<span style="width:290px;">@complaintRespondentDTOs[i].Contacts </span></td>
                                <td align="left" width="50%">联系电话:<span style="width:160px;">@complaintRespondentDTOs[i].Phone </span></td>
                            </tr>
                                    <tr>
                                        <td colspan="2" align="left">被投诉人:<span style="width:480px;">@complaintRespondentDTOs[i].Respondent </span></td>
                                    </tr>
                                    <tr>
                                        <td colspan="2" align="left">地址:<span style="width:290px;">@complaintRespondentDTOs[i].Address </span>&nbsp; &nbsp; @(string.IsNullOrEmpty(complaintRespondentDTOs[i].Postcode)?"":"邮编:")<span style="width:160px;">@complaintRespondentDTOs[i].Postcode </span></td>
                                    </tr>
                                    <tr>
                                        <td align="left" width="50%">联系人:<span style="width:290px;">@complaintRespondentDTOs[i].Contacts </span></td>
                                        <td align="left" width="50%">联系电话:<span style="width:160px;">@complaintRespondentDTOs[i].Phone </span></td>
                                    </tr>
                                }
                                else
                                {
                            <tr>
                                <td colspan="2" align="left">被投诉人@(i+1):<span style="width:480px;">@complaintRespondentDTOs[i].Respondent </span></td>
                            </tr>
                            <tr>
                                <td colspan="2" align="left">地址@(i+1):<span style="width:290px;">@complaintRespondentDTOs[i].Address </span>&nbsp; &nbsp;@(string.IsNullOrEmpty(complaintRespondentDTOs[i].Postcode)?"":"邮编:")@(i+1):<span style="width:160px;">@complaintRespondentDTOs[i].Postcode </span></td>
                            </tr>
                            <tr>
                                <td align="left" width="50%">联系人@(i+1):<span style="width:290px;">@complaintRespondentDTOs[i].Contacts </span></td>
                                <td align="left" width="50%">联系电话@(i+1):<span style="width:160px;">@complaintRespondentDTOs[i].Phone </span></td>
                            </tr>
                                    <tr>
                                        <td colspan="2" align="left">被投诉人@(i+1):<span style="width:480px;">@complaintRespondentDTOs[i].Respondent </span></td>
                                    </tr>
                                    <tr>
                                        <td colspan="2" align="left">地址@(i+1):<span style="width:290px;">@complaintRespondentDTOs[i].Address </span>&nbsp; &nbsp;@(string.IsNullOrEmpty(complaintRespondentDTOs[i].Postcode)?"":"邮编:")@(i+1):<span style="width:160px;">@complaintRespondentDTOs[i].Postcode </span></td>
                                    </tr>
                                    <tr>
                                        <td align="left" width="50%">联系人@(i+1):<span style="width:290px;">@complaintRespondentDTOs[i].Contacts </span></td>
                                        <td align="left" width="50%">联系电话@(i+1):<span style="width:160px;">@complaintRespondentDTOs[i].Phone </span></td>
                                    </tr>
                                }
@@ -189,29 +192,29 @@
                            {
                                if (complaintGongyingshangDTOs.Count == 1)
                                {
                            <tr>
                                <td colspan="2" align="left">相关供应商:<span style="width:480px;">@complaintGongyingshangDTOs[i].Gongytingshang </span></td>
                            </tr>
                            <tr>
                                <td colspan="2" align="left">地址:<span style="width:290px;">@complaintGongyingshangDTOs[i].Dizhi </span>&nbsp; &nbsp;@(string.IsNullOrEmpty(complaintGongyingshangDTOs[i].Youbian)?"":"邮编:")<span style="width:160px;">@complaintGongyingshangDTOs[i].Youbian </span></td>
                            </tr>
                            <tr>
                                <td align="left" width="50%">联系人:<span style="width:290px;">@complaintGongyingshangDTOs[i].Dizhi </span></td>
                                <td align="left" width="50%">联系电话:<span style="width:160px;">@complaintGongyingshangDTOs[i].Youbian </span></td>
                            </tr>
                                    <tr>
                                        <td colspan="2" align="left">相关供应商:<span style="width:480px;">@complaintGongyingshangDTOs[i].Gongytingshang </span></td>
                                    </tr>
                                    <tr>
                                        <td colspan="2" align="left">地址:<span style="width:290px;">@complaintGongyingshangDTOs[i].Dizhi </span>&nbsp; &nbsp;@(string.IsNullOrEmpty(complaintGongyingshangDTOs[i].Youbian)?"":"邮编:")<span style="width:160px;">@complaintGongyingshangDTOs[i].Youbian </span></td>
                                    </tr>
                                    <tr>
                                        <td align="left" width="50%">联系人:<span style="width:290px;">@complaintGongyingshangDTOs[i].Dizhi </span></td>
                                        <td align="left" width="50%">联系电话:<span style="width:160px;">@complaintGongyingshangDTOs[i].Youbian </span></td>
                                    </tr>
                                }
                                else
                                {
                            <tr>
                                <td colspan="2" align="left">相关供应商@(i+1):<span style="width:480px;">@complaintGongyingshangDTOs[i].Gongytingshang </span></td>
                            </tr>
                            <tr>
                                <td colspan="2" align="left">地址@(i+1):<span style="width:290px;">@complaintGongyingshangDTOs[i].Dizhi </span>&nbsp; &nbsp;@(string.IsNullOrEmpty(complaintGongyingshangDTOs[i].Youbian)?"":"邮编:")@(i+1):<span style="width:160px;">@complaintGongyingshangDTOs[i].Youbian </span></td>
                            </tr>
                            <tr>
                                <td align="left" width="50%">联系人@(i+1):<span style="width:290px;">@complaintGongyingshangDTOs[i].Dizhi </span></td>
                                <td align="left" width="50%">联系电话@(i+1):<span style="width:160px;">@complaintGongyingshangDTOs[i].Youbian </span></td>
                            </tr>
                                    <tr>
                                        <td colspan="2" align="left">相关供应商@(i+1):<span style="width:480px;">@complaintGongyingshangDTOs[i].Gongytingshang </span></td>
                                    </tr>
                                    <tr>
                                        <td colspan="2" align="left">地址@(i+1):<span style="width:290px;">@complaintGongyingshangDTOs[i].Dizhi </span>&nbsp; &nbsp;@(string.IsNullOrEmpty(complaintGongyingshangDTOs[i].Youbian)?"":"邮编:")@(i+1):<span style="width:160px;">@complaintGongyingshangDTOs[i].Youbian </span></td>
                                    </tr>
                                    <tr>
                                        <td align="left" width="50%">联系人@(i+1):<span style="width:290px;">@complaintGongyingshangDTOs[i].Dizhi </span></td>
                                        <td align="left" width="50%">联系电话@(i+1):<span style="width:160px;">@complaintGongyingshangDTOs[i].Youbian </span></td>
                                    </tr>
                                }
@@ -247,11 +250,11 @@
                                    投诉人于<span>@(Model.ChallengeDateName)</span>,向<span>@(Model.Questioned)</span>提出质疑,质疑事项为:
                                    @if (string.IsNullOrEmpty(Model.SqdbId))
                                    {
                                    @Html.Raw("<span>                          </span>");
                                        @Html.Raw("<span>                          </span>");
                                    }
                                    else
                                    {
                                    @Html.Raw("<span>" + @Model.SqdbId + "</span>");
                                        @Html.Raw("<span>" + @Model.SqdbId + "</span>");
                                    }
@@ -274,92 +277,94 @@
                                {
                                    if (complaintItemDTOs.Count == 1)
                                    {
                                <tr>
                                    <td colspan="2">
                                        投诉事项:<span style="text-indent:10px">@complaintItemDTOs[i].QuestionName </span>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2">
                                        事实依据: @Html.Raw("<span>" + (string.IsNullOrEmpty(complaintItemDTOs[i].Evidential) ? "" : complaintItemDTOs[i].Evidential.Replace(" ", "&nbsp;").Replace("\r", "<br/>")) + "</span>")
                                    </td>
                                </tr>
                                        <tr>
                                            <td colspan="2">
                                                投诉事项:<span style="text-indent:10px">@(string.IsNullOrEmpty(complaintItemDTOs[i].Questionname)? complaintItemDTOs[i].QuestionName: complaintItemDTOs[i].Questionname)  </span>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="2">
                                                事实依据: @Html.Raw("<span>" + (string.IsNullOrEmpty(complaintItemDTOs[i].Evidential) ? "" : complaintItemDTOs[i].Evidential.Replace(" ", "&nbsp;").Replace("\r", "<br/>")) + "</span>")
                                            </td>
                                        </tr>
                                <tr>
                                    <td colspan="2">
                                        法律依据:
                                        @for (int j = 0; j < complaintItemDTOs[i].sysCodeDtls.Count; j++)
                                        <tr>
                                            <td colspan="2">
                                                法律依据:
                                                @for (int j = 0; j < complaintItemDTOs[i].sysCodeDtls.Count; j++)
                                                {
                                                    var sssss = "";
                                           if(j == 0 || complaintItemDTOs[i].sysCodeDtls[j].Classify3 != complaintItemDTOs[i].sysCodeDtls[j-1].Classify3){
                                        if (complaintItemDTOs[i].sysCodeDtls[j].Classify3.IndexOf("【")>=0)
                                                    if (j == 0 || complaintItemDTOs[i].sysCodeDtls[j].Classify3 != complaintItemDTOs[i].sysCodeDtls[j - 1].Classify3)
                                                    {
                                                        sssss = "《" + complaintItemDTOs[i].sysCodeDtls[j].Classify3.Insert(complaintItemDTOs[i].sysCodeDtls[j].Classify3.IndexOf("【"), "》");
                                                        if (complaintItemDTOs[i].sysCodeDtls[j].Classify3.IndexOf("【") >= 0)
                                                        {
                                                            sssss = "《" + complaintItemDTOs[i].sysCodeDtls[j].Classify3.Insert(complaintItemDTOs[i].sysCodeDtls[j].Classify3.IndexOf("【"), "》");
                                                        }
                                                        else
                                                        {
                                                            sssss = "《" + complaintItemDTOs[i].sysCodeDtls[j].Classify3 + "》";
                                                        }
                                                    }
                                                    else
                                                    {
                                                        sssss = "《" + complaintItemDTOs[i].sysCodeDtls[j].Classify3 + "》";
                                                    }
                                        }
                                                    if (j != (complaintItemDTOs[i].sysCodeDtls.Count - 1))
                                                    {
                                        @Html.Raw(sssss + complaintItemDTOs[i].sysCodeDtls[j].Classify2 + "、")
                                                        @Html.Raw(sssss + complaintItemDTOs[i].sysCodeDtls[j].Classify2 + "、")
                                                    }
                                                    else
                                                    {
                                        @Html.Raw(sssss + complaintItemDTOs[i].sysCodeDtls[j].Classify2)
                                                        @Html.Raw(sssss + complaintItemDTOs[i].sysCodeDtls[j].Classify2)
                                                    }
                                                }
                                    </td>
                                </tr>
                                            </td>
                                        </tr>
                                    }
                                    else
                                    {
                                <tr>
                                    <td colspan="2">
                                        投诉事项@((i+1)+""):<span style="text-indent:10px">@complaintItemDTOs[i].QuestionName </span>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2">
                                        事实依据@((i+1)+""):@Html.Raw("<span>" + (string.IsNullOrEmpty(complaintItemDTOs[i].Evidential) ? "" : complaintItemDTOs[i].Evidential.Replace(" ", "&nbsp;").Replace("\r", "<br/>")) + "</span>")
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2">
                                        法律依据:
                                        @for (int j = 0; j < complaintItemDTOs[i].sysCodeDtls.Count; j++)
                                        <tr>
                                            <td colspan="2">
                                                投诉事项@((i+1)+""):<span style="text-indent:10px">@(string.IsNullOrEmpty(complaintItemDTOs[i].Questionname)? complaintItemDTOs[i].QuestionName: complaintItemDTOs[i].Questionname) </span>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="2">
                                                事实依据:@Html.Raw("<span>" + (string.IsNullOrEmpty(complaintItemDTOs[i].Evidential) ? "" : complaintItemDTOs[i].Evidential.Replace(" ", "&nbsp;").Replace("\r", "<br/>")) + "</span>")
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="2">
                                                法律依据:
                                                @for (int j = 0; j < complaintItemDTOs[i].sysCodeDtls.Count; j++)
                                                {
                                                    var sssss = "";
                                                   if(j == 0 || complaintItemDTOs[i].sysCodeDtls[j].Classify3 != complaintItemDTOs[i].sysCodeDtls[j-1].Classify3){
                                        if (complaintItemDTOs[i].sysCodeDtls[j].Classify3.IndexOf("【")>=0)
                                                    if (j == 0 || complaintItemDTOs[i].sysCodeDtls[j].Classify3 != complaintItemDTOs[i].sysCodeDtls[j - 1].Classify3)
                                                    {
                                                        sssss = "《" + complaintItemDTOs[i].sysCodeDtls[j].Classify3.Insert(complaintItemDTOs[i].sysCodeDtls[j].Classify3.IndexOf("【"), "》");
                                                        if (complaintItemDTOs[i].sysCodeDtls[j].Classify3.IndexOf("【") >= 0)
                                                        {
                                                            sssss = "《" + complaintItemDTOs[i].sysCodeDtls[j].Classify3.Insert(complaintItemDTOs[i].sysCodeDtls[j].Classify3.IndexOf("【"), "》");
                                                        }
                                                        else
                                                        {
                                                            sssss = "《" + complaintItemDTOs[i].sysCodeDtls[j].Classify3 + "》";
                                                        }
                                                    }
                                                    else
                                                    {
                                                        sssss = "《" + complaintItemDTOs[i].sysCodeDtls[j].Classify3 + "》";
                                                    }
                                        }
                                                    if (j != (complaintItemDTOs[i].sysCodeDtls.Count - 1))
                                                    {
                                        @Html.Raw(sssss + complaintItemDTOs[i].sysCodeDtls[j].Classify2 + "、")
                                                        @Html.Raw(sssss + complaintItemDTOs[i].sysCodeDtls[j].Classify2 + "、")
                                                    }
                                                    else
                                                    {
                                        @Html.Raw(sssss + complaintItemDTOs[i].sysCodeDtls[j].Classify2)
                                                        @Html.Raw(sssss + complaintItemDTOs[i].sysCodeDtls[j].Classify2)
                                                    }
                                                }
                                    </td>
                                </tr>
                                            </td>
                                        </tr>
                                    }
@@ -368,12 +373,45 @@
                            <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>
@@ -423,7 +461,7 @@
                                <td colspan="2" style="height:50px"></td>
                            </tr>
                            <tr>
                                <td colspan="2" align="right">川印文化集团股份有限公司(公章)<img src="~/img/images/gongzhang.png?v=3" alt="" id="zhutiqiznhang" /></td>
                                <td colspan="2" align="right">川印文化集团股份有限公司(公章)</td>
                            </tr>
                            <tr>
                                <td colspan="2" align="right">日期:@Model.Modifytime.Value.ToString("yyyy年MM月dd日")</td>