145 lines
7.4 KiB
Plaintext
145 lines
7.4 KiB
Plaintext
<%@ Page Language="C#" MasterPageFile="~/N_MODEL/Page/MasterSingleGrid.Master" AutoEventWireup="true"
|
|
Codebehind="XLBJD_CBZSList.aspx.cs" Inherits="GThinking.N_XLXSBJ.XLBJD_CBZSList"
|
|
Title="料价追溯" %>
|
|
|
|
<%@ MasterType VirtualPath="~/N_MODEL/Page/MasterSingleGrid.Master" %>
|
|
<asp:Content ID="ContentButton" ContentPlaceHolderID="CPHButton" runat="server">
|
|
<asp:Table ID="AddTable" runat="server" CellPadding="0" CellSpacing="0">
|
|
<asp:TableRow>
|
|
<asp:TableCell>
|
|
<gtc:gtButton Style="display: none" ID="btnTZJG" OnClick="btnTZJG_Click" runat="server"
|
|
Visible="true" EnableTheming="false" SkinID="hidden"></gtc:gtButton>
|
|
</asp:TableCell>
|
|
<asp:TableCell>
|
|
<gtc:gtButton Style="display: none" ID="btnRefreshCLHQTZ" OnClick="btnRefreshCLHQTZ_Click"
|
|
runat="server" Visible="true" EnableTheming="false" SkinID="hidden"></gtc:gtButton>
|
|
</asp:TableCell>
|
|
</asp:TableRow>
|
|
</asp:Table>
|
|
</asp:Content>
|
|
<asp:Content ID="ContentForm" ContentPlaceHolderID="CPHForm" runat="server">
|
|
<div>
|
|
<table style="width: 100%" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td align="center" style="height: 10px">
|
|
<table>
|
|
<tr>
|
|
<td align="right">
|
|
<asp:LinkButton ID="lblBJCP" runat="server" Font-Underline="false" OnClick="lblBJCP_Click" ></asp:LinkButton>
|
|
</td>
|
|
<td align="left">
|
|
</td>
|
|
<td align="right">
|
|
<gtc:gtLabel ID="lblZHJD" runat="server" Visible="false" ForeColor="red"></gtc:gtLabel>
|
|
</td>
|
|
<td align="left">
|
|
<gtc:gtLabel ID="lblYSCP" runat="server" Visible="false" ></gtc:gtLabel>
|
|
</td>
|
|
<td align="right">
|
|
<gtc:gtLabel ID="lblCLCB" runat="server" Width="120px">材料成本合计:</gtc:gtLabel>
|
|
</td>
|
|
<td align="left">
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td>
|
|
<gtc:gtNumTextBox ID="txtCLCB" runat="server" DecimalPlaces="2" Width="100px" Enabled="false"></gtc:gtNumTextBox></td>
|
|
<td>
|
|
<gtc:gtLabel ID="lblDW" runat="server" Text=""></gtc:gtLabel></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr style="height:10px">
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div id="divGDZSY0" style="height:100%; width:100%;">
|
|
<gtc:gtGridView ID="grdContentGrid" runat="server" EnableViewState="false" AutoGenerateColumns="False"
|
|
CellPadding="0" CellSpacing="0" AllowPaging="True" AllowSorting="True" MaintainScrollPositionYOnPostback="true">
|
|
<Columns>
|
|
<asp:BoundField DataField="XLJGCZBLM_BJCLID" HeaderText="材料编码">
|
|
<itemstyle width="80px"></itemstyle>
|
|
<headerstyle width="80px"></headerstyle>
|
|
</asp:BoundField>
|
|
<asp:BoundField DataField="XLXSBJCL_BJCLMC" HeaderText="材料名称">
|
|
<itemstyle width="140px"></itemstyle>
|
|
<headerstyle width="140px"></headerstyle>
|
|
</asp:BoundField>
|
|
<asp:BoundField DataField="XLXSBJCL_BJHQ" HeaderText="报价行情">
|
|
<itemstyle width="60px"></itemstyle>
|
|
<headerstyle width="60px"></headerstyle>
|
|
</asp:BoundField>
|
|
<asp:BoundField DataField="WLXX" HeaderText="物料信息">
|
|
<itemstyle width="140px"></itemstyle>
|
|
<headerstyle width="140px"></headerstyle>
|
|
</asp:BoundField>
|
|
<asp:BoundField DataField="CLJG" HeaderText="材料价格(元/Kg)">
|
|
<itemstyle width="95px" horizontalalign="Right"></itemstyle>
|
|
<headerstyle width="95px"></headerstyle>
|
|
</asp:BoundField>
|
|
<asp:BoundField DataField="CLSL" HeaderText="材料用量">
|
|
<itemstyle width="95px" horizontalalign="Right"></itemstyle>
|
|
<headerstyle width="95px"></headerstyle>
|
|
</asp:BoundField>
|
|
<asp:BoundField DataField="px0" HeaderText="序号">
|
|
<itemstyle width="95px"></itemstyle>
|
|
<headerstyle width="95px"></headerstyle>
|
|
</asp:BoundField>
|
|
<asp:BoundField DataField="SHL" HeaderText="材料损耗率(%)">
|
|
<itemstyle width="85px" horizontalalign="Right"></itemstyle>
|
|
<headerstyle width="85px"></headerstyle>
|
|
</asp:BoundField>
|
|
<asp:BoundField DataField="CLJGBL" HeaderText="材料用量比例">
|
|
<itemstyle width="80px" horizontalalign="Right"></itemstyle>
|
|
<headerstyle width="80px"></headerstyle>
|
|
</asp:BoundField>
|
|
<asp:BoundField DataField="CLCB" HeaderText="材料成本">
|
|
<itemstyle width="104px" horizontalalign="Right"></itemstyle>
|
|
<headerstyle width="104px"></headerstyle>
|
|
</asp:BoundField>
|
|
</Columns>
|
|
<FixRowCol TableHeight="100%" TableWidth="100%" />
|
|
<ColumnsEx>
|
|
<gtc:gtGridView_Column DataField="XLJGCZBLM_BJCLID" EditType="etString" ShowHint ="true">
|
|
</gtc:gtGridView_Column>
|
|
<gtc:gtGridView_Column DataField="XLXSBJCL_BJCLMC" EditType="etString" ShowHint ="true">
|
|
</gtc:gtGridView_Column>
|
|
<gtc:gtGridView_Column DataField="XLXSBJCL_BJHQ" EditType="etString" ShowHint ="true">
|
|
</gtc:gtGridView_Column>
|
|
<gtc:gtGridView_Column DataField="WLXX" EditType="etString">
|
|
</gtc:gtGridView_Column>
|
|
<gtc:gtGridView_Column DataField="CLJG" EditType="etString">
|
|
</gtc:gtGridView_Column>
|
|
<gtc:gtGridView_Column DataField="CLSL" EditType="etNumber" NumberDecimalPlace="6">
|
|
</gtc:gtGridView_Column>
|
|
<gtc:gtGridView_Column DataField="px0" EditType="etNumber" NumberDecimalPlace="0">
|
|
</gtc:gtGridView_Column>
|
|
<gtc:gtGridView_Column DataField="SHL" EditType="etNumber" NumberDecimalPlace="2">
|
|
</gtc:gtGridView_Column>
|
|
<gtc:gtGridView_Column DataField="CLJGBL" EditType="etNumber" NumberDecimalPlace="2">
|
|
</gtc:gtGridView_Column>
|
|
<gtc:gtGridView_Column DataField="CLCB" EditType="etNumber" NumberDecimalPlace="5">
|
|
</gtc:gtGridView_Column>
|
|
</ColumnsEx>
|
|
</gtc:gtGridView>
|
|
</div>
|
|
<asp:HiddenField ID="txtBJCLID" runat="server" />
|
|
<asp:HiddenField ID="txtBJCLMC" runat="server" />
|
|
<asp:HiddenField ID="txtWLXX" runat="server" />
|
|
|
|
<script type="text/javascript">
|
|
function CellClick(sBJCLID,sBJCLMC,sWLXX)
|
|
{
|
|
document.getElementById("ctl00_CPHForm_txtBJCLID").value = sBJCLID;
|
|
document.getElementById("ctl00_CPHForm_txtBJCLMC").value = sBJCLMC;
|
|
document.getElementById("ctl00_CPHForm_txtWLXX").value = sWLXX;
|
|
setTimeout("$get('ctl00_CPHButton_btnTZJG').click();", 100);
|
|
}
|
|
</script>
|
|
</asp:Content>
|
|
<asp:Content ID="ContentSync" ContentPlaceHolderID="CPHSync" runat="server">
|
|
</asp:Content>
|