MakeCraft.js 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. Ext.define('erp.view.pm.mes.MakeCraft',{
  2. extend: 'Ext.Viewport',
  3. layout: 'fit',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. id:'MakeCraftViewport',
  10. layout: 'anchor',
  11. items: [{
  12. xtype: 'erpFormPanel',
  13. anchor: '100% 35%',
  14. saveUrl: 'pm/mes/saveMakeCraft.action',
  15. deleteUrl: 'pm/mes/deleteMakeCraft.action',
  16. updateUrl: 'pm/mes/updateMakeCraft.action',
  17. getIdUrl: 'common/getId.action?seq=MakeCraft_SEQ',
  18. submitUrl: 'pm/mes/submitMakeCraft.action',
  19. auditUrl: 'pm/mes/auditMakeCraft.action',
  20. resAuditUrl: 'pm/mes/resAuditMakeCraft.action',
  21. resSubmitUrl: 'pm/mes/resSubmitMakeCraft.action',
  22. keyField: 'mc_id',
  23. codeField: 'mc_code',
  24. statusField: 'mc_status',
  25. statuscodeField: 'mc_statuscode'
  26. },{
  27. xtype: 'erpGridPanel2',
  28. anchor: '100% 65%',
  29. detno: 'mcd_detno',
  30. keyField: 'mcd_id',
  31. mainField: 'mcd_mcid'
  32. }]
  33. }]
  34. });
  35. me.callParent(arguments);
  36. }
  37. });