Factory.js 871 B

12345678910111213141516171819202122232425262728293031
  1. Ext.define('erp.view.pm.mes.Factory',{
  2. extend: 'Ext.Viewport',
  3. layout: 'fit',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. id:'FactoryViewport',
  10. layout: 'anchor',
  11. items: [{
  12. xtype: 'erpFormPanel',
  13. anchor: '100% 100%',
  14. saveUrl: 'pm/mes/saveFactory.action',
  15. deleteUrl: 'pm/mes/deleteFactory.action',
  16. updateUrl: 'pm/mes/updateFactory.action',
  17. getIdUrl: 'common/getId.action?seq=Factory_SEQ',
  18. submitUrl: 'pm/mes/submitFactory.action',
  19. auditUrl: 'pm/mes/auditFactory.action',
  20. resAuditUrl: 'pm/mes/resAuditFactory.action',
  21. resSubmitUrl: 'pm/mes/resSubmitFactory.action',
  22. keyField: 'fa_id',
  23. codeField: 'fa_code',
  24. statusField: 'fa_status',
  25. statuscodeField: 'fa_statuscode'
  26. }]
  27. }]
  28. });
  29. me.callParent(arguments);
  30. }
  31. });