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
ecdf734a
Commit
ecdf734a
authored
Dec 23, 2018
by
季圣华
Browse files
解决不加载默认账户的bug
parent
e5dcaef9
Changes
1
Hide whitespace changes
Inline
Side-by-side
erp_web/js/pages/materials/in_out.js
View file @
ecdf734a
...
...
@@ -455,8 +455,8 @@
options
+=
"
<option value='many' class='many' data-manyAmount=''>多账户</option>
"
;
for
(
var
i
=
0
;
i
<
accountList
.
length
;
i
++
)
{
var
account
=
accountList
[
i
];
options
+=
'
<option value="
'
+
account
.
id
+
'
" data-currentAmount="
'
+
account
.
current
A
mount
+
'
">
'
+
account
.
name
+
'
</option>
'
;
if
(
account
.
is
D
efault
)
{
options
+=
'
<option value="
'
+
account
.
id
+
'
" data-currentAmount="
'
+
account
.
current
a
mount
+
'
">
'
+
account
.
name
+
'
</option>
'
;
if
(
account
.
is
d
efault
)
{
defaultAccountId
=
account
.
id
;
//给账户赋值默认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