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
105
106
107
108
109
110
111
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ReticuleFastCost.aspx.cs" Inherits="CY.WebForm.Pages.sysInquiry.ReticuleFastCost" %>
 
<!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 src="../../js/hb.js" type="text/javascript"></script>
      <script type="text/javascript">
          $(
    function () {
        $("#tbReticuleFastCostList").mergeCell(
            {
                cols: [0]
            }
        );
    }
);
</script>
    <script type="text/javascript">
        $(
            function () {
 
                var paperSize='<%=PaperSize%>';
               
 
                $(".select").each(
                    function()
                    {
                        if($(this).attr("paperSize")==paperSize)
                        {
                            $(this).css("color","red");
                        }
                        else
                        {
                             $(this).css("color","Black");
                        }
                    }
                );
                     
                $(".select").click(
                    function()
                    {
                        window.location.href = "/Pages/sysInquiry/ReticuleFastCost.aspx?paperSize=" + $(this).attr("paperSize") + "";
 
                    }
                );
 
                 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="2" align="left"><span style="color:Red"><%=GetFastSetMsg(16)%></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;" paperSize="正度4开(290*200*60)">正度4开(290*200*60)</a></td>
                <td><a class="select"  style="color:Black;" paperSize="大度4开(340*220*65)">大度4开(340*220*65)</a></td>
                <td><a class="select"  style="color:Black;" paperSize="正度3开(280*260*70)">正度3开(280*260*70) </a></td>
            </tr>
            <tr>
                <td><a class="select"  style="color:Black;" paperSize="大度3开(340*270*80)">大度3开(340*270*80)</a></td>
                <td><a class="select"  style="color:Black;" paperSize="正度2开(400*290*90)">正度2开(400*290*90) </a></td>
                <td><a class="select" style="color:Black;" paperSize="大度2开(450*320*100)">大度2开(450*320*100)</a></td>
            </tr>
        </table>
              
            <asp:Repeater ID="RepReticuleFastCostList" runat="server">
                 <HeaderTemplate>
                    <table class="tableStyle" useMultColor="true" id="tbReticuleFastCostList">
                        <tr>
                            <th>克重</th>
                            <th>纸张</th>
                            <th>500只</th>
                            <th>1000只</th>
                            <th>2000只</th>
                            <th>3000只</th>
                            <th>5000只</th>
                            <th>10000只</th>
                            <th style="display:none"></th>
                        </tr>
                 </HeaderTemplate>
                 <ItemTemplate>
                    <tr>
                    <td><%#Eval("GramWeight")%></td>
                    <td><asp:Label ID="lblPaperName" runat="server" Text='<%#Eval("PaperName")%>'></asp:Label></td>
                    <td><asp:TextBox id="txtPrice500" Text='<%#GetDecimalStr(Eval("Price500"))%>'  runat="server" CssClass="validateFloat" style="width:60px"/></asp:TextBox></td>
                    <td><asp:TextBox id="txtPrice1000" Text='<%#GetDecimalStr(Eval("Price1000"))%>'  runat="server" CssClass="validateFloat" style="width:60px"></asp:TextBox></td>
                    <td><asp:TextBox id="txtPrice2000" Text='<%#GetDecimalStr(Eval("Price2000"))%>'  runat="server" CssClass="validateFloat" style="width:60px"></asp:TextBox></td>
                    <td><asp:TextBox id="txtPrice3000" Text='<%#GetDecimalStr(Eval("Price3000"))%>'  runat="server" CssClass="validateFloat" style="width:60px"></asp:TextBox></td>
                    <td><asp:TextBox id="txtPrice5000" Text='<%#GetDecimalStr(Eval("Price5000"))%>'  runat="server" CssClass="validateFloat" style="width:60px"></asp:TextBox></td>
                    <td><asp:TextBox id="txtPrice10000" Text='<%#GetDecimalStr(Eval("Price10000"))%>'  runat="server" CssClass="validateFloat" style="width:60px"></asp:TextBox></td>
                    <td style="display:none"><asp:Label ID="lblGramWeight" runat="server" Text='<%#Eval("GramWeight")%>'></asp:Label></td>
                    <td style="display:none"><asp:Label ID="lblPaperId" runat="server" Text='<%#Eval("PaperId")%>'></asp:Label></td>
                    </tr>
                 </ItemTemplate>
                 <FooterTemplate>
                 </FooterTemplate>
            </asp:Repeater>
            </div>
    </form>
</body>
</html>