给商品库存报表增加合计
This commit is contained in:
@@ -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]: '合计' }
|
||||||
//移除不需要合计的列
|
//移除不需要合计的列
|
||||||
|
|||||||
Reference in New Issue
Block a user