Browse Source

要货看板页面优化

master
lvzb 4 years ago
parent
commit
f6c889879f
  1. 28
      SCP/Views/PlanData/SCP_ASK.aspx
  2. 3
      SCP/Views/PlanData/SCP_ASK.aspx.cs
  3. 36
      SCP/Views/PlanData/SCP_ASK.aspx.designer.cs
  4. 15
      SCP/Views/PlanData/SCP_ASK_DETAIL.aspx
  5. 1
      SCP/Views/PlanData/SCP_ASK_DETAIL.aspx.cs
  6. 27
      SCP/Views/PlanData/SCP_ASK_DETAIL.aspx.designer.cs
  7. 6
      SCP/Views/PlanData/SCP_PO_ASK.aspx

28
SCP/Views/PlanData/SCP_ASK.aspx

@ -59,27 +59,23 @@
</f:Toolbar> </f:Toolbar>
</Toolbars> </Toolbars>
</f:Form> </f:Form>
<f:GroupPanel runat="server" ID="gp1" Hidden="true" Layout="HBox" ColumnWidth="100%" > <f:GroupPanel runat="server" ID="gp1" Hidden="true" ColumnWidth="100%" >
<Items> <Items>
<f:Form runat="server" ColumnWidth="100%" Margin="5" BodyPadding ="5"> <f:Form runat="server" ColumnWidth="100%" Margin="5" BodyPadding ="5">
<Rows> <Rows>
<f:FormRow runat="server"> <f:FormRow runat="server" ColumnWidths="20% 20% 20% 20% 20%">
<Items> <Items>
<f:TextBox runat = "server" Label = "订单编号" EmptyText = "" ID = "TXT_BillNo" /> <f:TextBox runat = "server" Label = "订单编号" EmptyText = "" ID = "TXT_BillNo" />
<f:DropDownList runat="server" ID="DropDownList1" Label="地点" DataTextField="FactoryName" DataValueField=" ErpDomain"> <f:DropDownList runat="server" ID="DropDownList1" Label="地点" DataTextField="FactoryName" DataValueField=" ErpDomain">
</f:DropDownList> </f:DropDownList>
<%-- <f:TextBox runat = "server" Label = "子网站" EmptyText = "" ID = "TXT_SubSite" Hidden="true" />--%>
<f:TextBox runat = "server" Label = "子网站" EmptyText = "" ID = "TXT_Extend1" Hidden="true" />
<f:TextBox runat = "server" Label = "子网站" EmptyText = "" ID = "TXT_Extend2" Hidden="true" />
<f:TextBox runat = "server" Label = "子网站" EmptyText = "" ID = "TXT_Extend3" Hidden="true" />
<f:TextBox runat = "server" Label = "看板编号" EmptyText = "" ID = "TXT_AskBill" /> <f:TextBox runat = "server" Label = "看板编号" EmptyText = "" ID = "TXT_AskBill" />
<f:DropDownList ID="ddl_Vender" runat="server" Label="供应商" EnableEdit="true" ></f:DropDownList> <f:DropDownList ID="ddl_Vender" runat="server" Label="供应商" EnableEdit="true" ></f:DropDownList>
<f:TextBox runat = "server" Label = "送货地点" EmptyText = "" ID = "TXT_Site_Desc" /> <f:TextBox runat = "server" Label = "送货地点" EmptyText = "" ID = "TXT_Site_Desc" />
</Items> </Items>
</f:FormRow> </f:FormRow>
<f:FormRow runat="server"> <f:FormRow runat="server" ColumnWidths="20% 20% 20% 20% 20%">
<Items> <Items>
<f:TextBox runat = "server" Label = "项目编码" EmptyText = "" ID = "TXT_ProjectId" /> <f:TextBox runat = "server" Label = "项目编码" EmptyText = "" ID = "TXT_ProjectId" />
<f:DatePicker runat="server" Required ="true" DateFormatString="yyyy-MM-dd" Label="订货日期" EmptyText="请选择日期" ID="DP_StartDate" /> <f:DatePicker runat="server" Required ="true" DateFormatString="yyyy-MM-dd" Label="订货日期" EmptyText="请选择日期" ID="DP_StartDate" />
@ -92,20 +88,20 @@
<f:ListItem Text="已确认" Value="2" /> <f:ListItem Text="已确认" Value="2" />
<f:ListItem Text="已发货" Value="3" /> <f:ListItem Text="已发货" Value="3" />
</f:DropDownList> </f:DropDownList>
<f:TextBox runat="server" Required ="true" Label="零件编号" EmptyText="查询请填写零件编号" ID="TXT_PartCode" />
</Items> </Items>
</f:FormRow> </f:FormRow>
<f:FormRow runat="server" ColumnWidths="33% 33% 33%">
<Items>
<f:TextBox runat="server" Required ="true" Label="零件编号" EmptyText="查询请填写零件编号" ID="TXT_PartCode" />
</Items>
</f:FormRow>
<f:FormRow runat="server"> <f:FormRow runat="server">
<Items> <Items>
<f:Button runat="server" Text="关闭" ID="BtnClose" OnClick="BtnClose_Click"></f:Button> <f:Panel ID="Panel5" runat="server" ShowBorder="false" CssClass="mypanel" ShowHeader="false">
<f:Button ID="BtnSearch" runat="server" OnClick="BtnSearch_Click" Text="快速查找"> <Items>
<f:Button runat="server" Text="关闭" ID="BtnClose" OnClick="BtnClose_Click" Margin="5"></f:Button>
<f:Button ID="BtnSearch" runat="server" OnClick="BtnSearch_Click" Text="快速查找" Margin="5">
</f:Button> </f:Button>
<f:Button ID="BtnSearchDetail" runat="server" OnClick="BtnSearchDetail_Click" Text="快速查找订单明细"> <f:Button ID="BtnSearchDetail" runat="server" OnClick="BtnSearchDetail_Click" Text="快速查找订单明细" Margin="5">
</f:Button> </f:Button>
</Items>
</f:Panel>
</Items> </Items>
</f:FormRow> </f:FormRow>
</Rows> </Rows>
@ -114,7 +110,7 @@
</Items> </Items>
</f:GroupPanel> </f:GroupPanel>
<f:Grid ID = "Grid_V_TB_ASK" EnableCollapse = "true" ShowBorder = "true" ShowHeader = "true" runat ="server" EnableColumnLines="true" EnableCheckBoxSelect="true" EnableTextSelection="true" <f:Grid ID = "Grid_V_TB_ASK" ShowBorder = "true" ShowHeader = "true" runat ="server" EnableColumnLines="true" EnableCheckBoxSelect="true" EnableTextSelection="true"
DataKeyNames = "UID,PoBillNum,AskBillNum,VendId,Site,Buyer,BuyerPhone,State,Remark,VendName,State_DESC,ModType_DESC,CreateTime,CreateUser,UpdateTime,UpdateUser,UpdateInfo,IsDeleted,GUID,ModType" DataKeyNames = "UID,PoBillNum,AskBillNum,VendId,Site,Buyer,BuyerPhone,State,Remark,VendName,State_DESC,ModType_DESC,CreateTime,CreateUser,UpdateTime,UpdateUser,UpdateInfo,IsDeleted,GUID,ModType"
AllowSorting="true" BoxFlex="1" AllowSorting="true" BoxFlex="1"
PageSize="100" PageSize="100"

