SetLabelTemplate.js 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. Ext.define('erp.view.scm.reserve.SetLabelTemplate',{
  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% 30%',
  11. saveUrl: 'scm/reserve/saveLabelT.action?caller=' +caller,
  12. deleteUrl: 'scm/reserve/deleteLabelT.action?caller=' +caller,
  13. updateUrl: 'scm/reserve/updateLabelT.action?caller=' +caller,
  14. auditUrl: 'scm/reserve/auditLabelT.action?caller=' +caller,
  15. resAuditUrl: 'scm/reserve/resAuditLabelT.action?caller=' +caller,
  16. submitUrl: 'scm/reserve/submitLabelT.action?caller=' +caller,
  17. resSubmitUrl: 'scm/reserve/resSubmitLabelT.action?caller=' +caller,
  18. bannedUrl:'scm/reserve/bannedLabelT.action?caller=' +caller,
  19. resBannedUrl:'scm/reserve/resBannedLabelT.action?caller='+caller,
  20. getIdUrl: 'common/getId.action?seq=Label_SEQ',
  21. keyField: 'la_id',
  22. codeField: 'la_code',
  23. statusField: 'la_status',
  24. statuscodeField: 'la_statuscode'
  25. },{
  26. xtype: 'erpGridPanel2',
  27. anchor: '50% 70%',
  28. detno: 'lp_detno',
  29. keyField: 'lp_id',
  30. mainField: 'lp_laid',
  31. allowExtraButtons : true
  32. }]
  33. });
  34. me.callParent(arguments);
  35. }
  36. });