CustomerKind.js 981 B

123456789101112131415161718192021222324252627282930313233343536
  1. Ext.define('erp.view.scm.sale.CustomerKind', {
  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% 100%',
  11. saveUrl : 'scm/sale/saveCustomerKind.action',
  12. deleteUrl : 'scm/sale/deleteCustomerKind.action',
  13. updateUrl : 'scm/sale/updateCustomerKind.action',
  14. bannedUrl : 'scm/sale/bannedCustomerKind.action',
  15. resBannedUrl : 'scm/sale/resBannedCustomerKind.action',
  16. getIdUrl : 'common/getId.action?seq=CUSTOMERKIND_SEQ',
  17. keyField : 'ck_id',
  18. codeField : 'ck_code',
  19. }/*, {
  20. region : 'east',
  21. width : '38%',
  22. xtype : 'custkindtree',
  23. tbar : [ {
  24. iconCls : 'tree-add',
  25. name : 'add',
  26. text : $I18N.common.button.erpAddButton
  27. }, {
  28. iconCls : 'tree-delete',
  29. name : 'delete',
  30. text : $I18N.common.button.erpDeleteButton
  31. } ]
  32. } */]
  33. });
  34. me.callParent(arguments);
  35. }
  36. });