ProductRelative.js 588 B

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