You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
659 B
JavaScript
32 lines
659 B
JavaScript
Ext.BLANK_IMAGE_URL = '../../TruckMng/Content/Images/s.gif';
|
|
var panelIndex = null;
|
|
Ext.onReady(function () {
|
|
Ext.QuickTips.init();
|
|
Ext.form.Field.prototype.msgTarget = 'side';
|
|
|
|
panelIndex = new window.DsTruck.MsWlDjPcIndex({
|
|
layout: 'border'
|
|
});
|
|
|
|
var view = new Ext.Viewport({
|
|
layout: 'border',
|
|
renderTo: 'viewport',
|
|
border: false,
|
|
items: [{
|
|
region: 'center',
|
|
layout: 'fit',
|
|
items: [panelIndex]
|
|
}]
|
|
});
|
|
|
|
|
|
});
|
|
|
|
function OprationSwap() {
|
|
return panelIndex.OprationSwap();
|
|
}
|
|
|
|
function AddNewRecord(record) {
|
|
panelIndex.AddNewRecord(record);
|
|
}
|