Inquiry.js 982 B

123456789101112131415161718192021222324252627282930313233343536
  1. Ext.define('erp.view.pm.mould.Inquiry',{
  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:'mouldViewport',
  10. layout: 'anchor',
  11. items: [{
  12. xtype: 'erpFormPanel',
  13. anchor: '100% 45%',
  14. saveUrl: 'pm/mould/saveInquiry.action',
  15. updateUrl: 'pm/mould/updateInquiry.action',
  16. deleteUrl: 'pm/mould/deleteInquiry.action',
  17. auditUrl: 'pm/mould/auditInquiry.action',
  18. resAuditUrl: 'pm/mould/resAuditInquiry.action',
  19. submitUrl: 'pm/mould/submitInquiry.action',
  20. resSubmitUrl: 'pm/mould/resSubmitInquiry.action',
  21. getIdUrl: 'common/getId.action?seq=INQUIRY_SEQ',
  22. keyField: 'in_id',
  23. codeField: 'in_code',
  24. statusField: 'in_statuscode'
  25. },{
  26. xtype: 'erpGridPanel2',
  27. anchor: '100% 55%',
  28. detno: 'id_detno',
  29. keyField: 'id_id',
  30. mainField: 'id_inid'
  31. }]
  32. }]
  33. });
  34. me.callParent(arguments);
  35. }
  36. });