PriceUpdateForm.js 852 B

123456789101112131415161718192021222324252627282930313233
  1. Ext.define('erp.view.scm.purchase.PriceUpdateForm',{
  2. extend: 'Ext.form.Panel',
  3. alias: 'widget.PriceUpdate',
  4. id: 'form',
  5. title: '采购最近/平均单价计算更新',
  6. frame : true,
  7. autoScroll : true,
  8. buttonAlign : 'center',
  9. FormUtil: Ext.create('erp.util.FormUtil'),
  10. fieldDefaults : {
  11. margin : '4 2 4 2',
  12. fieldStyle : "background:#FFFAFA;color:#515151;",
  13. labelAlign : "right",
  14. msgTarget: 'side',
  15. blankText : $I18N.common.form.blankText
  16. },
  17. initComponent : function(){
  18. this.callParent(arguments);
  19. /*this.title = this.FormUtil.getActiveTab().title;*/
  20. },
  21. items: [{
  22. xtype: 'condatefield',
  23. fieldLabel: '日期',
  24. allowBlank: false,
  25. id: 'date',
  26. name: 'date'
  27. }],
  28. buttons: [{
  29. xtype: 'erpConfirmButton'
  30. },{
  31. xtype:'erpCloseButton'
  32. }]
  33. });