Commit 18177335 authored by 季圣华's avatar 季圣华
Browse files

给商品库存报表增加合计

parent c41b176d
...@@ -379,7 +379,7 @@ export const JeecgListMixin = { ...@@ -379,7 +379,7 @@ export const JeecgListMixin = {
}, },
/** 表格增加合计行 */ /** 表格增加合计行 */
tableAddTotalRow(columns, dataSource) { tableAddTotalRow(columns, dataSource) {
if(this.ipagination.pageSize!==10) { if(dataSource.length>0 && this.ipagination.pageSize!==10) {
let numKey = 'rowIndex' let numKey = 'rowIndex'
let totalRow = { [numKey]: '合计' } let totalRow = { [numKey]: '合计' }
//移除不需要合计的列 //移除不需要合计的列
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment