<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PrintingWorksList.aspx.cs" Inherits="CY.WebForm.Pages.sysInquiry.PrintingWorksList" %>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
<head id="Head1" runat="server">
|
<title></title>
|
<uc:CMSHead ID="CMSHead1" runat="server" />
|
<script src="../../js/hb.js" type="text/javascript"></script>
|
<script type="text/javascript">
|
$(
|
function () {
|
$("#tbPrintingWorksList").mergeCell(
|
{
|
cols: [0]
|
}
|
);
|
|
$("#tbPrintingWorksList tbody tr").each(
|
function () {
|
var rowspan = $(this).children('td').eq(0).attr("rowspan");
|
var display = $(this).children('td').eq(0).css("display");
|
var name = $(this).children('td').eq(0).text();
|
$(this).children('td').eq(5).attr("rowspan", rowspan);
|
$(this).children('td').eq(5).css("display", display);
|
if (name == "2开单色机" || name == "8开单色机" || name == "4开单色机") {
|
$(this).children('td').eq(6).children().css("display", "");
|
}
|
// if (name != "2开双面机(双色机)") {
|
// $(this).children('td').eq(5).attr("rowspan", rowspan);
|
// $(this).children('td').eq(5).css("display", display);
|
// if (name == "2开单色机" || name == "8开单色机" || name == "4开单色机") {
|
// $(this).children('td').eq(6).children().css("display", "");
|
// }
|
// }
|
// else {
|
// var secondName = $(this).children('td').eq(1).text();
|
// if (secondName == "1000印次以下" || secondName == "1001-3000印次") {
|
// $(this).children('td').eq(5).attr("rowspan", 2);
|
// $(this).children('td').eq(5).css("display", display);
|
// }
|
// $(this).children('td').eq(6).children().css("display", "");
|
// }
|
|
|
// var txtAddPrintCount = $(this).children('td').eq(3).children();
|
// var txtAddPrice = $(this).children('td').eq(4).children();
|
// var printCount = $(this).children('td').eq(1).text();
|
// if (printCount != '10000印次以上' || printCount != '10000印次以上') {
|
// txtAddPrintCount.css("display", "none");
|
// txtAddPrice.css("display", "none");
|
// }
|
}
|
);
|
|
parent.iframeHeight('frmrightChild');
|
}
|
);
|
</script>
|
</head>
|
<body>
|
<form id="form1" runat="server">
|
<div id="scrollContent">
|
<asp:Panel ID="palCount" runat="server">
|
<table class="table2" style=" margin-top:0px;">
|
<tr>
|
<td align="left"><b>设置优惠印刷次数:</b><asp:TextBox ID="txtCount" runat="server" ></asp:TextBox>次<b style="color:Red">(注:如果要设置优惠次数,请输入0-999正整数)</b></td>
|
<td style="width: 50px;">
|
<asp:Button ID="Button1" Text="保存" runat="server" CssClass="Btn"
|
onclick="Button1_Click"/>
|
</td>
|
</tr>
|
</table>
|
</asp:Panel>
|
<table class="table2" style=" margin-top:0px;">
|
<tr>
|
<td align="left"><b>印工价格</b></td>
|
<td style="width: 50px;">
|
<asp:Button ID="btnSave" Text="保存" runat="server" CssClass="Btn" OnClick="btnSave_Click" OnClientClick="showWait();"/>
|
</td>
|
</tr>
|
</table>
|
<asp:Repeater ID="RepPrintingWorksList" runat="server">
|
<HeaderTemplate>
|
<table class="tableStyle" useMultColor="true" id="tbPrintingWorksList">
|
<tr>
|
<th style="width:10%">印刷装订设备</th>
|
<th style="width:25%">印次</th>
|
<th style="width:25%">印工费</th>
|
<th style="display:none">增加印次(千印次)</th>
|
<th style="display:none">增加价格(元)</th>
|
<th style="width:20%">CTP版费</th>
|
<th style="width:10%">起价(元)</th>
|
<th style="display:none"></th>
|
<th style="display:none"></th>
|
<th style="display:none"></th>
|
<th style="display:none"></th>
|
<th style="display:none"></th>
|
</tr>
|
</HeaderTemplate>
|
<ItemTemplate>
|
<tr>
|
<td id="machineTD" align="center"><%#Eval("MachineName")%></td>
|
<td><%#Eval("PrintCout")%></td>
|
<td><asp:TextBox id="txtWorkPrice" Text='<%#GetDecimalStr(Eval("WorkPrice"))%>' runat="server" CssClass="validateFloat"></asp:TextBox><%#Eval("WorkPriceUnit")%></td>
|
<td style="display:none"><asp:TextBox id="txtAddPrintCount" Text='<%#Eval("AddPrintCount")%>' runat="server" CssClass="validateInt"></asp:TextBox></td>
|
<td style="display:none"><asp:TextBox id="txtAddPrice" Text='<%#GetDecimalStr(Eval("AddPrice"))%>' runat="server" CssClass="validateFloat"></asp:TextBox></td>
|
<td id="versionCostTD"><asp:TextBox id="txtVersionCost" Text='<%#GetDecimalStr(Eval("VersionCost"))%>' runat="server" CssClass="validateFloat"></asp:TextBox><%#Eval("VersionCostUnit")%></td>
|
<td><asp:TextBox id="txtStartPrice" Text='<%#GetDecimalStr(Eval("StartPrice"))%>' runat="server" CssClass="validateFloat" style="display:none"></asp:TextBox></td>
|
<td style="display:none"><asp:Label ID="lblMachineId" runat="server" Text='<%#Eval("MachineId")%>'></asp:Label></td>
|
<td style="display:none"><asp:Label ID="lblMinPrintCount" runat="server" Text='<%#Eval("MinPrintCount")%>'></asp:Label></td>
|
<td style="display:none"><asp:Label ID="lblMaxPrintCount" runat="server" Text='<%#Eval("MaxPrintCount")%>'></asp:Label></td>
|
<td style="display:none"><asp:Label ID="lblWorkPriceUnit" runat="server" Text='<%#Eval("WorkPriceUnit")%>'></asp:Label></td>
|
<td style="display:none"><asp:Label ID="lblVersionCostUnit" runat="server" Text='<%#Eval("VersionCostUnit")%>'></asp:Label></td>
|
</tr>
|
</ItemTemplate>
|
<FooterTemplate>
|
</table>
|
</FooterTemplate>
|
</asp:Repeater>
|
</div>
|
</form>
|
</body>
|
</html>
|