MJProject.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. Ext.define('erp.view.pm.mould.MJProject',{
  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:'MJProjectViewport',
  10. layout: 'anchor',
  11. items: [{
  12. xtype: 'erpFormPanel',
  13. anchor: '100% 50%',
  14. saveUrl: 'common/saveCommon.action?caller=' +caller,
  15. deleteUrl: 'common/deleteCommon.action?caller=' +caller,
  16. updateUrl: 'common/updateCommon.action?caller=' +caller,
  17. auditUrl: 'pm/mould/auditMJProject.action',
  18. printUrl: 'common/printCommon.action?caller=' +caller,
  19. resAuditUrl: 'common/resAuditCommon.action?caller=' +caller,
  20. submitUrl: 'common/submitCommon.action?caller=' +caller,
  21. resSubmitUrl: 'common/resSubmitCommon.action?caller=' +caller,
  22. getIdUrl: 'common/getCommonId.action?caller=' +caller,
  23. keyField: 'ws_id',
  24. codeField: 'ws_code',
  25. statusField: 'ws_statuscode'
  26. },{
  27. xtype: 'erpGridPanel2',
  28. anchor: '100% 50%',
  29. detno: 'wd_detno',
  30. keyField: 'wd_id',
  31. mainField: 'wd_wsid'
  32. }]
  33. }]
  34. });
  35. me.callParent(arguments);
  36. }
  37. });