CheckItem.js 1020 B

12345678910111213141516171819202122232425262728293031323334353637
  1. Ext.define('erp.view.scm.qc.CheckItem',{
  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:'checkItemViewport',
  10. layout: 'anchor',
  11. items: [{
  12. xtype: 'erpFormPanel',
  13. anchor: '100% 100%',
  14. saveUrl: 'scm/qc/saveCheckItem.action',
  15. deleteUrl: 'scm/qc/deleteCheckItem.action',
  16. updateUrl: 'scm/qc/updateCheckItem.action',
  17. auditUrl: 'scm/qc/auditCheckItem.action',
  18. resAuditUrl: 'scm/qc/resAuditCheckItem.action',
  19. submitUrl: 'scm/qc/submitCheckItem.action',
  20. resSubmitUrl: 'scm/qc/resSubmitCheckItem.action',
  21. getIdUrl: 'common/getId.action?seq=CheckItem_SEQ',
  22. codeField: 'ci_code',
  23. keyField: 'ci_id',
  24. statusField: ''
  25. }/*,{
  26. xtype: 'erpGridPanel2',
  27. anchor: '100% 50%',
  28. detno: 'and_detno',
  29. necessaryField: 'and_prodcode',
  30. keyField: 'and_id',
  31. mainField: 'and_anid'
  32. }*/]
  33. }]
  34. });
  35. me.callParent(arguments);
  36. }
  37. });