CloseForm.js 760 B

1234567891011121314151617181920212223242526272829303132333435
  1. Ext.define('erp.view.pm.make.CloseForm',{
  2. extend: 'Ext.form.Panel',
  3. alias: 'widget.Close',
  4. id: 'form',
  5. title: '制造单整批自动结案',
  6. frame : true,
  7. autoScroll : true,
  8. buttonAlign : 'center',
  9. FormUtil: Ext.create('erp.util.FormUtil'),
  10. layout: 'column',
  11. initComponent : function(){
  12. this.callParent(arguments);
  13. /*this.title = this.FormUtil.getActiveTab().title;*/
  14. },
  15. items: [{
  16. xtype: 'condatefield',
  17. fieldLabel: '日期',
  18. allowBlank: false,
  19. id: 'date',
  20. name: 'date'
  21. },{
  22. xtype: 'ftfindfield',
  23. fieldLabel: '制造单号',
  24. id: 'ma_code',
  25. name: 'ma_code',
  26. labelAlign : "right",
  27. allowBlank: true,
  28. }],
  29. buttons: [{
  30. xtype: 'erpConfirmButton'
  31. },
  32. {
  33. xtype: 'erpCloseButton'
  34. }]
  35. });