1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PrintCorATable.aspx.cs" Inherits="CY.WebForm.Pages.business.PrintCorATable" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>打印合作客户A表</title>
    <script type="text/javascript" src="../../libs/js/jquery.js"></script>
    <script src="../../js/common/util.js" type="text/javascript"></script>
    <link href="../../Styles/Print.css" rel="stylesheet" type="text/css" />
    <script src="../../js/common/Printter.js" type="text/javascript"></script>
    <script src="../../js/common/LodopFuncs.js" type="text/javascript"></script>
    <style type="text/css">
        .tableStyle div { text-align: left; overflow: visible; line-height: 15px; }
        .tableStyle tr, td, th { padding: 0px; height: auto; }
    </style>
</head>
<body>
    <object id="LODOP_OB" classid="clsid:2105C259-1E0C-4534-8141-A753534CB4CA" width="0" height="0">
        <embed id="LODOP_EM" type="application/x-print-lodop" width="0" height="0" pluginspage="/Pages/common/install_lodop32.exe"></embed>
    </object>
    <div id='div_tool' issideways="true" issideways="true" printparams='2,2100,2970, "A4"'>
    </div>
    <form id="form1" runat="server">
    <asp:Repeater ID="RepCustomerList" runat="server">
        <HeaderTemplate>
            <table class="tableStyle" cellpadding="0" cellspacing="0">
                <thead>
                    <tr>
                        <th>
                            编号
                        </th>
                        </th>
                       <th style=" width:171px;">
                            客户名称
                        </th>
                        <th style=" width:185px;">
                            详细地址
                        </th>
                        <th>
                            联系人
                        </th>
                        <th>
                            联系电话
                        </th>
                        <th>
                            开始时间
                        </th>
                        <th style="width: 150px;">
                            拜访情况
                        </th>
                        <th>
                            接待人
                        </th>
                        <th>
                            结束时间
                        </th>
                        <th>
                            成交意向
                        </th>
                    </tr>
                </thead>
        </HeaderTemplate>
        <ItemTemplate>
            <tr>
                <td style=" height:32px;">
                    <%#Container.ItemIndex + 1%>
                </td>
                <td>
                    <div style="width: 171px; overflow: visible; word-break: break-all; word-wrap: normal;">
                    <%#Eval("CompanyName")%>
                    </div>
                </td>
                <td>
                    <div style="width: 185px; overflow: visible; word-break: break-all; word-wrap: normal;">
                        <%#Eval("City").ToString().IndexOf("其他") >= 0 ? Eval("Province") : Eval("City")%><%#Eval("County").ToString().Replace("其他", "")%><%#Eval("DetailedAddress")%></div>
                </td>
                <td>
                    <%#string.IsNullOrEmpty(Eval("BusinessManagers").ToString()) ? Eval("LegalRepresentative").ToString() : Eval("BusinessManagers").ToString()%>
                </td>
                <td><%#Eval("CompanyPhone")%><%#(string.IsNullOrEmpty(Eval("Mobile").ToString()) || Eval("CompanyPhone").ToString() == Eval("Mobile").ToString()) ? "" : ("<br/>" + Eval("Mobile").ToString())%></td>
                <td>
                </td>
                <td>
                </td>
                <td>
                </td>
                <td>
                </td>
                <td>
                </td>
            </tr>
        </ItemTemplate>
        <FooterTemplate>
            </table>
        </FooterTemplate>
    </asp:Repeater>
    </form>
</body>
</html>