MakeComplete.js 885 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. Ext.define('erp.view.fa.gla.MakeComplete',{
  2. extend: 'Ext.Viewport',
  3. layout: {
  4. type: 'hbox',
  5. align: 'middle',
  6. pack: 'center'
  7. },
  8. hideBorders: true,
  9. initComponent : function(){
  10. var me = this;
  11. Ext.apply(me, {
  12. items: [{
  13. xtype: 'form',
  14. height: 260,
  15. width: 440,
  16. bodyStyle: 'background: #f1f1f1;',
  17. title: '本月完工结转',
  18. layout: {
  19. type : 'vbox',
  20. pack : 'center'
  21. },
  22. fieldDefaults: {
  23. margin: '5 3 5 20',
  24. labelWidth: 150
  25. },
  26. items: [{
  27. width: 300,
  28. xtype: 'displayfield',
  29. fieldLabel: '总账期间',
  30. name: 'yearmonth',
  31. id: 'yearmonth'
  32. }],
  33. buttonAlign: 'center',
  34. buttons: [{
  35. text: '执行',
  36. id: 'deal',
  37. cls: 'x-btn-gray',
  38. iconCls: 'x-button-icon-submit'
  39. }, {
  40. xtype: 'erpCloseButton'
  41. }]
  42. }]
  43. });
  44. this.callParent(arguments);
  45. }
  46. });