SCController.js 517 B

1234567891011121314151617181920
  1. Ext.define('erp.controller.sys.step.SCController', {
  2. extend: 'Ext.app.Controller',
  3. id:'SCController',
  4. BaseUtil: Ext.create('erp.util.BaseUtil'),
  5. FormUtil: Ext.create('erp.util.FormUtil'),
  6. views:['sys.sc.ScPortal'],
  7. init:function(){
  8. var me=this;
  9. this.control({
  10. });
  11. var app=erp.getApplication();
  12. var portal = activeItem.child('scportal');
  13. if(!portal){
  14. portal = Ext.widget('scportal',{desc:'库存管理'});
  15. activeItem.add(portal);
  16. Ext.getCmp('syspanel').setTitle(portal.desc);
  17. }
  18. }
  19. });