Browse Source

沈阳代码修改

master
TML 4 years ago
parent
commit
ede2e546a9
  1. 2
      Models/ScpEntity/V_TB_ARRIVE_DETAIL.cs
  2. 2
      SCP/Views/SupplierData/SCP_TS_BARCODE.aspx.cs
  3. 18
      SCP/Views/沈阳金杯/SCP_ARRIVE_DETAIL.aspx
  4. 11
      SCP/Views/沈阳金杯/SCP_ARRIVE_DETAIL.aspx.cs
  5. 33
      SCP/Views/沈阳金杯/SCP_ARRIVE_DETAIL.aspx.designer.cs
  6. BIN
      SCP/uploadfiles/要货看板模板.xlsx

2
Models/ScpEntity/V_TB_ARRIVE_DETAIL.cs

@ -18,7 +18,7 @@ namespace CK.SCP.Models.ScpEntity
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int UID { get; set; }
public long UID { get; set; }
[StringLength(50)]
public string ArrvBillNum { get; set; }
public int PoLine { get; set; }

2
SCP/Views/SupplierData/SCP_TS_BARCODE.aspx.cs

@ -70,7 +70,7 @@ namespace SCP.SupplierData
{ "IsScanned_Desc", "是否扫描" },
{ "BarCode", "条码" },
{ "PartCode", "零件号" },
{ "PartName", "零件名称" },
// { "PartName", "零件名称" },
{ "Batch", "批次" },
{ "PackQty", "装箱数量" },
};

18
SCP/Views/沈阳金杯/SCP_ARRIVE_DETAIL.aspx

@ -69,9 +69,23 @@
<f:ToolbarFill runat="server" />
</Items>
</f:Toolbar>
<f:Grid ID="Grid_V_TB_ARRIVE_DETAIL" ShowBorder="true" ShowHeader="true" PageSize="20" BoxFlex="1" CssClass="maingrid"
<f:Grid ID="Grid_V_TB_ARRIVE_DETAIL" ShowBorder="true" ShowHeader="true" PageSize="10" BoxFlex="1" CssClass="maingrid"
runat="server" DataKeyNames="" IsDatabasePaging="True" AllowPaging="True" SortField="PartCode" SortDirection="DESC"
EnableRowSelectEvent="False" AutoScroll="True">
EnableRowSelectEvent="False" AutoScroll="True" OnPageIndexChange="Grid_V_TB_ARRIVE_DETAIL_PageIndexChange">
<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_SelectedIndexChanged"
runat="server">
<f:ListItem Text="10" Value="10" />
<f:ListItem Text="40" Value="40" />
<f:ListItem Text="80" Value="80" />
<f:ListItem Text="100" Value="100" />
<f:ListItem Text="200" Value="200" />
</f:DropDownList>
</PageItems>
<Columns>
<f:BoundField DataField="ID" HeaderText="ID" ColumnID="ID" Hidden="true" />

11
SCP/Views/沈阳金杯/SCP_ARRIVE_DETAIL.aspx.cs

@ -86,6 +86,17 @@ namespace SCP.沈阳金杯
// Alert.ShowInTop(ex.Message);
//}
}
protected void Grid_V_TB_ARRIVE_DETAIL_PageIndexChange(object sender, GridPageEventArgs e)
{
BindData();
}
protected void ddlGridPageSize_SelectedIndexChanged(object sender, EventArgs e)
{
Grid_V_TB_ARRIVE_DETAIL.PageSize = Convert.ToInt32(ddlGridPageSize.SelectedValue);
BindData();
}
//导出
protected void btnOutput_OnClick(object sender, EventArgs e)
{

33
SCP/Views/沈阳金杯/SCP_ARRIVE_DETAIL.aspx.designer.cs

@ -7,10 +7,12 @@
// </自动生成>
//------------------------------------------------------------------------------
namespace SCP. {
namespace SCP.
{
public partial class SCP_ARRIVE_DETAIL {
public partial class SCP_ARRIVE_DETAIL
{
/// <summary>
/// form1 控件。
@ -156,6 +158,33 @@ namespace SCP.沈阳金杯 {
/// </remarks>
protected global::FineUI.Grid Grid_V_TB_ARRIVE_DETAIL;
/// <summary>
/// ToolbarSeparator1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.ToolbarSeparator ToolbarSeparator1;
/// <summary>
/// ToolbarText1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.ToolbarText ToolbarText1;
/// <summary>
/// ddlGridPageSize 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.DropDownList ddlGridPageSize;
/// <summary>
/// Window1 控件。
/// </summary>

BIN
SCP/uploadfiles/要货看板模板.xlsx

Binary file not shown.
Loading…
Cancel
Save