DeskForm.js 956 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. text: '供应',
  21. id:'supply'
  22. },{
  23. text:'需求',
  24. id:'need'
  25. },{
  26. text:'清理无效PR',
  27. id:'topurchase'
  28. },{
  29. text:'清理无效预测',
  30. id:'topurchaseforecast'
  31. },{
  32. text:'转制造',
  33. id:'tomake'
  34. } ,{
  35. text:'异常报告',
  36. id:'error'
  37. },
  38. {
  39. xtype:'erpOrderAnalysisButton'
  40. },
  41. {
  42. text:'关闭',
  43. id:'close'
  44. }
  45. ],
  46. initComponent : function(){
  47. this.callParent(arguments);
  48. }
  49. });