DeskForm.js 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. Ext.define('erp.view.pm.mps.DeskForm', {
  2. extend: 'Ext.form.Panel',
  3. requires: ['erp.view.core.button.OdDynamicAnalysis'],
  4. alias: 'widget.erpMPSDeskFormPanel',
  5. frame: true,
  6. layout: 'column',
  7. autoScroll: true,
  8. defaultType: 'textfield',
  9. labelSeparator: ':',
  10. height: 120,
  11. FormUtil: Ext.create('erp.util.FormUtil'),
  12. buttonAlign: 'center',
  13. buttons: [{
  14. text: '物料',
  15. id: 'product',
  16. style: {
  17. marginBottom: '50px'
  18. }
  19. },
  20. {
  21. text: '供应',
  22. id: 'supply'
  23. },
  24. {
  25. text: '需求',
  26. id: 'need'
  27. },
  28. {
  29. text: '清理无效PR',
  30. id: 'topurchase'
  31. },
  32. {
  33. text: '清理无效预测',
  34. id: 'topurchaseforecast'
  35. },
  36. {
  37. text: '转制造',
  38. id: 'tomake'
  39. },{
  40. text: '呆滞库存处理',
  41. id: 'dullstockdeal'
  42. },{
  43. text: '异常报告',
  44. id: 'error'
  45. },
  46. {
  47. xtype: 'erpOrderAnalysisButton'
  48. },{
  49. text: '剩余供应ECN分析',
  50. id: 'ecnAnalysis'
  51. },
  52. {
  53. text: '关闭',
  54. id: 'close'
  55. }],
  56. initComponent: function () {
  57. this.callParent(arguments);
  58. }
  59. });