CY_ZZJY.Web/admin/dictionaries/add_edit.aspx
(完整代码) 2KB<%@ Page Title="" Language="C#" MasterPageFile="~/controls/Main.Master" AutoEventWireup="true" CodeBehind="add_edit.aspx.cs" Inherits="CY_ZZJY.Web.admin.dictionaries.add_edit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script language="javascript" type="text/javascript">
//表单验证
function CheckFrom() {
var _VALUE = $("#<%=VALUE.ClientID %>").textbox('getValue');
if (_VALUE == "") {
$.messager.alert("错误提示!", "请输入字典名称!", "error");
return false;
}
}
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div region="center" border="false">
<div class="easyui-layout" fit="true">
<div region="center" border="true" height="160px">
<table style="width:100%; height:auto;">
<tr>
<td width="20%" align="right">数据字典类别:</td>
<td width="60%">
<asp:DropDownList ID="NAME" runat="server" class="easyui-combobox" panelHeight="100" data-options="editable:false" style="width:98%; height:25px;">
</asp:DropDownList>
</td>
</tr>
<tr>
<td width="20%" align="right">字典名称(*):</td>
<td width="60%">
<asp:TextBox ID="VALUE" runat="server" class="easyui-textbox" style="width:98%; height:25px;" data-options="disabled:false,Viewable:false,prompt:'请输入字典名称'"></asp:TextBox>
</td>
</tr>
<tr>
<td width="20%" align="right">排序值:</td>
<td width="60%">
<asp:TextBox ID="REORDER_LEVEL" runat="server" class="easyui-numberspinner" Text="0" style="width:98%; height:25px;" data-options="disabled:false,Viewable:false,prompt:'请输入排序'"></asp:TextBox>
</td>
</tr>
<tr>
<td width="20%" align="right">是否启用:</td>
<td width="60%">
<asp:CheckBox ID="IS_ENABLED" Checked="true" runat="server" />
</td>
</tr>
</table>
</div>
<div region="south" border="true" style="text-align:right; height:auto; padding:5px 5px 5px 0px; overflow:hidden;">
<asp:LinkButton ID="btn_save" runat="server" Text="保存" class="easyui-linkbutton" data-options="iconCls:'icon-save'" OnClientClick="return CheckFrom()" onclick="btn_save_Click"></asp:LinkButton>
<a id="btnCancel" href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'icon-cancel'" onclick="parent.$('#DialogWindow').window('close');">取消</a>
</div>
</div>
</div>
</asp:Content>
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。