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
71fe18f9
Commit
71fe18f9
authored
Dec 03, 2019
by
季圣华
Browse files
解决单据删除的bug,删除的时候不会出现计算金额
parent
74ee26f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
erp_web/js/pages/materials/in_out.js
View file @
71fe18f9
...
...
@@ -2598,8 +2598,11 @@
if (row.length > 0) {
$.messager.confirm('删除确认', '确定要删除选中的' + row.length + '条单据信息吗?', function (r) {
if (r) {
var body =$("#depotHeadFM .datagrid-body");
var footer =$("#depotHeadFM .datagrid-footer");
for (var i = 0; i < row.length; i++) {
$('#materialData').datagrid('deleteRow', $('#materialData').datagrid("getRowIndex", row[i]));
statisticsFun(body,0,0,footer,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