1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MultipleAfterCost.aspx.cs" Inherits="CY.WebForm.Pages.sysInquiry.MultipleAfterCost" %>
 
<!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 type="text/javascript">
         $(
            function () {
                $(".aPId").each(
                    function () {
                        var value = $(this).text();
                        if (value != "8" && value != "9" && value != "11"&&value!="20") {
                            $(this).parents('tr').find(".StartPriceBySingle").hide();
                            $(this).parents('tr').find(".PlatemakPrice").hide();
                            $(this).parents('tr').find(".StartPlatemakPrice").hide();
                        }
                        if (value == "11") {
                            $(this).parents('tr').find(".StartPlatemakPrice").hide();
                        }
                        if (value == "54") {
                            $(this).parents('tr').find(".PlatemakPrice").show();
                        }
 
                    }
                );
            }
         );
     </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="scrollContent">
   <table class="table2">
             <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="RepMultipleAfterCostList" runat="server">
        <HeaderTemplate>
            <table class="tableStyle" useMultColor="true">
            <tr>
                <th>后续工名称</th>
                <th>单价</th>
                <th>单价起价</th>
                <th>总起价(元)</th>
                <th>制版费</th>
                <th>制版费起价(元)</th>
                <th style="display:none"></th>
            </tr>
        </HeaderTemplate>
        <ItemTemplate>
            <tr>
                <td><%#Eval("ParameterName")%></td>
                <td><asp:TextBox ID="txtPrice" Text='<%#GetDecimalStr(Eval("Price"))%>' runat="server" CssClass="validateFloat" Width="60px"></asp:TextBox><%#Eval("Unit")%></td>
                <td><div class="StartPriceBySingle"><asp:TextBox ID="txtStartPriceBySingle"  Text='<%#GetDecimalStr(Eval("StartPriceBySingle"))%>' runat="server" CssClass="validateFloat" Width="60px"></asp:TextBox>元/张</div></td>
                <td><asp:TextBox ID="txtTotalStartPrice" Text='<%#GetDecimalStr(Eval("TotalStartPrice"))%>' runat="server" CssClass="validateFloat" Width="60px"></asp:TextBox></td>
                <td><div class="PlatemakPrice"><asp:TextBox ID="txtPlatemakPrice" Text='<%#GetDecimalStr(Eval("PlatemakPrice"))%>' runat="server" CssClass="validateFloat" Width="60px"></asp:TextBox><%#Eval("PlatemakUnit")%><div></td>
                <td><div class="StartPlatemakPrice"><asp:TextBox ID="txtStartPlatemakPrice"  Text='<%#GetDecimalStr(Eval("StartPlatemakPrice"))%>' runat="server" CssClass="validateFloat" Width="60px"></asp:TextBox></div></td>
                <td style="display:none"><asp:Label ID="lblAfterParameterId" CssClass="aPId" Text='<%#Eval("AfterParameterId")%>' runat="server" Width="60px"></asp:Label></td>
            </tr>
        </ItemTemplate>
        <FooterTemplate>
            </table>
        </FooterTemplate>
     </asp:Repeater>
     </div>
    </form>
</body>
</html>