AutoDepreciationForm.js 841 B

12345678910111213141516171819202122232425262728293031323334
  1. Ext.define('erp.view.fa.fix.AutoDepreciationForm',{
  2. extend: 'Ext.form.Panel',
  3. alias: 'widget.AutoDepreciation',
  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. id: 'date',
  27. name: 'date'
  28. }],
  29. buttons: [{
  30. xtype: 'erpConfirmButton'
  31. },{
  32. xtype:'erpCloseButton'
  33. }]
  34. });