Ext.define('saas.view.money.othreceipts.QueryPanelController', { extend: 'saas.view.core.query.QueryPanelController', alias: 'controller.money-othreceipts-querypanel', init: function (form) { var me = this; this.control({ //放大镜赋值关系 以及 tpl模板 'customerDbfindTrigger[name=or_custname]':{ beforerender:function(f){ Ext.apply(f,{ dbfinds:[{ from:'id',to:'or_custid',ignore:true },{ from:'cu_code',to:'or_custcode' },{ from:'cu_name',to:'or_custname' }], }) ; } }, //放大镜赋值关系 以及 tpl模板 'bandinfoDbfindTrigger[name=or_bankname]':{ beforerender:function(f){ Ext.apply(f,{ dbfinds:[{ from:'bk_bankcode',to:'or_bankcode' },{ from:'bk_bankname',to:'or_bankname' },{ from:'id',to:'or_bankid',ignore:true }], }); } } }); } });