Browse Source

要货未完成

master
TML 4 years ago
parent
commit
13bd049659
  1. 50
      SCP/Views/PlanData/SCP_INCOMPLETE_ASK.aspx
  2. 18
      SCP/Views/PlanData/SCP_INCOMPLETE_ASK.aspx.cs
  3. 38
      SCP/Views/PlanData/SCP_INCOMPLETE_ASK.aspx.designer.cs
  4. 2
      SCP/Views/重庆北汽模塑/PlanData/SCP_ASK.aspx
  5. 4
      SCP/default.aspx

50
SCP/Views/PlanData/SCP_INCOMPLETE_ASK.aspx

@ -4,7 +4,7 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
</head>
<body>
@ -23,7 +23,7 @@
<f:Button ID="btnOutput" runat="server" Text="导出" OnClick="btnOutput_Click" Icon="PageExcel">
</f:Button>
<f:TextBox ID="txt_Planner" runat="server" Hidden="true" Text="计划员姓名"></f:TextBox>
<f:Button ID="btn_planner" runat="server" Text="查询计划员" Hidden="true" Icon="Find" OnClick="btn_planner_Click" ></f:Button>
<f:Button ID="btn_planner" runat="server" Text="查询计划员" Hidden="true" Icon="Find" OnClick="btn_planner_Click"></f:Button>
</Items>
</f:Toolbar>
@ -31,7 +31,7 @@
</f:Form>
<f:Form BodyPadding="10px" Height="130px" ID="extForm1"
runat="server" Title="" ShowHeader="false" >
runat="server" Title="" ShowHeader="false">
<Rows>
<f:FormRow ColumnWidths="33% 33% 33%" ID="FormRow_1" runat="server">
<Items>
@ -52,24 +52,14 @@
</f:TextBox>
<f:TextBox runat="server" Label="零件名称" ID="TextPartName">
</f:TextBox>
<f:TextBox runat="server" Label="子网站" ID="TextSubSite" Hidden="true">
</f:TextBox>
<f:TextBox runat="server" Label="子网站" ID="TextExtend1" Hidden="true">
</f:TextBox>
<f:TextBox runat="server" Label="子网站" ID="TextExtend2" Hidden="true">
</f:TextBox>
<f:TextBox runat="server" Label="子网站" ID="TextExtend3" Hidden="true">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="25% 25% 25% 25%" ID="FormRow_3" runat="server">
<f:FormRow ColumnWidths="33% 33% 33%" ID="FormRow_3" runat="server">
<Items>
<f:TextBox runat="server" Label="供应商编码" ID="TextVendId">
</f:TextBox>
<f:Button runat="server" ID="btnQuery" Text="查询" OnClick="btnSearch_Click"></f:Button>
<%-- <f:DropDownList ID="ddl_DayState" runat="server" Label="发货预警">
<f:ListItem Text="全部" Value="-1" Selected="true"/>
<f:DropDownList ID="ddl_DayState" runat="server" Label="发货预警">
<f:ListItem Text="全部" Value="-1" Selected="true" />
<f:ListItem Text="已超期" Value="0" />
<f:ListItem Text="1天" Value="1" />
<f:ListItem Text="2天" Value="2" />
@ -81,21 +71,25 @@
<f:ListItem Text="8天" Value="8" />
<f:ListItem Text="9天" Value="9" />
<f:ListItem Text="10天" Value="10" />
</f:DropDownList>--%>
</f:DropDownList>
<f:RadioButtonList ID="rb_SendState" Label="发货状态" runat="server">
<f:RadioItem Text="全部" Value="0" />
<f:RadioItem Text="未发货" Value="1" Selected="true"/>
<f:RadioItem Text="未发货" Value="1" Selected="true" />
<f:RadioItem Text="已发货" Value="2" />
</f:RadioButtonList>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="33% 33% 33%" ID="FormRow1" runat="server">
<Items>
<f:Button runat="server" ID="btnQuery" Text="查询" OnClick="btnSearch_Click"></f:Button>
</Items>
</f:FormRow>
</Rows>
</f:Form>
<f:Grid ID="GridINCOM" ShowBorder="true" ShowHeader="true" PageSize="100" BoxFlex="1" CssClass="maingrid"
runat="server" DataKeyNames="PoBillNum,AskBillNum,PartCode,PartDesc1,PoLine,AskQty,Qty,Number,ValidityDays,SubSite,Extend1,Extend2,Extend3"
IsDatabasePaging="true" AllowPaging="true" SortField="BeginTime" SortDirection="DESC" OnPageIndexChange="Grid_V_TB_INCOMPLETE_ASK_PageIndexChange"
AutoScroll="True" EnableRowDoubleClickEvent="True" >
AutoScroll="True" EnableRowDoubleClickEvent="True">
<PageItems>
<f:ToolbarSeparator ID="ToolbarSeparator2" runat="server">
</f:ToolbarSeparator>
@ -120,15 +114,15 @@
<f:BoundField runat="server" HeaderText="未发货数量" ColumnID="" DataField="Number" />
<f:BoundField runat="server" HeaderText="计划员" ColumnID="" DataField="Buyer" />
<f:BoundField Width = "100px" DataField = "BeginTime" DataFormatString = "{0:yyyy-MM-dd}" HeaderText = "订货日期" />
<f:BoundField Width = "100px" DataField = "EndTime" DataFormatString = "{0:yyyy-MM-dd}" HeaderText = "到货日期" />
<f:BoundField Width = "100px" DataField = "ShipTime" DataFormatString = "{0:yyyy-MM-dd}" HeaderText = "最后发货日期" />
<f:BoundField Width="100px" DataField="BeginTime" DataFormatString="{0:yyyy-MM-dd}" HeaderText="订货日期" />
<f:BoundField Width="100px" DataField="EndTime" DataFormatString="{0:yyyy-MM-dd}" HeaderText="到货日期" />
<f:BoundField Width="100px" DataField="ShipTime" DataFormatString="{0:yyyy-MM-dd}" HeaderText="最后发货日期" />
<f:BoundField Width = "100px" DataField = "ValidityDays" HeaderText = "距到货日期(天)" />
<f:BoundField Width = "100px" DataField = "SubSite" HeaderText = "子网站" />
<f:BoundField Width = "100px" DataField = "Extend1" HeaderText = "子网站" Hidden="true"/>
<f:BoundField Width = "100px" DataField = "Extend2" HeaderText = "子网站" Hidden="true"/>
<f:BoundField Width = "100px" DataField = "Extend3" HeaderText = "子网站" Hidden="true" />
<f:BoundField Width="100px" DataField="ValidityDays" HeaderText="距到货日期(天)" />
<f:BoundField Width="100px" DataField="SubSite" HeaderText="子网站" />
<f:BoundField Width="100px" DataField="Extend1" HeaderText="子网站" Hidden="true" />
<f:BoundField Width="100px" DataField="Extend2" HeaderText="子网站" Hidden="true" />
<f:BoundField Width="100px" DataField="Extend3" HeaderText="子网站" Hidden="true" />
</Columns>
</f:Grid>

