MoveProductForm.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. Ext.define('erp.view.pm.make.MoveProductForm',{
  2. extend: 'Ext.form.Panel',
  3. alias: 'widget.MoveProduct',
  4. id: 'form',
  5. //title: '制造单整批挪料作业',
  6. frame : true,
  7. bodyStyle: 'padding-left:100px;',
  8. autoScroll : true,
  9. buttonAlign : 'center',
  10. FormUtil: Ext.create('erp.util.FormUtil'),
  11. layout: {
  12. type: 'vbox'
  13. },
  14. fieldDefaults : {
  15. margin : '4 2 4 2',
  16. fieldStyle : "background:#FFFAFA;color:#515151;",
  17. labelAlign : "right",
  18. msgTarget: 'side',
  19. blankText : $I18N.common.form.blankText
  20. },
  21. initComponent : function(){
  22. this.callParent(arguments);
  23. },
  24. items: [
  25. {
  26. xtype: 'ftfindfield',
  27. fieldLabel: '制造单号',
  28. allowBlank: false,
  29. id: 'ma_code',
  30. name: 'ma_code'
  31. },
  32. {
  33. xtype: 'textfield',
  34. fieldLabel: '数量',
  35. allowBlank: false,
  36. id: 'ma_qty',
  37. name: 'ma_qty'
  38. },
  39. {
  40. xtype: 'datefield',
  41. fieldLabel: '日期',
  42. allowBlank: false,
  43. id: 'ma_date',
  44. name: 'ma_date'
  45. }
  46. ],
  47. buttons: [{
  48. xtype: 'erpConfirmButton'
  49. }]
  50. });