ReserveClose.js.svn-base 948 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. Ext.define('erp.view.scm.reserve.ReserveClose',{
  2. extend: 'Ext.Viewport',
  3. layout: 'fit',
  4. hiextend: 'Ext.Viewport',
  5. layout: {
  6. type: 'vbox',
  7. align: 'center',
  8. pack: 'center'
  9. },
  10. initComponent : function(){
  11. var me = this;
  12. Ext.apply(me, {
  13. items: [{
  14. width: 450,
  15. height: 300,
  16. bodyStyle: 'background: #f1f1f1;',
  17. xtype: 'form',
  18. title: '库存结账作业',
  19. layout: {
  20. type: 'vbox',
  21. align: 'center'
  22. },
  23. items: [{
  24. margin : '40 0 0 0',
  25. xtype: 'monthdatefield',
  26. fieldLabel: '期间',
  27. allowBlank: false,
  28. readOnly: true,
  29. labelWidth: 60,
  30. id: 'date',
  31. name: 'date'
  32. }],
  33. buttonAlign: 'center',
  34. buttons: [{
  35. xtype: 'erpCheckbeforePostButton',
  36. height: 26
  37. },{
  38. xtype: 'erpCheckPostButton',
  39. height: 26
  40. },{
  41. xtype:'erpCloseButton',
  42. height: 26
  43. }]
  44. }]
  45. });
  46. me.callParent(arguments);
  47. }
  48. });