Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
e86c84b2
Commit
e86c84b2
authored
May 14, 2019
by
qiankunpingtai
Browse files
修改账户信息js错误
parent
1283b228
Changes
1
Hide whitespace changes
Inline
Side-by-side
erp_web/pages/manage/account.html
View file @
e86c84b2
...
...
@@ -143,8 +143,6 @@
* 修改效率低下的js实现
*/
var
str
=
''
;
// var rowInfo = rec.id + 'AaBb' + rec.name + 'AaBb' + rec.serialno + 'AaBb' + rec.initialamount + 'AaBb' + rec.currentamount + 'AaBb' + rec.remark;
str
+=
'
<img src="/js/easyui-1.3.5/themes/icons/list.png" style="cursor: pointer;" onclick="showAccountInOutList(
\'
'
+
index
+
'
\'
);"/> <a onclick="showAccountInOutList(
\'
'
+
index
+
'
\'
);" style="text-decoration:none;color:black;" href="javascript:void(0)">流水</a>
'
;
str
+=
'
<img src="/js/easyui-1.3.5/themes/icons/pencil.png" style="cursor: pointer;" onclick="editAccount(
\'
'
+
index
+
'
\'
);"/> <a onclick="editAccount(
\'
'
+
index
+
'
\'
);" style="text-decoration:none;color:black;" href="javascript:void(0)">编辑</a>
'
;
str
+=
'
<img src="/js/easyui-1.3.5/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deleteAccount(
\'
'
+
rec
.
id
+
'
\'
);"/> <a onclick="deleteAccount(
\'
'
+
rec
.
id
+
'
\'
);" style="text-decoration:none;color:black;" href="javascript:void(0)">删除</a>
'
;
...
...
@@ -451,7 +449,6 @@
//编辑结算账户
function
editAccount
(
index
)
{
var
rowsdata
=
$
(
"
#tableData
"
).
datagrid
(
"
getRows
"
)[
index
];
// var accountInfo = accountTotalInfo.split("AaBb");
var
row
=
{
name
:
rowsdata
.
name
,
serialNo
:
rowsdata
.
serialNo
,
...
...
@@ -463,7 +460,6 @@
$
(
'
#accountDlg
'
).
dialog
(
'
open
'
).
dialog
(
'
setTitle
'
,
'
<img src="/js/easyui-1.3.5/themes/icons/pencil.png"/> 编辑结算账户
'
);
$
(
"
.window-mask
"
).
css
({
width
:
webW
,
height
:
webH
});
$
(
'
#accountFM
'
).
form
(
'
load
'
,
row
);
accountID
=
accountInfo
[
0
];
//焦点在名称输入框==定焦在输入文字后面
$
(
"
#account
"
).
val
(
""
).
focus
().
val
(
rowsdata
.
name
);
url
=
'
/account/update?id=
'
+
rowsdata
.
id
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment