<%@ 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" />
|
<asp:button id="Button1" text="上周业绩" runat="server" padding="0px" OnClick="btn_Search_Click1" />
|
<asp:button id="Button2" text="本月业绩" runat="server" padding="0px" OnClick="btn_Search_Click2" />
|
<asp:button id="Button3" text="上月业绩" runat="server" padding="0px" OnClick="btn_Search_Click3" />
|
<asp:button id="Button4" text="本年业绩" runat="server" padding="0px" OnClick="btn_Search_Click4" />
|
<asp:button id="Button5" text="上年业绩" runat="server" padding="0px" OnClick="btn_Search_Click5" />
|
<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" />
|
<input type="button" value='重置' onclick='document.body.innerHTML="";window.location=window.location;' />
|
<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>
|