MileStone.js 944 B

12345678910111213141516171819202122232425262728293031323334
  1. Ext.define('erp.view.plm.task.MileStone',{
  2. extend: 'Ext.Viewport',
  3. layout: 'fit',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. layout: 'anchor',
  10. items: [{
  11. xtype: 'erpFormPanel',
  12. anchor: '100% 40%',
  13. saveUrl: 'plm/task/saveMileStone.action',
  14. deleteUrl: 'plm/task/deleteMileStone.action',
  15. updateUrl: 'plm/task/updateMileStone.action',
  16. getIdUrl: 'common/getId.action?seq=MileStone_SEQ',
  17. auditUrl: 'plm/task/auditMileStone.action',
  18. resAuditUrl: 'plm/task/resAuditMileStone.action',
  19. submitUrl: 'plm/task/submitMileStone.action',
  20. resSubmitUrl: 'plm/task/resSubmitMileStone.action',
  21. keyField: 'ms_id',
  22. codeField: 'ms_code',
  23. },{
  24. xtype: 'erpGridPanel2',
  25. anchor: '100% 60%',
  26. detno: 'msd_detno',
  27. keyField: 'msd_id',
  28. mainField: 'msd_msid'
  29. }]
  30. }]
  31. });
  32. me.callParent(arguments);
  33. }
  34. });