<%@ page language="C#" autoeventwireup="true" inherits="Admin_FunctionNew, App_Web_qxuvifui" %>


<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>

<!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/All.css" rel="stylesheet" type="text/css" />
         <script src="../JS/jquery.min.js" type="text/javascript"></script>
         <script src="../JS/Calendar.js" type="text/javascript"></script>
         <script src="../JS/jquery.MultiFile.pack.js" type="text/javascript"></script>
         <script src="../JS/Calendar.js" type="text/javascript" ></script>
    <style>
        .division th {
        background:none repeat scroll 0 0 #E2E8EB;
        border-right:1px solid #CCCCCC;
        font-size:10pt;
        text-align:right;
        font-weight:500;
        width:140px;

        }
        .division {
            background:none repeat scroll 0 0 #FFFFFF;
            border-color:#CCCCCC #BEC6CE #BEC6CE #CCCCCC;
            border-style:solid;
            border-width:1px 2px 2px 1px;
            line-height:150%;
            padding:5px;
            white-space:normal;
            margin:5;
       }
       .division td, .division th{
            border-color:#FFFFFF #DBE2E7 #DDDDDD #FFFFFF;
            border-left:1px solid #FFFFFF;
            border-right:1px solid #DBE2E7;
            border-style:solid;
            border-width:1px;

       }
       h5{
        margin:0;
        padding:5px;
        background-color:#E2E8EB;
        font-size:11pt;
       }
       .division .font1{
        font-weight: bold;
        color: #696969
       }
     
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div >
            <h5>
                描述</h5>
            <div class="division">
                <table border="0" cellpadding="0" cellspacing="0"  width="100%">
                    <tr>
                        <th>
                            &nbsp;新增功能描述：</th>
                        <td>
                            <asp:TextBox ID="txtBeizhu" runat="server" MaxLength="255" Width="80%"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <th>
                            新增日期：</th>
                        <td>
                            <asp:TextBox ID="txtIDate" runat="server" onclick="showDateSelect(this)" ></asp:TextBox></td>
                    </tr>
                </table>
            </div>
            <h5>附件上传</h5>
            <div class="division">
                <table border="0" cellpadding="0" cellspacing="0"  width="100%">
                    <tr>
                        <td>
                            选择上传附件 可多文件上传：<asp:FileUpload ID="FileUpload" runat="server" /><br />
                            <div id="T7-list" style="border: 3px solid rgb(153, 153, 153);  padding:10px" >
                                上传附件集合:
                            </div>
                        </td>
                        <td>
                        
                    </tr>
                </table>
            </div>
            <h5>功能需求</h5>
            <div class="division">
                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                    <tr>
                        <td>
                            <fckeditorv2:fckeditor id="fckEidter" runat="server" height="400px"></fckeditorv2:fckeditor>
                        </td>
                    </tr>
                </table>
            </div>
            
        </div>
        
        <div style="width:100%; background-color: lightgrey;" align="center">
      
        <asp:Button id="btnSubmitBack" runat="server" Text="保存并返回" CssClass="btn" Width="129px" OnClick="btnSubmitBack_Click"></asp:Button>
            <asp:Button ID="btnSubmit" runat="server" CssClass="btn" OnClick="btnSubmit_Click"
                Text="保存" Width="113px" />
            <asp:Button ID="btnback" runat="server" CssClass="btn" Text="返回" Width="115px" OnClick="btnback_Click" /></div>
    </form>
    

<script type="text/javascript" > 
$(function(){ 
    $('#FileUpload').MultiFile({
    list: '#T7-list'
    });
});


$(function(){
   $("#txtIDate").val(getFormatDate());
});
function getFormatDate(){
    var myDate = new Date();
    return  myDate.getFullYear()+"-"+(myDate.getMonth()+1<10?"0"+(myDate.getMonth()+1):myDate.getMonth()+1)+"-"+(myDate.getDate()<10?("0"+myDate.getDate()):myDate.getDate());
}
   function showDateSelect(txt){
            new Calendar('<%=DateTime.Now.Year-10 %>', '<%=DateTime.Now.Year+10%>', 0,'yyyy-MM-dd').show(txt);
   }
</script>
</body>
</html>
