AcceptNotify.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. Ext.define('erp.view.scm.purchase.AcceptNotify',{
  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:'purchaseViewport',
  10. layout: 'anchor',
  11. items: [{
  12. xtype: 'erpFormPanel',
  13. anchor: '100% 35%',
  14. saveUrl: 'scm/purchase/saveAcceptNotify.action',
  15. deleteUrl: 'scm/purchase/deleteAcceptNotify.action',
  16. updateUrl: 'scm/purchase/updateAcceptNotify.action',
  17. auditUrl: 'scm/purchase/auditAcceptNotify.action',
  18. resAuditUrl: 'scm/purchase/resAuditAcceptNotify.action',
  19. submitUrl: 'scm/purchase/submitAcceptNotify.action',
  20. resSubmitUrl: 'scm/purchase/resSubmitAcceptNotify.action',
  21. getIdUrl: 'common/getId.action?seq=ACCEPTNOTIFY_SEQ',
  22. codeField: 'an_code',
  23. keyField: 'an_id',
  24. statusField: 'an_statuscode'
  25. },{
  26. xtype: 'erpGridPanel2',
  27. anchor: '100% 65%',
  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. });