|
|
@ -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> |
|
|
@ -12,7 +12,7 @@ |
|
|
|
|
|
|
|
<form id="form1" runat="server"> |
|
|
|
<f:PageManager runat="server" AutoSizePanelID="Panel1" /> |
|
|
|
<f:Panel ID="Panel1" runat="server" Title="" Layout="VBox" BoxConfigAlign="Stretch" BoxConfigPosition="Start" > |
|
|
|
<f:Panel ID="Panel1" runat="server" Title="" Layout="VBox" BoxConfigAlign="Stretch" BoxConfigPosition="Start"> |
|
|
|
<Items> |
|
|
|
<f:Form runat="server"> |
|
|
|
<Toolbars> |
|
|
@ -24,7 +24,7 @@ |
|
|
|
<f:ToolbarSeparator runat="server" /> |
|
|
|
<f:Button ID="btnCopy" runat="server" Text="复制看板" Icon="Find" OnClick="btnCopy_Click" OnClientClick="if(!confirm('是否要复制订单,只能复制合同看板不能复制离散订单?'))return false;"> |
|
|
|
</f:Button> |
|
|
|
<f:Button ID="btnOutput" runat="server" Text="导出" Icon="PageExcel" OnClick="btnOutput_Click" > |
|
|
|
<f:Button ID="btnOutput" runat="server" Text="导出" Icon="PageExcel" OnClick="btnOutput_Click"> |
|
|
|
</f:Button> |
|
|
|
<f:Button ID="btnDetail" runat="server" Text="明细" Icon="Find" OnClick="btnDetail_Click"> |
|
|
|
</f:Button> |
|
|
@ -48,57 +48,52 @@ |
|
|
|
<f:Button ID="btnShow" runat="server" Icon="Find" Text="查询面板" OnClick="btnShow_Click"> |
|
|
|
</f:Button> |
|
|
|
<f:ToolbarSeparator runat="server" /> |
|
|
|
<f:DropDownList runat="server" ID="DDL_Site" Label="送货地址" Hidden="true"> |
|
|
|
<f:ListItem Text="重庆市渝北区石香路5号(重庆厂内)" Value="重庆市渝北区石香路5号(重庆厂内)" /> |
|
|
|
<f:ListItem Text="合肥市包河区卧云路68号宝供物流再包装基地" Value="合肥市包河区卧云路68号宝供物流再包装基地"/> |
|
|
|
<f:ListItem Text="重庆市渝北区石香路(重庆外库)" Value="重庆市渝北区石香路(重庆外库)" /> |
|
|
|
<f:ListItem Text="成都市龙泉驿区经开区车城大道668号" Value="成都市龙泉驿区经开区车城大道668号" /> |
|
|
|
</f:DropDownList> |
|
|
|
<f:FileUpload runat="server" ID="FileUp" EmptyText="请选择要货单据" Required="true" Width="200" ButtonIcon="Add" ShowRedStar="true" > </f:FileUpload> |
|
|
|
<f:Button ID="btnInput" runat="server" Text="导入" Icon="PageExcel" OnClick="btnInput_Click" > |
|
|
|
<f:DropDownList runat="server" ID="DDL_Site" Label="送货地址" Hidden="true" DataTextField="Address" DataValueField="Address" /> |
|
|
|
<f:FileUpload runat="server" ID="FileUp" EmptyText="请选择要货单据" Required="true" Width="200" ButtonIcon="Add" ShowRedStar="true"></f:FileUpload> |
|
|
|
<f:Button ID="btnInput" runat="server" Text="导入" Icon="PageExcel" OnClick="btnInput_Click"> |
|
|
|
</f:Button> |
|
|
|
|
|
|
|
<f:Button ID="Button6" runat="server" Text="全部" Icon="Reload" OnClick="Button6_Click" > |
|
|
|
<f:Button ID="Button6" runat="server" Text="全部" Icon="Reload" OnClick="Button6_Click"> |
|
|
|
</f:Button> |
|
|
|
<f:Button ID="Button1" runat="server" Text="新建" Icon="Reload" OnClick="Button1_Click" > |
|
|
|
<f:Button ID="Button1" runat="server" Text="新建" Icon="Reload" OnClick="Button1_Click"> |
|
|
|
</f:Button> |
|
|
|
<f:Button ID="Button2" runat="server" Text="发布" Icon="Reload" OnClick="Button2_Click" > |
|
|
|
<f:Button ID="Button2" runat="server" Text="发布" Icon="Reload" OnClick="Button2_Click"> |
|
|
|
</f:Button> |
|
|
|
<f:Button ID="Button4" runat="server" Text="已确认" Icon="Reload" OnClick="Button4_Click" > |
|
|
|
<f:Button ID="Button4" runat="server" Text="已确认" Icon="Reload" OnClick="Button4_Click"> |
|
|
|
</f:Button> |
|
|
|
<f:Button ID="Button5" runat="server" Text="已发货" Icon="Reload" OnClick="Button5_Click" > |
|
|
|
<f:Button ID="Button5" runat="server" Text="已发货" Icon="Reload" OnClick="Button5_Click"> |
|
|
|
</f:Button> |
|
|
|
<f:Button ID="Button7" runat="server" Text="已到货" Icon="Reload" OnClick="Button7_Click" Hidden="true"> |
|
|
|
</f:Button> |
|
|
|
<f:TextBox ID="txt_Planner" runat="server" ></f:TextBox> |
|
|
|
<f:Button ID="btn_planner" runat="server" Text="查询采购人员" Icon="Find" OnClick="btn_planner_Click" > |
|
|
|
<f:TextBox ID="txt_Planner" runat="server"></f:TextBox> |
|
|
|
<f:Button ID="btn_planner" runat="server" Text="查询采购人员" Icon="Find" OnClick="btn_planner_Click"> |
|
|
|
</f:Button> |
|
|
|
</Items> |
|
|
|
</f:Toolbar> |
|
|
|
</Toolbars> |
|
|
|
</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" > |
|
|
|
<f:Form runat="server"> |
|
|
|
<Rows> |
|
|
|
|
|
|
|
<f:FormRow runat="server"> |
|
|
|
<Items> |
|
|
|
|
|
|
|
<f:TextBox runat = "server" Label = "订单编号" EmptyText = "" ID = "TXT_BillNo" /> |
|
|
|
<f:TextBox runat = "server" Label = "看板编号" EmptyText = "" ID = "TXT_AskBill" /> |
|
|
|
<f:DropDownList ID="ddl_Vender" runat="server" Label="供应商" EnableEdit="true" ></f:DropDownList> |
|
|
|
<f:TextBox runat = "server" Label = "地点" EmptyText = "" ID = "TXT_Site_Desc" /> |
|
|
|
<f:TextBox runat="server" Label="订单编号" EmptyText="" ID="TXT_BillNo" /> |
|
|
|
<f:TextBox runat="server" Label="看板编号" EmptyText="" ID="TXT_AskBill" /> |
|
|
|
<f:DropDownList ID="ddl_Vender" runat="server" Label="供应商" EnableEdit="true"></f:DropDownList> |
|
|
|
<f:TextBox runat="server" Label="地点" EmptyText="" ID="TXT_Site_Desc" /> |
|
|
|
</Items> |
|
|
|
</f:FormRow> |
|
|
|
|
|
|
|
<f:FormRow runat="server"> |
|
|
|
<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" EmptyText="请选择日期" Label="至" ID="Date_EndDate" /> |
|
|
|
<f:DatePicker runat="server" Required="true" DateFormatString="yyyy-MM-dd" EmptyText="请选择日期" Label="至" ID="Date_EndDate" /> |
|
|
|
<f:DropDownList runat="server" ID="DDL_State" Label="状态"> |
|
|
|
<f:ListItem Text="-" Value=""/> |
|
|
|
<f:ListItem Text="-" Value="" /> |
|
|
|
<f:ListItem Text="新建" Value="0" /> |
|
|
|
<f:ListItem Text="发布" Value="1" /> |
|
|
|
<f:ListItem Text="已确认" Value="2" /> |
|
|
@ -110,9 +105,9 @@ |
|
|
|
</f:FormRow> |
|
|
|
<f:FormRow runat="server" ColumnWidths="25% 25% 25% 25%"> |
|
|
|
<Items> |
|
|
|
<f:TextBox ID= "TXT_Buyer" runat="server" Label = "采购员" ></f:TextBox> |
|
|
|
<f:TextBox ID = "TXT_BuyerPhone" runat="server" Label = "采购员电话" ></f:TextBox> |
|
|
|
<f:TextBox ID = "TXT_Remark" runat="server" Label = "备注" /> |
|
|
|
<f:TextBox ID="TXT_Buyer" runat="server" Label="采购员"></f:TextBox> |
|
|
|
<f:TextBox ID="TXT_BuyerPhone" runat="server" Label="采购员电话"></f:TextBox> |
|
|
|
<f:TextBox ID="TXT_Remark" runat="server" Label="备注" /> |
|
|
|
|
|
|
|
</Items> |
|
|
|
</f:FormRow> |
|
|
@ -126,8 +121,8 @@ |
|
|
|
</f:FormRow> |
|
|
|
<f:FormRow runat="server"> |
|
|
|
<Items> |
|
|
|
<f:TextBox runat="server" Required ="true" Label="零件编号" EmptyText="查询请填写零件编号" ID="TXT_PartCode" ></f:TextBox> |
|
|
|
<f:Button ID="BtnSearchDetail" runat="server" OnClick="BtnSearchDetail_Click" Text="快速查找订单明细" > |
|
|
|
<f:TextBox runat="server" Required="true" Label="零件编号" EmptyText="查询请填写零件编号" ID="TXT_PartCode"></f:TextBox> |
|
|
|
<f:Button ID="BtnSearchDetail" runat="server" OnClick="BtnSearchDetail_Click" Text="快速查找订单明细"> |
|
|
|
</f:Button> |
|
|
|
</Items> |
|
|
|
</f:FormRow> |
|
|
@ -137,14 +132,14 @@ |
|
|
|
</Items> |
|
|
|
</f:GroupPanel> |
|
|
|
|
|
|
|
<f:Grid ID = "Grid_V_TB_ASK" EnableCollapse = "true" ShowBorder = "true" ShowHeader = "true" runat ="server" EnableCheckBoxSelect="true" |
|
|
|
DataKeyNames = "UID,PoBillNum,AskBillNum,VendId,Site,Buyer,BuyerPhone,State,Remark,VendName,State_DESC,ModType_DESC,CreateTime,CreateUser,UpdateTime,UpdateUser,UpdateInfo,IsDeleted,GUID,ModType" |
|
|
|
<f:Grid ID="Grid_V_TB_ASK" EnableCollapse="true" ShowBorder="true" ShowHeader="true" runat="server" EnableCheckBoxSelect="true" |
|
|
|
DataKeyNames="UID,PoBillNum,AskBillNum,VendId,Site,Buyer,BuyerPhone,State,Remark,VendName,State_DESC,ModType_DESC,CreateTime,CreateUser,UpdateTime,UpdateUser,UpdateInfo,IsDeleted,GUID,ModType" |
|
|
|
AllowSorting="true" |
|
|
|
OnRowDataBound="Grid_V_TB_ASK_RowDataBound" |
|
|
|
CssClass="maingrid" EnableRowDoubleClickEvent="True" OnSort="Grid_V_TB_ASK_Sort" SortField="State" |
|
|
|
IsDatabasePaging="True" AllowPaging="True" OnRowDoubleClick="Grid_V_TB_ASK_RowDoubleClick" |
|
|
|
AutoScroll="True" SortDirection="ASC" OnPageIndexChange="Grid_V_TB_ASK_PageIndexChange" |
|
|
|
BoxFlex="1" > |
|
|
|
BoxFlex="1"> |
|
|
|
<PageItems> |
|
|
|
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server"> |
|
|
|
</f:ToolbarSeparator> |
|
|
@ -160,26 +155,26 @@ |
|
|
|
<Columns> |
|
|
|
<f:TemplateField HeaderText="状态" Width="70px" ColumnID="State_DESC1"> |
|
|
|
<ItemTemplate> |
|
|
|
<asp:label ID="State_DESC" runat="server" Width="65px" Text='<%# Eval("State_DESC") %>' ></asp:label> |
|
|
|
<asp:Label ID="State_DESC" runat="server" Width="65px" Text='<%# Eval("State_DESC") %>'></asp:Label> |
|
|
|
</ItemTemplate> |
|
|
|
</f:TemplateField> |
|
|
|
|
|
|
|
|
|
|
|
<f:BoundField Width = "80px" DataField = "ModType_DESC" DataFormatString = "{0}" HeaderText = "单据类型" /> |
|
|
|
<f:BoundField Width = "100px" DataField = "AskBillNum" DataFormatString = "{0}" HeaderText = "要货看板编号" SortField="AskBillNum" /> |
|
|
|
<f:BoundField Width = "100px" DataField = "PoBillNum" DataFormatString = "{0}" HeaderText = "订单号" /> |
|
|
|
<f:BoundField Width="80px" DataField="ModType_DESC" DataFormatString="{0}" HeaderText="单据类型" /> |
|
|
|
<f:BoundField Width="100px" DataField="AskBillNum" DataFormatString="{0}" HeaderText="要货看板编号" SortField="AskBillNum" /> |
|
|
|
<f:BoundField Width="100px" DataField="PoBillNum" DataFormatString="{0}" HeaderText="订单号" /> |
|
|
|
<%-- <f:BoundField Width = "100px" DataField = "ErpBillNum" DataFormatString = "{0}" HeaderText ="ERP订单号" />--%> |
|
|
|
<f:BoundField Width = "100px" DataField = "VendName" DataFormatString = "{0}" HeaderText = "供应商" /> |
|
|
|
<f:BoundField Width = "100px" DataField = "VendId" DataFormatString = "{0}" HeaderText = "供应商编码" SortField="VendId"/> |
|
|
|
<f:BoundField Width="100px" DataField="VendName" DataFormatString="{0}" HeaderText="供应商" /> |
|
|
|
<f:BoundField Width="100px" DataField="VendId" DataFormatString="{0}" HeaderText="供应商编码" SortField="VendId" /> |
|
|
|
<%--<f:BoundField Width = "100px" DataField = "Contacter" DataFormatString = "{0}" HeaderText = "发布人" />--%> |
|
|
|
<f:BoundField Width = "100px" ColumnID="BeginTime" DataField = "BeginTime" DataFormatString = "{0:yyyy-MM-dd}" HeaderText = "订货日期" SortField="BeginTime"/> |
|
|
|
<f:BoundField Width = "100px" ColumnID="EndTime" DataField = "EndTime" DataFormatString = "{0:yyyy-MM-dd}" HeaderText = "结束日期" SortField="EndTime" Hidden="true"/> |
|
|
|
<f:BoundField Width ="100px" DataField = "Total" DataFormatString = "{0:N0}" HeaderText = "总价" Hidden="true"/> |
|
|
|
<f:BoundField Width = "100px" DataField = "Site_Desc" DataFormatString = "{0}" HeaderText = "地点" /> |
|
|
|
<f:BoundField Width = "100px" DataField = "Buyer" DataFormatString = "{0}" HeaderText = "采购员" /> |
|
|
|
<f:BoundField Width = "100px" DataField = "BuyerPhone" DataFormatString = "{0}" HeaderText = "采购员电话" /> |
|
|
|
<f:BoundField Width = "100px" DataField = "Remark" DataFormatString = "{0}" HeaderText = "备注" /> |
|
|
|
<f:BoundField Width = "150px" DataField = "Extend1" DataFormatString = "{0}" HeaderText = "到货地点" /> |
|
|
|
<f:BoundField Width="100px" ColumnID="BeginTime" DataField="BeginTime" DataFormatString="{0:yyyy-MM-dd}" HeaderText="订货日期" SortField="BeginTime" /> |
|
|
|
<f:BoundField Width="100px" ColumnID="EndTime" DataField="EndTime" DataFormatString="{0:yyyy-MM-dd}" HeaderText="结束日期" SortField="EndTime" Hidden="true" /> |
|
|
|
<f:BoundField Width="100px" DataField="Total" DataFormatString="{0:N0}" HeaderText="总价" Hidden="true" /> |
|
|
|
<f:BoundField Width="100px" DataField="Site_Desc" DataFormatString="{0}" HeaderText="地点" /> |
|
|
|
<f:BoundField Width="100px" DataField="Buyer" DataFormatString="{0}" HeaderText="采购员" /> |
|
|
|
<f:BoundField Width="100px" DataField="BuyerPhone" DataFormatString="{0}" HeaderText="采购员电话" /> |
|
|
|
<f:BoundField Width="100px" DataField="Remark" DataFormatString="{0}" HeaderText="备注" /> |
|
|
|
<f:BoundField Width="150px" DataField="Extend1" DataFormatString="{0}" HeaderText="到货地点" /> |
|
|
|
</Columns> |
|
|
|
</f:Grid> |
|
|
|
</Items> |
|
|
|