ShowChance.js 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. Ext.define('erp.view.crm.chance.ShowChance',{
  2. extend: 'Ext.Viewport',
  3. autoScroll:true,
  4. layout:'column',
  5. style: 'background:#f1f1f1;',
  6. FormUtil: Ext.create('erp.util.FormUtil'),
  7. hideBorders: true,
  8. //autoScroll:true,
  9. items:[{
  10. height: '300',
  11. columnWidth:1,
  12. title:'商 机',
  13. xtype:'erpShowForm',
  14. caller:'Chance',
  15. winurl:'jsps/crm/chance/chance.jsp',
  16. keyF:'ch_id',
  17. page: 1,
  18. pageSize: 5,
  19. border: false
  20. },{
  21. columnWidth:1,
  22. title:'报价情况明细',
  23. xtype:'erpDatalistGridPanel2',
  24. caller:'Quotation',
  25. codeF:'qu_code',
  26. keyF:'qu_id',
  27. page: 1,
  28. pageSize: 5,
  29. border: false
  30. },{
  31. columnWidth:1,
  32. title:'送样情况明细',
  33. xtype:'erpDatalistGridPanel2',
  34. caller:'Sampleapply',
  35. codeF:'sa_code',
  36. keyF:'sa_id',
  37. page: 1,
  38. pageSize: 5,
  39. border: false
  40. },{
  41. columnWidth:1,
  42. title:'解决方案',
  43. xtype:'erpDatalistGridPanel2',
  44. caller:'Solution',
  45. //condition:'',
  46. condition1:'',
  47. codeF:'so_chcode',
  48. keyF:'so_id',
  49. page: 1,
  50. pageSize: 5,
  51. border: false
  52. },{
  53. columnWidth:1,
  54. title:'竞争对手',
  55. xtype:'erpDatalistGridPanel2',
  56. caller:'Competitor',
  57. //condition:'',
  58. condition1:'',
  59. codeF:'co_chcode',
  60. keyF:'co_id',
  61. page: 1,
  62. pageSize: 5,
  63. border: false
  64. }],
  65. initComponent : function(){
  66. formCondition = getUrlParam('formCondition');//从url解析参数
  67. formCondition = (formCondition == null) ? "" : formCondition.replace(/IS/g,"=");
  68. console.log(formCondition);
  69. this.callParent(arguments);
  70. }
  71. });