|
|
@@ -41,28 +41,40 @@ Ext.define('saas.view.home.charts.KeyData', {
|
|
|
icon: 'storageTotal',
|
|
|
name: 'storageTotal',
|
|
|
label: '库存总额',
|
|
|
- value: '0'
|
|
|
+ value: '0',
|
|
|
+ viewType: 'stock-report-datalist',
|
|
|
+ title: '物料库存数量金额表查询',
|
|
|
+ id: 'stock-report-datalist',
|
|
|
}, {
|
|
|
color: 'yellow',
|
|
|
showIcon: true,
|
|
|
icon: 'receiveTotal',
|
|
|
name: 'receiveTotal',
|
|
|
label: '应收总额',
|
|
|
- value: '0'
|
|
|
+ value: '0',
|
|
|
+ viewType: 'monry-report-totalrecdetail',
|
|
|
+ title: '应收总账查询',
|
|
|
+ id: 'monry-report-totalrecdetail',
|
|
|
}, {
|
|
|
color: 'red',
|
|
|
showIcon: true,
|
|
|
icon: 'payTotal',
|
|
|
name: 'payTotal',
|
|
|
label: '应付总额',
|
|
|
- value: '0'
|
|
|
+ value: '0',
|
|
|
+ viewType: 'monry-report-totalpaydetail',
|
|
|
+ title: '应付总账查询',
|
|
|
+ id: 'monry-report-totalpaydetail',
|
|
|
}, {
|
|
|
color: 'blue',
|
|
|
showIcon: true,
|
|
|
icon: 'balanceTotal',
|
|
|
name: 'balanceTotal',
|
|
|
label: '账户余额',
|
|
|
- value: '0'
|
|
|
+ value: '0',
|
|
|
+ viewType: 'document-bankinformation-datalist',
|
|
|
+ title: '资金账户查询',
|
|
|
+ id: 'document-bankinformation-datalist',
|
|
|
}],
|
|
|
|
|
|
initComponent: function () {
|
|
|
@@ -91,8 +103,7 @@ Ext.define('saas.view.home.charts.KeyData', {
|
|
|
itemSelector: 'div.x-box',
|
|
|
listeners: {
|
|
|
itemclick: function(th, record, item, index, e, eOpts) {
|
|
|
- console.log('xxxx');
|
|
|
- // saas.util.BaseUtil.openTab(record.get('viewType'), record.get('title'), record.get('id'));
|
|
|
+ saas.util.BaseUtil.openTab(record.get('viewType'), record.get('title'), record.get('id'));
|
|
|
}
|
|
|
}
|
|
|
});
|