You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
4.6 KiB
88 lines
4.6 KiB
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SCP_QUALITY_CREATE.aspx.cs" Inherits="SCP.Views.Quality.SCP_QUALITY_CREATE" %>
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head runat="server">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
<title></title>
|
|
</head>
|
|
<body>
|
|
<form id="form1" runat="server">
|
|
<f:PageManager runat="server" AutoSizePanelID="Panel1" />
|
|
<f:Panel ID="Panel1" runat="server" Title="" AutoScroll="True">
|
|
<Toolbars>
|
|
<f:Toolbar ID="Toolbar2" runat="server">
|
|
<Items>
|
|
<f:Button ID="btnRelease" runat="server" EnablePostBack="True" OnClick="btnRelease_Click" Text="生成不合格记录" Icon="CssAdd" OnClientClick="if(!confirm('是否要生成不合格单据?'))return false;">
|
|
</f:Button>
|
|
</Items>
|
|
</f:Toolbar>
|
|
</Toolbars>
|
|
<Items>
|
|
<f:Form runat="server" Title="" Margin="5">
|
|
<Items>
|
|
<f:FormRow runat="server" ColumnWidths="100%">
|
|
<Items>
|
|
<f:TextBox runat = "server" Label = "发货单号" EmptyText = "" ID = "TXT_AsnBillNum" />
|
|
</Items>
|
|
</f:FormRow>
|
|
<f:FormRow runat="server" ColumnWidths="33% 33% 33%">
|
|
<Items>
|
|
<f:Button runat="server" ID="btnQuery" Text="查询" OnClick="btnQuery_Click"></f:Button>
|
|
</Items>
|
|
</f:FormRow>
|
|
</Items>
|
|
</f:Form>
|
|
|
|
<f:Grid ID="Grid_V_TB_ASN_DETAIL" ShowBorder="true" ShowHeader="true" PageSize="1000" BoxFlex="1" CssClass="maingrid"
|
|
runat="server" DataKeyNames="UID,PoBillNum,PoLine,PartCode,AsnBillNum,Batch,VendId"
|
|
IsDatabasePaging="True" AllowPaging="True"
|
|
EnableRowSelectEvent="True" AutoScroll="True"
|
|
SortField="PartCode" SortDirection="DESC"
|
|
AllowCellEditing="true" ClicksToEdit="2"
|
|
OnPageIndexChange="Grid_V_TB_ASN_DETAIL_PageIndexChange">
|
|
|
|
<Columns>
|
|
|
|
<f:BoundField Width = "80px" DataField = "AsnBillNum" DataFormatString = "{0}" HeaderText = "发货单号" />
|
|
<f:BoundField Width = "80px" DataField = "PackQty" DataFormatString = "{0:F}" HeaderText = "标包数量" />
|
|
<f:BoundField Width = "100px" DataField = "PartCode" DataFormatString = "{0}" HeaderText = "零件编号" />
|
|
<f:BoundField Width = "100px" DataField = "PartDesc1" DataFormatString = "{0}" HeaderText = "零件名称" />
|
|
<f:BoundField Width = "100px" DataField = "Batch" DataFormatString = "{0}" HeaderText = "供应商批次" />
|
|
<f:BoundField Width = "100px" DataField = "VendBatch" DataFormatString = "{0}" HeaderText = "批次" />
|
|
<f:BoundField Width = "50px" DataField = "PoUnit" DataFormatString = "{0}" HeaderText = "单位" />
|
|
<f:RenderField Width="100px" ColumnID="Failqty" DataField="Failqty" FieldType="Float"
|
|
HeaderText="不合格数量">
|
|
<Editor>
|
|
<f:NumberBox ID="NB_PublishNum" runat="server" MinValue="0"
|
|
MaxValue="99999999" DecimalPrecision="3" >
|
|
</f:NumberBox>
|
|
</Editor>
|
|
</f:RenderField>
|
|
<f:RenderField Width="100px" ColumnID="FailReason" DataField="FailReason" FieldType="String" HeaderText="不合格原因">
|
|
<Editor>
|
|
|
|
<f:DropDownList ID="fail" Required="true" runat="server" EnableMultiSelect="true">
|
|
|
|
<f:ListItem Text="成分" Value="成分" />
|
|
<f:ListItem Text="颜色" Value="颜色" />
|
|
<f:ListItem Text="新能" Value="新能" />
|
|
<f:ListItem Text="包装" Value="包装" />
|
|
<f:ListItem Text="其他" Value="其他" />
|
|
</f:DropDownList>
|
|
</Editor>
|
|
</f:RenderField>
|
|
</Columns>
|
|
</f:Grid>
|
|
|
|
</Items>
|
|
</f:Panel>
|
|
|
|
<f:HiddenField ID="highlightRows" runat="server">
|
|
</f:HiddenField>
|
|
|
|
</form>
|
|
|
|
</body>
|
|
</html>
|
|
|