lossworktime.js 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. Ext.define('erp.view.pm.make.lossworktime',{
  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% 35%',
  13. saveUrl: 'pm/make/saveLossWorkTime.action',
  14. deleteUrl: 'pm/make/deleteLossWorkTime.action',
  15. updateUrl: 'pm/make/updateLossWorkTime.action',
  16. auditUrl: 'pm/make/auditLossWorkTime.action',
  17. resAuditUrl: 'pm/make/resAuditLossWorkTime.action',
  18. submitUrl: 'pm/make/submitLossWorkTime.action',
  19. resSubmitUrl: 'pm/make/resSubmitLossWorkTime.action',
  20. getIdUrl: 'common/getId.action?seq=LOSSWORKTIME_SEQ',
  21. keyField: 'lw_id',
  22. codeField: 'lw_code',
  23. statusField: 'lw_status',
  24. statuscodeField: 'lw_statuscode'
  25. },{
  26. xtype: 'erpGridPanel2',
  27. anchor: '100% 65%',
  28. keyField: 'lwd_id',
  29. detno: 'lwd_detno',
  30. mainField: 'lwd_lwid'
  31. }]
  32. }]
  33. });
  34. me.callParent(arguments);
  35. }
  36. });