<%@ Page Language="C#" AutoEventWireup="true" CodeFile="default.aspx.cs" Inherits="general_dept_dept_add" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <title>部门/成员单位管理</title>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <link rel="stylesheet" type="text/css" href="../../styles/1/style.css">

    <script language="JavaScript">
function CheckForm()
{
   if(document.form1.DEPT_NO.value=="")
   { alert("部门排序号不能为空！");
     return (false);
   }

   if(document.form1.DEPT_NAME.value=="")
   { alert("部门名称不能为空！");
     return (false);
   }
}

    </script>

</head>
<body class="bodycolor" topmargin="5" onload="document.form1.DEPT_NO.focus();">
    <form id="form1" runat="server" onsubmit="return CheckForm();">
        <table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
            <tr>
                <td class="Big">
                    <img src="~/images/notify_new.gif" height="22" width="22" id="IMG1" runat="server"><span
                        class="big3"> 新建部门/成员单位</span></td>
            </tr>
        </table>
        <table border="0" cellspacing="1" width="450" class="small" bgcolor="#000000" cellpadding="3"
            align="center">
            <tr>
                <td nowrap class="TableData">
                    部门排序号：</td>
                <td nowrap class="TableData">
                    <input type="text" name="DEPT_NO" class="BigInput" size="10" maxlength="200" id="Text1">&nbsp;用于处于同一层次部门的排序，以及用户列表的排序
                </td>
            </tr>
            <tr>
                <td nowrap class="TableData">
                    部门名称：</td>
                <td nowrap class="TableData">
                    <input type="text" name="DEPT_NAME" class="BigInput" size="25" maxlength="25">&nbsp;
                </td>
            </tr>
            <tr>
                <td nowrap class="TableData">
                    电话：</td>
                <td nowrap class="TableData">
                    <input type="text" name="TEL_NO" class="BigInput" size="25" maxlength="25">&nbsp;
                </td>
            </tr>
            <tr>
                <td nowrap class="TableData">
                    传真：</td>
                <td nowrap class="TableData">
                    <input type="text" name="FAX_NO" class="BigInput" size="25" maxlength="25">&nbsp;
                </td>
            </tr>
            <tr>
                <td nowrap class="TableData">
                    上级部门：</td>
                <td class="TableData">
                    <select name="DEPT_PARENT" class="BigSelect" id="Select1" runat="server">
                        <option value="0" selected="selected">无</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td nowrap class="TableData">
                    部门职能：</td>
                <td nowrap class="TableData">
                    <textarea name="DEPT_FUNC" class="BigInput" cols="40" rows="3"></textarea>
                </td>
            </tr>
            <tr>
                <td nowrap class="TableControl" colspan="2" align="center">
                    <input type="submit" value="新 建" class="BigButton" title="新建" name="button" id="Submit1"
                        onserverclick="Submit1_ServerClick" runat="server">
                </td>
        </table>
    </form>
</body>
</html>
