CeramicProject/newyt/Module_data/SystemCoding.aspx

89 lines
4.5 KiB
Plaintext
Raw Normal View History

2024-05-18 15:28:29 +08:00
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SystemCoding.aspx.cs" Inherits="SystemCoding" %>
<!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>
<script type="text/javascript"></script>
<link href="../Css/index.css" rel="stylesheet" type="text/css" />
<link href="../Css/edit.css" rel="stylesheet" type="text/css" />
<script src="../Js/Calendar3.js" type="text/javascript"></script>
<script src="../Jquery-ui/js/jquery-1.10.2.js" type="text/javascript"></script>
<script src="../Jquery-ui/js/jquery-ui-1.10.4.custom.js" type="text/javascript"></script>
<link href="../Jquery-ui/css/pepper-grinder/jquery-ui-1.10.4.custom.css" rel="stylesheet" type="text/css" />
<script src="../Js/commonality.js" type="text/javascript"></script>
<link rel="stylesheet" href="../Css/gh-buttons.css" type="text/css"/>
<link rel="stylesheet" href="../Css/prettify.css"/>
<script src="../Js/prettify.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
var setdiv = $(window).height() - 440;
$("#div_main").css("height", setdiv);
})
function dlbianma(bmid) {
if (confirm("确定要删除吗?")) {
var dlz = SystemCoding.dlbianma(bmid).value;
if (dlz * 1 > 0) {
$("#<%=cxrz.ClientID%>").click();
} else if (dlz * 1 < 0) {
$("#z_error").html("当前无删除权限!");
}
}
}
function panduan() {
if ($("#bmmc").val().replace(/(^\s*)|(\s*$)/g, "") == "") {
$("#z_error").text("编码名称不能为空!");
return false;
}
}
</script>
</head>
<body>
<form id="form" runat="server">
<div class="rtbjdiv" >
<div class="add-top" >
<div class="add-top-dh" id="div_listdaohang" style=" width:700px"><h4>系统编码设置 &nbsp&nbsp</h4>
<a href="#button" id="chongzhi" onclick="form.reset();" style=" width:60px; " class=" button icon reload">重置表单</a>
<a href="#button" id="fanhui" onclick="history.back();" style=" width:60px; " class="button icon arrowleft">返回上级</a>
<asp:label id="z_error" CssClass="error" runat="server"></asp:label>
</div>
</div>
<div class="alert-tip">
<b>温馨提示:</b>
<p>• 当前页面为系统编码维护页面,您可以在此页面对编码进行添加和删除操作</p>
<p>• 信息表单中加*号红色标题框为必填项,为了可以顺利操作,请您注意填写红色栏目中的信息</p>
</div>
<table class="bule"> <tr class="tdlietou"><td><h4>编码查询信息</h4></td></tr></table>
<table class="tablewk">
<tr>
<td class="wktblm" style=" width:100px"><span>选择编码类型</span></td><td style=" width:120px">
<asp:DropDownList ID="drp_leixing" runat="server" CssClass="tbinput_xl"></asp:DropDownList></td>
<td width="30">&nbsp</td>
<td class="wktblm" style=" width:100px"><span>适用类型</span></td><td style=" width:120px">
<asp:dropdownlist id="sylx" runat="server" CssClass="tbinput_xl" ></asp:dropdownlist> </td>
<td width="30">&nbsp</td>
<td class="wktblm" style=" width:100px"><span><font>*编码名称</font></span></font></td><td style=" width:120px">
<asp:TextBox id="bmmc" runat="server" CssClass="tbinput_bt"></asp:TextBox>
</td>
<td width="30">&nbsp</td>
<td><asp:button id="cxrz" runat="server" CssClass="button" Width="80" Text="帮我查询" onclick="cxrz_Click" ></asp:button>
<asp:button id="bt_tj" runat="server" CssClass="button" Visible=false Width="110" OnClientClick="return panduan()" Text="新增到编码" onclick="bt_tj_Click" ></asp:button>
</td>
<td class="tdjj5">&nbsp </td>
</tr>
</table>
<table class='bule'> <tr class='tdlietou'><td><h4>编码查询结果</h4></td></tr></table>
<table class='bule'> <tr class='tbtilt'><td style='width:150px'><span>编码类型</span></td><td style=' width:150px'><span>适用类型</span></td>
<td style='width:150px'><span >编码名称</span></td><td><span>执行操作</span></td></tr></table>
<div id="div_main" style="width:100%;overflow:auto; " runat=server>
</div>
</div>
<asp:HiddenField runat=server id="jsid"/>
<script src="../Js/messageshow.js" type="text/javascript"></script>
</form>
</body>
</html>