AcceptNotify.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. Ext.define('erp.view.scm.purchase.AcceptNotify',{
  2. extend: 'Ext.Viewport',
  3. layout: 'anchor',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. xtype: 'erpFormPanel',
  10. anchor: '100% 35%',
  11. saveUrl: 'scm/purchase/saveAcceptNotify.action',
  12. deleteUrl: 'scm/purchase/deleteAcceptNotify.action',
  13. updateUrl: 'scm/purchase/updateAcceptNotify.action',
  14. auditUrl: 'scm/purchase/auditAcceptNotify.action',
  15. printUrl: 'scm/purchase/printAcceptNotify.action',
  16. resAuditUrl: 'scm/purchase/resAuditAcceptNotify.action',
  17. submitUrl: 'scm/purchase/submitAcceptNotify.action',
  18. resSubmitUrl: 'scm/purchase/resSubmitAcceptNotify.action',
  19. getIdUrl: 'common/getId.action?seq=ACCEPTNOTIFY_SEQ',
  20. codeField: 'an_code',
  21. keyField: 'an_id',
  22. statusField: 'an_statuscode'
  23. },{
  24. xtype: 'erpGridPanel2',
  25. anchor: '100% 65%',
  26. detno: 'and_detno',
  27. necessaryField: 'and_prodcode',
  28. keyField: 'and_id',
  29. mainField: 'and_anid',
  30. allowExtraButtons:true
  31. }]
  32. });
  33. me.callParent(arguments);
  34. }
  35. });