FeatureValueView.js 834 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. Ext.define('erp.view.pm.bom.FeatureValueView',{
  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:'FeatureProductViewport',
  10. layout: 'anchor',
  11. items: [{
  12. xtype:'erpFormPanel',
  13. anchor: '100% 25%',
  14. params:{
  15. caller:caller,
  16. condition:formCondition
  17. }
  18. },{
  19. xtype:'textfield',
  20. columnWidth: 0.2,
  21. cls: "form-field-allowBlank",
  22. fieldLabel:'ID',
  23. hidden:true,
  24. readOnly:true,
  25. id:'id'
  26. },{
  27. xtype: 'erpGridPanel2',
  28. anchor: '100% 75%',
  29. condition:gridCondition,
  30. bbar:['->',{
  31. text:'BOM多级展开',
  32. id: 'expand'
  33. },{
  34. text:'BOM树型查看',
  35. id: 'find'
  36. }]
  37. }]
  38. }]
  39. });
  40. me.callParent(arguments);
  41. }
  42. });