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
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ReceiptDocumentFastCost.aspx.cs" Inherits="CY.WebForm.Pages.sysInquiry.ReceiptDocumentFastCost" %>
 
<!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 () {
        $("#tbReceiptDocumentFastCostList").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/ReceiptDocumentFastCost.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="3" align="left"><span style="color:Red"><%=GetFastSetMsg(27)%></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="正64开(90×130)">正64开(90×130)</a></td>
                <td><a class="select"  style="color:Black;" paperSize="大64开(100×140)">大64开(100×140)</a></td>
                <td><a class="select"  style="color:Black;" paperSize="正48开(190×85)">正48开(190×85) </a></td>
                <td><a class="select"  style="color:Black;" paperSize="大48开(210×95)">大48开(210×95) </a></td>
            </tr>
            <tr>
                <td><a class="select"  style="color:Black;" paperSize="正32开(130×185)">正32开(130×185)</a></td>
                <td><a class="select"  style="color:Black;" paperSize="大32开(210×140)">大32开(210×140)</a></td>
                <td><a class="select"  style="color:Black;" paperSize="正16开(185×260)">正16开(185×260)</a></td>
                <td><a class="select"  style="color:Black;" paperSize="大16开(210×285)">大16开(210×285)</a></td>
            </tr>
        </table>
              
            <asp:Repeater ID="RepReceiptDocumentFastCostList" runat="server">
                 <HeaderTemplate>
                    <table class="tableStyle" useMultColor="true" id="tbReceiptDocumentFastCostList">
                        <tr>
                            <th>纸张</th>
                            <th>联数</th>
                            <th>100本</th>
                            <th>200本</th>
                            <th>300本</th>
                            <th>500本</th>
                            <th>1000本</th>
                            <th style="display:none"></th>
                        </tr>
                 </HeaderTemplate>
                 <ItemTemplate>
                    <tr>
                    <td><%#Eval("PaperName")%></td>
                    <td><asp:Label ID="lblDistichCount" runat="server" Text='<%#Eval("DistichCount")%>'></asp:Label></td>
                    <td><asp:TextBox id="txtPrice100" Text='<%#GetDecimalStr(Eval("Price100"))%>'  runat="server" CssClass="validateFloat" style="width:60px"/></asp:TextBox></td>
                    <td><asp:TextBox id="txtPrice200" Text='<%#GetDecimalStr(Eval("Price200"))%>'  runat="server" CssClass="validateFloat" style="width:60px"></asp:TextBox></td>
                    <td><asp:TextBox id="txtPrice300" Text='<%#GetDecimalStr(Eval("Price300"))%>'  runat="server" CssClass="validateFloat" style="width:60px"></asp:TextBox></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 style="display:none"><asp:Label ID="lblPaperName" runat="server" Text='<%#Eval("PaperName")%>'></asp:Label></td>
                    </tr>
                 </ItemTemplate>
                 <FooterTemplate>
                 </FooterTemplate>
            </asp:Repeater>
            </div>
    </form>
</body>
</html>