SendNotify.js 1.1 KB

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