?? calbuyproductofbuyer.ascx
字號:
<%@ Register TagPrefix="webdiyer" Namespace="Wuqi.Webdiyer" Assembly="AspNetPager" %>
<%@ Register TagPrefix="cc2" Namespace="xImageButton" Assembly="xImageButton" %>
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="CalBuyProductOfBuyer.ascx.cs" Inherits="Storage.Buy.ASCX.CalBuyProductOfBuyer" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<script src="../js/CommFunc.js" type="text/javascript"></script>
<script src="../js/Calendar.js" type="text/javascript"></script>
<script src="../js/CheckDataFunction.js" type="text/javascript"></script>
<script language="JavaScript">
function addBillDetail()
{
var getObj;
var retValue;
getObj=eval('document.all.'+clientName+'_txProcType');
if(getObj.value=='0')
retValue =fnOpenModWinM1("../Buy/ASCX/SelectOnlyPro0.aspx",""); //選擇原材料
else
retValue =fnOpenModWinM1("../Buy/ASCX/SelectOnlyPro1.aspx",""); //選擇半成品
if((retValue!='cancel')&&(retValue!=undefined))
{
getArr=retValue.split(',');
var getObj;
getObj=eval('document.all.'+clientName+'_txProID');
getObj.value=getArr[0];
getObj=eval('document.all.'+clientName+'_txProName')
getObj.value=getArr[1];
}
}
</script>
<table cellSpacing="2" cellPadding="3" width="100%" align="center" border="0">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" background="../images/button/in.gif">
<tr>
<td width="30"><img src="../images/button/left.gif" width="27" height="34"></td>
<td><span class="STYLE1"> <asp:label id="lblCaption" Width="344px" runat="server">采購管理->采購員采購情況統計</asp:label></span>
</td>
<td width="60"><FONT face="宋體">
<cc2:MouseImage id="miClose" runat="server" ImageUrl="../../images/button/btnclose.gif" returnImgUrl="../images/button/btnclose.gif"
ChangeImgUrl="../images/button/btnclose_2.gif"></cc2:MouseImage></FONT></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>年份:
<asp:dropdownlist id="ddlYear" runat="server">
<asp:ListItem Value="--所有--">--所有--</asp:ListItem>
<asp:ListItem Value="1">一季度</asp:ListItem>
<asp:ListItem Value="2">二季度</asp:ListItem>
<asp:ListItem Value="3">三季度</asp:ListItem>
<asp:ListItem Value="4">四季度</asp:ListItem>
</asp:dropdownlist>
季度:
<asp:dropdownlist id="ddlQuarter" runat="server">
<asp:ListItem>--所有--</asp:ListItem>
<asp:ListItem Value="1">一季度</asp:ListItem>
<asp:ListItem Value="2">二季度</asp:ListItem>
<asp:ListItem Value="3">三季度</asp:ListItem>
<asp:ListItem Value="4">四季度</asp:ListItem>
</asp:dropdownlist> 月份:
<asp:dropdownlist id="ddlMonth" runat="server">
<asp:ListItem>--所有--</asp:ListItem>
<asp:ListItem Value="1">一月</asp:ListItem>
<asp:ListItem Value="2">二月</asp:ListItem>
<asp:ListItem Value="3">三月</asp:ListItem>
<asp:ListItem Value="4">四月</asp:ListItem>
<asp:ListItem Value="5">五月</asp:ListItem>
<asp:ListItem Value="6">六月</asp:ListItem>
<asp:ListItem Value="7">七月</asp:ListItem>
<asp:ListItem Value="8">八月</asp:ListItem>
<asp:ListItem Value="9">九月</asp:ListItem>
<asp:ListItem Value="10">十月</asp:ListItem>
<asp:ListItem Value="11">十一月</asp:ListItem>
<asp:ListItem Value="12">十二月</asp:ListItem>
</asp:dropdownlist>
材料編號
<asp:textbox id="txProName" runat="server" Width="80px" ReadOnly="True"></asp:textbox><IMG style="CURSOR: hand" onclick="addBillDetail()" height="13" src="../Images/IconSearch.gif"
width="15" border="0"> 業務員
<asp:DropDownList id="ddlSellerID" runat="server" Width="88px" DataValueField="empID" DataTextField="empName"></asp:DropDownList>
<asp:button id="btnSearch" runat="server" Text="查 詢"></asp:button></td>
</tr>
<tr>
<td align="center">
<table cellSpacing="2" cellPadding="3" width="98%" border="0">
<tr vAlign="top">
<td align="center"><asp:datagrid id="dgProOfSell" runat="server" Width="100%" PageSize="1" AllowPaging="True" AutoGenerateColumns="False"
CellPadding="2">
<Columns>
<asp:BoundColumn DataField="curYear" ReadOnly="True" HeaderText="年份"></asp:BoundColumn>
<asp:BoundColumn DataField="empNo" ReadOnly="True" HeaderText="員工編號"></asp:BoundColumn>
<asp:BoundColumn DataField="empName" ReadOnly="True" HeaderText="員工名稱"></asp:BoundColumn>
<asp:BoundColumn DataField="sellnums" ReadOnly="True" HeaderText="當期采購量/上期采購量"></asp:BoundColumn>
<asp:BoundColumn DataField="sellNumsMargin" ReadOnly="True" HeaderText="采購差額"></asp:BoundColumn>
<asp:BoundColumn DataField="sellNumsRate" ReadOnly="True" HeaderText="比率(%)" DataFormatString="{0:F2}%"></asp:BoundColumn>
<asp:BoundColumn DataField="lastYear" ReadOnly="True" HeaderText="年份"></asp:BoundColumn>
<asp:BoundColumn DataField="sellMoney" ReadOnly="True" HeaderText="當期金額/上期金額"></asp:BoundColumn>
<asp:BoundColumn DataField="sellMoneyMargin" ReadOnly="True" HeaderText="采購差額"></asp:BoundColumn>
<asp:BoundColumn DataField="sellMoneyRate" ReadOnly="True" HeaderText="比率(%)" DataFormatString="{0:F2}%"></asp:BoundColumn>
</Columns>
<PagerStyle Visible="False" Mode="NumericPages"></PagerStyle>
</asp:datagrid><asp:textbox id="txProID" runat="server" Width="0px"></asp:textbox><asp:textbox id="txProClassID" runat="server" Width="0px"></asp:textbox>
<asp:TextBox id="txProcType" runat="server" Width="0px">0</asp:TextBox></td>
</tr>
</table>
<table width="98%" align="center" border="0">
<tr>
<td align="left" width="50%"><FONT face="宋體"></FONT></td>
<td align="right" width="50%">
<webdiyer:AspNetPager id="pager" runat="server"></webdiyer:AspNetPager></td>
</tr>
</table>
</td>
</tr>
</table>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -