MouldFeePlease.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. Ext.define('erp.view.pm.mould.MouldFeePlease',{
  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:'MouldFeePleaseViewport',
  10. layout: 'anchor',
  11. items: [{
  12. xtype: 'erpFormPanel',
  13. anchor: '100% 50%',
  14. saveUrl: 'pm/mould/saveMouldFeePlease.action',
  15. deleteUrl: 'pm/mould/deleteMouldFeePlease.action',
  16. updateUrl: 'pm/mould/updateMouldFeePlease.action',
  17. auditUrl: 'pm/mould/auditMouldFeePlease.action',
  18. //printUrl: 'pm/mould/printModAlter.action',
  19. printUrl: 'pm/mould/printMouldFeePlease.action',
  20. resAuditUrl: 'pm/mould/resAuditMouldFeePlease.action',
  21. submitUrl: 'pm/mould/submitMouldFeePlease.action',
  22. resSubmitUrl: 'pm/mould/resSubmitMouldFeePlease.action',
  23. endUrl: 'pm/mould/endMouldFeePlease.action',
  24. resEndUrl: 'pm/mould/resEndMouldFeePlease.action',
  25. getIdUrl: 'common/getId.action?seq=MouldFeePlease_SEQ',
  26. keyField: 'mp_id',
  27. codeField: 'mp_code',
  28. statusField: 'mp_statuscode'
  29. },{
  30. xtype: 'erpGridPanel2',
  31. anchor: '100% 50%',
  32. detno: 'mfd_detno',
  33. keyField: 'mfd_id',
  34. mainField: 'mfd_mpid'
  35. }]
  36. }]
  37. });
  38. me.callParent(arguments);
  39. }
  40. });