CheckItem.js 952 B

12345678910111213141516171819202122232425262728
  1. Ext.define('erp.view.scm.qc.CheckItem', {
  2. extend : 'Ext.Viewport',
  3. layout : 'anchor',
  4. hideBorders : true,
  5. initComponent : function() {
  6. var me = this;
  7. Ext.apply(me, {
  8. items : [ {
  9. xtype : 'erpFormPanel',
  10. anchor : '100% 100%',
  11. saveUrl : 'scm/qc/saveCheckItem.action',
  12. deleteUrl : 'scm/qc/deleteCheckItem.action',
  13. updateUrl : 'scm/qc/updateCheckItem.action',
  14. auditUrl: 'common/auditCommon.action?caller=' +caller,
  15. resAuditUrl: 'common/resAuditCommon.action?caller=' +caller,
  16. submitUrl: 'common/submitCommon.action?caller=' +caller,
  17. resSubmitUrl: 'common/resSubmitCommon.action?caller=' +caller,
  18. bannedUrl: 'common/bannedCommon.action?caller='+caller,
  19. resBannedUrl: 'common/resBannedCommon.action?caller='+caller,
  20. getIdUrl : 'common/getId.action?seq=CheckItem_SEQ',
  21. codeField : 'ci_code',
  22. keyField : 'ci_id',
  23. statusField : 'ci_statuscode'
  24. } ]
  25. });
  26. me.callParent(arguments);
  27. }
  28. });