|
|
@ -4,11 +4,11 @@ |
|
|
|
|
|
|
|
<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> |
|
|
|
<form id="form1" runat="server"> |
|
|
|
<form id="form1" runat="server"> |
|
|
|
<f:PageManager runat="server" AutoSizePanelID="Panel1" /> |
|
|
|
<f:Panel ID="Panel1" runat="server" Title="" AutoScroll="True"> |
|
|
|
<Toolbars> |
|
|
@ -17,16 +17,16 @@ |
|
|
|
<f:Button ID="BTN_REFRESH" runat="server" EnablePostBack="True" Text="刷新" Icon="box"> |
|
|
|
</f:Button> |
|
|
|
|
|
|
|
<f:Button ID="btnRelease" runat="server" EnablePostBack="True" OnClick="btnRelease_Click" Text="生成要货看板" Icon="CssAdd" OnClientClick="if(!confirm('是否要发布?'))return false;"> |
|
|
|
<f:Button ID="btnRelease" runat="server" EnablePostBack="True" OnClick="btnRelease_Click" Text="生成要货看板" Icon="CssAdd" OnClientClick="if(!confirm('是否要发布?'))return false;"> |
|
|
|
</f:Button> |
|
|
|
<%-- <f:Button ID="btnCancel" runat="server" EnablePostBack="True" OnClick="btnCancel_Click" Text="取消发布" Icon="CssAdd" OnClientClick="if(!confirm('是否要发布?'))return false;"> |
|
|
|
<%-- <f:Button ID="btnCancel" runat="server" EnablePostBack="True" OnClick="btnCancel_Click" Text="取消发布" Icon="CssAdd" OnClientClick="if(!confirm('是否要发布?'))return false;"> |
|
|
|
</f:Button>--%> |
|
|
|
<%-- <f:Button ID="btnReject" runat="server" EnablePostBack="True" OnClick="btnReject_Click" Text="作废" Icon="CssAdd" OnClientClick="if(!confirm('是否作废该订单?'))return false;"> |
|
|
|
<%-- <f:Button ID="btnReject" runat="server" EnablePostBack="True" OnClick="btnReject_Click" Text="作废" Icon="CssAdd" OnClientClick="if(!confirm('是否作废该订单?'))return false;"> |
|
|
|
</f:Button>--%> |
|
|
|
<%-- <f:Button ID="btnContract" runat="server" EnablePostBack="True" OnClick="btnContract_Click" Text="合同校验" Icon="CssAdd" OnClientClick="if(!confirm('是否作废该订单?'))return false;"> |
|
|
|
<%-- <f:Button ID="btnContract" runat="server" EnablePostBack="True" OnClick="btnContract_Click" Text="合同校验" Icon="CssAdd" OnClientClick="if(!confirm('是否作废该订单?'))return false;"> |
|
|
|
</f:Button> --%> |
|
|
|
<f:Button ID="btnShow" runat="server" Text="显示查询面板" OnClick="btnShow_Click"> |
|
|
|
</f:Button> |
|
|
|
</f:Button> |
|
|
|
</Items> |
|
|
|
</f:Toolbar> |
|
|
|
</Toolbars> |
|
|
@ -35,70 +35,69 @@ |
|
|
|
<Items> |
|
|
|
<f:FormRow runat="server" ColumnWidths="25% 25% 25% 25%"> |
|
|
|
<Items> |
|
|
|
<f:TextBox runat = "server" Label = "订单状态" EmptyText = "" ID = "TXT_State_DESC" /> |
|
|
|
<f:TextBox runat = "server" Label = "订单编号" EmptyText = "" ID = "TXT_PoBillNum" /> |
|
|
|
<f:TextBox runat = "server" Label = "供应商" EmptyText = "" ID = "TXT_VendName" /> |
|
|
|
<f:TextBox runat = "server" Label = "供应商编号" EmptyText = "" ID = "TXT_VendId" /> |
|
|
|
<f:TextBox runat="server" Label="订单状态" EmptyText="" ID="TXT_State_DESC" /> |
|
|
|
<f:TextBox runat="server" Label="订单编号" EmptyText="" ID="TXT_PoBillNum" /> |
|
|
|
<f:TextBox runat="server" Label="供应商" EmptyText="" ID="TXT_VendName" /> |
|
|
|
<f:TextBox runat="server" Label="供应商编号" EmptyText="" ID="TXT_VendId" /> |
|
|
|
</Items> |
|
|
|
</f:FormRow> |
|
|
|
<f:FormRow runat="server" ColumnWidths="33% 33% 33%"> |
|
|
|
<Items> |
|
|
|
|
|
|
|
<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:TextBox runat = "server" Label = "发往地点" EmptyText = "" ID = "TXT_Site" Hidden="true" /> |
|
|
|
<f:DropDownList runat="server" ID="DDL_Site" Label="送货地址" Hidden="true" DataTextField="Address" DataValueField ="Address"> |
|
|
|
<%--<f:ListItem Text="重庆市渝北区石香路5号(重庆厂内)" Value="重庆市渝北区石香路5号(重庆厂内)" /> |
|
|
|
<f:TextBox runat="server" Label="发往地点" EmptyText="" ID="TXT_Site" Hidden="true" /> |
|
|
|
<f:DropDownList runat="server" ID="DDL_Site" Label="送货地址" Hidden="true" DataTextField="Address" DataValueField="Address"> |
|
|
|
<%--<f:ListItem Text="重庆市渝北区石香路5号(重庆厂内)" Value="重庆市渝北区石香路5号(重庆厂内)" /> |
|
|
|
<f:ListItem Text="合肥市包河区卧云路68号宝供物流再包装基地" Value="合肥市包河区卧云路68号宝供物流再包装基地"/> |
|
|
|
<f:ListItem Text="重庆市渝北区石香路(重庆外库)" Value="重庆市渝北区石香路(重庆外库)" /> |
|
|
|
<f:ListItem Text="成都市龙泉驿区经开区车城大道668号" Value="成都市龙泉驿区经开区车城大道668号" /> |
|
|
|
<f:ListItem Text="四川省成都市龙泉驿区龙安路199号" Value="四川省成都市龙泉驿区龙安路199号" />--%> |
|
|
|
</f:DropDownList> |
|
|
|
</f:DropDownList> |
|
|
|
|
|
|
|
<%-- <f:DropDownList ID="DDL_PORT" DataTextField="PORT_DESCRIPTION" DataValueField="PORT_NO" Required="true" runat="server" Label="收货口"> |
|
|
|
<%-- <f:DropDownList ID="DDL_PORT" DataTextField="PORT_DESCRIPTION" DataValueField="PORT_NO" Required="true" runat="server" Label="收货口"> |
|
|
|
</f:DropDownList>--%> |
|
|
|
|
|
|
|
<f:TextBox ID="txtRemark" runat="server" Label="备注" Text=""> |
|
|
|
</f:TextBox> |
|
|
|
<f:TextBox ID="txtRemark" runat="server" Label="备注" Text="" /> |
|
|
|
<f:DatePicker runat="server" Required="true" DateFormatString="yyyy-MM-dd" Label="到货日期" EmptyText="请选择日期" ID="DatePicker2" /> |
|
|
|
|
|
|
|
|
|
|
|
</Items> |
|
|
|
</f:FormRow> |
|
|
|
|
|
|
|
</Items> |
|
|
|
</f:Form> |
|
|
|
<f:GroupPanel runat="server" ID="gp1" Hidden="true" Layout="HBox" > |
|
|
|
<f:GroupPanel runat="server" ID="gp1" Hidden="true" Layout="HBox"> |
|
|
|
<Items> |
|
|
|
<f:Form runat="server" BodyPadding="5px" Width="900px"> |
|
|
|
<Rows> |
|
|
|
<f:FormRow runat="server" ColumnWidths="100%"> |
|
|
|
<Items> |
|
|
|
<f:TextArea LabelAlign="Top" ID="TextArea_PartCode" Label="零件编码 (零件编码之间请用 , 号隔开)" runat="server" Height="100px"> |
|
|
|
</f:TextArea> |
|
|
|
</Items> |
|
|
|
<f:TextArea LabelAlign="Top" ID="TextArea_PartCode" Label="零件编码 (零件编码之间请用 , 号隔开)" runat="server" Height="100px"> |
|
|
|
</f:TextArea> |
|
|
|
</Items> |
|
|
|
</f:FormRow> |
|
|
|
<f:FormRow runat="server"> |
|
|
|
<f:FormRow runat="server"> |
|
|
|
<Items> |
|
|
|
<f:Button runat="server" Text="关闭" ID="BtnClose" OnClick="BtnClose_Click"></f:Button> |
|
|
|
<f:Button ID="BtnSearch" runat="server" OnClick="BtnSearch_Click" Text="查找"> |
|
|
|
</f:Button> |
|
|
|
</Items> |
|
|
|
</f:FormRow> |
|
|
|
</f:FormRow> |
|
|
|
</Rows> |
|
|
|
</f:Form> |
|
|
|
|
|
|
|
</Items> |
|
|
|
</f:GroupPanel> |
|
|
|
<f:HiddenField ID="HF_GRID_INDEX" runat="server"></f:HiddenField> |
|
|
|
<f:Grid ID = "Grid_V_TB_PO_DETAIL" EnableCollapse = "true" ShowBorder = "true" EnableMultiSelect="true" ShowHeader = "true" runat ="server" EnableCheckBoxSelect = "true" EnableTextSelection="true" |
|
|
|
DataKeyNames = "UID,PoBillNum,PoLine,PartCode,PlanQty,ShippedQty,ReceivedQty,RejectQty,BeginTime,EndTime,PoUnit,LocUnit,Price,Currency,PackQty,UnConv,DockCode,State,Remark,CreateTime,CreateUser,UpdateTime,UpdateUser,UpdateInfo,IsDeleted,PartDesc1,CurrencyDesc,ErpBillNum,ModType,Contacter,Site,Buyer,BuyerPhone,VendName,PartDesc2,TempQty,PublishQty,ReceivedPort,PartState" |
|
|
|
SortField="PoLine" |
|
|
|
AllowPaging="True" |
|
|
|
|
|
|
|
AllowCellEditing="true" ClicksToEdit="2" |
|
|
|
IsDatabasePaging="true" PageSize="100" OnPageIndexChange="Grid_V_TB_PO_DETAIL_PageIndexChange" |
|
|
|
OnRowDataBound="Grid_V_TB_PO_DETAIL_RowDataBound" |
|
|
|
> |
|
|
|
<PageItems> |
|
|
|
<f:HiddenField ID="HF_GRID_INDEX" runat="server"></f:HiddenField> |
|
|
|
<f:Grid ID="Grid_V_TB_PO_DETAIL" EnableCollapse="true" ShowBorder="true" EnableMultiSelect="true" ShowHeader="true" runat="server" EnableCheckBoxSelect="true" EnableTextSelection="true" |
|
|
|
DataKeyNames="UID,PoBillNum,PoLine,PartCode,PlanQty,ShippedQty,ReceivedQty,RejectQty,BeginTime,EndTime,PoUnit,LocUnit,Price,Currency,PackQty,UnConv,DockCode,State,Remark,CreateTime,CreateUser,UpdateTime,UpdateUser,UpdateInfo,IsDeleted,PartDesc1,CurrencyDesc,ErpBillNum,ModType,Contacter,Site,Buyer,BuyerPhone,VendName,PartDesc2,TempQty,PublishQty,ReceivedPort,PartState" |
|
|
|
SortField="PoLine" |
|
|
|
AllowPaging="True" |
|
|
|
AllowCellEditing="true" ClicksToEdit="2" |
|
|
|
IsDatabasePaging="true" PageSize="100" OnPageIndexChange="Grid_V_TB_PO_DETAIL_PageIndexChange" |
|
|
|
OnRowDataBound="Grid_V_TB_PO_DETAIL_RowDataBound"> |
|
|
|
<PageItems> |
|
|
|
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server"> |
|
|
|
</f:ToolbarSeparator> |
|
|
|
<f:ToolbarText ID="ToolbarText1" runat="server" Text="每页记录数:"> |
|
|
@ -108,77 +107,76 @@ |
|
|
|
|
|
|
|
<f:ListItem Text="100" Value="100" /> |
|
|
|
<f:ListItem Text="500" Value="500" /> |
|
|
|
<f:ListItem Text="800" Value="800" /> |
|
|
|
<f:ListItem Text="1000" Value="1000" /> |
|
|
|
<f:ListItem Text="800" Value="800" /> |
|
|
|
<f:ListItem Text="1000" Value="1000" /> |
|
|
|
</f:DropDownList> |
|
|
|
</PageItems> |
|
|
|
<Columns> |
|
|
|
|
|
|
|
<%--<f:BoundField Width = "100px" DataField = "PoBillNum" DataFormatString = "{0}" HeaderText = "订单号" />--%> |
|
|
|
<f:BoundField Width="50px" DataField="State_DESC" HeaderText="状态"></f:BoundField> |
|
|
|
<f:BoundField Width="80px" DataField="ProjectId" HeaderText="项目编号"></f:BoundField> |
|
|
|
<f:BoundField Width = "50px" DataField = "PoLine" DataFormatString = "{0}" HeaderText = "行号" /> |
|
|
|
<f:BoundField Width = "100px" DataField = "PartDesc1" DataFormatString = "{0}" HeaderText = "零件名称" /> |
|
|
|
<f:BoundField Width = "80px" DataField = "PartCode" DataFormatString = "{0}" HeaderText = "零件编码" /> |
|
|
|
<%--<f:TemplateField HeaderText="要货数量" Width="70px"> |
|
|
|
</PageItems> |
|
|
|
<Columns> |
|
|
|
|
|
|
|
<%--<f:BoundField Width = "100px" DataField = "PoBillNum" DataFormatString = "{0}" HeaderText = "订单号" />--%> |
|
|
|
<f:BoundField Width="50px" DataField="State_DESC" HeaderText="状态"></f:BoundField> |
|
|
|
<f:BoundField Width="80px" DataField="ProjectId" HeaderText="项目编号"></f:BoundField> |
|
|
|
<f:BoundField Width="50px" DataField="PoLine" DataFormatString="{0}" HeaderText="行号" /> |
|
|
|
<f:BoundField Width="100px" DataField="PartDesc1" DataFormatString="{0}" HeaderText="零件名称" /> |
|
|
|
<f:BoundField Width="80px" DataField="PartCode" DataFormatString="{0}" HeaderText="零件编码" /> |
|
|
|
<%--<f:TemplateField HeaderText="要货数量" Width="70px"> |
|
|
|
<ItemTemplate> |
|
|
|
<asp:TextBox ID="NB_PublishNum" runat="server" Width="60px" Text="0"></asp:TextBox> |
|
|
|
</ItemTemplate> |
|
|
|
</f:TemplateField>--%> |
|
|
|
|
|
|
|
<f:RenderField Width="100px" ColumnID="PublishQty" DataField="PublishQty" FieldType="Float" |
|
|
|
HeaderText="要货数量"> |
|
|
|
<Editor> |
|
|
|
<f:NumberBox ID="NB_PublishNum" runat="server" MinValue="0" |
|
|
|
MaxValue="99999999" DecimalPrecision="3" > |
|
|
|
</f:NumberBox> |
|
|
|
</Editor> |
|
|
|
</f:RenderField> |
|
|
|
|
|
|
|
|
|
|
|
<f:BoundField Width = "80px" DataField = "PlanQty" DataFormatString = "{0:F}" HeaderText = "订单数量" /> |
|
|
|
<f:BoundField Width = "100px" DataField = "TempQty" DataFormatString = "{0:F}" HeaderText = "已要数量" /> |
|
|
|
|
|
|
|
|
|
|
|
<f:RenderField Width="100px" ColumnID="ReceivedPort" DataField="ReceivedPort_Desc" FieldType="String" |
|
|
|
RendererFunction="renderPort" HeaderText="收货口" Hidden="true"> |
|
|
|
<Editor> |
|
|
|
<f:DropDownList ID="DDL_ReceivedPort" DataTextField="PORT_DESCRIPTION" DataValueField="PORT_NO" Required="true" runat="server"> |
|
|
|
|
|
|
|
</f:DropDownList> |
|
|
|
</Editor> |
|
|
|
</f:RenderField> |
|
|
|
|
|
|
|
<f:RenderField Width="120px" ColumnID="EndTime" DataField="EndTime" FieldType="Date" |
|
|
|
Renderer="Date" RendererArgument="yyyy-MM-dd" HeaderText="到货日期"> |
|
|
|
<Editor> |
|
|
|
<f:DatePicker ID="DatePicker1" Required="true" runat="server"> |
|
|
|
</f:DatePicker> |
|
|
|
</Editor> |
|
|
|
</f:RenderField> |
|
|
|
<f:BoundField Width = "50px" DataField = "PoUnit" DataFormatString = "{0}" Hidden="true" HeaderText = "单位" /> |
|
|
|
|
|
|
|
|
|
|
|
<%-- <f:BoundField Width = "80px" DataField = "Price" DataFormatString = "{0}" HeaderText = "价格" Hidden="true"/> --%> |
|
|
|
<f:RenderField Width="100px" ColumnID="Price" DataField = "Price" FieldType="Float" Hidden="true" |
|
|
|
HeaderText="价格"> |
|
|
|
<Editor> |
|
|
|
<f:NumberBox ID="NumberBox1" runat="server" MinValue="0" |
|
|
|
MaxValue="99999999" DecimalPrecision="3" > |
|
|
|
</f:NumberBox> |
|
|
|
</Editor> |
|
|
|
</f:RenderField> |
|
|
|
|
|
|
|
|
|
|
|
<f:BoundField Width = "100px" DataField = "CurrencyDesc" DataFormatString = "{0}" HeaderText = "币种" Hidden="true" /> |
|
|
|
<f:RenderField Width = "150px" ColumnID="Remark" DataField="Remark" HeaderText="备注" > |
|
|
|
<Editor> |
|
|
|
<f:TextBox ID="TextBox1" runat="server" MaxLength="20" > |
|
|
|
</f:TextBox> |
|
|
|
</Editor> |
|
|
|
</f:RenderField> |
|
|
|
</Columns> |
|
|
|
</f:Grid> |
|
|
|
<f:RenderField Width="100px" ColumnID="PublishQty" DataField="PublishQty" FieldType="Float" |
|
|
|
HeaderText="要货数量"> |
|
|
|
<Editor> |
|
|
|
<f:NumberBox ID="NB_PublishNum" runat="server" MinValue="0" |
|
|
|
MaxValue="99999999" DecimalPrecision="3"> |
|
|
|
</f:NumberBox> |
|
|
|
</Editor> |
|
|
|
</f:RenderField> |
|
|
|
|
|
|
|
|
|
|
|
<f:BoundField Width="80px" DataField="PlanQty" DataFormatString="{0:F}" HeaderText="订单数量" /> |
|
|
|
<f:BoundField Width="100px" DataField="TempQty" DataFormatString="{0:F}" HeaderText="已要数量" /> |
|
|
|
|
|
|
|
|
|
|
|
<f:RenderField Width="100px" ColumnID="ReceivedPort" DataField="ReceivedPort_Desc" FieldType="String" |
|
|
|
RendererFunction="renderPort" HeaderText="收货口" Hidden="true"> |
|
|
|
<Editor> |
|
|
|
<f:DropDownList ID="DDL_ReceivedPort" DataTextField="PORT_DESCRIPTION" DataValueField="PORT_NO" Required="true" runat="server"> |
|
|
|
</f:DropDownList> |
|
|
|
</Editor> |
|
|
|
</f:RenderField> |
|
|
|
|
|
|
|
<f:RenderField Width="120px" ColumnID="EndTime" DataField="EndTime" FieldType="Date" |
|
|
|
Renderer="Date" RendererArgument="yyyy-MM-dd" HeaderText="到货日期"> |
|
|
|
<Editor> |
|
|
|
<f:DatePicker ID="DatePicker1" Required="true" runat="server"> |
|
|
|
</f:DatePicker> |
|
|
|
</Editor> |
|
|
|
</f:RenderField> |
|
|
|
<f:BoundField Width="50px" DataField="PoUnit" DataFormatString="{0}" Hidden="true" HeaderText="单位" /> |
|
|
|
|
|
|
|
|
|
|
|
<%-- <f:BoundField Width = "80px" DataField = "Price" DataFormatString = "{0}" HeaderText = "价格" Hidden="true"/> --%> |
|
|
|
<f:RenderField Width="100px" ColumnID="Price" DataField="Price" FieldType="Float" Hidden="true" |
|
|
|
HeaderText="价格"> |
|
|
|
<Editor> |
|
|
|
<f:NumberBox ID="NumberBox1" runat="server" MinValue="0" |
|
|
|
MaxValue="99999999" DecimalPrecision="3"> |
|
|
|
</f:NumberBox> |
|
|
|
</Editor> |
|
|
|
</f:RenderField> |
|
|
|
|
|
|
|
|
|
|
|
<f:BoundField Width="100px" DataField="CurrencyDesc" DataFormatString="{0}" HeaderText="币种" Hidden="true" /> |
|
|
|
<f:RenderField Width="150px" ColumnID="Remark" DataField="Remark" HeaderText="备注"> |
|
|
|
<Editor> |
|
|
|
<f:TextBox ID="TextBox1" runat="server" MaxLength="20"> |
|
|
|
</f:TextBox> |
|
|
|
</Editor> |
|
|
|
</f:RenderField> |
|
|
|
</Columns> |
|
|
|
</f:Grid> |
|
|
|
</Items> |
|
|
|
</f:Panel> |
|
|
|
<f:Window runat="server" ID="Window1" Hidden="True" |
|
|
|