Ext.define('saas.view.stock.appropriationInOut.QueryPanelController', { extend: 'saas.view.core.query.QueryPanelController', alias: 'controller.stock-appropriationinout-querypanel', init: function (form) { var me = this; this.control({ //放大镜赋值关系 以及 tpl模板 'warehouseDbfindTrigger[name=pd_whcode]':{ beforerender:function(f){ Ext.apply(f,{ dbfinds:[{ from:'wh_code',to:'pd_whcode' },{ from:'wh_description',to:'pd_whname' }], }) ; } } }); } });