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
d4316e3c
Commit
d4316e3c
authored
Jan 19, 2019
by
cjl
Browse files
修复前端获取id集合为undefined
parent
a1e60e5e
Changes
1
Show whitespace changes
Inline
Side-by-side
erp_web/pages/materials/materialcategory.html
View file @
d4316e3c
...
@@ -349,11 +349,11 @@
...
@@ -349,11 +349,11 @@
var
ids
=
""
;
var
ids
=
""
;
for
(
var
i
=
0
;
i
<
row
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
row
.
length
;
i
++
)
{
if
(
i
==
row
.
length
-
1
)
{
if
(
i
==
row
.
length
-
1
)
{
ids
+=
row
[
i
].
I
d
;
ids
+=
row
[
i
].
i
d
;
break
;
break
;
}
}
//alert(row[i].id);
//alert(row[i].id);
ids
+=
row
[
i
].
I
d
+
"
,
"
;
ids
+=
row
[
i
].
i
d
+
"
,
"
;
}
}
$
.
ajax
({
$
.
ajax
({
type
:
"
post
"
,
type
:
"
post
"
,
...
...
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