Ext.define('saas.view.document.customer.BasePanelController', { extend: 'saas.view.core.base.BasePanelController', alias: 'controller.document-customer-basepanel', init: function (form) { var me = this; this.control({ // 主表-客户编号 'customerDbfindTrigger[name=cu_code]':{ beforerender:function(f){ Ext.apply(f,{ //赋值 dbfinds:[{ from:'id',to:'cu_id',ignore:true },{ from:'cu_code',to:'cu_code' },{ from:'cu_name',to:'cu_name' },{ from:'cu_sellername',to:'cu_sellername' },{ from:'cu_promisedays',to:'cu_promisedays' },{ from:'cu_credit',to:'cu_credit' },{ from:'cu_statuscode',to:'cu_statuscode' }], }) ; } } }); } });