From a12e47f3cc7805a145675b3fa2c75a56324665c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Thu, 19 Oct 2017 23:55:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81-=E8=B4=A6?= =?UTF-8?q?=E6=88=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/pages/manage/account.jsp | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/src/main/webapp/pages/manage/account.jsp b/src/main/webapp/pages/manage/account.jsp index 42a71bba..c2f85fef 100644 --- a/src/main/webapp/pages/manage/account.jsp +++ b/src/main/webapp/pages/manage/account.jsp @@ -171,8 +171,7 @@ } //初始化键盘enter事件 - $(document).keydown(function(event) - { + $(document).keydown(function(event){ //兼容 IE和firefox 事件 var e = window.event || event; var k = e.keyCode||e.which||e.charCode; @@ -191,8 +190,7 @@ } }); //分页信息处理 - function ininPager() - { + function ininPager(){ try { var opts = $("#tableData").datagrid('options'); @@ -218,8 +216,7 @@ } //删除结算账户 - function deleteAccount(accountInfo) - { + function deleteAccount(accountInfo){ $.messager.confirm('删除确认','确定要删除此结算账户吗?',function(r) { if (r) @@ -255,8 +252,7 @@ } //批量删除结算账户 - function batDeleteAccount() - { + function batDeleteAccount(){ var row = $('#tableData').datagrid('getChecked'); if(row.length == 0) { @@ -318,8 +314,7 @@ //保存编辑前的名称 var orgaccount = ""; - function addAccount() - { + function addAccount(){ $('#accountDlg').dialog('open').dialog('setTitle',' 增加结算账户'); $(".window-mask").css({ width: webW ,height: webH}); $('#accountFM').form('clear'); @@ -373,8 +368,7 @@ }); //编辑结算账户 - function editAccount(accountTotalInfo) - { + function editAccount(accountTotalInfo){ var accountInfo = accountTotalInfo.split("AaBb"); var row = { name : accountInfo[1], @@ -395,8 +389,7 @@ } //检查结算账户 名称是否存在 ++ 重名无法提示问题需要跟进 - function checkAccountName() - { + function checkAccountName(){ var accountName = $.trim($("#name").val()); //表示是否存在 true == 存在 false = 不存在 var flag = false; @@ -449,8 +442,7 @@ } }); - function showAccountDetails(pageNo,pageSize) - { + function showAccountDetails(pageNo,pageSize){ $.ajax({ type:"post", url: "<%=path %>/account/findBy.action",