BadCode.js 871 B

12345678910111213141516171819202122232425262728293031
  1. Ext.define('erp.view.pm.mes.BadCode',{
  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:'BadCodeViewport',
  10. layout: 'anchor',
  11. items: [{
  12. xtype: 'erpFormPanel',
  13. anchor: '100% 100%',
  14. saveUrl: 'pm/mes/saveBadCode.action',
  15. deleteUrl: 'pm/mes/deleteBadCode.action',
  16. updateUrl: 'pm/mes/updateBadCode.action',
  17. getIdUrl: 'common/getId.action?seq=BadCode_SEQ',
  18. submitUrl: 'pm/mes/submitBadCode.action',
  19. auditUrl: 'pm/mes/auditBadCode.action',
  20. resAuditUrl: 'pm/mes/resAuditBadCode.action',
  21. resSubmitUrl: 'pm/mes/resSubmitBadCode.action',
  22. keyField: 'bc_id',
  23. codeField: 'bc_code',
  24. statusField: 'bc_status',
  25. statuscodeField: 'bc_statuscode'
  26. }]
  27. }]
  28. });
  29. me.callParent(arguments);
  30. }
  31. });