<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="department_analysis_set.aspx.vb" Inherits="work_plan_web_deploy.department_analysis_set" EnableEventValidation="false" %>
<%@ Import namespace="work_plan_web_deploy"%>
<html>
	<head id="head1"  runat="server">
    <title><%=pagename %></title>
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="stylesheet" type="text/css" href="lib/bootstrap/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="stylesheets/theme.css">
    <link rel="stylesheet" href="lib/font-awesome/css/font-awesome.css">
    <link href="site_css2.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="js/DatePicker/WdatePicker.js" language="javascript"></script>
    <script type="text/javascript" src="js/myjs.js" language="javascript"></script>
    <script src="lib/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="lib/bootstrap/js/bootstrap.js" type="text/javascript"></script>
    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <!-- Le fav and touch icons -->
        <style type="text/css">

			    .style1
                {
                    color: #FF0000;
                }
			    .STYLE1 { COLOR: #999999 }
			    .STYLE2 { COLOR: #ff0000 }
			    </style>
                <!-- 配置文件 -->
<script type="text/javascript" src="/ueditor/ueditor.config.js"></script>
<!-- 编辑器源码文件 -->
<script type="text/javascript" src="/ueditor/ueditor.all.js"></script>
<!-- 语言包文件(建议手动加载语言包，避免在ie下，因为加载语言失败导致编辑器加载失败) -->
<script type="text/javascript" src="/ueditor/lang/zh-cn/zh-cn.js"></script>
			<script language="javascript">
			    function ResetButton() {
			        var btn = document.getElementById("Button1");
			        if (btn.disabled == true) {
			            btn.disabled = false;
			        }
			    }
			    function disableBtn(btn) {
			        btn.value = '系统正在执行操作...';
			        btn.disabled = 'disabled';
			        __doPostBack("Button1", "OnClick");
			        //doPostBack can now fire serverside event even if button is disabled  
			    }
  
			</script>
</head>
  <body class=""> 
     <!--<![endif]-->
    <form id="Form1" runat="server">
    <div class="content">
        
        <div class="header">

            <h1 class="page-title"><%=pagename %></h1>
        </div>
        
                <ul class="breadcrumb">
            <li><a href="info.aspx">系统首页</a> <span class="divider">/</span></li>
                        <li class="active"><%=pagename %></li>
        </ul>

        <div class="container-fluid">
            <div class="row-fluid">
                    
<div class="btn-toolbar">
    <asp:button id="Button1" runat="server" Text="保存(ALT+S)" AccessKey="s" 
        class="btn" OnClientClick="disableBtn(this);"></asp:button>
	<asp:button id="Button2" runat="server" Text="取消(ALT+C)" CausesValidation="False" AccessKey="C" class="btn"></asp:button>
    </div>
<div class="btn-group"></div>
<div class="well">
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                                CssClass="table" GridLines="None" PageSize="15" Width="100%">
                                <Columns>
                                    <asp:BoundField DataField="type" HeaderText="项目类型" />
                                    <asp:BoundField DataField="id" HeaderText="项目编号" />
                                    <asp:BoundField DataField="mc" HeaderText="项目名称" />
                                    <asp:TemplateField HeaderText="折算率">
                                      <ItemTemplate>
                                       <asp:TextBox ID="zsl" runat="server" style="width:93px;" Width="93px"></asp:TextBox>
                            <span class="STYLE1">（正负小数，如0.75）</span>
                   <asp:RegularExpressionValidator ID="yz" runat="server" ControlToValidate="zsl" ErrorMessage="X"  ValidationExpression="^[-+]?\d{0,8}\.{0,1}(\d{1,2})?$"></asp:RegularExpressionValidator>
                                      </ItemTemplate>
                                    </asp:TemplateField>
                                    
                                </Columns>
                                <PagerStyle CssClass="pagerclass" />
                                <EmptyDataTemplate>
                                   
                                </EmptyDataTemplate>
                            </asp:GridView>

</div>
                 
            </div>
        </div>
    </div>
  
    </form>
</body>
</html>
