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.AuditEdit({ tital: '接单操作', region: 'center', layout: 'border' //layout: 'fit' }); var view = new Ext.Viewport({ layout: 'border', renderTo: 'viewport', border: false, items: [panelEdit] }); });