ReserveRestartForm.js 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. Ext.define('erp.view.scm.reserve.ReserveRestartForm',{
  2. extend: 'Ext.form.Panel',
  3. alias: 'widget.ReserveRestart',
  4. id: 'form',
  5. title: '<font color=#a1a1a1; size=3>库存系统解除冻结作业</font>',
  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. },
  20. items: [{
  21. xtype: 'numberfield',
  22. fieldLabel:'用量',
  23. allowBlank: true,
  24. id: 'money',
  25. name: 'money'
  26. },{
  27. xtype: 'numberfield',
  28. fieldLabel:'单价',
  29. allowBlank: true,
  30. id: 'price',
  31. name: 'price'
  32. },{
  33. xtype: 'numberfield',
  34. fieldLabel:'总额',
  35. allowBlank: true,
  36. id: 'total',
  37. name: 'total'
  38. }],
  39. buttons: [{
  40. xtype: 'erpConfirmButton'
  41. },{
  42. xtype:'erpCloseButton'
  43. }]
  44. });