MonthUnOver.js 783 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. Ext.define('erp.view.co.cost.MonthUnOver',{
  2. extend: 'Ext.Viewport',
  3. layout: {
  4. type: 'vbox',
  5. align: 'center',
  6. pack: 'center'
  7. },
  8. initComponent : function(){
  9. var me = this;
  10. Ext.apply(me, {
  11. items: [{
  12. width: 450,
  13. height: 300,
  14. bodyStyle: 'background: #f1f1f1;',
  15. xtype: 'form',
  16. title: '成本期间反结转',
  17. layout: {
  18. type: 'vbox',
  19. align: 'center'
  20. },
  21. items: [{
  22. margin : '40 0 0 0',
  23. xtype: 'monthdatefield',
  24. fieldLabel: '期间',
  25. allowBlank: false,
  26. labelWidth: 60,
  27. id: 'date',
  28. name: 'date'
  29. }],
  30. buttonAlign: 'center',
  31. buttons: [{
  32. xtype: 'erpResCarryoverButton'
  33. },{
  34. xtype:'erpCloseButton'
  35. }]
  36. }]
  37. });
  38. me.callParent(arguments);
  39. }
  40. });