<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="audit1_audit.aspx.cs" Inherits="Car.Car.audit1_audit" %>

<!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>
   
   <link href="../bootstrap/css/bootstrap.min.css" rel="stylesheet" />     
     <script src="../Javascript/jquery-1.9.1.min.js"></script>
    <script src="../bootstrap/js/bootstrap.min.js"></script>

</head>
<body  style="margin:20px;" >
    

    <form id="form1" runat="server">
    <div class="dfblock">
        
          
    请对用车申请进行审批。
       
        <div style="margin:20px;" id="opt">        
            
            <asp:RadioButtonList
             Width="440px"
             runat="server" ClientIDMode="Static" ID="ddl_totalpoint" RepeatColumns="2" RepeatDirection="Horizontal">
            <asp:ListItem Text="同意" Value="1"></asp:ListItem>
               <asp:ListItem Text="拒绝" Value="-1"></asp:ListItem>  

        </asp:RadioButtonList>
   </div>
     
        
           备注：<br />
        <asp:TextBox runat="server" ID="txt_note"  ClientIDMode="Static" TextMode="MultiLine" CssClass="form-control" Height="60px" Width="450px"></asp:TextBox>
        <br /><br />
        
        <div style="margin:0 auto; width:400px; text-align:center">
          <asp:Button ID="btnSubmit" CssClass="btn btn-sm btn-success"
              
               OnClientClick="if(!issel()){return false;}"
                runat="server" Text="确定"  OnClick="btnSubmit_Click" />
        </div>
         

       

        <script>

            function issel()
            {

                var c = $("#opt input[type=radio]:checked").length; 
                if (c > 0)
                {    
                    return true;
                }

                alert("请选择是否同意");
                return false;

            }

        </script>


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