| 1234567891011121314151617181920212223242526272829303132333435363738 |
- Ext.define('erp.view.scm.purchase.VendorKind',{
- extend: 'Ext.Viewport',
- layout: 'fit',
- hideBorders: true,
- initComponent : function(){
- var me = this;
- Ext.apply(me, {
- items: [{
- layout: 'border',
- items: [{
- xtype: 'erpFormPanel',
- region: 'center',
- width: '62%',
- saveUrl: 'scm/purchase/saveVendorKind.action',
- deleteUrl: 'scm/purchase/deleteVendorKind.action',
- updateUrl: 'scm/purchase/updateVendorKind.action',
- getIdUrl: 'common/getId.action?seq=VENDORKIND_SEQ',
- keyField: 'vk_id',
- codeField: 'vk_code',
- },{
- region: 'east',
- width: '38%',
- xtype: 'vendkindtree',
- tbar: [{
- iconCls: 'tree-add',
- name: 'add',
- text: $I18N.common.button.erpAddButton
- },{
- iconCls: 'tree-delete',
- name: 'delete',
- text: $I18N.common.button.erpDeleteButton
- }]
- }]
- }]
- });
- me.callParent(arguments);
- }
- });
|