Ext.BLANK_IMAGE_URL = '../../TruckMng/Content/Images/s.gif'; var panelEdit = null; var inited = true; var pcIndex = null; var pcEdit = null; var pcTabs = null; var pcPanel = null; var tabMainPc = null; Ext.onReady(function () { Ext.QuickTips.init(); Ext.form.Field.prototype.msgTarget = 'side'; panelEdit = new window.DsTruck.CargoNameEdit({ tital: '管理费用', region: 'center', layout: 'border' }); var view = new Ext.Viewport({ layout: 'border', renderTo: 'viewport', border: false, items: [panelEdit] }); });