⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 calbuyproductofprovider.ascx

📁 B/S版ERP安装方法 1、安装IIS5.0、Microsoft .NET Framework 1.1及SQL Server2000 2、将目录Copy_of_ERP和webctrl_clie
💻 ASCX
字号:
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="CalBuyProductOfProvider.ascx.cs" Inherits="Storage.Buy.ASCX.CalBuyProductOfProvider" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<%@ Register TagPrefix="cc2" Namespace="xImageButton" Assembly="xImageButton" %>
<%@ Register TagPrefix="webdiyer" Namespace="Wuqi.Webdiyer" Assembly="AspNetPager" %>
<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;
	getObj=eval('document.all.'+clientName+'_txProcType');


	var retValue;
	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(',');
	 getObj=eval('document.all.'+clientName+'_txProID');
	 getObj.value=getArr[0];
	 getObj=eval('document.all.'+clientName+'_txProName')
	 getObj.value=getArr[1];
	}
}

function selectCustomer() //得到客户信息
{
	var retValue;
	retValue =fnOpenModWinM1("../ASCX/SelectProvider.aspx","");
	if((retValue!='cancel')&&(retValue!=undefined))
	{
	 getArr=retValue.split(',');
	 var getObj;
	 getObj=eval('document.all.'+clientName+'_txCrsID');
	 getObj.value=getArr[0];
	 getObj=eval('document.all.'+clientName+'_txCsrName')
	 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">&nbsp;<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 background="../Images/dotline.gif" height="3"><FONT face="宋体"></FONT></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>
			&nbsp;季度:
			<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>&nbsp; 月份:
			<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>
			&nbsp;&nbsp;材料编号
			<asp:textbox id="txProName" runat="server" ReadOnly="True" Width="80px"></asp:textbox><IMG style="CURSOR: hand" onclick="addBillDetail()" height="13" src="../Images/IconSearch.gif"
				width="15" border="0"> &nbsp;&nbsp;&nbsp;提供商
			<asp:textbox id="txCsrName" runat="server" Width="112px" ReadOnly="True"></asp:textbox><IMG style='CURSOR:hand' onclick="selectCustomer()" height="13" src="../Images/IconSearch.gif"
				width="15" border="0"></A>&nbsp;
			<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>
					<td class="MainPageBar" width="65%" height="20">
						<!-- background="../Images/bgtitle1.gif" bgcolor="#CCCCCC"--><strong><IMG height="15" src="../Images/OPENDOC.gif" width="20">统计结果&nbsp;&nbsp; 
							(金额单位:元)</strong></td>
				</tr>
				<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="CustNo" ReadOnly="True" HeaderText="客户编号"></asp:BoundColumn>
								<asp:BoundColumn DataField="shortName" 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="txCrsID" 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 + -