ProjectCost.js 855 B

123456789101112131415161718192021222324252627282930
  1. Ext.define('erp.view.plm.cost.ProjectCost',{
  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% 80%',
  13. saveUrl: 'plm/cost/saveProjectCost.action',
  14. deleteUrl: 'plm/cost/deleteProjectCost.action',
  15. updateUrl: 'plm/cost/updateProjectCost.action',
  16. auditUrl: 'plm/cost/auditProjectCost.action',
  17. resAuditUrl: 'plm/cost/resAuditProjectCost.action',
  18. submitUrl: 'plm/cost/submitProjectCost.action',
  19. resSubmitUrl: 'plm/cost/resSubmitProjectCost.action',
  20. getIdUrl: 'common/getId.action?seq=PROJECTCOST_SEQ',
  21. keyField: 'pc_id',
  22. statusField:'pc_status',
  23. codeField:'pc_code'
  24. }
  25. ]
  26. }]
  27. });
  28. me.callParent(arguments);
  29. }
  30. });