BOMBatchExpand.js 649 B

1234567891011121314151617181920212223242526272829
  1. Ext.define('erp.view.pm.bom.BOMBatchExpand',{
  2. extend: 'Ext.Viewport',
  3. layout: 'fit',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. layout: 'anchor',
  10. items: [{
  11. xtype: 'erpFormPanel',
  12. anchor: '100% 20%',
  13. updateUrl: 'pm/bom/updateBOMBatchExpand.action',
  14. printUrl: 'pm/bom/printBOMSet.action',
  15. keyField: 'em_id',
  16. codeField: 'em_code',
  17. enableTools: false
  18. },{
  19. xtype: 'erpGridPanel2',
  20. anchor: '100% 80%',
  21. detno: 'bb_detno',
  22. keyField: 'bb_id',
  23. mainField: 'bb_emid'
  24. }]
  25. }]
  26. });
  27. me.callParent(arguments);
  28. }
  29. });