You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

136 lines
8.3 KiB

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SCP_REJECT.aspx.cs" Inherits="SCP.WarehouseData.SCP_REJECT" %>
<%@ Import Namespace="CK.SCP.Models.Enums" %>
<%@ Import Namespace="CK.SCP.Utils" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
</head>
<body>
<form id="form1" runat="server">
<f:PageManager runat="server" AutoSizePanelID="Panel1" />
<f:Panel ID="Panel1" runat="server" Title="" AutoScroll="True">
<Items>
<f:Form runat="server">
<Toolbars>
<f:Toolbar ID="Toolbar2" runat="server">
<Items>
<f:ToolbarSeparator runat="server" />
<f:Button ID="Button3" runat="server" EnablePostBack="True" Text="刷新" Icon="Add">
</f:Button>
<%-- <f:Button ID="Button1" runat="server" EnablePostBack="True" Text="修改" Icon="Add">--%>
<%-- </f:Button>--%>
<%-- <f:Button ID="Button2" runat="server" EnablePostBack="True" Text="删除" Icon="Add">--%>
<%-- </f:Button>--%>
<f:Button ID="btnCheck" runat="server" EnablePostBack="True" OnClick="btnCheck_OnClick" Text="审核通过" Icon="Accept" OnClientClick="if(!confirm('是否要将勾选的单据通过审核?'))return false;">
</f:Button>
<f:ToolbarSeparator runat="server" />
<f:Button ID="btnOutput" runat="server" Text="导出" Icon="PageExcel" OnClick="btnOutput_OnClick">
</f:Button>
<f:Button ID="btnDetail" runat="server" Text="明细" Icon="Zoom" OnClick="btnDetail_OnClick">
</f:Button>
<f:Button ID="btnShow" runat="server" Text="显示查询面板" OnClick="btnShow_OnClick">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
</f:Form>
<f:GroupPanel runat="server" ID="gp1" Hidden="True" Layout="HBox">
<Items>
<f:Form runat="server">
<Rows>
<f:FormRow runat="server">
<Items>
<f:DropDownList runat="server" ID="ddl" Label="状态">
<f:ListItem Text="-" Value="" />
<f:ListItem Text="已退货" Value="0" />
<f:ListItem Text="审核通过" Value="1" />
</f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow runat="server">
<Items>
<f:Label runat="server" Label="收货单号" />
<f:TextBox ID="txtReceiveBill" runat="server" />
<f:Label runat="server" Label="供应商" />
<f:TextBox ID="txtSupplier" runat="server" />
<f:Label runat="server" Label="订单号" />
<f:TextBox ID="txtPO" runat="server" />
</Items>
</f:FormRow>
<f:FormRow runat="server">
<Items>
<f:Label runat="server" Label="发货单号" />
<f:TextBox ID="AsnBillNum" runat="server" />
<f:Label runat="server" Label="操作员" />
<f:TextBox ID="OperName" runat="server" />
</Items>
</f:FormRow>
<f:FormRow runat="server">
<Items>
<f:Button runat="server" Text="关闭" OnClick="OnClick"></f:Button>
<f:Button ID="BtnSearch" runat="server" OnClick="BtnSearch_OnClick" Text="快速查找">
</f:Button>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:GroupPanel>
<f:Grid ID="Grid_V_TB_REJECT" ShowBorder="true" ShowHeader="true" PageSize="20" BoxFlex="1" CssClass="maingrid"
runat="server" DataKeyNames="UID,RjctBillNum" IsDatabasePaging="True" AllowPaging="True" EnableRowDoubleClickEvent="True"
OnRowDoubleClick="Grid1_OnRowDoubleClick" SortDirection="DESC" SortField="RjctBillNum" EnableCheckBoxSelect="True"
EnableRowSelectEvent="False" AutoScroll="True" OnPageIndexChange="Grid1_OnPageIndexChange" OnRowDataBound="Grid_V_TB_REJECT_RowDataBound">
<PageItems>
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
</f:ToolbarSeparator>
<f:ToolbarText ID="ToolbarText1" runat="server" Text="每页记录数:">
</f:ToolbarText>
<f:DropDownList ID="ddlGridPageSize" Width="80px" AutoPostBack="true" OnSelectedIndexChanged="ddlGridPageSize_OnSelectedIndexChanged"
runat="server">
<f:ListItem Text="10" Value="10" />
<f:ListItem Text="20" Value="20" />
<f:ListItem Text="50" Value="50" />
<f:ListItem Text="100" Value="100" />
</f:DropDownList>
</PageItems>
<Columns>
<f:BoundField runat="server" HeaderText="状态" ColumnID="" DataField="State" />
<f:BoundField runat="server" HeaderText="供应商" ColumnID="" DataField="VendName" />
<f:BoundField runat="server" HeaderText="退货单号" ColumnID="" DataField="RjctBillNum" />
<f:BoundField runat="server" HeaderText="订单号" ColumnID="" DataField="PoBillNum" />
<f:BoundField runat="server" HeaderText="发货单号" ColumnID="" DataField="AsnBillNum" />
<f:BoundField runat="server" HeaderText="发货时间" ColumnID="" DataField="ShipTime" />
<f:BoundField runat="server" HeaderText="发货地点" ColumnID="" DataField="Site_Desc" />
<f:BoundField runat="server" HeaderText="审核员" ColumnID="" DataField="OperName" />
<f:BoundField runat="server" HeaderText="备注" ColumnID="" DataField="Remark" />
</Columns>
</f:Grid>
</Items>
</f:Panel>
<f:Window runat="server" ID="Window1" Hidden="True"
WindowPosition="Center" IsModal="true" Title="收货详情" Target="Parent" EnableIFrame="true"
IFrameUrl="about:blank" Height="600px" Width="1024px" AutoScroll="True" />
<f:Window ID="WindowUpload" runat="server" Hidden="True"
WindowPosition="Center" IsModal="true" Title="Popup Window 1" Target="Parent" EnableIFrame="true"
IFrameUrl="about:blank" Height="200px" Width="400px">
</f:Window>
</form>
<script>
var basePath = '<%=ResolveUrl("~/")%>';
function btnDetail_OnClick(id) {
parent.addExampleTab.apply(null, ['id', basePath + 'WarehouseData/ReceiveDetail.aspx?ID=' + 2, '收货明细', basePath + 'res/images/filetype/vs_aspx.png', undefined, true]);
}
</script>
</body>
</html>