VendContact.js 687 B

1234567891011121314151617181920212223242526
  1. Ext.define('erp.view.scm.purchase.VendContact',{
  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:'erpFormPanel',
  10. layout: 'anchor',
  11. items: [{
  12. xtype: 'erpFormPanel',
  13. anchor: '100% 100%',
  14. saveUrl: 'scm/purchase/saveVendContact.action',
  15. deleteUrl: 'common/deleteCommon.action?caller='+caller,
  16. updateUrl: 'scm/purchase/updateVendContact.action',
  17. getIdUrl: 'common/getId.action?seq=VendorCONTACT_SEQ',
  18. keyField: 'vc_id',
  19. //codeField: 'ct_code',
  20. // statusField: 'ch_statuscode'
  21. }]
  22. }]
  23. });
  24. me.callParent(arguments);
  25. }
  26. });