18
SCP/Views/PlanData/SCP_INCOMPLETE_ASK.aspx.cs

@ -90,22 +90,6 @@ namespace SCP.PlanData
{
_entity.PartDesc1 = TextPartName.Text;
}
if (TextSubSite.Text != null)
{
_entity.SubSite = TextSubSite.Text;
}
if (TextExtend1.Text != null)
{
_entity.Extend1 = TextExtend1.Text;
}
if (TextExtend2.Text != null)
{
_entity.Extend2 = TextExtend2.Text;
}
if (TextExtend3.Text != null)
{
_entity.Extend3 = TextExtend3.Text;
}
if (!string.IsNullOrEmpty(CurrentUser.Name))
{
if (CurrentUser.Name != "admin")
@ -137,7 +121,7 @@ namespace SCP.PlanData
}
}
_entity.SendState = int.Parse(rb_SendState.SelectedValue);
//_entity.DayState = int.Parse(ddl_DayState.SelectedValue);
_entity.DayState = int.Parse(ddl_DayState.SelectedValue);
_entity.IsDeleted = false;
_entity.UserInAddress = CurrentUser.FactoryList;
_entity.UserInVendIds = CurrentUser.VenderList;

38
SCP/Views/PlanData/SCP_INCOMPLETE_ASK.aspx.designer.cs

@ -186,58 +186,49 @@ namespace SCP.PlanData
protected global::FineUI.TextBox TextPartName;
/// <summary>
/// TextSubSite 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.TextBox TextSubSite;
/// <summary>
/// TextExtend1 控件。
/// FormRow_3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.TextBox TextExtend1;
protected global::FineUI.FormRow FormRow_3;
/// <summary>
/// TextExtend2 控件。
/// TextVendId 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.TextBox TextExtend2;
protected global::FineUI.TextBox TextVendId;
/// <summary>
/// TextExtend3 控件。
/// ddl_DayState 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.TextBox TextExtend3;
protected global::FineUI.DropDownList ddl_DayState;
/// <summary>
/// FormRow_3 控件。
/// rb_SendState 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.FormRow FormRow_3;
protected global::FineUI.RadioButtonList rb_SendState;
/// <summary>
/// TextVendId 控件。
/// FormRow1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.TextBox TextVendId;
protected global::FineUI.FormRow FormRow1;
/// <summary>
/// btnQuery 控件。
@ -248,15 +239,6 @@ namespace SCP.PlanData
/// </remarks>
protected global::FineUI.Button btnQuery;
/// <summary>
/// rb_SendState 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.RadioButtonList rb_SendState;
/// <summary>
/// GridINCOM 控件。
/// </summary>

2
SCP/Views/重庆北汽模塑/PlanData/SCP_ASK.aspx

@ -30,7 +30,7 @@
<f:Button ID="btnDetail" runat="server" Text="明细" Icon="Find" OnClick="btnDetail_Click">
</f:Button>
<f:ToolbarSeparator runat="server" />
<f:Button ID="btnCreateAsk" runat="server" Text="创建要货看板" Icon="Add" OnClick="btnCreateAsk_Click">
<f:Button ID="btnCreateAsk" runat="server" Text="创建要货看板" Icon="Add" OnClick="btnCreateAsk_Click" Hidden="true">
</f:Button>
<%-- <f:ToolbarSeparator runat="server" />

4
SCP/default.aspx

@ -111,10 +111,10 @@
for (var i = 0; obj.options.length; i++)
{
if ('JZ1' == obj.options[i].value) {
if ('CQBMPT' == obj.options[i].value) {
obj.options[i].selected = true;
_factory = document.getElementById(_factoryValue);
_factory.value = 'JZ1';
_factory.value = 'CQBMPT';
}
}
}

Loading…
Cancel
Save