WriteVoucher.js 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. Ext.define('erp.view.fa.gla.WriteVoucher', {
  2. extend: 'Ext.Viewport',
  3. layout: 'border',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. region: 'north',
  10. height: 35,
  11. xtype: 'toolbar',
  12. items: ['期间:', {
  13. xtype: 'tbtext',
  14. id: 'yearmonth'
  15. },'-','总凭证数:', {
  16. xtype: 'tbtext',
  17. id: 'total'
  18. },'-','在录入凭证数:', {
  19. xtype: 'tbtext',
  20. id: 'enter'
  21. },'-','已提交凭证数 :', {
  22. xtype: 'tbtext',
  23. id: 'commit'
  24. },'-','已审核凭证数:', {
  25. xtype: 'tbtext',
  26. id: 'audit'
  27. },'->', {
  28. xtype: 'erpAccountedButton'
  29. },'-',{
  30. text: $I18N.common.button.erpCloseButton,
  31. iconCls: 'x-button-icon-close',
  32. cls: 'x-btn-gray',
  33. handler: function(){
  34. var main = parent.Ext.getCmp("content-panel");
  35. main.getActiveTab().close();
  36. }
  37. }]
  38. },{
  39. region: 'center',
  40. xtype: 'erpGridPanel2'
  41. }]
  42. });
  43. me.callParent(arguments);
  44. }
  45. });