SonSeqencingForm.js 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. Ext.define('erp.view.pm.bom.SonSeqencingForm',{
  2. extend: 'Ext.form.Panel',
  3. alias: 'widget.SonSeqencing',
  4. id: 'form',
  5. //title: 'BOM子件序号重排作业',
  6. frame : true,
  7. autoScroll : true,
  8. buttonAlign : 'center',
  9. FormUtil: Ext.create('erp.util.FormUtil'),
  10. layout: 'column',
  11. fieldDefaults : {
  12. margin : '4 2 4 2',
  13. fieldStyle : "background:#FFFAFA;color:#515151;",
  14. labelAlign : "right",
  15. msgTarget: 'side',
  16. blankText : $I18N.common.form.blankText
  17. },
  18. initComponent : function(){
  19. this.callParent(arguments);
  20. /*this.title = this.FormUtil.getActiveTab().title;*/
  21. },
  22. items: [
  23. {
  24. xtype: 'dbfindtrigger',
  25. fieldLabel: 'BOMID',
  26. allowBlank: true,
  27. id: 'bo_id',
  28. columnWidth: .5,
  29. name: 'bo_id'
  30. },
  31. {
  32. xtype: 'textfield',
  33. fieldLabel: '父件编号',
  34. allowBlank: true,
  35. id: 'bo_mothercode',
  36. columnWidth: .5,
  37. name: 'bo_mothercode'
  38. },
  39. {
  40. xtype: 'textfield',
  41. fieldLabel: '父件名称',
  42. allowBlank: true,
  43. id: 'bo_mothername',
  44. columnWidth: .5,
  45. name: 'bo_mothername',
  46. readOnly: true,
  47. fieldStyle: 'background:#f1f1f1;'
  48. },
  49. {
  50. xtype: 'textfield',
  51. fieldLabel: '规格',
  52. allowBlank: true,
  53. id: 'bo_spec',
  54. columnWidth: .5,
  55. name: 'bo_spec',
  56. readOnly: true,
  57. fieldStyle: 'background:#f1f1f1;'
  58. },
  59. {
  60. xtype: 'textfield',
  61. fieldLabel: '状态',
  62. allowBlank: true,
  63. id: 'bo_status',
  64. columnWidth: .5,
  65. name: 'bo_status',
  66. readOnly: true,
  67. fieldStyle: 'background:#f1f1f1;'
  68. }
  69. ],
  70. buttons: [{
  71. xtype: 'erpConfirmButton'
  72. }]
  73. });