Ext.define('saas.view.stock.make.QueryPanelController', { extend: 'saas.view.core.query.QueryPanelController', alias: 'controller.stock-make-querypanel', init: function (form) { var me = this; this.control({ //放大镜赋值关系 以及 tpl模板 'bomDbfindTrigger[name=ma_prodcode]':{ beforerender:function(f){ Ext.apply(f,{ dbfinds:[{ from: 'bo_mothercode', to: 'bo_mothercode' }, { from: 'bo_mothername', to: 'ma_proddetail' }, { from: 'pr_orispeccode', to: 'ma_prodorispec' }], }) ; } },'accountDbfindTrigger[name=creatorName]':{ beforerender:function(f){ Ext.apply(f,{ dbfinds:[{ from:'realname',to:'creatorName' }], }) ; } },'accountDbfindTrigger[name=ma_auditman]':{ beforerender:function(f){ Ext.apply(f,{ dbfinds:[{ from:'realname',to:'ma_auditman' }], }) ; } } }); } });