DS7/DSWeb/Areas/MvcShipping/Viewsjs/WMS/Index.js

29 lines
581 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';
panelEdit = new window.Shipping.WMSIndex({
layout: 'border'
});
var view = new Ext.Viewport({
layout: 'border',
renderTo: 'viewport',
border: false,
items: [{
region: 'center',
layout: 'fit',
items: [panelEdit]
}]
});
});
function OprationSwap() {
return panelEdit.OprationSwap();
}