PUController.js 555 B

12345678910111213141516171819
  1. Ext.define('erp.controller.sys.step.PUController', {
  2. extend: 'Ext.app.Controller',
  3. id:'PUController',
  4. BaseUtil: Ext.create('erp.util.BaseUtil'),
  5. FormUtil: Ext.create('erp.util.FormUtil'),
  6. views:['sys.pu.PuPortal','core.trigger.AddDbfindTrigger'],
  7. init:function(){
  8. var me=this;
  9. this.control({
  10. });
  11. var app=erp.getApplication();
  12. var puportal = activeItem.child('puportal');
  13. if(!puportal){
  14. puportal = Ext.widget('puportal',{desc:'采购管理'});
  15. activeItem.add(puportal);
  16. Ext.getCmp('syspanel').setTitle(puportal.desc);
  17. }
  18. }
  19. });