CheckBase.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. Ext.define('erp.view.plm.test.CheckBase',{
  2. extend: 'Ext.Viewport',
  3. layout: 'fit',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. layout: 'anchor',
  10. items: [{
  11. xtype: 'erpFormPanel',
  12. anchor: '100% 100%',
  13. saveUrl: 'plm/check/saveCheck.action',
  14. deleteUrl: 'plm/check/deleteCheck.action',
  15. updateUrl: 'plm/check/updateCheckBase.action',
  16. auditUrl: 'plm/check/auditCheck.action',
  17. resAuditUrl: 'plm/check/resauditCheck.action',
  18. submitUrl: 'plm/check/submitCheck.action',
  19. resSubmitUrl: '/plm/check/resSubmitCheckBase.action',
  20. getIdUrl: 'common/getId.action?seq=CHECKTABLE_SEQ',
  21. keyField: 'ch_id',
  22. codeField:'ch_code'
  23. },
  24. /*{
  25. xtype:'tabpanel',
  26. anchor:'100% 35%',
  27. layout:'fit',
  28. items:[{
  29. title:'沟通记录',
  30. xtype: 'erpGridPanel2',
  31. id:'grid',
  32. caller:'Check'
  33. },{
  34. title:'变更明细',
  35. xtype: 'erpGridPanel5',
  36. id:'change',
  37. caller:'CheckChange',
  38. mainField:'cc_cldid',
  39. }]
  40. }*/
  41. ]
  42. }]
  43. });
  44. me.callParent(arguments);
  45. }
  46. });