<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="audit3_audit.aspx.cs" Inherits="Car.Car.audit3_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:10px;" >
    

    <form id="form1" runat="server">
        
    <div class="dfblock">
        
        <table class="table">
            <tr>
                <th width="100px">
指派车辆
                </th>
                <td>
                    <asp:DropDownList runat="server" Width="300px"  AppendDataBoundItems="true"  CssClass="form-control" ID="ddl_car" AutoPostBack="True" OnSelectedIndexChanged="ddl_car_SelectedIndexChanged">
                       <asp:ListItem Text="==请选择车辆==" Value=""></asp:ListItem>

                    </asp:DropDownList> 
                
          <asp:Label runat="server" ID="lbl_tip" ForeColor="Red"></asp:Label>
         </td>

            </tr>



    


            <tr>
                <th>
                    用车时段
                </th>
                <td>
                        <asp:label runat="server" ID="hf_orgin_begintime" /> ~ 
         <asp:label runat="server" ID="hf_orgin_endtime" />
                </td>

            </tr>

            <tr>
                <th>
                   
审批意见
                </th>
                <td>
                        <div style="margin:8px;" id="opt">        
            
              
      <asp:RadioButtonList
             Width="200px"
             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>

                </td>
            </tr>

            <tr>
                <th>备注</th>
                <td>
                       <asp:TextBox runat="server" ID="txt_note"  ClientIDMode="Static" TextMode="MultiLine" CssClass="form-control" Height="60px" Width="350px"></asp:TextBox>
    

                </td>
            </tr>

            <tr>
                <th>短信通知司机</th>
                <td>
                    <asp:TextBox runat="server" ID="txt_noticemobile"></asp:TextBox>

                </td>
            </tr>

        </table>

       
         

       
      
        
        <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>


        <asp:HiddenField runat="server" ID="hf_orgin_carid" />
    
    </form>
</body>
</html>