Source.js 861 B

12345678910111213141516171819202122232425262728293031
  1. Ext.define('erp.view.pm.mes.Source',{
  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:'SourceViewport',
  10. layout: 'anchor',
  11. items: [{
  12. xtype: 'erpFormPanel',
  13. anchor: '100% 100%',
  14. saveUrl: 'pm/mes/saveSource.action',
  15. deleteUrl: 'pm/mes/deleteSource.action',
  16. updateUrl: 'pm/mes/updateSource.action',
  17. getIdUrl: 'common/getId.action?seq=Source_SEQ',
  18. submitUrl: 'pm/mes/submitSource.action',
  19. auditUrl: 'pm/mes/auditSource.action',
  20. resAuditUrl: 'pm/mes/resAuditSource.action',
  21. resSubmitUrl: 'pm/mes/resSubmitSource.action',
  22. keyField: 'sc_id',
  23. codeField: 'sc_code',
  24. statusField: 'sc_status',
  25. statuscodeField: 'sc_statuscode'
  26. }]
  27. }]
  28. });
  29. me.callParent(arguments);
  30. }
  31. });