MakeCostCloseForm.js 744 B

1234567891011121314151617181920212223242526272829303132
  1. Ext.define('erp.view.co.cost.MakeCostCloseForm',{
  2. extend: 'Ext.form.Panel',
  3. alias: 'widget.MakeCostCloseForm',
  4. id: 'form',
  5. title: '主营成本结转凭证制作',
  6. frame : true,
  7. autoScroll : true,
  8. buttonAlign : 'center',
  9. FormUtil: Ext.create('erp.util.FormUtil'),
  10. confirmUrl:'',
  11. layout: 'column',
  12. fieldDefaults : {
  13. margin : '4 10 4 10',
  14. columnWidth: 1,
  15. msgTarget: 'side',
  16. blankText : $I18N.common.form.blankText
  17. },
  18. initComponent : function(){
  19. this.callParent(arguments);
  20. },
  21. items: [{
  22. xtype: 'checkbox',
  23. id: 'account',
  24. name: 'account',
  25. boxLabel: '将结转产生的凭证立即登账'
  26. }],
  27. buttons: [{
  28. xtype: 'erpMakeCostCloseButton'
  29. },{
  30. xtype:'erpCloseButton'
  31. }]
  32. });