SendNotify.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. Ext.define('erp.view.scm.sale.SendNotify',{
  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:'saleViewport',
  10. layout: 'anchor',
  11. items: [{
  12. xtype: 'erpFormPanel',
  13. anchor: '100% 50%',
  14. saveUrl: 'scm/sale/saveSendNotify.action',
  15. deleteUrl: 'scm/sale/deleteSendNotify.action',
  16. updateUrl: 'scm/sale/updateSendNotify.action',
  17. auditUrl: 'scm/sale/auditSendNotify.action',
  18. resAuditUrl: 'scm/sale/resAuditSendNotify.action',
  19. printUrl:'scm/sale/printSendNotify.action',
  20. submitUrl: 'scm/sale/submitSendNotify.action',
  21. resSubmitUrl: 'scm/sale/resSubmitSendNotify.action',
  22. hungUrl: 'scm/sale/sendNotifyHung.action',
  23. resHungUrl: 'scm/sale/sendNotifyResHung.action',
  24. getIdUrl: 'common/getId.action?seq=SENDNOTIFY_SEQ',
  25. keyField: 'sn_id',
  26. codeField: 'sn_code',
  27. statusField: 'sn_statuscode'
  28. },{
  29. xtype: 'erpGridPanel2',
  30. anchor: '100% 50%',
  31. detno: 'snd_pdno',
  32. necessaryField: 'snd_prodcode',
  33. keyField: 'snd_id',
  34. mainField: 'snd_snid'
  35. }]
  36. }]
  37. });
  38. me.callParent(arguments);
  39. }
  40. });