AppMould.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. Ext.define('erp.view.pm.mould.AppMould',{
  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:'AppMouldViewport',
  10. layout: 'anchor',
  11. items: [{
  12. xtype: 'erpFormPanel',
  13. anchor: '100% 50%',
  14. saveUrl: 'pm/mould/saveAppMould.action',
  15. deleteUrl: 'pm/mould/deleteAppMould.action',
  16. updateUrl: 'pm/mould/updateAppMould.action',
  17. auditUrl: 'pm/mould/auditAppMould.action',
  18. resAuditUrl: 'pm/mould/resAuditAppMould.action',
  19. submitUrl: 'pm/mould/submitAppMould.action',
  20. resSubmitUrl: 'pm/mould/resSubmitAppMould.action',
  21. bannedUrl: 'pm/mould/bannedAppMould.action',
  22. resBannedUrl: 'pm/mould/resBannedAppMould.action',
  23. getIdUrl: 'common/getId.action?seq=AppMould_SEQ',
  24. keyField: 'app_id',
  25. codeField: 'app_code',
  26. statusField: 'app_statuscode'
  27. },{
  28. xtype: 'erpGridPanel2',
  29. anchor: '100% 50%',
  30. detno: 'ad_detno',
  31. necessaryField: 'ad_pscode',
  32. keyField: 'ad_id',
  33. mainField: 'ad_appid',
  34. allowExtraButtons : true
  35. }]
  36. }]
  37. });
  38. me.callParent(arguments);
  39. }
  40. });