Ext.define('saas.view.sale.saleIn.QueryPanelController', { extend: 'saas.view.core.query.QueryPanelController', alias: 'controller.sale-salein-querypanel', init: function (form) { var me = this; this.control({ // 物料编号 'dbfindtrigger[name=pr_detail]':{ beforerender:function(f){ Ext.apply(f,{ dbfinds:[{ from:'pr_code',to:'pd_prodcode' }, { from:'pr_detail',to:'pr_detail' }, { from:'pr_orispeccode',to:'pr_orispeccode' }], }) ; } }, 'warehouseDbfindTrigger[name=pd_whname]':{ beforerender:function(f){ Ext.apply(f,{ dbfinds:[{ from:'wh_code',to:'wh_code' },{ from:'wh_description',to:'pd_whname', }], }) ; } },'accountDbfindTrigger[name=creatorName]':{ beforerender:function(f){ Ext.apply(f,{ dbfinds:[{ from:'realname',to:'creatorName' }], }) ; } },'accountDbfindTrigger[name=pi_auditman]':{ beforerender:function(f){ Ext.apply(f,{ dbfinds:[{ from:'realname',to:'pi_auditman', }], }) ; } } }); } });