VendorKind.js 995 B

12345678910111213141516171819202122232425262728293031323334353637
  1. Ext.define('erp.view.scm.purchase.VendorKind',{
  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. region: 'center',
  11. anchor:'100% 100%',
  12. saveUrl: 'scm/purchase/saveVendorKind.action',
  13. deleteUrl: 'scm/purchase/deleteVendorKind.action',
  14. updateUrl: 'scm/purchase/updateVendorKind.action',
  15. bannedUrl: 'scm/purchase/bannedVendorKind.action',
  16. resBannedUrl: 'scm/purchase/resBannedVendorKind.action',
  17. getIdUrl: 'common/getId.action?seq=VENDORKIND_SEQ',
  18. keyField: 'vk_id',
  19. codeField: 'vk_code',
  20. }/*,{
  21. region: 'east',
  22. width: '38%',
  23. xtype: 'vendkindtree',
  24. tbar: [{
  25. iconCls: 'tree-add',
  26. name: 'add',
  27. text: $I18N.common.button.erpAddButton
  28. },{
  29. iconCls: 'tree-delete',
  30. name: 'delete',
  31. text: $I18N.common.button.erpDeleteButton
  32. }]
  33. }*/]
  34. });
  35. me.callParent(arguments);
  36. }
  37. });