|
|
@ -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> |
|
|
@ -35,19 +35,19 @@ |
|
|
|
<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: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="重庆市渝北区石香路(重庆外库)" /> |
|
|
@ -58,15 +58,16 @@ |
|
|
|
<%-- <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> |
|
|
@ -89,15 +90,13 @@ |
|
|
|
</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" |
|
|
|
<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" |
|
|
|
> |
|
|
|
OnRowDataBound="Grid_V_TB_PO_DETAIL_RowDataBound"> |
|
|
|
<PageItems> |
|
|
|
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server"> |
|
|
|
</f:ToolbarSeparator> |
|
|
@ -117,9 +116,9 @@ |
|
|
|
<%--<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: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> |
|
|
@ -130,21 +129,20 @@ |
|
|
|
HeaderText="要货数量"> |
|
|
|
<Editor> |
|
|
|
<f:NumberBox ID="NB_PublishNum" runat="server" MinValue="0" |
|
|
|
MaxValue="99999999" DecimalPrecision="3" > |
|
|
|
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: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> |
|
|
@ -156,24 +154,24 @@ |
|
|
|
</f:DatePicker> |
|
|
|
</Editor> |
|
|
|
</f:RenderField> |
|
|
|
<f:BoundField Width = "50px" DataField = "PoUnit" DataFormatString = "{0}" Hidden="true" HeaderText = "单位" /> |
|
|
|
<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" |
|
|
|
<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" > |
|
|
|
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="备注" > |
|
|
|
<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 ID="TextBox1" runat="server" MaxLength="20"> |
|
|
|
</f:TextBox> |
|
|
|
</Editor> |
|
|
|
</f:RenderField> |
|
|
|