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
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BasicConsumptionList.aspx.cs" Inherits="CY.WebForm.Pages.sysInquiry.BasicConsumptionList" %>
 
<!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">
        
    </script>
</head>
<body>
    <form id="form1" runat="server">
     <div id="scrollContent">
<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="RepBasicConsumptionList" runat="server">
                <HeaderTemplate>
                    <table class="tableStyle" useMultColor="true">
                        <tr>
                            <th>印刷类型</th>
                            <th>基本消耗比例(%)</th>
                            <th>最低消耗数量(张)</th>
                            <th style="display:none"></th>
                        </tr>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                    <td><%#Eval("PrintingTypeName")%></td>
                    <td><asp:TextBox id="txtBasicRatio" Text='<%#GetDecimalStr(Eval("basicRatio"))%>'  runat="server" CssClass="validateFloat"></asp:TextBox></td>
                    <td><asp:TextBox id="txtMinNumber" Text='<%#Eval("minNumber")%>' runat="server" CssClass="validateInt"></asp:TextBox></td>
                    <td style="display:none"><asp:Label ID="lblPrintingTypeId" Text='<%#Eval("PrintingTypeId")%>' runat="server"></asp:Label></td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
            </asp:Repeater>
</div>
    </form>
</body>
</html>