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
c22f9262
Commit
c22f9262
authored
Dec 11, 2020
by
季圣华
Browse files
解决商品编辑时条码偶尔不能修改的bug
parent
35e745a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
erp_web/pages/materials/material.html
View file @
c22f9262
...
@@ -1076,6 +1076,11 @@
...
@@ -1076,6 +1076,11 @@
$
(
"
#materialExtendData
"
).
datagrid
(
'
loadData
'
,
res
.
data
);
$
(
"
#materialExtendData
"
).
datagrid
(
'
loadData
'
,
res
.
data
);
if
(
type
===
"
add
"
)
{
if
(
type
===
"
add
"
)
{
$
(
"
#materialDlg #append
"
).
click
();
//新增行
$
(
"
#materialDlg #append
"
).
click
();
//新增行
}
else
if
(
type
===
"
edit
"
)
{
if
(
res
.
data
.
rows
.
length
>
0
){
editIndex
=
0
;
$
(
'
#materialExtendData
'
).
datagrid
(
'
selectRow
'
,
0
).
datagrid
(
'
beginEdit
'
,
0
);
}
}
}
}
}
},
},
...
...
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