diff --git a/北京北汽/Models/AppBoxEntity/LoginTable.cs b/北京北汽/Models/AppBoxEntity/LoginTable.cs new file mode 100644 index 0000000..6debeb3 --- /dev/null +++ b/北京北汽/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; } + + + } +} \ No newline at end of file diff --git a/北京北汽/SCP/Views/SupplierData/SCP_RECEIVE_LIST.aspx b/北京北汽/SCP/Views/SupplierData/SCP_RECEIVE_LIST.aspx index 3b1964e..f2a3836 100644 --- a/北京北汽/SCP/Views/SupplierData/SCP_RECEIVE_LIST.aspx +++ b/北京北汽/SCP/Views/SupplierData/SCP_RECEIVE_LIST.aspx @@ -151,9 +151,9 @@ - + AutoScroll="True" OnPageIndexChange="Grid_V_TB_RECEIVE_LIST_PageIndexChange" EnableCheckBoxSelect = "true" CheckBoxSelectOnly="true" OnRowDataBound="Grid_V_TB_RECEIVE_LIST_RowDataBound" > diff --git a/北京北汽/SCP/Views/SupplierData/SCP_RECEIVE_LIST.aspx.cs b/北京北汽/SCP/Views/SupplierData/SCP_RECEIVE_LIST.aspx.cs index 367b9c5..48ee93a 100644 --- a/北京北汽/SCP/Views/SupplierData/SCP_RECEIVE_LIST.aspx.cs +++ b/北京北汽/SCP/Views/SupplierData/SCP_RECEIVE_LIST.aspx.cs @@ -86,8 +86,8 @@ namespace SCP.SupplierData public void LoadData() { // 每页记录数 - Grid_V_TB_RECEIVE_LIST.PageSize = ConfigHelper.PageSize; - ddlGridPageSize.SelectedValue = ConfigHelper.PageSize.ToString(); + //Grid_V_TB_RECEIVE_LIST.PageSize = ConfigHelper.PageSize; + //ddlGridPageSize.SelectedValue = ConfigHelper.PageSize.ToString(); BindData(); } private void SearchData(Action> p_action) @@ -435,8 +435,8 @@ namespace SCP.SupplierData var _tax = lbTaxRate.SelectedValue; var _cj = string.IsNullOrEmpty(txtContractPrice1.Text) ? "0" : txtContractPrice1.Text; var _tz = string.IsNullOrEmpty(txtBlancePrice1.Text) ? "0" : txtBlancePrice1.Text; - SearchData((rs) => - { + //SearchData((rs) => + //{ string IsCreate = "0"; //if (Grid_V_TB_RECEIVE_LIST.SelectedRowIndexArray.Length == 0) //{ @@ -541,7 +541,7 @@ namespace SCP.SupplierData - }); + //}); } catch (Exception ex) {