Ext.define('make.view.osmake.report.inprocess.InprocessCountController', { extend: 'saas.view.core.report.ReportPanelController', alias: 'controller.osmake-report-inprocess', init: function (form) { this.control({ //放大镜赋值关系 以及 tpl模板 'dbfindtrigger[name=pr_code]':{ beforerender:function(f){ Ext.apply(f,{ dbfinds:[ { from:'pr_code',to:'pr_code' }, { from:'pr_detail',to:'pr_detail' }, { from:'pr_spec',to:'pr_spec' }], }) ; } }, 'dbfindtrigger[name=wh_description]':{ beforerender:function(f){ Ext.apply(f,{ dbfinds:[{ from:'id',to:'wh_id',ignore:true }, { from:'wh_code',to:'wh_code' }, { from:'wh_description',to:'wh_description' }], }) ; } } }); } });