BomCompare.js 825 B

1234567891011121314151617181920212223242526272829303132333435
  1. Ext.define('make.view.make.bom.BomCompare', {
  2. extend: 'Ext.container.Container',
  3. xtype: 'make-bom-bomcompare',
  4. cls: 'core-base-basepanel',
  5. layout: 'vbox',
  6. caller: 'BomCompare',
  7. viewModel: {
  8. data: {
  9. form : {
  10. code1:null,
  11. code2:null,
  12. code3:null,
  13. code4:null,
  14. code5:null
  15. },
  16. single:false,
  17. differ:false,
  18. noCompareLocation:false
  19. },
  20. },
  21. initComponent: function () {
  22. var me = this;
  23. Ext.apply(me, {
  24. items: [{
  25. xtype: 'make-bom-bomcompareform'
  26. }, {
  27. xtype: "make-bom-bomcomparegrid",
  28. flex: 1
  29. }]
  30. })
  31. this.callParent(arguments);
  32. },
  33. });