Browse Source

委外采购订单添加查询条件

master
lvzb 1 year ago
parent
commit
e3148a73b7
  1. 23
      SCP/Views/富维本特勒/SCP_PO_EXTEND.aspx
  2. 2
      SCP/Views/富维本特勒/SCP_PO_EXTEND.aspx.cs
  3. 16
      SCP/Views/富维本特勒/SCP_PO_EXTEND.aspx.designer.cs

23
SCP/Views/富维本特勒/SCP_PO_EXTEND.aspx

@ -68,37 +68,32 @@
<f:TextBox runat = "server" Label = "子网站" EmptyText = "" ID = "TXT_Extend1" 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_Extend2" Hidden="true"/>
<f:TextBox runat = "server" Label = "子网站" EmptyText = "" ID = "TXT_Extend3" Hidden="true" /> <f:TextBox runat = "server" Label = "子网站" EmptyText = "" ID = "TXT_Extend3" Hidden="true" />
<f:DropDownList ID="ddl_Vender" runat="server" Label="供应商" EnableEdit="true" Hidden="true" ></f:DropDownList> <f:TextBox runat = "server" Label ="供应商" EmptyText = "" ID="ddlVender" />
<f:TextBox runat = "server" Label = "项目编码" EmptyText = "" ID = "TXT_ProjectId" /> <f:TextBox runat = "server" Label = "项目编码" EmptyText = "" ID = "TXT_ProjectId" />
<f:TextBox runat="server" Label="物料号码" EmptyText = "" ID="TXT_PartCode" /> <f:TextBox runat="server" Label="物料号码" EmptyText = "" ID="TXT_PartCode" />
<f:DropDownList runat="server" ID="DDL_State" Label="状态">
<f:ListItem Text="-" Value=""/>
<f:ListItem Text="关闭" Value="0" />
<f:ListItem Text="开放" Value="1" />
</f:DropDownList>
</Items> </Items>
</f:FormRow> </f:FormRow>
<f:FormRow runat="server" ColumnWidths="33% 33% 33%"> <f:FormRow runat="server" ColumnWidths="25% 25% 25% 25%">
<Items> <Items>
<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" />
<f:DatePicker runat="server" Required ="true" DateFormatString="yyyy-MM-dd" Label="至" EmptyText="请选择日期" ID="DP_EndDate" /> <f:DatePicker runat="server" Required ="true" DateFormatString="yyyy-MM-dd" Label="至" EmptyText="请选择日期" ID="DP_EndDate" />
<f:DropDownList runat="server" ID="DDL_State" Label="状态">
<f:ListItem Text="-" Value=""/>
<f:ListItem Text="关闭" Value="0" />
<f:ListItem Text="开放" Value="1" />
</f:DropDownList>
<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_BeginTime_End" /> <f:DatePicker runat="server" Required ="true" DateFormatString="yyyy-MM-dd" Label="至" EmptyText="请选择日期" ID="DP_BeginTime_End" />
</Items> </Items>
</f:FormRow> </f:FormRow>
<f:FormRow runat="server" ColumnWidths="33% 33% 33%"> <f:FormRow runat="server">
<Items> <Items>
<f:Button runat="server" Text="关闭" ID="BtnClose" OnClick="BtnClose_Click"></f:Button> <f:Button runat="server" Text="关闭" ID="BtnClose" OnClick="BtnClose_Click"></f:Button>
<f:Button ID="BtnSearch" runat="server" OnClick="BtnSearch_Click" Text="快速查找订单"> </f:Button> <f:Button ID="BtnSearch" runat="server" OnClick="BtnSearch_Click" Text="快速查找订单"> </f:Button>
<%-- <f:DropDownList runat="server" ID="DropDownList1" Label="零件状态">
<f:ListItem Text="-" Value=""/>
<f:ListItem Text="开发" Value="0" />
<f:ListItem Text="关闭" Value="1" />
</f:DropDownList> --%>
<f:Button ID="BtnSearchDetail" runat="server" OnClick="BtnSearchDetail_Click" Text="快速查找订单明细" Hidden="true"> <f:Button ID="BtnSearchDetail" runat="server" OnClick="BtnSearchDetail_Click" Text="快速查找订单明细" Hidden="true">
</f:Button> </f:Button>
</Items> </Items>

2
SCP/Views/富维本特勒/SCP_PO_EXTEND.aspx.cs

@ -81,7 +81,7 @@ namespace SCP.Views.富维本特勒
{ {
_entity.EndTime_End = DP_EndDate.SelectedDate; _entity.EndTime_End = DP_EndDate.SelectedDate;
} }
_entity.VendId = ddl_Vender.SelectedValue; _entity.VendId = ddlVender.Text;
_entity.PoBillNum = TXT_BillNo.Text; _entity.PoBillNum = TXT_BillNo.Text;
_entity.ErpBillNum = TXT_ProjectId.Text; _entity.ErpBillNum = TXT_ProjectId.Text;
if (!string.IsNullOrEmpty(rblist.SelectedValue)) if (!string.IsNullOrEmpty(rblist.SelectedValue))

16
SCP/Views/富维本特勒/SCP_PO_EXTEND.aspx.designer.cs

@ -195,13 +195,13 @@ namespace SCP.Views.富维本特勒
protected global::FineUI.TextBox TXT_Extend3; protected global::FineUI.TextBox TXT_Extend3;
/// <summary> /// <summary>
/// ddl_Vender 控件。 /// ddlVender 控件。
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUI.DropDownList ddl_Vender; protected global::FineUI.TextBox ddlVender;
/// <summary> /// <summary>
/// TXT_ProjectId 控件。 /// TXT_ProjectId 控件。
@ -222,31 +222,31 @@ namespace SCP.Views.富维本特勒
protected global::FineUI.TextBox TXT_PartCode; protected global::FineUI.TextBox TXT_PartCode;
/// <summary> /// <summary>
/// DDL_State 控件。 /// DP_StartDate 控件。
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUI.DropDownList DDL_State; protected global::FineUI.DatePicker DP_StartDate;
/// <summary> /// <summary>
/// DP_StartDate 控件。 /// DP_EndDate 控件。
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUI.DatePicker DP_StartDate; protected global::FineUI.DatePicker DP_EndDate;
/// <summary> /// <summary>
/// DP_EndDate 控件。 /// DDL_State 控件。
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUI.DatePicker DP_EndDate; protected global::FineUI.DropDownList DDL_State;
/// <summary> /// <summary>
/// DP_BeginTime 控件。 /// DP_BeginTime 控件。

Loading…
Cancel
Save