Files
N_XLXSBJ----MX/XLBJD_WBBJDDRList.aspx
T
2026-08-21 17:03:02 +08:00

188 lines
11 KiB
Plaintext

<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/N_MODEL/Page/MasterSingleGrid.Master"
Codebehind="XLBJD_WBBJDDRList.aspx.cs" Inherits="GThinking.N_XLXSBJ.XLBJD_WBBJDDRList"
Title="外部线缆产品导入" %>
<%@ MasterType VirtualPath="~/N_MODEL/Page/MasterSingleGrid.Master" %>
<asp:Content ContentPlaceHolderID="CPHButton" ID="ContentButton" runat="server">
<asp:Table ID="ButtonTable" runat="server" CellPadding="0" CellSpacing="0">
<asp:TableRow>
<asp:TableCell HorizontalAlign="left" BorderWidth="0px" BorderStyle="NotSet">
<gtc:gtToolButton ID="btnQR" BorderWidth="0px" BorderStyle="NotSet" Width="58px"
Height="19px" ButtonType="Button" ShowCaption="True" Caption="确 认" runat="server"
OnClick="btnQR_Click" Visible="false" />
</asp:TableCell>
<asp:TableCell HorizontalAlign="Left" BorderWidth="0px" BorderStyle="notset">
<gtc:gtToolButton ID="btnFZNRDR" BorderWidth="0px" BorderStyle="NotSet" Width="94px"
Height="19px" ButtonType="Button" ShowCaption="True" runat="server" OnClick="btnFZNRDR_Click"
Caption="复制内容导入">
</gtc:gtToolButton>
</asp:TableCell>
<asp:TableCell HorizontalAlign="Left" BorderWidth="0px" BorderStyle="notset">
<gtc:gtToolButton ID="btnDR" BorderWidth="0px" BorderStyle="NotSet" runat="server"
Caption="导入Excel文件" OnClick="btnDR_OnClick" ShowCaption="True" Width="100px"
Height="19px" ButtonType="Button">
</gtc:gtToolButton>
</asp:TableCell>
<asp:TableCell HorizontalAlign="Left" BorderWidth="0px" BorderStyle="notset">
<gtc:gtToolButton ID="btnWBBJDNR" BorderWidth="0px" BorderStyle="NotSet" Width="94px"
Height="19px" ButtonType="Button" ShowCaption="True" runat="server" OnClick="btnWBBJDNR_Click"
Caption="查看导入内容">
</gtc:gtToolButton>
</asp:TableCell>
<%--手动打开-查看外部报价单明细--%>
<asp:TableCell HorizontalAlign="Left" BorderWidth="0px" BorderStyle="notset">
<gtc:gtToolButton ID="btnWBBJDMX" BorderWidth="0px" BorderStyle="NotSet" Width="130px"
Height="19px" ButtonType="Button" ShowCaption="True" runat="server" OnClick="btnWBBJDMX_Click"
Caption="查看外部报价单明细">
</gtc:gtToolButton>
</asp:TableCell>
<asp:TableCell HorizontalAlign="Left" BorderWidth="0px" BorderStyle="notset">
<gtc:gtToolButton ID="btnSCDRNR" BorderWidth="0px" BorderStyle="NotSet" Width="58px"
Height="19px" ButtonType="Button" ShowCaption="True" runat="server" OnClick="btnSCDRNR_Click"
Caption="删 除" />
</asp:TableCell>
<asp:TableCell HorizontalAlign="Left" BorderWidth="0px" BorderStyle="notset">
<gtc:gtToolButton ID="btnXHTH" BorderWidth="0px" BorderStyle="NotSet" Width="70px"
Height="19px" ButtonType="Button" ShowCaption="True" runat="server" OnClick="btnXHTH_Click"
Caption="型号替换" >
</gtc:gtToolButton>
</asp:TableCell>
<%--刷新用--%>
<asp:TableCell>
<gtc:gtButton Style="display: none" ID="btnCallBack" OnClick="btnCallBack_Click"
runat="server" Visible="true" EnableTheming="false" SkinID="hidden"></gtc:gtButton>
</asp:TableCell>
<asp:TableCell>
<gtc:gtButton Style="display: none" ID="btnCallBack1"
runat="server" Visible="true" EnableTheming="false" SkinID="hidden"></gtc:gtButton>
</asp:TableCell>
<%--复制内容导入刷新用--%>
<asp:TableCell>
<gtc:gtButton Style="display: none" ID="btnCallBack2" OnClick="btnCallBack2_Click"
runat="server" Visible="true" EnableTheming="false" SkinID="hidden"></gtc:gtButton>
</asp:TableCell>
<%--由内容页程序回调打开-查看外部报价单明细--%>
<asp:TableCell>
<gtc:gtButton Style="display: none" ID="btnOpen" OnClick="btnOpen_Click" runat="server"
Visible="true" EnableTheming="false" SkinID="hidden"></gtc:gtButton>
</asp:TableCell>
<%--由复制内容程序回调打开-查看外部报价单明细--%>
<asp:TableCell>
<gtc:gtButton Style="display: none" ID="btnOpenMXByFZNR" OnClick="btnOpenMXByFZNR_Click"
runat="server" Visible="true" EnableTheming="false" SkinID="hidden"></gtc:gtButton>
</asp:TableCell>
<%--内容页回调--%>
<asp:TableCell>
<gtc:gtButton Style="display: none" ID="btnOpenMXJL" OnClick="btnOpenMXJL_Click"
runat="server" Visible="true" EnableTheming="false" SkinID="hidden"></gtc:gtButton>
</asp:TableCell>
<%--明细页回调--%>
<asp:TableCell>
<gtc:gtButton Style="display: none" ID="btnAutoClose" OnClick="btnAutoClose_Click"
runat="server" Visible="true" EnableTheming="false" SkinID="hidden"></gtc:gtButton>
</asp:TableCell>
<%--复制内容回调--%>
<asp:TableCell>
<gtc:gtButton ID="btnOpenFZR" OnClick="btnOpenFZR_Click" runat="server" Width="0px"
EnableTheming="false" SkinID="hidden"></gtc:gtButton>
</asp:TableCell>
</asp:TableRow>
</asp:Table>
</asp:Content>
<asp:Content ContentPlaceHolderID="CPHForm" ID="ContentForm" runat="server">
<gtc:gtGridView ID="ContentGrid" runat="server" AutoGenerateColumns="False" EnableViewState="false"
CheckBox="false" OnRowDoubleClick="ContentGrid_RowDoubleClick">
<FixRowCol TableHeight="100%" TableWidth="100%" />
<Columns>
<asp:BoundField DataField="HTBH" HeaderText="合同编号">
<itemstyle width="120px" />
<headerstyle width="120px" />
</asp:BoundField>
<asp:BoundField DataField="HTMC" HeaderText="合同名称">
<itemstyle width="140px" />
<headerstyle width="140px" />
</asp:BoundField>
<asp:BoundField DataField="XLWBBJDML_WBBJDID" HeaderText="表号">
<itemstyle width="70px" />
<headerstyle width="70px"></headerstyle>
</asp:BoundField>
<asp:BoundField DataField="XLWBBJDML_WBBJDMC" HeaderText="表名">
<itemstyle width="250px" />
<headerstyle width="250px"></headerstyle>
</asp:BoundField>
<asp:BoundField DataField="XLWBBJDML_FS" HeaderText="份数">
<itemstyle width="50px" horizontalalign="Right"/>
<headerstyle width="50px" verticalalign="Middle"></headerstyle>
</asp:BoundField>
<asp:BoundField DataField="XLWBBJDML_FSXH" HeaderText="份数序号">
<itemstyle width="80px" horizontalalign="Right"/>
<headerstyle width="80px" verticalalign="Middle"></headerstyle>
</asp:BoundField>
<asp:BoundField DataField="XLWBBJDML_EXCEL" HeaderText="EXCEL">
<itemstyle width="150px" />
<headerstyle width="150px"></headerstyle>
</asp:BoundField>
<asp:BoundField DataField="XLWBBJDML_SHEET" HeaderText="SHEET">
<itemstyle width="150px" />
<headerstyle width="150px"></headerstyle>
</asp:BoundField>
<asp:BoundField DataField="XLWBBJDML_DRSJ" HeaderText="导入时间">
<itemstyle width="120px" />
<headerstyle width="120px"></headerstyle>
</asp:BoundField>
<asp:BoundField DataField="XLWBBJDML_BJDID" HeaderText="报价单号">
<itemstyle width="80px"></itemstyle>
<headerstyle width="80px"></headerstyle>
</asp:BoundField>
<asp:BoundField DataField="XLWBBJDML_WHR" HeaderText="维护人">
<itemstyle width="72px" />
<headerstyle width="72px" />
</asp:BoundField>
<asp:BoundField DataField="XLWBBJDML_WHSJ" HeaderText="维护时间">
<itemstyle width="125px" />
<headerstyle width="125px" />
</asp:BoundField>
</Columns>
<ColumnsEx>
<gtc:gtGridView_Column DataField="HTBH" EditType="etString" ShowHint="true">
</gtc:gtGridView_Column>
<gtc:gtGridView_Column DataField="HTMC" EditType="etString" ShowHint="true">
</gtc:gtGridView_Column>
<gtc:gtGridView_Column DataField="XLWBBJDML_WBBJDID" EditType="etString" ShowHint="true">
</gtc:gtGridView_Column>
<gtc:gtGridView_Column DataField="XLWBBJDML_WBBJDMC" EditType="etString" ShowHint="true">
</gtc:gtGridView_Column>
<gtc:gtGridView_Column DataField="XLWBBJDML_FS" EditType="etNumber" ShowHint="true" NumberDecimalPlace="0" ShowZero="false">
</gtc:gtGridView_Column>
<gtc:gtGridView_Column DataField="XLWBBJDML_FSXH" EditType="etNumber" ShowHint="true" NumberDecimalPlace="0" ShowZero="false">
</gtc:gtGridView_Column>
<gtc:gtGridView_Column DataField="XLWBBJDML_EXCEL" EditType="etString" ShowHint="true">
</gtc:gtGridView_Column>
<gtc:gtGridView_Column DataField="XLWBBJDML_SHEET" EditType="etString" ShowHint="true">
</gtc:gtGridView_Column>
<gtc:gtGridView_Column DataField="XLWBBJDML_DRSJ" EditType="etDateTime" DateTimeEditKins="dtDateTime">
</gtc:gtGridView_Column>
<gtc:gtGridView_Column DataField="XLWBBJDML_BJDID" EditType="etString" ShowHint="true">
</gtc:gtGridView_Column>
<gtc:gtGridView_Column DataField="XLXSBJDDRZ_WHR" ShowHint="True">
</gtc:gtGridView_Column>
<gtc:gtGridView_Column DataField="XLXSBJDDRZ_WHSJ" DateTimeEditKins="dtDateTime"
EditType="etDateTime">
</gtc:gtGridView_Column>
</ColumnsEx>
</gtc:gtGridView>
<asp:HiddenField ID="txtOpen" runat="server" />
<asp:HiddenField ID="txtSource" runat="server" />
<asp:HiddenField ID="txtTimeSpan" runat="server" />
<asp:HiddenField ID="txtIsWebCtrl" runat="server" />
<script language="javascript" type="text/javascript">
var objReport = GetWebCtrl('Y');
if(objReport == undefined){
document.getElementById('ctl00_CPHForm_txtIsWebCtrl').value = "N";
}
else{
document.getElementById('ctl00_CPHForm_txtIsWebCtrl').value = "Y";
}
</script>
</asp:Content>