ECN.js 1019 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. Ext.define('erp.view.pm.bom.ECN',{
  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:'ECNViewport',
  10. layout: 'anchor',
  11. items: [{
  12. xtype: 'erpFormPanel',
  13. anchor: '100% 50%',
  14. saveUrl: 'pm/bom/saveECN.action',
  15. deleteUrl: 'pm/bom/deleteECN.action',
  16. updateUrl: 'pm/bom/updateECN.action',
  17. auditUrl: 'pm/bom/auditECN.action',
  18. resAuditUrl: 'pm/bom/resAuditECN.action',
  19. submitUrl: 'pm/bom/submitECN.action',
  20. printUrl: 'pm/bom/printECN.action',
  21. resSubmitUrl: 'pm/bom/resSubmitECN.action',
  22. getIdUrl: 'common/getId.action?seq=ECN_SEQ',
  23. keyField: 'ecn_id',
  24. codeField: 'ecn_code',
  25. statusField: 'ecn_checkstatuscode'
  26. },{
  27. xtype: 'erpGridPanel2',
  28. anchor: '100% 50%',
  29. detno: 'ed_detno',
  30. keyField: 'ed_id',
  31. mainField: 'ed_ecnid',
  32. necessaryField: 'ed_type'
  33. }]
  34. }]
  35. });
  36. me.callParent(arguments);
  37. }
  38. });