Ext.define('saas.view.stock.otherOut.QueryPanelController', { extend: 'saas.view.core.query.QueryPanelController', alias: 'controller.stock-otherout-querypanel', init: function (form) { var me = this; this.control({ // 物料编号 'productDbfindTrigger[name=pr_detail]':{ beforerender:function(f){ Ext.apply(f,{ dbfinds:[{ from:'pr_code',to:'pd_prodcode' }, { from:'pr_detail',to:'pr_detail' }], }) ; } },'customerDbfindTrigger[name=pi_custname]':{ beforerender:function(f){ Ext.apply(f,{ dbfinds:[{ from:'cu_code',to:'cu_code' },{ from:'cu_name',to:'pi_custname' }], }) ; } }, 'warehouseDbfindTrigger[name=pd_whname]':{ beforerender:function(f){ Ext.apply(f,{ dbfinds:[{ from:'wh_code',to:'wh_code' },{ from:'wh_description',to:'pd_whname', }], }) ; } },'employeeDbfindTrigger[name=creatorName]':{ beforerender:function(f){ Ext.apply(f,{ dbfinds:[{ from:'em_code',to:'em_code' },{ from:'em_name',to:'creatorName' }], }) ; } },'employeeDbfindTrigger[name=pi_auditman]':{ beforerender:function(f){ Ext.apply(f,{ dbfinds:[{ from:'em_code',to:'em_code' },{ from:'em_name',to:'pi_auditman', }], }) ; } } }); } });