LineApply.js 967 B

1234567891011121314151617181920212223242526272829303132333435
  1. Ext.define('erp.view.scm.sale.LineApply',{
  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:'erpFormPanel',
  10. layout: 'anchor',
  11. items: [{
  12. xtype: 'erpFormPanel',
  13. anchor: '100% 60%',
  14. saveUrl: 'scm/sale/saveLineApply.action',
  15. deleteUrl: 'scm/sale/deleteLineApply.action',
  16. updateUrl: 'scm/sale/updateLineApply.action',
  17. getIdUrl: 'common/getId.action?seq=LineApply_SEQ',
  18. auditUrl: 'scm/sale/auditLineApply.action',
  19. resAuditUrl: 'scm/sale/resAuditLineApply.action',
  20. submitUrl: 'scm/sale/submitLineApply.action',
  21. resSubmitUrl: 'scm/sale/resSubmitLineApply.action',
  22. keyField: 'la_id',
  23. codeField: 'la_code'
  24. },{
  25. xtype: 'erpGridPanel2',
  26. anchor: '100% 40%',
  27. keyField: 'lad_id',
  28. detno: 'lad_detno',
  29. mainField: 'lad_laid'
  30. }]
  31. }]
  32. });
  33. me.callParent(arguments);
  34. }
  35. });