3
SCP/Views/PlanData/SCP_ASK.aspx.cs

@ -91,9 +91,6 @@ namespace SCP.PlanData
_entity.AskBillNum = TXT_AskBill.Text; _entity.AskBillNum = TXT_AskBill.Text;
_entity.ErpBillNum = TXT_ProjectId.Text; _entity.ErpBillNum = TXT_ProjectId.Text;
_entity.SubSite = DropDownList1.SelectedValue; _entity.SubSite = DropDownList1.SelectedValue;
_entity.Extend1 = TXT_Extend1.Text;
_entity.Extend2 = TXT_Extend2.Text;
_entity.Extend3 = TXT_Extend3.Text;
if (DP_StartDate.SelectedDate != null) if (DP_StartDate.SelectedDate != null)
{ {
_entity.BeginTime = DP_StartDate.SelectedDate; _entity.BeginTime = DP_StartDate.SelectedDate;

36
SCP/Views/PlanData/SCP_ASK.aspx.designer.cs

@ -212,33 +212,6 @@ namespace SCP.PlanData
/// </remarks> /// </remarks>
protected global::FineUI.DropDownList DropDownList1; protected global::FineUI.DropDownList DropDownList1;
/// <summary>
/// TXT_Extend1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.TextBox TXT_Extend1;
/// <summary>
/// TXT_Extend2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.TextBox TXT_Extend2;
/// <summary>
/// TXT_Extend3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.TextBox TXT_Extend3;
/// <summary> /// <summary>
/// TXT_AskBill 控件。 /// TXT_AskBill 控件。
/// </summary> /// </summary>
@ -311,6 +284,15 @@ namespace SCP.PlanData
/// </remarks> /// </remarks>
protected global::FineUI.TextBox TXT_PartCode; protected global::FineUI.TextBox TXT_PartCode;
/// <summary>
/// Panel5 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.Panel Panel5;
/// <summary> /// <summary>
/// BtnClose 控件。 /// BtnClose 控件。
/// </summary> /// </summary>

15
SCP/Views/PlanData/SCP_ASK_DETAIL.aspx

@ -10,7 +10,7 @@
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">
<f:PageManager runat="server" AutoSizePanelID="Panel1" /> <f:PageManager runat="server" AutoSizePanelID="Panel1" />
<f:Panel ID="Panel1" runat="server" Title="" AutoScroll="True"> <f:Panel ID="Panel1" runat="server" Title="" AutoScroll="True" Layout="VBox">
<Toolbars> <Toolbars>
<f:Toolbar ID="Toolbar2" runat="server"> <f:Toolbar ID="Toolbar2" runat="server">
<Items> <Items>
@ -39,7 +39,7 @@
</f:Toolbar> </f:Toolbar>
</Toolbars> </Toolbars>
<Items> <Items>
<f:Form runat="server" Title="" ID="F_PO_DETAIL" Hidden="true"> <f:Form runat="server" Title="" ID="F_PO_DETAIL" Hidden="true" ColumnWidth="100%">
<Items> <Items>
<f:FormRow runat="server" ColumnWidths="20% 20% 20% 20% 20%"> <f:FormRow runat="server" ColumnWidths="20% 20% 20% 20% 20%">
<Items> <Items>
@ -50,12 +50,15 @@
<f:TextBox runat = "server" Label = "发往地点" EmptyText = "" ID = "TXT_Site" /> <f:TextBox runat = "server" Label = "发往地点" EmptyText = "" ID = "TXT_Site" />
</Items> </Items>
</f:FormRow> </f:FormRow>
<f:FormRow runat="server" > <f:FormRow runat="server" ColumnWidths="20% 20% 20% 20% 20%">
<Items> <Items>
<f:TextBox ID="txtRemark" runat="server" Label="备注" Text="" Hidden="true">
</f:TextBox>
<f:DatePicker runat="server" Required ="true" DateFormatString="yyyy-MM-dd" Label="订货日期" EmptyText="请选择日期" ID="DP_BeginTime" /> <f:DatePicker runat="server" Required ="true" DateFormatString="yyyy-MM-dd" Label="订货日期" EmptyText="请选择日期" ID="DP_BeginTime" />
<f:DatePicker runat="server" Required ="true" DateFormatString="yyyy-MM-dd" Label="到货日期" EmptyText="请选择日期" ID="DP_EndTime" /> <f:DatePicker runat="server" Required ="true" DateFormatString="yyyy-MM-dd" Label="到货日期" EmptyText="请选择日期" ID="DP_EndTime" />
<f:TextBox ID="txtRemark" runat="server" Label="备注" Text="">
</f:TextBox>
<f:TextBox ID="TXT_AskBillNum" runat="server" Label="要货看板号" EmptyText="" Readonly="true">
</f:TextBox>
<f:Button ID="btnModifyDate" runat="server" Hidden="true" EnablePostBack="True" OnClick="btnModifyDate_Click" Text="修改明细记录订货和发货日期" Icon="CssAdd" OnClientClick="if(!confirm('是否修改明细订货和到货时间?'))return false;"> <f:Button ID="btnModifyDate" runat="server" Hidden="true" EnablePostBack="True" OnClick="btnModifyDate_Click" Text="修改明细记录订货和发货日期" Icon="CssAdd" OnClientClick="if(!confirm('是否修改明细订货和到货时间?'))return false;">
</f:Button> </f:Button>
</Items> </Items>
@ -63,7 +66,7 @@
</Items> </Items>
</f:Form> </f:Form>
<f:Grid runat="server" ID="Grid_V_TB_ASK_DETAIL" <f:Grid runat="server" ID="Grid_V_TB_ASK_DETAIL" BoxFlex="1"
DataKeyNames ="UID,PoBillNum,PoLine,PartCode,PartDesc1,PartDesc2,AskBillNum,AskQty,ReduceQty,ShippedQty,CanQty" DataKeyNames ="UID,PoBillNum,PoLine,PartCode,PartDesc1,PartDesc2,AskBillNum,AskQty,ReduceQty,ShippedQty,CanQty"
IsDatabasePaging="True" AllowPaging="True" PageSize="100" OnPageIndexChange="Grid_V_TB_ASK_DETAIL_PageIndexChange" EnableCheckBoxSelect="true" IsDatabasePaging="True" AllowPaging="True" PageSize="100" OnPageIndexChange="Grid_V_TB_ASK_DETAIL_PageIndexChange" EnableCheckBoxSelect="true"
AutoScroll="True" SortField="PoLine" SortDirection="DESC" OnRowDataBound="Grid_V_TB_ASK_DETAIL_RowDataBound" > AutoScroll="True" SortField="PoLine" SortDirection="DESC" OnRowDataBound="Grid_V_TB_ASK_DETAIL_RowDataBound" >

1
SCP/Views/PlanData/SCP_ASK_DETAIL.aspx.cs

@ -112,6 +112,7 @@ namespace SCP.PlanData
this.txtRemark.Text = _result.Remark; this.txtRemark.Text = _result.Remark;
DP_BeginTime.SelectedDate = _result.BeginTime; DP_BeginTime.SelectedDate = _result.BeginTime;
TXT_VendId.Text = _result.VendId; TXT_VendId.Text = _result.VendId;
TXT_AskBillNum.Text = _result.AskBillNum;
//DDL_PORT.DataSource = ScpCache.PortList.Where(p => CurrentUser.FactoryList.Contains(p.FACTORY_ID)); //DDL_PORT.DataSource = ScpCache.PortList.Where(p => CurrentUser.FactoryList.Contains(p.FACTORY_ID));
//DDL_PORT.DataBind(); //DDL_PORT.DataBind();
//DDL_PORT.SelectedValue = _result.ReceivedPort; //DDL_PORT.SelectedValue = _result.ReceivedPort;

27
SCP/Views/PlanData/SCP_ASK_DETAIL.aspx.designer.cs

@ -7,10 +7,12 @@
// </自动生成> // </自动生成>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
namespace SCP.PlanData { namespace SCP.PlanData
{
public partial class SCP_ASK_DETAIL { public partial class SCP_ASK_DETAIL
{
/// <summary> /// <summary>
/// form1 控件。 /// form1 控件。
@ -175,31 +177,40 @@ namespace SCP.PlanData {
protected global::FineUI.TextBox TXT_Site; protected global::FineUI.TextBox TXT_Site;
/// <summary> /// <summary>
/// txtRemark 控件。 /// DP_BeginTime 控件。
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUI.TextBox txtRemark; protected global::FineUI.DatePicker DP_BeginTime;
/// <summary> /// <summary>
/// DP_BeginTime 控件。 /// DP_EndTime 控件。
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUI.DatePicker DP_BeginTime; protected global::FineUI.DatePicker DP_EndTime;
/// <summary> /// <summary>
/// DP_EndTime 控件。 /// txtRemark 控件。
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUI.DatePicker DP_EndTime; protected global::FineUI.TextBox txtRemark;
/// <summary>
/// TXT_AskBillNum 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.TextBox TXT_AskBillNum;
/// <summary> /// <summary>
/// btnModifyDate 控件。 /// btnModifyDate 控件。

6
SCP/Views/PlanData/SCP_PO_ASK.aspx

@ -10,7 +10,7 @@
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">
<f:PageManager runat="server" AutoSizePanelID="Panel1" /> <f:PageManager runat="server" AutoSizePanelID="Panel1" />
<f:Panel ID="Panel1" runat="server" Title="" AutoScroll="True"> <f:Panel ID="Panel1" runat="server" Title="" AutoScroll="True" Layout="VBox">
<Items> <Items>
<f:Form runat="server"> <f:Form runat="server">
<Toolbars> <Toolbars>
@ -82,10 +82,10 @@
</Items> </Items>
</f:GroupPanel> </f:GroupPanel>
<f:Grid ID = "Grid_V_TB_PO" EnableCollapse = "true" ShowBorder = "true" ShowHeader = "true" runat ="server" DataKeyNames = "UID,PoBillNum,ErpBillNum,VendId,ModType,Contacter,Site,Buyer,BuyerPhone,State,Remark,CreateTime,CreateUser,UpdateTime,UpdateUser,UpdateInfo,IsDeleted,VendName,State_DESC,ModType_DESC" <f:Grid ID = "Grid_V_TB_PO" ShowBorder = "true" ShowHeader = "true" runat ="server" DataKeyNames = "UID,PoBillNum,ErpBillNum,VendId,ModType,Contacter,Site,Buyer,BuyerPhone,State,Remark,CreateTime,CreateUser,UpdateTime,UpdateUser,UpdateInfo,IsDeleted,VendName,State_DESC,ModType_DESC"
CssClass="maingrid" EnableRowDoubleClickEvent="True" OnSort="Grid_V_TB_PO_Sort" SortField="BeginTime" CssClass="maingrid" EnableRowDoubleClickEvent="True" OnSort="Grid_V_TB_PO_Sort" SortField="BeginTime"
IsDatabasePaging="True" AllowPaging="True" OnRowDoubleClick="Grid_V_TB_PO_RowDoubleClick" IsDatabasePaging="True" AllowPaging="True" OnRowDoubleClick="Grid_V_TB_PO_RowDoubleClick"
AutoScroll="True" SortDirection="DESC" OnPageIndexChange="Grid_V_TB_PO_PageIndexChange" > AutoScroll="True" SortDirection="DESC" OnPageIndexChange="Grid_V_TB_PO_PageIndexChange" BoxFlex="1" >
<PageItems> <PageItems>
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server"> <f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
</f:ToolbarSeparator> </f:ToolbarSeparator>

Loading…
Cancel
Save