ECNDetailLocation.js 813 B

1234567891011121314151617181920212223242526272829303132
  1. Ext.define('erp.view.pm.bom.ECNDetailLocation',{
  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:'ECNTestViewport',
  10. layout: 'anchor',
  11. items: [{
  12. xtype: 'erpFormPanel',
  13. anchor: '100% 30%',
  14. saveUrl: 'pm/bom/saveECNDetailLocation.action',
  15. deleteUrl: 'pm/bom/deleteECNDetailLocation.action',
  16. updateUrl: 'pm/bom/updateECNDetailLocation.action',
  17. getIdUrl: 'common/getId.action?seq=ECN_SEQ',
  18. keyField: 'ed_id',
  19. codeField: 'ed_soncode',
  20. },{
  21. xtype: 'erpGridPanel2',
  22. anchor: '100% 70%',
  23. detno: 'edl_detno',
  24. keyField: 'edl_id',
  25. mainField: 'edl_edid',
  26. necessaryField: 'edl_code'
  27. }]
  28. }]
  29. });
  30. me.callParent(arguments);
  31. }
  32. });