CostAccount.js 855 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. Ext.define('erp.view.co.cost.CostAccount',{
  2. extend: 'Ext.Viewport',
  3. layout: {
  4. type: 'vbox',
  5. align: 'center',
  6. pack: 'center'
  7. },
  8. initComponent : function(){
  9. var me = this;
  10. Ext.apply(me, {
  11. items: [{
  12. width: 450,
  13. height: 300,
  14. bodyStyle: 'background: #f1f1f1;',
  15. margin: '-20 0 0 0',
  16. xtype: 'form',
  17. title: '成本计算作业',
  18. layout: {
  19. type: 'vbox',
  20. align: 'center'
  21. },
  22. items: [{
  23. xtype: 'container',
  24. contentEl: 'desc'
  25. },{
  26. margin : '20 0 0 0',
  27. xtype: 'monthdatefield',
  28. fieldLabel: '日期',
  29. allowBlank: false,
  30. labelWidth: 40,
  31. id: 'date',
  32. name: 'date'
  33. }],
  34. buttonAlign: 'center',
  35. buttons: [{
  36. xtype: 'erpConfirmButton'
  37. },{
  38. xtype:'erpCloseButton'
  39. }]
  40. }]
  41. });
  42. me.callParent(arguments);
  43. }
  44. });