CheckList.js 1012 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. Ext.define('erp.view.plm.test.CheckList',{
  2. extend: 'Ext.Viewport',
  3. layout: 'fit',
  4. id:'checklist',
  5. hideBorders: true,
  6. initComponent : function(){
  7. var me = this;
  8. Ext.apply(me, {
  9. items: [{
  10. layout: 'anchor',
  11. items: [{
  12. xtype: 'erpFormPanel',
  13. anchor: '100% 35%',
  14. saveUrl: 'plm/check/saveCheckList.action',
  15. deleteUrl: 'plm/check/deleteCheckList.action',
  16. updateUrl: 'plm/check/updateCheckList.action',
  17. auditUrl: 'plm/check/auditCheckList.action',
  18. resAuditUrl: 'plm/check/resAuditCheckList.action',
  19. submitUrl: 'plm/check/submitCheckList.action',
  20. resSubmitUrl: 'plm/check/resSubmitCheckList.action',
  21. getIdUrl: 'common/getId.action?seq=CHECKLIST_SEQ',
  22. keyField: 'cl_id',
  23. codeField:'cl_code'
  24. },
  25. {
  26. xtype: 'erpGridPanel2',
  27. anchor: '100% 65%',
  28. detno: 'cld_detno',
  29. necessaryField: 'cld_itemcode',
  30. keyField:'cld_id',
  31. mainField: 'cld_clid'
  32. }
  33. ]
  34. }]
  35. });
  36. me.callParent(arguments);
  37. }
  38. });