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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="xiaoshouyejiReportList.aspx.cs" Inherits="CY.WebForm.Pages.business.xiaoshouyejiReportList" %>
 
<!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 txtDeliveryTime = $("#txtDeliveryTime").val();
            var selBusinessManagerId = $("#selBusinessManagerId").val();
            
 
            // OpenWindowByUrl();
            window.open('/Pages/business/xiaoshouyejiReportPrint.aspx?txtDeliveryTime=' + txtDeliveryTime + '&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, chaxuntimestart, chaxuntimeend, leixing) {
            top.Dialog.open({ URL: "/Pages/business/xiaoshouyejiReprotKehu.aspx?BusinessManagerId=" + BusinessManagerId + "&chaxuntimestart=" + chaxuntimestart + "&chaxuntimeend=" + chaxuntimeend + "&leixing=" + leixing, 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 colspan="6"> 
                      <%--  <select keepdefaultstyle='true' id='selDeliveryTime' runat="server" datatextfield="Name" datavaluefield="MeanValue">
                             <option value ="">全部</option>
                            <option value ="明天" selected="selected"> </option>
                             <option value ="后天"> </option>
                             <option value ="3天"> </option>
                             <option value ="4天"> </option>
                             <option value ="5天"> </option>
                             <option value ="6天"> </option>
                             <option value ="7天"> </option>
                            <option value ="一周后"> </option>
                        </select>--%>
                          <asp:button id="Button0" text="本周业绩" runat="server"  padding="0px" OnClick="btn_Search_Click0" />&nbsp;&nbsp;
                          <asp:button id="Button1" text="上周业绩" runat="server"  padding="0px" OnClick="btn_Search_Click1" />&nbsp;&nbsp;
                        <asp:button id="Button2" text="本月业绩" runat="server"  padding="0px" OnClick="btn_Search_Click2" />&nbsp;&nbsp;
                        <asp:button id="Button3" text="上月业绩" runat="server"  padding="0px" OnClick="btn_Search_Click3" />&nbsp;&nbsp;
                        <asp:button id="Button4" text="本年业绩" runat="server"  padding="0px" OnClick="btn_Search_Click4" />&nbsp;&nbsp;
                        <asp:button id="Button5" text="上年业绩" runat="server"  padding="0px" OnClick="btn_Search_Click5" />&nbsp;&nbsp;
                        <input type="hidden" runat="server" id="txtDeliveryTime"  />
                    </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>
                             <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>
                            <%#Eval("shuliang")%>
                        </td>
                         <td>
                            <%#Eval("SumPrice", "{0:F2}")%>
                        </td>
                        <td>
                                  <a  href='javascript:void(0)'  onclick="onViewxinzengkehu('<%#Eval("BusinessManagerId")%>','<%#Eval("chaxuntimestart")%>','<%#Eval("chaxuntimeend")%>','xinzeng')"><%#Eval("xinzengshuliang")%></a>
                          
                        </td>
                         <td>
                            <%#Eval("wanjieshuliang")%>
                        </td>
                          <td>
                                  <a  href='javascript:void(0)'  onclick="onViewxinzengkehu('<%#Eval("BusinessManagerId")%>','<%#Eval("chaxuntimestart")%>','<%#Eval("chaxuntimeend")%>','yingshoukuan')">
                                       <%#Eval("xiadanshuliang")%>
                                  </a>
                          
                        </td>
                          <td>
                             <%#Eval("SumPrice", "{0:F2}")%>
                        </td>
                        
 
 
                         <td>
                              <a  href='javascript:void(0)'  onclick="onViewxinzengkehu('<%#Eval("BusinessManagerId")%>','<%#Eval("chaxuntimestart")%>','<%#Eval("chaxuntimeend")%>','yishoukuan')">
                                       <%#Eval("huikuankehu")%>
                                  </a>
                              </td>
                         <td>
                            <%#Eval("PayedMoney", "{0:F2}")%>
                        </td>
                         <td>
                             <a  href='javascript:void(0)'  onclick="onViewxinzengkehu('<%#Eval("BusinessManagerId")%>','<%#Eval("chaxuntimestart")%>','<%#Eval("chaxuntimeend")%>','weishoukuan')">
                                       <%#Eval("weihuikuankehu")%>
                                  </a>
                        
                              </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>