SafeReserveForm.js 887 B

1234567891011121314151617181920212223242526272829303132333435
  1. Ext.define('erp.view.scm.product.SafeReserveForm',{
  2. extend: 'Ext.form.Panel',
  3. alias: 'widget.SafeReserve',
  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: 'erpPrintButton'
  32. },{
  33. xtype:'erpCloseButton'
  34. }]
  35. });