Browse Source

待开票页面优化

master
qian 1 year ago
parent
commit
2df26f737b
  1. 24
      北京北汽/Models/AppBoxEntity/LoginTable.cs
  2. 4
      北京北汽/SCP/Views/SupplierData/SCP_RECEIVE_LIST.aspx
  3. 10
      北京北汽/SCP/Views/SupplierData/SCP_RECEIVE_LIST.aspx.cs

24
北京北汽/Models/AppBoxEntity/LoginTable.cs

@ -0,0 +1,24 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace CK.SCP.Models.AppBoxEntity
{
[Table("LoginTable")]
public class LoginTable
{
[Key]
public int ID { get; set; }
[StringLength(50)]
// ip地址
public string IPAdddress { get; set; }
// 登录时间
public DateTime LoginTime { get; set; }
// 登录ID
public int UserID { get; set; }
// 登录名
public String UserName { get; set; }
}
}

4
北京北汽/SCP/Views/SupplierData/SCP_RECEIVE_LIST.aspx

@ -151,9 +151,9 @@
<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,Site_Desc,DiscountPrice,Price,TemporaryPrice" IsDatabasePaging="true" AllowPaging="True" SortField="RecvBillNum" runat="server" DataKeyNames="UID,ProjectId,RecvBillNum,PartCode,PoLine,Site_Desc,DiscountPrice,Price,TemporaryPrice" IsDatabasePaging="true" AllowPaging="True" SortField="RecvBillNum"
AutoScroll="True" OnPageIndexChange="Grid_V_TB_RECEIVE_LIST_PageIndexChange" EnableCheckBoxSelect = "true" EnableRowSelectEvent="True" CheckBoxSelectOnly="true" OnRowDataBound="Grid_V_TB_RECEIVE_LIST_RowDataBound" > AutoScroll="True" OnPageIndexChange="Grid_V_TB_RECEIVE_LIST_PageIndexChange" EnableCheckBoxSelect = "true" CheckBoxSelectOnly="true" OnRowDataBound="Grid_V_TB_RECEIVE_LIST_RowDataBound" >
<PageItems> <PageItems>
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server"> <f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
</f:ToolbarSeparator> </f:ToolbarSeparator>

10
北京北汽/SCP/Views/SupplierData/SCP_RECEIVE_LIST.aspx.cs

@ -86,8 +86,8 @@ 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)
@ -435,8 +435,8 @@ namespace SCP.SupplierData
var _tax = lbTaxRate.SelectedValue; var _tax = lbTaxRate.SelectedValue;
var _cj = string.IsNullOrEmpty(txtContractPrice1.Text) ? "0" : txtContractPrice1.Text; var _cj = string.IsNullOrEmpty(txtContractPrice1.Text) ? "0" : txtContractPrice1.Text;
var _tz = string.IsNullOrEmpty(txtBlancePrice1.Text) ? "0" : txtBlancePrice1.Text; var _tz = string.IsNullOrEmpty(txtBlancePrice1.Text) ? "0" : txtBlancePrice1.Text;
SearchData((rs) => //SearchData((rs) =>
{ //{
string IsCreate = "0"; string IsCreate = "0";
//if (Grid_V_TB_RECEIVE_LIST.SelectedRowIndexArray.Length == 0) //if (Grid_V_TB_RECEIVE_LIST.SelectedRowIndexArray.Length == 0)
//{ //{
@ -541,7 +541,7 @@ namespace SCP.SupplierData
}); //});
} }
catch (Exception ex) catch (Exception ex)
{ {

Loading…
Cancel
Save