Device.js 997 B

12345678910111213141516171819202122232425262728293031323334353637
  1. Ext.define('erp.view.pm.mes.Device',{
  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:'DeviceViewport',
  10. layout: 'anchor',
  11. items: [{
  12. xtype: 'erpFormPanel',
  13. anchor: '100% 40%',
  14. saveUrl: 'pm/mes/saveDevice.action',
  15. deleteUrl: 'pm/mes/deleteDevice.action',
  16. updateUrl: 'pm/mes/updateDevice.action',
  17. getIdUrl: 'common/getId.action?seq=Device_SEQ',
  18. submitUrl: 'pm/mes/submitDevice.action',
  19. auditUrl: 'pm/mes/auditDevice.action',
  20. resAuditUrl: 'pm/mes/resAuditDevice.action',
  21. resSubmitUrl: 'pm/mes/resSubmitDevice.action',
  22. keyField: 'de_id',
  23. codeField: 'de_code',
  24. statusField: 'de_status',
  25. statuscodeField: 'de_statuscode'
  26. },{
  27. xtype: 'erpGridPanel2',
  28. anchor: '100% 60%',
  29. detno: 'dl_detno',
  30. keyField: 'dl_id',
  31. mainField: 'dl_deid'
  32. }]
  33. }]
  34. });
  35. me.callParent(arguments);
  36. }
  37. });