ECRDetailLocation.js 845 B

12345678910111213141516171819202122232425262728293031323334
  1. Ext.define('erp.view.pm.bom.ECRDetailLocation',{
  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:'ECRTestViewport',
  10. layout: 'anchor',
  11. items: [{
  12. xtype: 'erpFormPanel',
  13. anchor: '100% 30%',
  14. saveUrl: 'pm/bom/saveECRDetailLocation.action',
  15. deleteUrl: 'pm/bom/deleteECRDetailLocation.action',
  16. updateUrl: 'pm/bom/updateECRDetailLocation.action',
  17. getIdUrl: 'common/getId.action?seq=ECR_SEQ',
  18. _noc:1,
  19. keyField: 'ecrd_id',
  20. codeField: 'ecrd_soncode',
  21. },{
  22. xtype: 'erpGridPanel2',
  23. anchor: '100% 70%',
  24. detno: 'edl_detno',
  25. keyField: 'edl_id',
  26. mainField: 'edl_ecrdid',
  27. necessaryField: 'edl_code',
  28. _noc:1
  29. }]
  30. }]
  31. });
  32. me.callParent(arguments);
  33. }
  34. });