给商品库存报表增加合计

This commit is contained in:
季圣华
2021-10-15 02:13:06 +08:00
parent c41b176dae
commit 1817733512

View File

@@ -379,7 +379,7 @@ export const JeecgListMixin = {
},
/** 表格增加合计行 */
tableAddTotalRow(columns, dataSource) {
if(this.ipagination.pageSize!==10) {
if(dataSource.length>0 && this.ipagination.pageSize!==10) {
let numKey = 'rowIndex'
let totalRow = { [numKey]: '合计' }
//移除不需要合计的列