|
|
@ -37,7 +37,7 @@ |
|
|
|
<body> |
|
|
|
<form id="form1" runat="server"> |
|
|
|
<f:PageManager runat="server" AutoSizePanelID="Panel1" /> |
|
|
|
<f:Panel ID="Panel1" runat="server" Title="" AutoScroll="True" Layout="Column"> |
|
|
|
<f:Panel ID="Panel1" runat="server" Title="" AutoScroll="True" Layout="VBox" > |
|
|
|
<Toolbars> |
|
|
|
<f:Toolbar ID="Toolbar2" runat="server"> |
|
|
|
<Items> |
|
|
@ -67,49 +67,61 @@ |
|
|
|
</f:Toolbar> |
|
|
|
</Toolbars> |
|
|
|
<Items> |
|
|
|
<f:Form runat="server" ColumnWidth="100%" ID="gp1" Hidden="true"> |
|
|
|
<f:Form runat="server" Margin="5" ID="gp1" Hidden="true" BodyPadding ="5"> |
|
|
|
<Rows> |
|
|
|
<f:FormRow runat="server" ColumnWidths="25% 25% 25% 25%"> |
|
|
|
<f:FormRow runat="server" ColumnWidths="33% 33% 33%"> |
|
|
|
<Items> |
|
|
|
<f:TextBox runat = "server" Label = "订单编号" EmptyText = "" ID = "TXT_BillNo" /> |
|
|
|
<f:DropDownList runat="server" ID="DropDownList1" Label="地点" DataTextField="FactoryName" DataValueField=" ErpDomain"> |
|
|
|
</f:DropDownList> |
|
|
|
<%-- <f:TextBox runat = "server" Label = "子网站" EmptyText = "" ID = "TxT_SubSite" />--%> |
|
|
|
<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_Vendid" /> |
|
|
|
<f:TextBox runat = "server" Label = "供应商名称" EmptyText = "" ID = "TXT_VendName" /> |
|
|
|
<f:TextBox runat = "server" Label = "项目编码" EmptyText = "" ID = "TXT_ProjectId" /> |
|
|
|
<f:TextBox runat = "server" Label = "供应商编码" EmptyText = "" ID = "TXT_Vendid" /> |
|
|
|
</Items> |
|
|
|
</f:FormRow> |
|
|
|
</f:FormRow> |
|
|
|
<f:FormRow runat="server" ColumnWidths="33% 33% 33%"> |
|
|
|
<Items> |
|
|
|
<f:TextBox runat = "server" Label = "供应商名称" EmptyText = "" ID = "TXT_VendName" /> |
|
|
|
<f:TextBox runat = "server" Label = "项目编码" EmptyText = "" ID = "TXT_ProjectId" /> |
|
|
|
<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> |
|
|
|
</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_StartDate" /> |
|
|
|
<f:DatePicker runat="server" Required ="true" DateFormatString="yyyy-MM-dd" Label="至" EmptyText="请选择日期" ID="DP_EndDate" /> |
|
|
|
<f:TextBox runat="server" Required ="true" 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> |
|
|
|
</f:FormRow> |
|
|
|
<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:FormRow runat="server" > |
|
|
|
<Items> |
|
|
|
<f:Panel ID="Panel5" runat="server" ShowBorder="false" CssClass="mypanel" ShowHeader="false"> |
|
|
|
<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 ID="BtnSearchDetail" runat="server" OnClick="BtnSearchDetail_Click" Text="快速查找订单明细"> |
|
|
|
<f:Button ID="BtnSearchDetail" runat="server" OnClick="BtnSearchDetail_Click" Text="快速查找订单明细" Margin="5" > |
|
|
|
</f:Button> |
|
|
|
</Items> |
|
|
|
</f:Panel> |
|
|
|
|
|
|
|
</Items> |
|
|
|
</f:FormRow> |
|
|
|
</Rows> |
|
|
|
</f:Form> |
|
|
|
<f:Grid ID = "Grid_V_TB_PO" ColumnWidth="45%" PageSize="50" EnableCollapse = "true" ShowBorder = "true" ShowHeader = "true" runat ="server" EnableCheckBoxSelect = "true" DataKeyNames = "UID,PoBillNum,ErpBillNum,VendId,ModType,Contacter,Site,Buyer,BuyerPhone,State,Remark,CreateTime,CreateUser,UpdateTime,UpdateUser,UpdateInfo,IsDeleted,VendName,State_DESC,ModType_DESC" |
|
|
|
<f:Panel ID="Panel2" |
|
|
|
runat="server" BodyPadding="0px" ShowBorder="true" BoxFlex="1" ShowHeader="false" Layout="HBox" AutoScroll="True"> |
|
|
|
<Items> |
|
|
|
<f:Panel ID="Panel3" |
|
|
|
runat="server" BodyPadding="0px" ShowBorder="true" ShowHeader="false" BoxFlex="1" Layout="VBox" AutoScroll="True" > |
|
|
|
<Items> |
|
|
|
<f:Grid ID = "Grid_V_TB_PO" ColumnWidth="45%" PageSize="50" ShowBorder = "true" ShowHeader = "true" runat ="server" EnableCheckBoxSelect = "true" 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" |
|
|
|
IsDatabasePaging="True" AllowPaging="True" OnRowSelect="Grid_V_TB_PO_RowSelect" EnableRowSelectEvent="true" |
|
|
|
AutoScroll="True" SortDirection="DESC" OnPageIndexChange="Grid_V_TB_PO_PageIndexChange" > |
|
|
|
AutoScroll="True" SortDirection="DESC" OnPageIndexChange="Grid_V_TB_PO_PageIndexChange" BoxFlex="1" > |
|
|
|
<PageItems> |
|
|
|
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server"> |
|
|
|
</f:ToolbarSeparator> |
|
|
@ -138,12 +150,17 @@ |
|
|
|
<%--<f:BoundField Width = "100px" DataField = "BuyerPhone" DataFormatString = "{0}" HeaderText = "收货电话" />--%> |
|
|
|
</Columns> |
|
|
|
</f:Grid> |
|
|
|
</Items> |
|
|
|
</f:Panel> |
|
|
|
<f:Panel ID="Panel4" |
|
|
|
runat="server" BodyPadding="0px" ShowBorder="true" ShowHeader="false" Layout="VBox" BoxFlex="1" > |
|
|
|
<Items> |
|
|
|
<f:Grid ID = "Grid_V_TB_PO_DETAIL" ShowBorder = "true" EnableMultiSelect="true" ShowHeader = "true" runat ="server" |
|
|
|
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" |
|
|
|
SortField="PoLine" |
|
|
|
AllowPaging="True" |
|
|
|
ColumnWidth="55%" SortDirection="DESC" |
|
|
|
IsDatabasePaging="true" PageSize="500" > |
|
|
|
PageSize="500" BoxFlex="1" > |
|
|
|
<Columns> |
|
|
|
<f:BoundField Width = "80px" DataField="ProjectId" HeaderText="项目编号"></f:BoundField> |
|
|
|
<f:BoundField Width = "40px" DataField = "PoLine" DataFormatString = "{0}" HeaderText = "行号" /> |
|
|
@ -158,8 +175,13 @@ |
|
|
|
<f:BoundField Width = "50px" DataField = "PoUnit" DataFormatString = "{0}" Hidden="true" HeaderText = "单位" /> |
|
|
|
</Columns> |
|
|
|
</f:Grid> |
|
|
|
</Items> |
|
|
|
</Items> |
|
|
|
</f:Panel> |
|
|
|
|
|
|
|
</Items> |
|
|
|
</f:Panel> |
|
|
|
|
|
|
|
</Items> |
|
|
|
</f:Panel> |
|
|
|
<f:Window runat="server" ID="Window1" Hidden="True" Height="600px" Width="950px" AutoScroll="True" OnClose="Window1_Close" |
|
|
|
WindowPosition="Center" IsModal="true" Title="明细详情" Target="Parent" EnableIFrame="true" |
|
|
|