BomCompareForm.js 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. Ext.define('make.view.make.bom.BomCompareForm', {
  2. extend: 'Ext.form.Panel',
  3. xtype: 'make-bom-bomcompareform',
  4. controller: 'make-bom-bomcompareform',
  5. width: '100%',
  6. minHeight: 100,
  7. bodyPadding: '8 10 8 10',
  8. margin: '0 0 12 0',
  9. layout: 'column',
  10. initComponent: function () {
  11. var me = this;
  12. Ext.apply(me, {
  13. defaults: {
  14. labelWidth: 75,
  15. margin:'8 20 0 0'
  16. },
  17. items: [{
  18. xtype: 'productMDbfindTrigger',
  19. name: 'code1',
  20. fieldLabel: '产品编号1',
  21. bind:'{form.code1}'
  22. }, {
  23. xtype: 'productMDbfindTrigger',
  24. name: 'code2',
  25. fieldLabel: '产品编号2',
  26. bind:'{form.code2}'
  27. }, {
  28. xtype: 'productMDbfindTrigger',
  29. name: 'code3',
  30. fieldLabel: '产品编号3',
  31. bind:'{form.code3}'
  32. }, {
  33. xtype: 'productMDbfindTrigger',
  34. name: 'code4',
  35. fieldLabel: '产品编号4',
  36. bind:'{form.code4}'
  37. }, {
  38. xtype: 'productMDbfindTrigger',
  39. name: 'code5',
  40. fieldLabel: '产品编号5',
  41. bind:'{form.code5}'
  42. }]
  43. })
  44. me.callParent(arguments);
  45. },
  46. });