Ext.define('erp.view.scm.reserve.SetBarcodeRule',{ extend: 'Ext.Viewport', layout: 'anchor', hideBorders: true, initComponent : function(){ var me = this; Ext.apply(me, { items: [{ xtype: 'erpFormPanel', anchor: '100% 100%', saveUrl: 'scm/reserve/saveBarcodeRule.action?caller=' +caller, deleteUrl: 'scm/reserve/deleteBarcodeRule.action?caller=' +caller, updateUrl: 'scm/reserve/updateBarcodeRule.action?caller=' +caller, auditUrl: 'scm/reserve/auditBarcodeRule.action?caller=' +caller, resAuditUrl: 'scm/reserve/resAuditBarcodeRule.action?caller=' +caller, submitUrl: 'scm/reserve/submitBarcodeRule.action?caller=' +caller, resSubmitUrl: 'scm/reserve/resSubmitBarcodeRule.action?caller=' +caller, bannedUrl:'scm/reserve/bannedBarcodeRule.action?caller=' +caller, resBannedUrl:'scm/reserve/resBannedBarcodeRule.action?caller='+caller, getIdUrl: 'common/getId.action?seq=BARCODESET_SEQ', keyField: 'bs_id', codeField: 'bs_code', statusField: 'bs_status', statuscodeField: 'bs_statuscode' }] }); me.callParent(arguments); } });