MonthAccountOverForm.js 904 B

12345678910111213141516171819202122232425262728293031323334353637
  1. Ext.define('erp.view.fa.arp.MonthAccountOverForm',{
  2. extend: 'Ext.form.Panel',
  3. alias: 'widget.MonthAccountOver',
  4. id: 'form',
  5. title: '关账及重开作业 ',
  6. frame : true,
  7. autoScroll : true,
  8. buttonAlign : 'center',
  9. FormUtil: Ext.create('erp.util.FormUtil'),
  10. confirmUrl:'',
  11. fieldDefaults : {
  12. margin : '4 2 4 2',
  13. fieldStyle : "background:#FFFAFA;color:#515151;",
  14. labelAlign : "right",
  15. msgTarget: 'side',
  16. blankText : $I18N.common.form.blankText
  17. },
  18. initComponent : function(){
  19. this.callParent(arguments);
  20. /*this.title = this.FormUtil.getActiveTab().title;*/
  21. },
  22. items: [{
  23. xtype: 'monthdatefield',
  24. fieldLabel: '当前期间',
  25. allowBlank: false,
  26. readOnly:true,
  27. id: 'date',
  28. name: 'date'
  29. }],
  30. buttons: [{
  31. xtype: 'erpStartAccountButton'
  32. },{
  33. xtype: 'erpOverAccountButton'
  34. },{
  35. xtype:'erpCloseButton'
  36. }]
  37. });