140 lines
6.8 KiB
Plaintext
140 lines
6.8 KiB
Plaintext
<%@ Page Language="C#" MasterPageFile="~/N_MODEL/Page/MasterSingleGrid.Master" AutoEventWireup="true"
|
|
Codebehind="XLCPWHList.aspx.cs" Inherits="GThinking.N_XLJC.XLCPWHList" Title="线缆产品维护" %>
|
|
|
|
<%@ MasterType VirtualPath="~/N_MODEL/Page/MasterSingleGrid.Master" %>
|
|
<asp:Content ID="CPHButton" ContentPlaceHolderID="CPHButton" runat="server">
|
|
<asp:Table ID="ButtonTable" runat="server" CellPadding="0" CellSpacing="0">
|
|
<asp:TableRow>
|
|
<asp:TableCell BorderWidth="0px" BorderStyle="NotSet">
|
|
<gtc:gtToolButton ID="btnDR" runat="server" Caption="导 入"
|
|
ShowCaption="True" Width="60px" Height="19px" ButtonType="DropDown"
|
|
ondropdown="btnDR_DropDown" onmenuitemclick="btnDR_OnMenuItemClick"
|
|
OnClick="btnDR_Click">
|
|
</gtc:gtToolButton>
|
|
</asp:TableCell>
|
|
<asp:TableCell>
|
|
<gtc:gtButton Style="display: none" ID="btnRefresh" OnClick="btnRefresh_Click" runat="server"
|
|
EnableTheming="false"></gtc:gtButton>
|
|
</asp:TableCell>
|
|
</asp:TableRow>
|
|
</asp:Table>
|
|
</asp:Content>
|
|
|
|
|
|
<asp:Content ID="ContentForm" ContentPlaceHolderID="CPHForm" runat="server">
|
|
<gtc:gtGridView ID="grdContentGrid" runat="server" AutoGenerateColumns="False">
|
|
<FixRowCol TableHeight="100%" TableWidth="100%" />
|
|
<Columns>
|
|
<asp:BoundField DataField="XLXLB_XLXHID" HeaderText="型号">
|
|
<itemstyle width="120px" />
|
|
<headerstyle width="120px" />
|
|
</asp:BoundField>
|
|
<asp:BoundField DataField="XLXLB_XLGGID" HeaderText="规格">
|
|
<itemstyle width="120px" />
|
|
<headerstyle width="120px" />
|
|
</asp:BoundField>
|
|
<asp:BoundField DataField="XLBZ" HeaderText="标准">
|
|
<itemstyle width="80px" />
|
|
<headerstyle width="80px" />
|
|
</asp:BoundField>
|
|
<asp:BoundField DataField="XLXLB_DYDJID" HeaderText="电压等级">
|
|
<itemstyle width="80px" />
|
|
<headerstyle width="80px" />
|
|
</asp:BoundField>
|
|
<asp:BoundField DataField="XLYS" HeaderText="线缆颜色">
|
|
<itemstyle width="80px" />
|
|
<headerstyle width="80px" />
|
|
</asp:BoundField>
|
|
<asp:BoundField DataField="XLXLB_WLID" HeaderText="物料编码">
|
|
<itemstyle width="100px" />
|
|
<headerstyle width="100px" />
|
|
</asp:BoundField>
|
|
<asp:BoundField DataField="WL_MC" HeaderText="物料名称">
|
|
<itemstyle width="200px" />
|
|
<headerstyle width="200px" />
|
|
</asp:BoundField>
|
|
<asp:BoundField DataField="WL_GG" HeaderText="规格型号">
|
|
<itemstyle width="80px" />
|
|
<headerstyle width="80px" />
|
|
</asp:BoundField>
|
|
<asp:BoundField DataField="WL_TZ" HeaderText="图号">
|
|
<itemstyle width="80px" />
|
|
<headerstyle width="80px" />
|
|
</asp:BoundField>
|
|
<asp:BoundField DataField="WL_CL" HeaderText="材质">
|
|
<itemstyle width="80px" />
|
|
<headerstyle width="80px" />
|
|
</asp:BoundField>
|
|
<asp:BoundField DataField="WL_JLDW" HeaderText="计量单位">
|
|
<itemstyle width="80px" />
|
|
<headerstyle width="80px" />
|
|
</asp:BoundField>
|
|
<asp:BoundField DataField="XLXLB_WJ" HeaderText="外径">
|
|
<itemstyle width="80px" />
|
|
<headerstyle width="80px" />
|
|
</asp:BoundField>
|
|
<asp:BoundField DataField="XLXLB_ZXWQBS" HeaderText="最小弯曲倍数">
|
|
<itemstyle width="80px" />
|
|
<headerstyle width="80px" />
|
|
</asp:BoundField>
|
|
<asp:BoundField DataField="XLXLB_DTJGXX" HeaderText="导体结构信息">
|
|
<itemstyle width="200px" />
|
|
<headerstyle width="200px" />
|
|
</asp:BoundField>
|
|
<asp:BoundField DataField="XLXLB_WHR" HeaderText="维护人">
|
|
<itemstyle width="72px" />
|
|
<headerstyle width="72px" />
|
|
</asp:BoundField>
|
|
<asp:BoundField DataField="XLXLB_WHSJ" HeaderText="维护时间">
|
|
<itemstyle width="125px" />
|
|
<headerstyle width="125px" />
|
|
</asp:BoundField>
|
|
</Columns>
|
|
<ColumnsEx>
|
|
<gtc:gtGridView_Column DataField="XLXLB_XLXHID" ShowHint="True">
|
|
</gtc:gtGridView_Column>
|
|
<gtc:gtGridView_Column DataField="XLXLB_XLGGID" ShowHint="True">
|
|
</gtc:gtGridView_Column>
|
|
<gtc:gtGridView_Column DataField="XLBZ" ShowHint="True">
|
|
</gtc:gtGridView_Column>
|
|
<gtc:gtGridView_Column DataField="XLXLB_DYDJID" ShowHint="True">
|
|
</gtc:gtGridView_Column>
|
|
<gtc:gtGridView_Column DataField="XLYS" ShowHint="True">
|
|
</gtc:gtGridView_Column>
|
|
<gtc:gtGridView_Column DataField="XLXLB_WLID" ShowHint="True">
|
|
</gtc:gtGridView_Column>
|
|
<gtc:gtGridView_Column DataField="WL_MC" ShowHint="True">
|
|
</gtc:gtGridView_Column>
|
|
<gtc:gtGridView_Column DataField="WL_GG" ShowHint="True">
|
|
</gtc:gtGridView_Column>
|
|
<gtc:gtGridView_Column DataField="WL_TZ" ShowHint="True">
|
|
</gtc:gtGridView_Column>
|
|
<gtc:gtGridView_Column DataField="WL_CL" ShowHint="True">
|
|
</gtc:gtGridView_Column>
|
|
<gtc:gtGridView_Column DataField="WL_JLDW" ShowHint="True">
|
|
</gtc:gtGridView_Column>
|
|
<gtc:gtGridView_Column DataField="XLXLB_DTJGXX" ShowHint="True">
|
|
</gtc:gtGridView_Column>
|
|
<gtc:gtGridView_Column DataField="XLXLB_WJ" EditType="etNumber" NumberDecimalPlace = "2">
|
|
</gtc:gtGridView_Column>
|
|
<gtc:gtGridView_Column DataField="XLXLB_ZXWQBS" EditType="etNumber" NumberDecimalPlace = "2">
|
|
</gtc:gtGridView_Column>
|
|
<gtc:gtGridView_Column DataField="XLXLB_WHR" ShowHint="True">
|
|
</gtc:gtGridView_Column>
|
|
<gtc:gtGridView_Column DataField="XLXLB_WHSJ" EditType="etDateTime" DateTimeEditKins="dtDateTime">
|
|
</gtc:gtGridView_Column>
|
|
</ColumnsEx>
|
|
</gtc:gtGridView>
|
|
<script type="text/javascript" >
|
|
function downloadexcel(){
|
|
try {
|
|
var elemIF = document.createElement("iframe");
|
|
elemIF.src = "线缆产品维护导入示例.xls";
|
|
elemIF.style.display = "none";
|
|
document.body.appendChild(elemIF);
|
|
} catch (e) {
|
|
alert("下载异常!");
|
|
}
|
|
}
|
|
</script>
|
|
</asp:Content> |