AccountReceWorkForm.js 916 B

123456789101112131415161718192021222324252627282930313233343536
  1. Ext.define('erp.view.fa.ars.AccountReceWorkForm',{
  2. extend: 'Ext.form.Panel',
  3. alias: 'widget.AccountReceWork',
  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: 'textfield',
  24. fieldLabel: '',
  25. allowBlank: false,
  26. id: 'text',
  27. name: 'text',
  28. readOnly :true,
  29. value:'应收汇兑损益作业'
  30. }],
  31. buttons: [{
  32. xtype: 'erpConfirmButton'
  33. },{
  34. xtype:'erpCloseButton'
  35. }]
  36. });