Browse Source

代开票分页

master
TML 4 years ago
parent
commit
97cb2e3f3c
  1. 2
      SCP/Views/SupplierData/SCP_RECEIVE_LIST.aspx
  2. 6
      SCP/Views/SupplierData/SCP_RECEIVE_LIST.aspx.cs

2
SCP/Views/SupplierData/SCP_RECEIVE_LIST.aspx

@ -121,7 +121,7 @@
<f:Grid ID="Grid_V_TB_RECEIVE_LIST" ShowBorder="true" ShowHeader="true" PageSize="20" BoxFlex="1" CssClass="maingrid" <f:Grid ID="Grid_V_TB_RECEIVE_LIST" ShowBorder="true" ShowHeader="true" PageSize="100" BoxFlex="1" CssClass="maingrid"
runat="server" DataKeyNames="UID,ProjectId,RecvBillNum,PartCode,PoLine,Qty,Price" IsDatabasePaging="true" AllowPaging="True" SortField="RecvBillNum" runat="server" DataKeyNames="UID,ProjectId,RecvBillNum,PartCode,PoLine,Qty,Price" IsDatabasePaging="true" AllowPaging="True" SortField="RecvBillNum"
AutoScroll="True" OnPageIndexChange="Grid_V_TB_RECEIVE_LIST_PageIndexChange" EnableCheckBoxSelect = "true" OnRowDataBound="Grid_V_TB_RECEIVE_LIST_RowDataBound" > AutoScroll="True" OnPageIndexChange="Grid_V_TB_RECEIVE_LIST_PageIndexChange" EnableCheckBoxSelect = "true" OnRowDataBound="Grid_V_TB_RECEIVE_LIST_RowDataBound" >
<PageItems> <PageItems>

6
SCP/Views/SupplierData/SCP_RECEIVE_LIST.aspx.cs

@ -73,9 +73,9 @@ namespace SCP.SupplierData
public void LoadData() public void LoadData()
{ {
// 每页记录数 // 每页记录数
Grid_V_TB_RECEIVE_LIST.PageSize = ConfigHelper.PageSize; //Grid_V_TB_RECEIVE_LIST.PageSize = ConfigHelper.PageSize;
ddlGridPageSize.SelectedValue = ConfigHelper.PageSize.ToString(); //ddlGridPageSize.SelectedValue = ConfigHelper.PageSize.ToString();
BindData(); //BindData();
} }
private void SearchData(Action<IQueryable<V_TB_RECEIVE_LIST>> p_action) private void SearchData(Action<IQueryable<V_TB_RECEIVE_LIST>> p_action)
{ {

Loading…
Cancel
Save