ProductRelative.js 693 B

1234567891011121314151617181920212223242526272829
  1. Ext.define('erp.view.common.productRelative.ProductRelative',{
  2. extend: 'Ext.Viewport',
  3. layout: 'anchor',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. var caller='Product';
  8. Ext.apply(me, {
  9. items: [{
  10. items: [{
  11. xtype: "ProductRelativeFormPanel",
  12. anchor: '100% 40%'
  13. }
  14. ,{
  15. anchor: '100% 60%',
  16. xtype: "panel",
  17. id:'panel',
  18. items:[{
  19. tag :'iframe',
  20. id:'ProductWh',
  21. html : '<iframe src="' + basePath + 'jsps/common/relativeSearch.jsp?whoami=' + caller + '" height="100%" width="100%" frameborder="0" scrolling="auto"></iframe>'
  22. }]
  23. }
  24. ]
  25. }]
  26. });
  27. me.callParent(arguments);
  28. }
  29. });