VerifyApply.js 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. Ext.define('erp.view.scm.purchase.VerifyApply',{
  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/purchase/saveVerifyApply.action?caller=' +caller,
  12. deleteUrl: 'scm/purchase/deleteVerifyApply.action?caller=' +caller,
  13. updateUrl: 'scm/purchase/updateVerifyApply.action?caller=' +caller,
  14. auditUrl: 'scm/purchase/auditVerifyApply.action?caller=' +caller,
  15. resAuditUrl: 'scm/purchase/resAuditVerifyApply.action?caller=' +caller,
  16. submitUrl: 'scm/purchase/submitVerifyApply.action?caller=' +caller,
  17. printUrl: 'scm/purchase/printVerifyApply.action?caller=' +caller,
  18. printBarUrl: 'scm/purchase/printBar.action?caller=' +caller,
  19. resSubmitUrl: 'scm/purchase/resSubmitVerifyApply.action?caller=' +caller,
  20. getIdUrl: 'common/getId.action?seq=VERIFYAPPLY_SEQ',
  21. keyField: 'va_id',
  22. codeField: 'va_code',
  23. statusField: 'va_status',
  24. statuscodeField: 'va_statuscode'
  25. },{
  26. xtype: 'erpGridPanel2',
  27. allowExtraButtons: true,
  28. anchor: '100% 70%'
  29. }]
  30. });
  31. me.callParent(arguments);
  32. }
  33. });