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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PictureAlbumFastCost.aspx.cs" Inherits="CY.WebForm.Pages.sysInquiry.PictureAlbumFastCost" %>
 
<!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 runat="server">
    <title>画册快速设置</title>
    <uc:CMSHead ID="CMSHead1" runat="server" />
    <script type="text/javascript">
        $(
            function () {
 
                var coverGramWeight=<%=CoverGramWeight%>;
                var insideGramWeight=<%=InsideGramWeight%>;
 
                $(".select").each(
                    function()
                    {
                        if($(this).attr("coverGramWeight")==coverGramWeight&&$(this).attr("insideGramWeight")==insideGramWeight)
                        {
                            $(this).css("color","red");
                        }
                        else
                        {
                             $(this).css("color","Black");
                        }
                    }
                );
                     
                $(".select").click(
                    function()
                    {
                        window.location.href="/Pages/sysInquiry/PictureAlbumFastCost.aspx?coverGramWeight="+$(this).attr("coverGramWeight")+"&insideGramWeight="+$(this).attr("insideGramWeight");
 
                    }
                );
 
                 parent.iframeHeight('Ifr2');
                 parent.parent.iframeHeight('frmrightChild');
            }
        );
    </script>
</head>
<body>
    <form id="form1" runat="server">
         <div id="scrollContent">
           <table class="table2" border="1">
                <tr>
                    <td colspan="4" align="left"><span style="color:Red"><%=GetFastSetMsg(15)%></span></td>
                    <td align="right"><asp:Button ID="btnSave" Text="保存" runat="server" CssClass="Btn" OnClick="btnSave_Click" OnClientClick="showWait()"/></td>
                </tr>
                <tr>
                <td><a class="select" style="color:Black;" coverGramWeight="157" insideGramWeight="157">封面157克,内页157克</a></td>
                <td><a class="select"  style="color:Black;" coverGramWeight="200" insideGramWeight="157">封面200克,内页157克</a></td>
                <td><a class="select"  style="color:Black;" coverGramWeight="200" insideGramWeight="200">封面200克,内页200克</a></td>
                <td><a class="select" style="color:Black;" coverGramWeight="250" insideGramWeight="157">封面250克,内页157克</a></td>
                <td><a class="select"  style="color:Black;" coverGramWeight="250" insideGramWeight="200">封面250克,内页200克</a></td>
                </tr>
            <tr>
                <td><a class="select" style="color:Black;" coverGramWeight="250" insideGramWeight="250">封面250克,内页250克</a></td>
                <td><a class="select" style="color:Black;" coverGramWeight="300" insideGramWeight="157">封面300克,内页157克</a></td>
                <td><a class="select" style="color:Black;" coverGramWeight="300" insideGramWeight="200">封面300克,内页200克</a></td>
                <td><a class="select"  style="color:Black;" coverGramWeight="300" insideGramWeight="250">封面300克,内页250克</a></td>
                <td><a class="select" style="color:Black;" coverGramWeight="300" insideGramWeight="300">封面300克,内页300克</a></td>
            </tr>
        </table>
              
            <asp:Repeater ID="RepPictureAlbumFastCostList" runat="server">
                 <HeaderTemplate>
                    <table class="tableStyle" useMultColor="true" id="tbPictureAlbumFastCostList">
                        <tr>
                            <th>单位(元)</th>
                            <th>8页</th>
                            <th>12页</th>
                            <th>16页</th>
                            <th>20页</th>
                            <th>24页</th>
                            <th>28页</th>
                            <th>32页</th>
                            <th>36页</th>
                            <th style="display:none"></th>
                        </tr>
                 </HeaderTemplate>
                 <ItemTemplate>
                    <tr>
                    <td><%#Eval("CopiesCount")%></td>
                    <td><asp:TextBox id="txtPrice8" Text='<%#GetDecimalStr(Eval("Price8"))%>'  runat="server" CssClass="validateFloat" style="width:60px"/></asp:TextBox></td>
                    <td><asp:TextBox id="txtPrice12" Text='<%#GetDecimalStr(Eval("Price12"))%>'  runat="server" CssClass="validateFloat" style="width:60px"></asp:TextBox></td>
                    <td><asp:TextBox id="txtPrice16" Text='<%#GetDecimalStr(Eval("Price16"))%>'  runat="server" CssClass="validateFloat" style="width:60px"></asp:TextBox></td>
                    <td><asp:TextBox id="txtPrice20" Text='<%#GetDecimalStr(Eval("Price20"))%>'  runat="server" CssClass="validateFloat" style="width:60px"></asp:TextBox></td>
                    <td><asp:TextBox id="txtPrice24" Text='<%#GetDecimalStr(Eval("Price24"))%>'  runat="server" CssClass="validateFloat" style="width:60px"></asp:TextBox></td>
                    <td><asp:TextBox id="txtPrice28" Text='<%#GetDecimalStr(Eval("Price28"))%>'  runat="server" CssClass="validateFloat" style="width:60px"></asp:TextBox></td>
                    <td><asp:TextBox id="txtPrice32" Text='<%#GetDecimalStr(Eval("Price32"))%>'  runat="server" CssClass="validateFloat" style="width:60px"></asp:TextBox></td>
                    <td><asp:TextBox id="txtPrice36" Text='<%#GetDecimalStr(Eval("Price36"))%>'  runat="server" CssClass="validateFloat" style="width:60px"></asp:TextBox></td>
                    <td style="display:none"><asp:Label ID="lblCopiesCount" runat="server" Text='<%#Eval("CopiesCount")%>'></asp:Label></td>
                    </tr>
                 </ItemTemplate>
                 <FooterTemplate>
                 </FooterTemplate>
            </asp:Repeater>
            </div>
    </form>
</body>
</html>