AQL.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. Ext.define('erp.view.scm.qc.AQL',{
  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% 30%',
  14. saveUrl: 'common/saveCommon.action?caller=' +caller,
  15. deleteUrl: 'common/deleteCommon.action?caller=' +caller,
  16. updateUrl: 'common/updateCommon.action?caller=' +caller,
  17. auditUrl: 'scm/qc/auditAQL.action',
  18. resAuditUrl: 'common/resAuditCommon.action?caller=' +caller,
  19. submitUrl: 'common/submitCommon.action?caller=' +caller,
  20. resSubmitUrl: 'common/resSubmitCommon.action?caller=' +caller,
  21. getIdUrl: 'common/getCommonId.action?caller=' +caller,
  22. codeField: 'al_code',
  23. keyField: 'al_id',
  24. statusField: 'al_statusocde'
  25. },{
  26. xtype: 'erpGridPanel2',
  27. anchor: '100% 70%',
  28. detno: 'ad_detno',
  29. necessaryField: 'ad_qty',
  30. keyField: 'ad_id',
  31. mainField: 'ad_alid'
  32. }]
  33. }]
  34. });
  35. me.callParent(arguments);
  36. }
  37. });