<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="qitafeiadd.aspx.cs" Inherits="jiaowu.caiwu.qitafeiadd" %>

<!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>
    <link href="../css/table.css" rel="stylesheet">
    <script src="../My97DatePicker/WdatePicker.js" type="text/javascript"></script>

    <style type="text/css">
        .style1
        {
            width: 15%;
        }
        
    </style>
    <script>
        function delimg(obj) {
            //var obj = document.getElementById("imgId");
            var img = obj.attributes["src"].nodeValue;
            var impParent = obj.parentNode; //获取img的父对象
            var imgs = document.getElementById("hidpic").value;
            var newimg = imgs.replace(img + "|", "");
            //alert(img);
            //alert(newimg);
            impParent.removeChild(obj); //通过img的父对象把它删除
            document.getElementById("hidpic").value = newimg;
        }
        function dosel() {
            setTimeout('__doPostBack(\'<%=txtcard.ClientID %>\',\'\')', 0);
        }
    </script>
    </head>
<body>
    <form id="form1" runat="server">
          <input name="id" type="hidden" value="">
    <div>
            <div class="place">
        <asp:SiteMapPath ID="SiteMapPath1" runat="server" Height="27px">
        </asp:SiteMapPath>
        </div>
    <table  width="100%" height="100%" border="1" cellpadding="0"  class="line_table">
      <tr>
        <td height="29" class="style1">输入身份证号检索</td>
        <td align="left">
            <asp:TextBox ID="txtcard" runat="server" ontextchanged="txtcard_TextChanged" 
                Width="208px" AutoPostBack="true"></asp:TextBox>
            <span class="style8" lang="zh-cn"><input name="Submit25" 
                                onclick="open('../student/stuxuanze.aspx?flag=1','','800','800')" 
                                type="button" value="选择学生" /><span class="style2">(输入身份证号按回车可快速检索学员)</span></span></td>
      </tr>
      <tr>
        <td height="29" class="style1">姓名：</td>
        <td align="left">
            <asp:Label ID="lblstuxm" runat="server" Text=""></asp:Label>
                                      <asp:HiddenField ID="hidstuid" runat="server" />
            <asp:HiddenField ID="hidoldstuid" runat="server" />
                                      </td>
      </tr>
      <tr>
        <td height="29" class="style1">报考类型：</td>
        <td align="left">
            <asp:Label ID="lblleixing" runat="server" Text=""></asp:Label>
                                      </td>
      </tr>
      <tr>
        <td height="29" class="style1">报考车型：</td>
        <td align="left">
            <asp:Label ID="lblchexing" runat="server" Text=""></asp:Label>
                                      </td>
      </tr>
      <tr>
        <td height="29" class="style1">缴费时间：</td>
        <td align="left">
            <asp:TextBox ID="txtshijian" runat="server" onfocus="WdatePicker()"></asp:TextBox>
                                      </td>
      </tr>
      <tr>
        <td height="29" class="style1">缴费项目：</td>
        <td align="left">
                              <asp:DropDownList ID="ddlxiangmu" runat="server" 
                AppendDataBoundItems="true">
                                  <asp:ListItem Value="">请选择</asp:ListItem>
                                 
                              </asp:DropDownList>
                              </td>
      </tr>
      <tr>
        <td height="29" class="style1">缴费金额：</td>
        <td align="left">
            <asp:TextBox ID="txtjiner" runat="server"></asp:TextBox>
                                      </td>
      </tr>
      <tr>
        <td height="29" class="style1">缴费方式：</td>
        <td align="left">
                              <asp:DropDownList ID="ddlfangshi" runat="server" AppendDataBoundItems="true">
                                  <asp:ListItem Value="">请选择</asp:ListItem>
                                  <asp:ListItem>现金</asp:ListItem>
                                  <asp:ListItem>微信</asp:ListItem>
                                  <asp:ListItem>支付宝</asp:ListItem>
                                  <asp:ListItem>POS机</asp:ListItem>
                              </asp:DropDownList>
                              </td>
      </tr>
      <tr>
        <td height="29" class="style1">发票号码：</td>
        <td align="left">
            <asp:TextBox ID="txthaoma" runat="server"></asp:TextBox>
                                      </td>
      </tr>
      <tr>
        <td height="29" class="style1">发票代码：</td>
        <td align="left">
            <asp:TextBox ID="txtdaima" runat="server"></asp:TextBox>
                        </td>
      </tr>
      <tr>
                    <td class="style1">
                        相关图片（双击可删除）</td>
                    <td class="style2">
                        <asp:Label ID="lblpic" runat="server" Text=""></asp:Label>
                    <asp:HiddenField ID="hidpic" runat="server" />
                        <br />
                   <asp:FileUpload ID="FileUpload1" runat="server"/>
        <asp:Button ID="upload" runat="server" onclick="upload_Click" Text="上     传"/>&nbsp;</td>
                </tr>
      <tr>
        <td height="29" class="style1">备注：</td>
        <td align="left">
            <asp:TextBox ID="txtbeizhu" runat="server" Height="55px" TextMode="MultiLine" 
                Width="486px"></asp:TextBox>
                                      </td>
      </tr>
      <tr>
        <td height="29" class="style1">收款人：</td>
        <td align="left">
            <asp:Label ID="lblshoukuanren" runat="server" Text=""></asp:Label>
                                      </td>
      </tr>
      <tr>
        <td height="22" align="center" colspan="2">
            &nbsp;&nbsp;
            <asp:Button ID="Button1" runat="server" CssClass="btn_grey" 
                onclick="Button1_Click" Text="保存" />
            <asp:Button ID="Button2" runat="server" CssClass="btn_grey" Text="修改" 
                Visible="False"  onclick="Button2_Click" />
            &nbsp;<asp:Label 
                ID="labmsg" runat="server" Text=""></asp:Label></td>
      </tr>
    </table>
	  
    </div>
    </form>
</body>
</html>
