username@email.com
2025-05-15 6fe02a16e55f17e45a3997171e1b2284d45af25b
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="xiaoshouyejiList.aspx.cs" Inherits="CY.WebForm.Pages.business.xiaoshouyejiList" %>
 
<!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 runat="server">
    <title>销售绩效查询</title>
    <uc:CMSHead ID="CMSHead1" runat="server" />
    <style type="text/css">
        .tableStyle th { padding: 1px; }
        .tableStyle td { padding: 1px; }
    </style>
    <script type="text/javascript">
        /*
打印送货单
*/
        function ToPrintdelev() {
 
             
 
            var txtchaxuntime = $("#txtchaxuntime").val();
            var selBusinessManagerId = $("#selBusinessManagerId").val();
            
 
            // OpenWindowByUrl();
            window.open('/Pages/business/xiaoshouyejiPrint.aspx?txtchaxuntime=' + txtchaxuntime + '&selBusinessManagerId=' + selBusinessManagerId, '', '');
        }
 
        //查看
        function onViewWeihu(BusinessManagerId, chaxuntime) {
            top.Dialog.open({ URL: "/Pages/business/xiaoshouyejiVisit.aspx?BusinessManagerId=" + BusinessManagerId + "&chaxuntime=" + chaxuntime, Title: "查看客户回访记录", Width: 900, Height: 750 });
        }
 
        //查看
        function onViewgendankehu(BusinessManagerId, chaxuntime) {
           
            top.Dialog.open({ URL: "/Pages/business/xiaoshouyejiKehu.aspx?BusinessManagerId=" + BusinessManagerId + "&chaxuntime=" + chaxuntime + "&leixing=gendan" , Title: "查看跟单客户", Width: 1200, Height: 900 });
        }
 
        //查看
        function onViewxinzengkehu(BusinessManagerId, chaxuntime) {
            top.Dialog.open({ URL: "/Pages/business/xiaoshouyejiKehu.aspx?BusinessManagerId=" + BusinessManagerId + "&chaxuntime=" + chaxuntime + "&leixing=xinzeng", Title: "查看新增客户", Width: 1200, Height: 900 });
        }
 
    </script>
    <script type="text/javascript">
        $(function () {
            $("#selOrderMoney").change(function () {
                $("#txtOrderMoney").val("");
            });
            $("#selLastOrderTime").change(function () {
                $("#txtLastOrderTime").val("");
            });
        });
    </script>
</head>
<body>
    <form id="form1" runat="server" class="form">
    <div id="scrollContent">
        <div class="box1" paneltitle="功能面板" roller="false">
            <table class="TableNewStyle" width="100%">
                <tr>
                     <td class="ali03">
                        查询时间:
                    </td>
                    <td>
                        <input id="txtchaxuntime" type="text" class="date w90px" datefmt="yyyy-MM" runat="server" />
                    </td>
                     <td class="ali03 ">
                        业务经理:
                    </td>
                    <td>
                        <select id="selBusinessManagerId" runat="server" keepdefaultstyle='true'>
                            <option value="">全部</option>
                        </select>
                    </td>
                     <td>
                        <asp:Button CssClass="button" ID="btn_Search" Text="查询" runat="server" padding="0px" OnClick="btn_Search_Click" />
                         &nbsp;<input type="button" value='重置' onclick='document.body.innerHTML="";window.location=window.location;' />
                         &nbsp;<input type="button" value='打印' onclick='ToPrintdelev();' />
                    </td>
                </tr>
                
                
                
            </table>
        </div>
       
        <div>
            <asp:Repeater ID="RepClientList" runat="server">
                <HeaderTemplate>
                    <table class="tableStyle" useclick="false" usecheckbox="true" sortmode="true" style="text-align: center;">
                        <tr>
                           
                            <th style="text-align: center;">
                                序号
                            </th>
                             
                            <th style="text-align: center;">
                                业务经理
                            </th>
                            <th style="text-align: center;">
                                跟单客户
                            </th>
                              <th style="text-align: center;">
                               新增客户
                            </th>
                             <th style="text-align: center;">
                                结案客户
                            </th>
                             <th style="text-align: center;">
                               客户回访
                            </th>
                             <th style="text-align: center;">
                                下单客户
                            </th>
                            <th style="text-align: center;">
                                订单数量
                            </th>
                             <th style="text-align: center;">
                                订单金额
                            </th>
                            <th style="text-align: center;">
                                开票金额
                            </th>
                             <th style="text-align: center;">
                                回款金额
                            </th>
                             <th style="text-align: center;">
                                逾期发票张数
                            </th>
                            
                             <th style="text-align: center;">
                                未收款金额
                            </th>
                            
                           
                           
                           
                           
                           
                        </tr>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                         
                        <td>
                            <%#Container.ItemIndex + (UCPager1.PageSize *( UCPager1.PageIndex-1)+1)%>
                        </td>
                         <td>
                              
                            <%#Eval("BusinessManager")%>
                        </td>
                         <td>
                               <a  href='javascript:void(0)'  onclick="onViewgendankehu('<%#Eval("BusinessManagerId")%>','<%#Eval("chaxuntime")%>')"><%#Eval("gendanshuliang")%></a>
                             
                         
                        </td>
                           <td>
                                  <a  href='javascript:void(0)'  onclick="onViewxinzengkehu('<%#Eval("BusinessManagerId")%>','<%#Eval("chaxuntime")%>')"><%#Eval("xinzengshuliang")%></a>
                          
                        </td>
                         <td>
                            <%#Eval("wanjieshuliang")%>
                        </td>
                        <td>
 
                            <a  href='javascript:void(0)'  onclick="onViewWeihu('<%#Eval("BusinessManagerId")%>','<%#Eval("chaxuntime")%>')"><%#Eval("huifangshuliang")%></a>
                        </td>
                        <td>
                            <%#Eval("xiadanshuliang")%>
                        </td>
                         <td>
                            <%#Eval("shuliang")%>
                        </td>
                        
                        
                         <td>
                            <%#Eval("SumPrice", "{0:F2}")%>
                        </td>
                         <td>
                            <%#Eval("kaipiaojine", "{0:F2}")%>
                        </td>
                         <td>
                            <%#Eval("PayedMoney", "{0:F2}")%>
                        </td>
                         <td>
                            <%#Eval("fapiaoshuliang")%>
                        </td>
                         <td>
                            <%#Eval("UnPayedMoney", "{0:F2}")%>
                        </td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
            </asp:Repeater>
            <div id="page">
                <uc:UCPager ID="UCPager1" runat="server" />
            </div>
        </div>
    </div>
    </form>
</body>
</html>