Ext.define('saas.view.money.report.VendorCheckController', { extend: 'saas.view.core.report.ReportPanelController', alias: 'controller.money-report-vendorcheck', init: function (form) { this.control({ // 供应商编号 'dbfindtrigger[name=pi_vendname]':{ beforerender:function(f){ Ext.apply(f,{ dbfinds:[{ from:'ve_name',to:'pi_vendname' }], }) ; } } }); }, pi_vendname_change: function(field, value) { var me = this, reportPanel = me.getView(); reportPanel.reportTitle = '供应商对账单(' + value + ')' } });