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.
DS7/DSWeb/Areas/MvcShipping/Viewsjs/MsRptOpProfitPerCent/MsRptOpProfitPerCentIndex.js

3281 lines
271 KiB
JavaScript

3 years ago

Ext.namespace('Shipping');
Shipping.MsRptOpProfitPerCentIndex = function (config) {
Ext.applyIf(this, config);
this.initUIComponents();
window.Shipping.MsRptOpProfitPerCentIndex.superclass.constructor.call(this);
};
Ext.extend(Shipping.MsRptOpProfitPerCentIndex, Ext.Panel, {
PageSize: 2000,
OprationStatus: null, //仅当弹出界面时使用
SelectedRecord: null,
sqlcontext: '1=2',
bslistsortfield: '',
bslistsortdire: '',
salelistsortfield: '',
salelistsortdire: '',
custlistsortfield: '',
custlistsortdire: '',
oplistsortfield: '',
oplistsortdire: '',
bssourcelistsortfield: '',
bssourcelistsortdire: '',
bssourcedetaillistsortfield: '',
bssourcedetaillistsortdire: '',
initUIComponents: function () {
this.formname = 'MsRptOpProfitPerCentIndex';
this.isquery = false;
//定义数据集
this.storeList = Ext.create('Ext.data.Store', {
pageSize: this.PageSize,
fields: [
{ name: 'OBJNAME', type: 'string' },
{ name: 'OBJNUM', type: 'number' },
{ name: 'OBJNUMRMB', type: 'number' },
{ name: 'OBJNUMUSD', type: 'number' }
],
remoteSort: true,
proxy: {
type: 'ajax',
url: '/MvcShipping/MsRptOpProfitPerCent/SumListData',
reader: {
id: '',
root: 'data',
totalProperty: 'totalCount'
}
}
});
//定义Grid
this.initgirdcolums = [{
sortable: true,
dataIndex: 'OBJNAME',
header: '分析对象',
width: 110
}, {
sortable: true,
dataIndex: 'OBJNUM',
header: '数据',
renderer: function (value, cellmeta, record, rowIndex, columnIndex, store) { try { var lsValue = usMoney(value, 2, '', false); if (lsValue != "NaN") { value = lsValue; if (parseFloat(lsValue) < 0) { return '<SPAN style="COLOR: red">' + lsValue + '</SPAN>'; } } else { return value; } } catch (e) { return value; } return value; },
align: 'right',
summaryType: 'sum',
summaryRenderer: function (value, cellmeta, record, rowIndex, columnIndex, store) {
value = usMoney(value, 2, '', true);
return value;
},
width: 100
}, {
sortable: true,
dataIndex: 'OBJNUMRMB',
header: 'RMB',
renderer: function (value, cellmeta, record, rowIndex, columnIndex, store) { try { var lsValue = usMoney(value, 2, '', false); if (lsValue != "NaN") { value = lsValue; if (parseFloat(lsValue) < 0) { return '<SPAN style="COLOR: red">' + lsValue + '</SPAN>'; } } else { return value; } } catch (e) { return value; } return value; },
align: 'right',
summaryType: 'sum',
summaryRenderer: function (value, cellmeta, record, rowIndex, columnIndex, store) {
value = usMoney(value, 2, '', true);
return value;
},
width: 100
}, {
sortable: true,
dataIndex: 'OBJNUMUSD',
header: 'USD',
renderer: function (value, cellmeta, record, rowIndex, columnIndex, store) { try { var lsValue = usMoney(value, 2, '', false); if (lsValue != "NaN") { value = lsValue; if (parseFloat(lsValue) < 0) { return '<SPAN style="COLOR: red">' + lsValue + '</SPAN>'; } } else { return value; } } catch (e) { return value; } return value; },
align: 'right',
summaryType: 'sum',
summaryRenderer: function (value, cellmeta, record, rowIndex, columnIndex, store) {
value = usMoney(value, 2, '', true);
return value;
},
width: 80
}
];
// this.girdcolums = this.initgirdcolums;
this.girdcolums = DsTruck.GetGridPanel(USERID, this.formname + 'bs', this.initgirdcolums, 1);
this.gridList = new Ext.grid.GridPanel({
store: this.storeList,
enableHdMenu: false,
region: 'center',
loadMask: { msg: "数据加载中,请稍等..." },
trackMouseOver: true,
disableSelection: false,
features: [{
ftype: 'summary'//Ext.grid.feature.Summary表格汇总特性
}],
columns: this.girdcolums,
// paging bar on the bottom
bbar: Ext.create('Ext.PagingToolbar', {
store: this.storeList,
displayInfo: true,
displayMsg: '当前显示 {0} - {1}条记录 /共 {2}条记录',
emptyMsg: "没有数据"
})
});
// this.girdcolums = DsTruck.GetGridPanel(USERID, this.formname + 'bs', this.girdcolums, 1);
// this.gridList.reconfigure(this.storeList, this.girdcolums);
//////////////////////////////////////////////////////////////////////////////////////////////
//
//////////////////////////////////////////////////////////////////////////////////////////////
this.gridList.addListener('itemdblclick', function (dataview, record, item, index, e, b) {
this.SelectedRecord = record;
var objName = record.data.OBJNAME; // OBJNAME;
//alert(month);
openNewDiv("layer", "业务比例图表分析", 1083, 630, escape(objName));
}, this);
//////////////////////////////////////////////////////////////////////////////////////////////
//
//////////////////////////////////////////////////////////////////////////////////////////////
_this = this;
this.piechart = Ext.create('Ext.chart.Chart', {
xtype: 'chart',
region: 'center',
animate: true,
store: this.storeList,
shadow: true,
legend: {
position: 'right'
},
insetPadding: 60,
theme: 'Base:gradients',
series: [{
type: 'pie',
field: 'OBJNUM',
showInLegend: true,
donut: true,
tips: {
trackMouse: true,
width: 140,
height: 28,
renderer: function (storeItem, item) {
//calculate percentage.
var total = 0;
_this.storeList.each(function (rec) {
total += rec.get('OBJNUM');
});
this.setTitle(storeItem.get('OBJNAME') + ': ' + Math.round(storeItem.get('OBJNUM') / total * 10000)/100 + '%');
}
},
highlight: {
segment: {
margin: 20
}
},
label: {
field: 'OBJNAME',
display: 'rotate',
contrast: true,
font: '18px Arial'
}
}]
});
this.columnchart = Ext.create('Ext.chart.Chart', {
id: 'chartCmp',
xtype: 'chart',
style: 'background:#fff',
animate: true,
shadow: true,
store: this.storeList,
axes: [{
type: 'Numeric',
position: 'left',
fields: ['OBJNUM'],
label: {
renderer: Ext.util.Format.numberRenderer('0,0')
},
title: '数据',
grid: true,
minimum: 0
}, {
type: 'Category',
position: 'bottom',
fields: ['OBJNAME'],
title: '分析对象'
}],
series: [{
type: 'column',
axis: 'left',
highlight: true,
tips: {
trackMouse: true,
width: 140,
height: 28,
renderer: function (storeItem, item) {
this.setTitle(storeItem.get('OBJNAME') + ': ' + storeItem.get('OBJNUM'));
}
},
label: {
display: 'insideEnd',
'text-anchor': 'middle',
field: 'OBJNUM',
renderer: Ext.util.Format.numberRenderer('0.00'),
orientation: 'vertical',
color: '#333'
},
xField: 'OBJNAME',
yField: 'OBJNUM',
//color renderer
renderer: function (sprite, record, attr, index, store) {
var fieldValue = Math.random() * 20 + 10;
var color = ['rgb(213, 70, 121)',
'rgb(44, 153, 201)',
'rgb(146, 6, 157)',
'rgb(49, 149, 0)',
'rgb(249, 153, 0)',
'rgb(180, 50, 201)',
'rgb(150, 10, 10)',
'rgb(130, 10, 201)',
'rgb(120, 10, 10)'][index];
return Ext.apply(attr, {
fill: color
});
}
}]
});
//#region formSearch
//#region formSearch枚举参照相关
_this = this;
this.StoreOpLb = Ext.create('DsExt.ux.RefEnumStore', {});
this.StoreOpLb.load({ params: { enumTypeId: 96005} });
this.comboxOpLb = Ext.create('DsExt.ux.RefTableCombox', {
id: 'comboxOpLbID',
fieldLabel: '业务类型',
store: this.StoreOpLb,
forceSelection: true,
name: 'PS_OPLB',
valueField: 'EnumValueName',
displayField: 'EnumValueName',
enableKeyEvents: true,
listeners: {
keyup: function (field, e) {
if (e.getKey() == e.ENTER) {
_this.onRefreshClick();
}
}
}
});
this.storeBsType = Ext.create('DsExt.ux.RefEnumStore', {});
this.storeBsType.load({ params: { enumTypeId: 96004} });
this.comboxBsType = Ext.create('DsExt.ux.RefTableCombox', {
id: 'comboxBsTypeID',
fieldLabel: '运输类型',
store: this.storeBsType,
name: 'PS_BSTYPE',
valueField: 'EnumValueName',
displayField: 'EnumValueName',
enableKeyEvents: true,
listeners: {
keyup: function (field, e) {
if (e.getKey() == e.ENTER) {
_this.onRefreshClick();
}
}
}
});
this.storeSalesCode = Ext.create('DsExt.ux.RefTableStore', {
model: 'DsShipping.ux.UserRefModel',
proxy: { url: '/CommMng/BasicDataRef/GetUserRefList' }
});
this.storeSalesCode.load();
this.comboxSalesCode = Ext.create('DsExt.ux.RefTableCombox', {
id: 'comboxSalesCodeID',
fieldLabel: '揽货人',
store: this.storeSalesCode,
forceSelection: true,
name: 'PS_SALE',
valueField: 'UserName',
displayField: 'CodeAndName',
enableKeyEvents: true,
listeners: {
keyup: function (field, e) {
if (e.getKey() == e.ENTER) {
_this.onRefreshClick();
}
}
}
});
this.comboxOp = Ext.create('DsExt.ux.RefTableCombox', {
id: 'comboxOpID',
fieldLabel: '操 作',
store: this.storeSalesCode,
forceSelection: true,
name: 'PS_OP',
valueField: 'UserName',
displayField: 'CodeAndName',
enableKeyEvents: true,
listeners: {
keyup: function (field, e) {
if (e.getKey() == e.ENTER) {
_this.onRefreshClick();
}
}
}
});
2 years ago
this.comboxDoc = Ext.create('DsExt.ux.RefTableCombox', {
id: 'comboxDocID',
fieldLabel: '单 证',
store: this.storeSalesCode,
forceSelection: true,
name: 'PS_DOC',
valueField: 'UserName',
displayField: 'CodeAndName',
enableKeyEvents: true,
listeners: {
keyup: function (field, e) {
if (e.getKey() == e.ENTER) {
_this.onRefreshClick();
}
}
}
});
3 years ago
this.storeCustCode = Ext.create('DsExt.ux.RefTableStore', {
model: 'DsShipping.ux.CustomRefModel',
proxy: { url: '/CommMng/BasicDataRef/GetCustomRefList' }
});
this.storeCustCode.load({ params: { condition: "ISCONTROLLER='1'"} });
this.comboxCustCode = Ext.create('DsExt.ux.RefTableCombox', {
id: 'comboxCustCodeID',
fieldLabel: '委托单位',
store: this.storeCustCode,
forceSelection: true,
name: 'PS_CUSTOMERNAME',
valueField: 'CustName',
displayField: 'CodeAndName',
enableKeyEvents: true,
listeners: {
keyup: function (field, e) {
if (e.getKey() == e.ENTER) {
_this.onRefreshClick();
}
}
}
});
this.storeEnterpCode = Ext.create('DsExt.ux.RefTableStore', {
fields: [
{ name: 'CUSTOMER', type: 'string' },
{ name: 'ENTERPID', type: 'string' }
],
proxy: { url: '/MvcShipping/MsOpApply/GetENTERPLIST' }
});
this.storeEnterpCode.load();
this.comboxEnterp = Ext.create('DsExt.ux.RefTableCombox', {
fieldLabel: '经营单位',
store: this.storeEnterpCode,
name: 'PS_ENTERP',
valueField: 'CUSTOMER',
displayField: 'CUSTOMER',
enableKeyEvents: true,
listeners: {
keyup: function (field, e) {
if (e.getKey() == e.ENTER) {
_this.onRefreshClick();
}
}
}
});
//业务来源
this.storeSource = Ext.create('DsExt.ux.RefTableStore', {
model: 'DsShipping.ux.SourceModel',
proxy: { url: '/CommMng/BasicDataRef/GetSource' }
});
this.storeSource.load();
this.storeSourceDetail = Ext.create('DsExt.ux.RefTableStore', {
model: 'DsShipping.ux.SourceDetailModel',
proxy: { url: '/CommMng/BasicDataRef/GetSourceDetail2' }
});
this.comboxBSSOURCE = Ext.create('DsExt.ux.RefTableCombox', {
id: 'comboxBSSOURCEID',
fieldLabel: '业务来源',
store: this.storeSource,
forceSelection: true,
name: 'BSSOURCE',
valueField: 'SourceName',
displayField: 'SourceName',
listeners: {
scope: this,
'select': function (combo, records, eOpts) {
if (records.length > 0) {
var recs = DsStoreQueryBy(this.storeSource, 'SourceID', records[0].data.SourceID);
if (recs.getCount() > 0) {
var data = recs.getAt(0).data;
var s = "SOURCEID='" + data.SourceID + "'";
this.storeSourceDetail.load({ params: { condition: s} });
} else {
var BSSOURCEDETAIL = this.formSearch.getForm().findField('BSSOURCEDETAIL');
BSSOURCEDETAIL.setValue('');
}
}
}
}
});
this.storeSourceDetail.load();
this.comboxBSSOURCEDETAIL = Ext.create('DsExt.ux.RefTableCombox', {
id: 'comboxBSSOURCEDETAILID',
fieldLabel: '贸易条款',
3 years ago
store: this.storeSourceDetail,
forceSelection: true,
name: 'BSSOURCEDETAIL',
valueField: 'SourceDetail',
displayField: 'SourceDetail',
enableKeyEvents: true,
listeners: {
keyup: function (field, e) {
if (e.getKey() == e.ENTER) {
_this.onRefreshClick();
}
}
}
});
Ext.define('SubComp', {
extend: 'Ext.data.Model',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'NAME', type: 'string' },
{ name: 'ENNAME', type: 'string' }
]
});
this.StoreSubComp = Ext.create('DsExt.ux.RefTableStore', {
model: 'SubComp',
proxy: { url: '/MvcShipping/MsBaseInfo/GetCompanyEN' }
});
this.StoreSubComp.load({ params: { condition: ""} });
this.comboxSubComp = Ext.create('DsExt.ux.RefTableCombox', {
fieldLabel: '所属公司',
store: this.StoreSubComp,
name: 'SUBCOMP',
valueField: 'GID',
displayField: 'NAME',
enableKeyEvents: true,
listeners: {
keyup: function (field, e) {
if (e.getKey() == e.ENTER) {
_this.onRefreshClick();
}
}
}
});
//#endregion
_this = this;
this.formSearch = Ext.widget('form', {
frame: true,
region: 'center',
bodyPadding: 5,
fieldDefaults: {
margins: '2 2 2 2',
labelAlign: 'right',
flex: 1,
labelWidth: 70,
msgTarget: 'qtip'
},
items: [
{
xtype: 'container',
defaultType: 'textfield',
layout: 'anchor',
defaults: {
anchor: '100%'
},
items: [{
xtype: 'container',
layout: 'hbox',
defaultType: 'textfield',
items: [{
xtype: 'radiogroup',
fieldLabel: '分析对象',
id: 'rdOBJNAME',
flex: 5,
columns: 8,
vertical: true,
items: [
{ id: 'rdoBsSource', boxLabel: '业务来源', name: 'OBJNAME', inputValue: 'B.BSSOURCE' },
{ id: 'rdoLane', boxLabel: '航线', name: 'OBJNAME', inputValue: 'B.LANE', checked: true },
{ id: 'rdoSale', boxLabel: '揽货人', name: 'OBJNAME', inputValue: 'B.SALE' },
{ id: 'rdoBsType', boxLabel: '运输方式', name: 'OBJNAME', inputValue: 'B.BSTYPE' },
{ id: 'rdoCustomerName', boxLabel: '委托单位', name: 'OBJNAME', inputValue: 'B.CUSTOMERNAME' },
{ id: 'rdoCarrier', boxLabel: '船公司', name: 'OBJNAME', inputValue: 'B.CARRIER' },
{ id: 'rdoOp', boxLabel: '操作员', name: 'OBJNAME', inputValue: 'B.OP' },
{ id: 'rdoCustService', boxLabel: '客服员', name: 'OBJNAME', inputValue: 'B.CUSTSERVICE' },
{ id: 'rdoDestination', boxLabel: '目的港', name: 'OBJNAME', inputValue: 'B.DESTINATION' },
{ id: 'rdoFeeObjName', boxLabel: '收付对象', name: 'OBJNAME', inputValue: 'F.CUSTOMERNAME' }
],
listeners: {
change: function (rd, newValue, oldValue, eOpts) {
if (_this.isquery)
_this.onRefreshClick();
}
}
}, {
xtype: 'radiogroup',
fieldLabel: '图形类别',
id: 'rdOBJCHART',
flex: 2,
columns: 2,
vertical: true,
listeners: {
change: function (the, newValue, oldValue, eOpts) {
if (newValue.OBJCHART == '柱状图') {
_this.panelchart.setVisible(false);
_this.panelcolumnchart.setVisible(true);
} else {
_this.panelchart.setVisible(true);
_this.panelcolumnchart.setVisible(false);
// _this.panelBody.removeAll();
// _this.panelBody.add(_this.panelchart);
// _this.panelBody.add(_this.panelBodyChFee);
}
}
},
items: [
{ boxLabel: '饼形图', name: 'OBJCHART', inputValue: '饼形图', checked: true },
{ boxLabel: '柱状图', name: 'OBJCHART', inputValue: '柱状图' }
]
}
]
}, {
xtype: 'container',
layout: 'hbox',
defaultType: 'textfield',
items: [ {
xtype: 'radiogroup',
fieldLabel: '分析内容',
id: 'rdOBJNUM',
flex: 5,
columns: 8,
vertical: true,
items: [
{ id: 'rdoGain', boxLabel: '利润', name: 'OBJNUM', inputValue: '利润', checked: true },
{ id: 'rdoArrearage', boxLabel: '欠费', name: 'OBJNUM', inputValue: '欠费' },
{ id: 'rdoTeu', boxLabel: 'TEU', name: 'OBJNUM', inputValue: 'TEU' },
{ id: 'rdoKgs', boxLabel: '毛重', name: 'OBJNUM', inputValue: '毛重' },
{ id: 'rdoNetW', boxLabel: '计费重', name: 'OBJNUM', inputValue: '计费重' },
{ id: 'rdoBL', boxLabel: '票数', name: 'OBJNUM', inputValue: '票数' },
{ id: 'rdoDR', boxLabel: '应收', name: 'OBJNUM', inputValue: '应收' },
{ id: 'rdoCR', boxLabel: '应付', name: 'OBJNUM', inputValue: '应付' }
],
listeners: {
change: function (rd, newValue, oldValue, eOpts) {
if (_this.isquery)
_this.onRefreshClick();
}
}
}, { xtype: 'hiddenfield', flex: 2 }
]
}, {
xtype: 'container',
layout: 'hbox',
defaultType: 'textfield',
items: [this.comboxOpLb, {
id: 'VesselID',
fieldLabel: '船名',
name: 'PS_VESSEL',
enableKeyEvents: true,
listeners: {
specialkey: function (field, e) {
if (e.getKey() == e.ENTER) {
_this.onRefreshClick();
}
}
}
}, {
id: 'VoynoID',
fieldLabel: '航次',
name: 'PS_VOYNO',
enableKeyEvents: true,
listeners: {
specialkey: function (field, e) {
if (e.getKey() == e.ENTER) {
_this.onRefreshClick();
}
}
}
}, this.comboxOp, this.comboxSalesCode, this.comboxSubComp
]
}, {
xtype: 'container',
layout: 'hbox',
defaultType: 'textfield',
items: [this.comboxBsType, this.comboxCustCode, {
id: 'ExpDateBGNID',
fieldLabel: '从业务日期',
format: 'Y-m-d',
xtype: 'datefield',
name: 'PS_EXPDATEBGN',
enableKeyEvents: true,
listeners: {
specialkey: function (field, e) {
if (e.getKey() == e.ENTER) {
_this.onRefreshClick();
}
}
}
}, {
id: 'ExpDateEndID',
fieldLabel: '到业务日期',
format: 'Y-m-d',
xtype: 'datefield',
name: 'PS_EXPDATEEND',
enableKeyEvents: true,
listeners: {
specialkey: function (field, e) {
if (e.getKey() == e.ENTER) {
_this.onRefreshClick();
}
}
}
}, this.comboxBSSOURCE, {
id: 'rdTOP',
fieldLabel: '统计前',
name: 'PS_TOP',
value: '10',
enableKeyEvents: true,
listeners: {
specialkey: function (field, e) {
if (e.getKey() == e.ENTER) {
_this.onRefreshClick();
}
}
}
}
]
}, {
xtype: 'container',
layout: 'hbox',
defaultType: 'textfield',
items: [{
id: 'ETDDateBGNID',
fieldLabel: '从ETD',
format: 'Y-m-d',
xtype: 'datefield',
name: 'PS_ETDDATEBGN',
enableKeyEvents: true,
listeners: {
specialkey: function (field, e) {
if (e.getKey() == e.ENTER) {
_this.onRefreshClick();
}
}
}
}, {
id: 'ETDDateEndID',
fieldLabel: '到ETD',
format: 'Y-m-d',
xtype: 'datefield',
name: 'PS_ETDDATEEND',
enableKeyEvents: true,
listeners: {
specialkey: function (field, e) {
if (e.getKey() == e.ENTER) {
_this.onRefreshClick();
}
}
}
}, {
id: 'ACCDateBGNID',
fieldLabel: '从会计期间',
xtype: 'monthfield',
name: 'PS_ACCDATEBGN',
enableKeyEvents: true,
listeners: {
specialkey: function (field, e) {
if (e.getKey() == e.ENTER) {
_this.onRefreshClick();
}
}
}
}, {
id: 'ACCDateEndID',
fieldLabel: '到会计期间',
xtype: 'monthfield',
name: 'PS_ACCDATEEND',
enableKeyEvents: true,
listeners: {
specialkey: function (field, e) {
if (e.getKey() == e.ENTER) {
_this.onRefreshClick();
}
}
}
2 years ago
}, this.comboxBSSOURCEDETAIL
, this.comboxDoc
//, { xtype: 'hiddenfield' }
3 years ago
]
}
]//end items(fieldset 1)
}//end fieldset 1
]//end root items
});
//#endregion formSearch
//查询工具条
this.CheckSaveQuery = new Ext.form.Checkbox({
fieldLabel: '记忆查询条件',
checked: true,
width: 120
});
_this = this;
this.SearchBtn = new Ext.Button({
text: '隐藏查询',
handler: function () {
if (_this.SearchBtn.text == '隐藏查询') {
_this.panelSearch.hide();
_this.SearchBtn.setText("显示查询");
} else {
_this.panelSearch.show();
_this.SearchBtn.setText("隐藏查询");
}
}
});
this.panelBtn = new Ext.Panel({
region: "north",
tbar: [
{
text: "执行查询",
iconCls: "btnrefresh",
handler: function (button, event) {
this.onRefreshClick(button, event);
var isvisible = true;
var issavevalue = false;
if (_this.SearchBtn.text == '隐藏查询')
isvisible = true
else
isvisible = false;
if (this.CheckSaveQuery.checked)
issavevalue = true
saveQuerySetting(this.formname, this.formSearch, isvisible, issavevalue);
},
scope: this
}, '-', this.SearchBtn, {
xtype: 'button',
width: 90,
text: "清空条件",
iconCls: "btnreset",
handler: function (button, event) {
this.onClearSql(button, event);
},
scope: this
}, {
xtype: 'button',
text: "高级查询",
iconCls: "btnmore",
handler: function (button, event) {
var sql = this.getCondition();
var winAccess = new Shipping.DsQuery({
});
winAccess.StoreList = this.storeList;
winAccess.formname = this.formname;
winAccess.condition = sql;
winAccess.show();
return;
},
scope: this
}, this.CheckSaveQuery, {
text: "导出Excel",
id: "btnExportExcel",
iconCls: 'btnexportexcel',
handler: function (button, event) {
this.onExportClick(button, event);
},
scope: this
}
]
});
this.panelTop = new Ext.Panel({
layout: "border",
region: "north",
height: 29,
items: [this.panelBtn]
});
this.panelSearch = new Ext.Panel({
layout: "border",
region: "north",
height: 180,
items: [this.formSearch]
});
this.panelBodyChFee = new Ext.Panel({
title: '明细数据',
layout: "border",
region: 'east',
width: 400,
margin: '0 0',
frame: true,
items: [this.gridList]
});
this.panelchart = new Ext.Panel({
title: '图表',
layout: "border",
region: 'center',
margin: '0 0',
frame: true,
items: [this.piechart]
});
this.panelcolumnchart = new Ext.Panel({
title: '图表',
layout: "border",
region: 'center',
margin: '0 0',
frame: true,
items: [this.columnchart]
});
this.panelcolumnchart.setVisible(false);
this.panelBody = new Ext.Panel({
layout: "border",
region: 'center',
margin: '0 0',
frame: true,
items: [this.panelchart, this.panelcolumnchart,
this.panelBodyChFee]
});
// this.tabpanel = new Ext.TabPanel
// ({
// activeTab: 0,
// autoWidth: true,
// border: false,
// frame: false,
// region: 'center',
// id: "TabPanelID",
// enableTabScroll: true,
// items:
// [
//
// ]
// });
Ext.apply(this, {
items: [this.panelTop, this.panelSearch, this.panelBody]
});
this.storeList.on('beforeload', function (store) {
if (!this.checkSearchCondition())
return;
var form = this.formSearch.getForm();
var rdOBJNAME = Ext.getCmp('rdOBJNAME');
var rdOBJNUM = Ext.getCmp('rdOBJNUM');
var OBJNAME = rdOBJNAME.getValue();
var OBJNUM = rdOBJNUM.getValue();
var TOPNUM = Ext.getCmp('rdTOP').getValue();
var sql = this.getCondition();
Ext.apply(store.proxy.extraParams, { condition: sql, objname: OBJNAME, sumfieldtype: OBJNUM, topnum: TOPNUM });
}, this);
LoadQueryData(this.formname, this.formSearch, this.CheckSaveQuery);
}, //end initUIComponents
onRefreshClick: function (button, event) {
if (!this.checkSearchCondition())
return;
this.isquery = true;
var form = this.formSearch.getForm();
var rdOBJNAME = Ext.getCmp('rdOBJNAME');
var rdOBJNUM = Ext.getCmp('rdOBJNUM');
var OBJNAME = rdOBJNAME.getValue();
var OBJNUM = rdOBJNUM.getValue();
var TOPNUM = Ext.getCmp('rdTOP').getValue();
var sql = this.getCondition();
this.sqlcontext = sql;
this.storeList.load({
params: { start: 0, limit: this.PageSize, condition: sql, objname: OBJNAME, sumfieldtype: OBJNUM, topnum: TOPNUM },
waitMsg: "正在查询数据...",
scope: this
});
},
onDsQuery: function (button, event) {
this.isquery = true;
var rdOBJNAME = Ext.getCmp('rdOBJNAME');
var rdOBJNUM = Ext.getCmp('rdOBJNUM');
var OBJNAME = rdOBJNAME.getValue();
var OBJNUM = rdOBJNUM.getValue();
var TOPNUM = Ext.getCmp('rdTOP').getValue();
var sql = this.sqlcontext;
this.storeList.load({
params: { start: 0, limit: this.PageSize, condition: sql, objname: OBJNAME, sumfieldtype: OBJNUM, topnum: TOPNUM },
waitMsg: "正在查询数据...",
scope: this
});
},
getCondition: function () {
var form = this.formSearch.getForm();
var sql = '';
var expDate_Min = form.findField('PS_EXPDATEBGN').getRawValue();
sql = sql + getAndConSql(sql, expDate_Min, " B.OPDATE>='" + expDate_Min + "'");
var expDate_Max = form.findField('PS_EXPDATEEND').getRawValue();
sql = sql + getAndConSql(sql, expDate_Max, " B.OPDATE<='" + expDate_Max + " 23:59:59'");
var etdDate_Min = form.findField('PS_ETDDATEBGN').getRawValue();
sql = sql + getAndConSql(sql, etdDate_Min, " B.ETD>='" + etdDate_Min + "'");
var etdDate_Max = form.findField('PS_ETDDATEEND').getRawValue();
sql = sql + getAndConSql(sql, etdDate_Max, " B.ETD<='" + etdDate_Max + " 23:59:59'");
var accDate_Min = form.findField('PS_ACCDATEBGN').getRawValue();
sql = sql + getAndConSql(sql, accDate_Min, " B.ACCDATE>='" + accDate_Min + "'");
var accDate_Max = form.findField('PS_ACCDATEEND').getRawValue();
sql = sql + getAndConSql(sql, accDate_Max, " B.ACCDATE<='" + accDate_Max + "'");
var CUSTOMERNAME = form.findField('PS_CUSTOMERNAME').getValue();
sql = sql + getAndConSql(sql, CUSTOMERNAME, "B.CUSTOMERNAME='" + CUSTOMERNAME + "'");
var SUBCOMP = form.findField('SUBCOMP').getValue();
sql = sql + getAndConSql(sql, SUBCOMP, "B.CORPID='" + SUBCOMP + "'");
var SALE = form.findField('PS_SALE').getValue();
sql = sql + getAndConSql(sql, SALE, "B.SALE='" + SALE + "'");
var OP = form.findField('PS_OP').getValue();
sql = sql + getAndConSql(sql, OP, "B.OP='" + OP + "'");
var BSTYPE = form.findField('PS_BSTYPE').getValue();
sql = sql + getAndConSql(sql, BSTYPE, "B.BSTYPE='" + BSTYPE + "'");
var OPLB = form.findField('PS_OPLB').getValue();
sql = sql + getAndConSql(sql, OPLB, "B.OPLBNAME='" + OPLB + "'");
var VESSEL = form.findField('PS_VESSEL').getValue();
sql = sql + getAndConSql(sql, VESSEL, "B.VESSEL like '%" + VESSEL + "%'");
var VOYNO = form.findField('PS_VOYNO').getValue();
sql = sql + getAndConSql(sql, VOYNO, "B.VOYNO like '%" + VOYNO + "%'");
var BSSOURCE = form.findField('BSSOURCE').getValue();
sql = sql + getAndConSql(sql, BSSOURCE, "B.BSSOURCE='" + BSSOURCE + "'");
var BSSOURCEDETAIL = form.findField('BSSOURCEDETAIL').getValue();
sql = sql + getAndConSql(sql, BSSOURCEDETAIL, "B.BSSOURCEDETAIL='" + BSSOURCEDETAIL + "'");
return sql;
},
checkSearchCondition: function () {
var form = this.formSearch.getForm();
if (!form.isValid()) {
Ext.Msg.alert('提示', '查询条件赋值错误,请检查。');
return false;
}
return true;
},
onClearSql: function () {
var form = this.formSearch.getForm();
form.reset();
},
OprationSwap: function () {
var ret = new Array();
ret[0] = this.OprationStatus;
ret[1] = this.storeList;
ret[2] = this.SelectedRecord;
ret[3] = this.SelectedRecord.data.BSNO;
ret[4] = "MsRptOpProfitPerCentIndex";
return ret;
},
onExportClick: function (button, event) {
grid2Excel(this.gridList, "业务比例图表分析");
},
Print: function () {
_this = this;
if (this.tabpanel.getActiveTab() == this.panelBodyChFee) {
if (this.storeList.getCount() == 0) {
return;
}
var sortstr = ' B.CUSTOMERNAME,B.OPLB,B.CREATETIME DESC';
if (this.bslistsortfield != '' && this.bslistsortdire != '') {
sortstr = this.bslistsortfield + ' ' + this.bslistsortdire;
}
Ext.Msg.wait('正在组织数据, 请稍侯..');
Ext.Ajax.request({
waitMsg: '正在组织数据...',
url: '/MvcShipping/MsRptOpProfit/BsListData',
scope: this,
params: {
start: 0, limit: this.PageSize,
condition: _this.sqlcontext,
printstr: 'true',
sortstr: sortstr
},
callback: function (options, success, response) {
if (success) {
Ext.MessageBox.hide();
var jsonresult = Ext.JSON.decode(response.responseText);
if (jsonresult.Success) {
var returnstr = jsonresult.Data;
var printType = 'MSRPTPROFITLIST';
var sql1 = returnstr;
var sql2 = "";
var sql3 = "";
var sql4 = "";
var sql5 = "";
var sql6 = "";
PrintComm(printType, sql1, sql2, sql3, sql4, sql5, sql6);
} else {
Ext.Msg.show({ title: '错误', msg: jsonresult.Message, icon: Ext.Msg.ERROR, buttons: Ext.Msg.OK });
}
} else {
Ext.Msg.show({ title: '请重试',
msg: '服务器响应出错',
icon: Ext.Msg.ERROR, buttons: Ext.Msg.OK
});
}
}
});
} else if (this.tabpanel.activeTab == this.panelSaleSum) {
if (this.storeSaleList.getCount() == 0) {
return;
}
var sortstr = ' B.SALE, B.BSTYPE';
if (this.salelistsortfield != '' && this.salelistsortdire != '') {
sortstr = this.salelistsortfield + ' ' + this.salelistsortdire;
}
Ext.Msg.wait('正在组织数据, 请稍侯..');
Ext.Ajax.request({
waitMsg: '正在组织数据...',
url: '/MvcShipping/MsRptOpProfit/SaleListData',
scope: this,
params: {
start: 0, limit: this.PageSize,
condition: _this.sqlcontext,
printstr: 'true',
sortstr: sortstr
},
callback: function (options, success, response) {
if (success) {
Ext.MessageBox.hide();
var jsonresult = Ext.JSON.decode(response.responseText);
if (jsonresult.Success) {
var returnstr = jsonresult.Data;
var printType = 'MSRPTPROFITSALE';
var sql1 = returnstr;
var sql2 = "";
var sql3 = "";
var sql4 = "";
var sql5 = "";
var sql6 = "";
PrintComm(printType, sql1, sql2, sql3, sql4, sql5, sql6);
} else {
Ext.Msg.show({ title: '错误', msg: jsonresult.Message, icon: Ext.Msg.ERROR, buttons: Ext.Msg.OK });
}
} else {
Ext.Msg.show({ title: '请重试',
msg: '服务器响应出错',
icon: Ext.Msg.ERROR, buttons: Ext.Msg.OK
});
}
}
});
} else if (this.tabpanel.activeTab == this.panelCustSum) {
if (this.storeCustList.getCount() == 0) {
return;
}
var sortstr = ' B.CUSTOMERNAME';
if (this.custlistsortfield != '' && this.custlistsortdire != '') {
sortstr = this.custlistsortfield + ' ' + this.custlistsortdire;
}
Ext.Msg.wait('正在组织数据, 请稍侯..');
Ext.Ajax.request({
waitMsg: '正在组织数据...',
url: '/MvcShipping/MsRptOpProfit/CustListData',
scope: this,
params: {
start: 0, limit: this.PageSize,
condition: _this.sqlcontext,
printstr: 'true',
sortstr: sortstr
},
callback: function (options, success, response) {
if (success) {
Ext.MessageBox.hide();
var jsonresult = Ext.JSON.decode(response.responseText);
if (jsonresult.Success) {
var returnstr = jsonresult.Data;
var printType = 'MSRPTPROFITCUST';
var sql1 = returnstr;
var sql2 = "";
var sql3 = "";
var sql4 = "";
var sql5 = "";
var sql6 = "";
PrintComm(printType, sql1, sql2, sql3, sql4, sql5, sql6);
} else {
Ext.Msg.show({ title: '错误', msg: jsonresult.Message, icon: Ext.Msg.ERROR, buttons: Ext.Msg.OK });
}
} else {
Ext.Msg.show({ title: '请重试',
msg: '服务器响应出错',
icon: Ext.Msg.ERROR, buttons: Ext.Msg.OK
});
}
}
});
} else if (this.tabpanel.activeTab == this.panelOpSum) {
if (this.storeOpList.getCount() == 0) {
return;
}
var sortstr = ' B.OP, B.BSTYPE';
if (this.oplistsortfield != '' && this.oplistsortdire != '') {
sortstr = this.oplistsortfield + ' ' + this.oplistsortdire;
}
Ext.Msg.wait('正在组织数据, 请稍侯..');
Ext.Ajax.request({
waitMsg: '正在组织数据...',
url: '/MvcShipping/MsRptOpProfit/OpListData',
scope: this,
params: {
start: 0, limit: this.PageSize,
condition: _this.sqlcontext,
printstr: 'true',
sortstr: sortstr
},
callback: function (options, success, response) {
if (success) {
Ext.MessageBox.hide();
var jsonresult = Ext.JSON.decode(response.responseText);
if (jsonresult.Success) {
var returnstr = jsonresult.Data;
var printType = 'MSRPTPROFITOP';
var sql1 = returnstr;
var sql2 = "";
var sql3 = "";
var sql4 = "";
var sql5 = "";
var sql6 = "";
PrintComm(printType, sql1, sql2, sql3, sql4, sql5, sql6);
} else {
Ext.Msg.show({ title: '错误', msg: jsonresult.Message, icon: Ext.Msg.ERROR, buttons: Ext.Msg.OK });
}
} else {
Ext.Msg.show({ title: '请重试',
msg: '服务器响应出错',
icon: Ext.Msg.ERROR, buttons: Ext.Msg.OK
});
}
}
});
} else if (this.tabpanel.activeTab == this.panelBsSourceSum) {
if (this.storeBsSourceList.getCount() == 0) {
return;
}
var sortstr = ' B.BSSOURCE, B.BSTYPE';
if (this.bssourcelistsortfield != '' && this.bssourcelistsortdire != '') {
sortstr = this.bssourcelistsortfield + ' ' + this.bssourcelistsortdire;
}
Ext.Msg.wait('正在组织数据, 请稍侯..');
Ext.Ajax.request({
waitMsg: '正在组织数据...',
url: '/MvcShipping/MsRptOpProfit/BsSourceListData',
scope: this,
params: {
start: 0, limit: this.PageSize,
condition: _this.sqlcontext,
printstr: 'true',
sortstr: sortstr
},
callback: function (options, success, response) {
if (success) {
Ext.MessageBox.hide();
var jsonresult = Ext.JSON.decode(response.responseText);
if (jsonresult.Success) {
var returnstr = jsonresult.Data;
var printType = 'MSRPTPROFITBSOURCE';
var sql1 = returnstr;
var sql2 = "";
var sql3 = "";
var sql4 = "";
var sql5 = "";
var sql6 = "";
PrintComm(printType, sql1, sql2, sql3, sql4, sql5, sql6);
} else {
Ext.Msg.show({ title: '错误', msg: jsonresult.Message, icon: Ext.Msg.ERROR, buttons: Ext.Msg.OK });
}
} else {
Ext.Msg.show({ title: '请重试',
msg: '服务器响应出错',
icon: Ext.Msg.ERROR, buttons: Ext.Msg.OK
});
}
}
});
} else if (this.tabpanel.activeTab == this.panelBsSourceDetailSum) {
if (this.storeBsSourceDetailList.getCount() == 0) {
return;
}
var sortstr = ' B.BSSOURCE,B.BSSOURCEDETAIL, B.BSTYPE';
if (this.bssourcelistdetailsortfield != '' && this.bssourcelistdetailsortdire != '') {
sortstr = this.bssourcelistdetailsortfield + ' ' + this.bssourcelistdetailsortdire;
}
Ext.Msg.wait('正在组织数据, 请稍侯..');
Ext.Ajax.request({
waitMsg: '正在组织数据...',
url: '/MvcShipping/MsRptOpProfit/BsSourceDetailListData',
scope: this,
params: {
start: 0, limit: this.PageSize,
condition: _this.sqlcontext,
printstr: 'true',
sortstr: sortstr
},
callback: function (options, success, response) {
if (success) {
Ext.MessageBox.hide();
var jsonresult = Ext.JSON.decode(response.responseText);
if (jsonresult.Success) {
var returnstr = jsonresult.Data;
var printType = 'MSRPTPROFITBSSOURCEDETAIL';
var sql1 = returnstr;
var sql2 = "";
var sql3 = "";
var sql4 = "";
var sql5 = "";
var sql6 = "";
PrintComm(printType, sql1, sql2, sql3, sql4, sql5, sql6);
} else {
Ext.Msg.show({ title: '错误', msg: jsonresult.Message, icon: Ext.Msg.ERROR, buttons: Ext.Msg.OK });
}
} else {
Ext.Msg.show({ title: '请重试',
msg: '服务器响应出错',
icon: Ext.Msg.ERROR, buttons: Ext.Msg.OK
});
}
}
});
}
}
});
function $() {
return document.getElementById(arguments[0]) || false;
}
function openNewDiv(_id, DivHtml, newDivWidth, newDivHeight, objName) {
//alert("_id is "+_id+" DivHtml is "+DivHtml+" newDivWidth is "+newDivWidth+" newDivHeight is "+newDivHeight+" objName is "+objName);
var m = "mask";
var _leftDatumPoint = document.body.scrollLeft + document.body.clientWidth / 2 - newDivWidth / 2;
var _topDatumPoint = 0; // document.body.scrollTop + document.body.clientHeight / 2 - newDivHeight / 2;
var _innerHTML = "<div style='padding-top:130px;width:1083px;text-align:center;'><img src='../../../images/wait.gif' width='80' height='80' bordr='0' /></div>"; // "<div style='padding-left:60px;padding-top:0px;padding-bottom:30px;width:500px;height:262px;line-height:22px;font-size:12px;color:#000;font-family:\"微软雅黑\";overflow-x:hidden;overflow-y:auto;'>韩国航线<br />日本九州<br />日本关东<br />日本关西<br />日本航线<br />日本关西<br />日本关西<br />日本关西<br />日本关西<br />日本关西<br />日本关西<br />日本关西<br />日本关西<br />日本关西<br />日本关西<br />日本关西<br />日本关西<br /><br /></div>"; //
var _storeDictionary = new Array();
var _storeDictionaryClass = new Array();
var _storeDictionaryValue = 0;
var outputStr = "";
var datetimeStr = "";
var recordCount = 0;
var _rmbAmount = "";
var _usdAmount = "";
var _othAmount = "";
var _teuAmount = "";
var _amount = "";
var _isTeu = false;
//alert(document.body.clientHeight);
var oplb = Ext.getCmp('comboxOpLbID').getValue();
var bstype = Ext.getCmp('comboxBsTypeID').getValue();
var sales = Ext.getCmp('comboxSalesCodeID').getValue();
var op = Ext.getCmp('comboxOpID').getValue();
2 years ago
var doc = Ext.getCmp('comboxDocID').getValue();
3 years ago
var customer = Ext.getCmp('comboxCustCodeID').getValue();
var bssource = Ext.getCmp('comboxBSSOURCEID').getValue();
var bssourcedetail = Ext.getCmp('comboxBSSOURCEDETAILID').getValue();
var vessel = Ext.getCmp('VesselID').getValue();
var voyno = Ext.getCmp('VoynoID').getValue();
var expdatebgn = Ext.getCmp('ExpDateBGNID').getRawValue(); //.getValue();
var expdateend = Ext.getCmp('ExpDateEndID').getRawValue(); //.getValue();
var etddatebgn = Ext.getCmp('ETDDateBGNID').getRawValue(); //.getValue();
var etddateend = Ext.getCmp('ETDDateEndID').getRawValue(); //.getValue();
var accdatebgn = Ext.getCmp('ACCDateBGNID').getRawValue(); //.getValue();
var accdateend = Ext.getCmp('ACCDateEndID').getRawValue(); //.getValue();
var dispClass = 0;
//alert("strYear is "+strYear+" strMonth is "+strMonth);
if ($(_id)) document.body.removeChild($(_id));
//mask遮罩层
var newMask = document.createElement("div");
newMask.id = m;
newMask.style.position = "absolute";
newMask.style.zIndex = "1";
_scrollWidth = Math.max(document.body.scrollWidth, document.documentElement.scrollWidth);
_scrollHeight = Math.max(document.body.scrollHeight, document.documentElement.scrollHeight);
newMask.style.width = _scrollWidth + "px";
newMask.style.height = _scrollHeight + "px";
newMask.style.top = "0px";
newMask.style.left = "0px";
newMask.style.background = "#33393C";
newMask.style.filter = "alpha(opacity=1)";
newMask.style.opacity = "0.01";
document.body.appendChild(newMask);
//if ($(m)) document.body.removeChild($(m));
//消息层框架
var newDiv = document.createElement("div");
newDiv.id = _id;
newDiv.style.position = "absolute";
newDiv.style.zIndex = "9999";
newDivWidth = newDivWidth || 1004;
//newDivHeight = newDivHeight || 630;
if (document.body.clientHeight > 768) {
newDivHeight = newDivHeight || 630;
}
else {
newDivHeight = 500;
}
_topDatumPoint = document.body.scrollTop + document.body.clientHeight / 2 - newDivHeight / 2;
newDiv.style.width = newDivWidth + "px";
newDiv.style.height = newDivHeight + "px";
newDiv.style.top = _topDatumPoint + "px";
newDiv.style.left = _leftDatumPoint + "px";
newDiv.style.background = "#dfe9f6";
newDiv.style.border = "1px solid #99bce8";
newDiv.style.padding = "5px";
//newDiv.innerHTML = DivHtml;
document.body.appendChild(newDiv);
//消息层标题
var newDivTitle = document.createElement("div");
newDivTitle.id = "_title" + _id;
newDivTitle.style.position = "absolute";
newDivTitle.style.zIndex = "10002";
newDivWidth = newDivWidth || 1083;
newDivHeight = newDivHeight || 630;
newDivTitle.style.width = 1083 + "px";
newDivTitle.style.height = 16 + "px";
newDivTitle.style.top = _topDatumPoint + "px";
newDivTitle.style.left = _leftDatumPoint + "px";
//newDivTitle.style.backgroundImage = "url(../../../images/title_bg.gif)";// background = "#000";
newDivTitle.style.border = "0px solid #99bce8";
newDivTitle.style.padding = "5px";
newDivTitle.style.fontWeight = "bold";
newDivTitle.style.color = "#15498b";
newDivTitle.style.fontSize = "14px";
newDivTitle.style.fontFamily = "微软雅黑";
document.body.appendChild(newDivTitle);
//消息层按钮
var newDivTitleBtn = document.createElement("div");
newDivTitleBtn.id = "_titleBtn" + _id;
newDivTitleBtn.style.position = "absolute";
newDivTitleBtn.style.zIndex = "10005";
newDivWidth = newDivWidth || 1083;
newDivHeight = newDivHeight || 630;
newDivTitleBtn.style.width = 14 + "px";
newDivTitleBtn.style.height = 14 + "px";
newDivTitleBtn.style.top = _topDatumPoint + 2 + "px";
newDivTitleBtn.style.left = _leftDatumPoint + 1064 + "px";
//newDivTitleBtn.style.background = "#000";
newDivTitleBtn.style.border = "0px solid #99bce8";
newDivTitleBtn.style.padding = "0px";
//newDivTitle2.innerHTML = "&nbsp;&nbsp;" + DivHtml;
document.body.appendChild(newDivTitleBtn);
//消息层内容
var newDivContent = document.createElement("div");
newDivContent.id = "_contentFrame" + _id;
newDivContent.style.position = "absolute";
newDivContent.style.zIndex = "10000";
//newDivWidth = newDivWidth || 1004;
//newDivHeight = newDivHeight || 630;
newDivContent.style.width = 1083 + "px";
//newDivContent.style.height = 593 + "px";
if (document.body.clientHeight > 768) {
newDivContent.style.height = 593 + "px";
}
else {
newDivContent.style.height = 464 + "px";
}
newDivContent.style.top = _topDatumPoint + 35 + "px";
newDivContent.style.left = _leftDatumPoint + "px";
//newDivTitle2.style.backgroundImage = "url(../../../images/title_bg.gif)";// background = "#000";
//newDivTitle2.style.border = "1px solid #99bce8";
//newDivTitle2.style.padding = "5px";
newDivContent.innerHTML = _innerHTML;
document.body.appendChild(newDivContent);
//查询消息
Ext.onReady(function () {
var _store;
if (Ext.getCmp('rdoBsSource').getValue() == true && Ext.getCmp('rdoGain').getValue() == true) {
dispClass = 11;
_isTeu = false;
_store = new Ext.data.JsonStore({
autoLoad: true, //设置为自动加载或者使用_store.load(),具体情况而定
2 years ago
proxy: new Ext.data.HttpProxy({ url: "/MvcShipping/MsRptOpProfitPerCent/GetCompareSourceGainInfo?objName=" + objName + "&strOPLB=" + oplb + "&strBSTYPE=" + bstype + "&strSALES=" + sales + "&strOP=" + op+ "&strDOC=" + doc + "&strCUSTOMER=" + customer + "&strBSSOURCE=" + bssource + "&strBSSOURCEDETAIL=" + bssourcedetail + "&strVESSEL=" + vessel + "&strVOYNO=" + voyno + "&strEXPDATEBGN=" + expdatebgn + "&strEXPDATEEND=" + expdateend + "&strETDDATEBGN=" + etddatebgn + "&strETDDATEEND=" + etddateend + "&strACCDATEBGN=" + accdatebgn + "&strACCDATEEND=" + accdateend +"&sortstr=TTLAMOUNT" }),
3 years ago
//fields: ["MONTHNAME", "MBLNO", "BSSOURCE", "TTLDR", "TTLCR", "TTLAMOUNT", "INPUTBY"]
2 years ago
fields: ["MONTHNAME", "MBLNO", "CUSTOMERNAME", "CNTRTOTAL", "PORTDISCHARGE", "OP", "DOC", "SALE", "BSSOURCE", "BSTYPE", "LANE", "RMBAMOUNT", "SUMRMBAMOUNT", "USDAMOUNT", "SUMUSDAMOUNT", "OTAMOUNT", "SUMOTAMOUNT", "TTLDR", "TTLCR", "TTLAMOUNT", "SUMTTLAMOUNT", "INPUTBY"]
3 years ago
});
}
else if (Ext.getCmp('rdoBsSource').getValue() == true && Ext.getCmp('rdoArrearage').getValue() == true) {
dispClass = 12;
_isTeu = false;
_store = new Ext.data.JsonStore({
autoLoad: true, //设置为自动加载或者使用_store.load(),具体情况而定
2 years ago
proxy: new Ext.data.HttpProxy({ url: "/MvcShipping/MsRptOpProfitPerCent/GetCompareSourceArrearageInfo?objName=" + objName + "&strOPLB=" + oplb + "&strBSTYPE=" + bstype + "&strSALES=" + sales + "&strOP=" + op + "&strDOC=" + doc + "&strCUSTOMER=" + customer + "&strBSSOURCE=" + bssource + "&strBSSOURCEDETAIL=" + bssourcedetail + "&strVESSEL=" + vessel + "&strVOYNO=" + voyno + "&strEXPDATEBGN=" + expdatebgn + "&strEXPDATEEND=" + expdateend + "&strETDDATEBGN=" + etddatebgn + "&strETDDATEEND=" + etddateend + "&strACCDATEBGN=" + accdatebgn + "&strACCDATEEND=" + accdateend }),
3 years ago
//fields: ["MONTHNAME", "MBLNO", "BSSOURCE", "TTLDR", "STLTTLCR", "TTLAMOUNT", "INPUTBY"]
2 years ago
fields: ["MONTHNAME", "MBLNO", "CUSTOMERNAME", "CNTRTOTAL", "PORTDISCHARGE", "OP", "DOC", "SALE", "BSSOURCE", "BSTYPE", "LANE", "RMBAMOUNT", "SUMRMBAMOUNT", "USDAMOUNT", "SUMUSDAMOUNT", "OTAMOUNT", "SUMOTAMOUNT", "TTLDR", "TTLCR", "TTLAMOUNT", "SUMTTLAMOUNT", "INPUTBY"]
3 years ago
});
}
else if (Ext.getCmp('rdoBsSource').getValue() == true && Ext.getCmp('rdoTeu').getValue() == true) {
dispClass = 13;
_isTeu = true;
_store = new Ext.data.JsonStore({
autoLoad: true, //设置为自动加载或者使用_store.load(),具体情况而定
2 years ago
proxy: new Ext.data.HttpProxy({ url: "/MvcShipping/MsRptOpProfitPerCent/GetCompareSourceTEUInfo?objName=" + objName + "&strOPLB=" + oplb + "&strBSTYPE=" + bstype + "&strSALES=" + sales + "&strOP=" + op + "&strDOC=" + doc + "&strCUSTOMER=" + customer + "&strBSSOURCE=" + bssource + "&strBSSOURCEDETAIL=" + bssourcedetail + "&strVESSEL=" + vessel + "&strVOYNO=" + voyno + "&strEXPDATEBGN=" + expdatebgn + "&strEXPDATEEND=" + expdateend + "&strETDDATEBGN=" + etddatebgn + "&strETDDATEEND=" + etddateend + "&strACCDATEBGN=" + accdatebgn + "&strACCDATEEND=" + accdateend }),
3 years ago
//fields: ["MONTHNAME", "MBLNO", "BSSOURCE", "TEU", "INPUTBY"]
//fields: ["MONTHNAME", "MBLNO", "CUSTOMERNAME", "CNTRTOTAL", "PORTDISCHARGE", "OP", "SALE", "BSSOURCE", "BSTYPE", "LANE", "TEU", "SUMTEU", "INPUTBY"]
2 years ago
fields: ["MONTHNAME", "MBLNO", "CUSTOMERNAME", "CNTRTOTAL", "PORTDISCHARGE", "OP", "DOC", "SALE", "BSSOURCE", "BSTYPE", "LANE", "TEU", "INPUTBY", "TEUAMOUNT"]
3 years ago
});
}
else if (Ext.getCmp('rdoLane').getValue() == true && Ext.getCmp('rdoGain').getValue() == true) {
dispClass = 21;
_isTeu = false;
_store = new Ext.data.JsonStore({
autoLoad: true, //设置为自动加载或者使用_store.load(),具体情况而定
2 years ago
proxy: new Ext.data.HttpProxy({ url: "/MvcShipping/MsRptOpProfitPerCent/GetCompareLaneGainInfo?objName=" + objName + "&strOPLB=" + oplb + "&strBSTYPE=" + bstype + "&strSALES=" + sales + "&strOP=" + op + "&strDOC=" + doc + "&strCUSTOMER=" + customer + "&strBSSOURCE=" + bssource + "&strBSSOURCEDETAIL=" + bssourcedetail + "&strVESSEL=" + vessel + "&strVOYNO=" + voyno + "&strEXPDATEBGN=" + expdatebgn + "&strEXPDATEEND=" + expdateend + "&strETDDATEBGN=" + etddatebgn + "&strETDDATEEND=" + etddateend + "&strACCDATEBGN=" + accdatebgn + "&strACCDATEEND=" + accdateend }),
3 years ago
//fields: ["MONTHNAME", "MBLNO", "LANE", "TTLDR", "TTLCR", "TTLAMOUNT", "INPUTBY"]
2 years ago
fields: ["MONTHNAME", "MBLNO", "CUSTOMERNAME", "CNTRTOTAL", "PORTDISCHARGE", "OP", "DOC", "SALE", "BSSOURCE", "BSTYPE", "LANE", "RMBAMOUNT", "SUMRMBAMOUNT", "USDAMOUNT", "SUMUSDAMOUNT", "OTAMOUNT", "SUMOTAMOUNT", "TTLDR", "TTLCR", "TTLAMOUNT", "SUMTTLAMOUNT", "INPUTBY"]
3 years ago
});
}
else if (Ext.getCmp('rdoLane').getValue() == true && Ext.getCmp('rdoArrearage').getValue() == true) {
dispClass = 22;
_isTeu = false;
_store = new Ext.data.JsonStore({
autoLoad: true, //设置为自动加载或者使用_store.load(),具体情况而定
2 years ago
proxy: new Ext.data.HttpProxy({ url: "/MvcShipping/MsRptOpProfitPerCent/GetCompareLaneArrearageInfo?objName=" + objName + "&strOPLB=" + oplb + "&strBSTYPE=" + bstype + "&strSALES=" + sales + "&strOP=" + op + "&strDOC=" + doc + "&strCUSTOMER=" + customer + "&strBSSOURCE=" + bssource + "&strBSSOURCEDETAIL=" + bssourcedetail + "&strVESSEL=" + vessel + "&strVOYNO=" + voyno + "&strEXPDATEBGN=" + expdatebgn + "&strEXPDATEEND=" + expdateend + "&strETDDATEBGN=" + etddatebgn + "&strETDDATEEND=" + etddateend + "&strACCDATEBGN=" + accdatebgn + "&strACCDATEEND=" + accdateend }),
3 years ago
//fields: ["MONTHNAME", "MBLNO", "LANE", "TTLDR", "STLTTLCR", "TTLAMOUNT", "INPUTBY"]
//fields: ["MONTHNAME", "MBLNO", "CUSTOMERNAME", "CNTRTOTAL", "PORTDISCHARGE", "OP", "SALE", "BSSOURCE", "BSTYPE", "LANE", "STLRMBDR", "STLRMBCR", "RMBAMOUNT", "SUMRMBAMOUNT", "STLUSDDR", "STLUSDCR", "USDAMOUNT", "SUMUSDAMOUNT", "STLOTDR", "STLOTCR", "OTAMOUNT", "SUMOTAMOUNT", "TTLDR", "STLTTLCR", "TTLAMOUNT", "SUMTTLAMOUNT", "INPUTBY"]
2 years ago
fields: ["MONTHNAME", "MBLNO", "CUSTOMERNAME", "CNTRTOTAL", "PORTDISCHARGE", "OP", "DOC", "SALE", "BSSOURCE", "BSTYPE", "LANE", "RMBAMOUNT", "SUMRMBAMOUNT", "USDAMOUNT", "SUMUSDAMOUNT", "OTAMOUNT", "SUMOTAMOUNT", "TTLDR", "TTLCR", "TTLAMOUNT", "SUMTTLAMOUNT", "INPUTBY"]
3 years ago
});
}
else if (Ext.getCmp('rdoLane').getValue() == true && Ext.getCmp('rdoTeu').getValue() == true) {
dispClass = 23;
_isTeu = true;
_store = new Ext.data.JsonStore({
autoLoad: true, //设置为自动加载或者使用_store.load(),具体情况而定
2 years ago
proxy: new Ext.data.HttpProxy({ url: "/MvcShipping/MsRptOpProfitPerCent/GetCompareLaneTEUInfo?objName=" + objName + "&strOPLB=" + oplb + "&strBSTYPE=" + bstype + "&strSALES=" + sales + "&strOP=" + op + "&strDOC=" + doc + "&strCUSTOMER=" + customer + "&strBSSOURCE=" + bssource + "&strBSSOURCEDETAIL=" + bssourcedetail + "&strVESSEL=" + vessel + "&strVOYNO=" + voyno + "&strEXPDATEBGN=" + expdatebgn + "&strEXPDATEEND=" + expdateend + "&strETDDATEBGN=" + etddatebgn + "&strETDDATEEND=" + etddateend + "&strACCDATEBGN=" + accdatebgn + "&strACCDATEEND=" + accdateend }),
3 years ago
//fields: ["MONTHNAME", "MBLNO", "LANE", "TEU", "INPUTBY"]
//fields: ["MONTHNAME", "MBLNO", "CUSTOMERNAME", "CNTRTOTAL", "PORTDISCHARGE", "OP", "SALE", "BSSOURCE", "BSTYPE", "LANE", "TEU", "SUMTEU", "INPUTBY"]
2 years ago
fields: ["MONTHNAME", "MBLNO", "CUSTOMERNAME", "CNTRTOTAL", "PORTDISCHARGE", "OP", "DOC", "SALE", "BSSOURCE", "BSTYPE", "LANE", "RMBAMOUNT", "TEU", "INPUTBY", "TEUAMOUNT"]
3 years ago
});
}
else if (Ext.getCmp('rdoSale').getValue() == true && Ext.getCmp('rdoGain').getValue() == true) {
dispClass = 31;
_isTeu = false;
_store = new Ext.data.JsonStore({
autoLoad: true, //设置为自动加载或者使用_store.load(),具体情况而定
2 years ago
proxy: new Ext.data.HttpProxy({ url: "/MvcShipping/MsRptOpProfitPerCent/GetCompareSaleGainInfo?objName=" + objName + "&strOPLB=" + oplb + "&strBSTYPE=" + bstype + "&strSALES=" + sales + "&strOP=" + op + "&strDOC=" + doc + "&strCUSTOMER=" + customer + "&strBSSOURCE=" + bssource + "&strBSSOURCEDETAIL=" + bssourcedetail + "&strVESSEL=" + vessel + "&strVOYNO=" + voyno + "&strEXPDATEBGN=" + expdatebgn + "&strEXPDATEEND=" + expdateend + "&strETDDATEBGN=" + etddatebgn + "&strETDDATEEND=" + etddateend + "&strACCDATEBGN=" + accdatebgn + "&strACCDATEEND=" + accdateend }),
3 years ago
//fields: ["MONTHNAME", "MBLNO", "TTLDR", "TTLCR", "TTLAMOUNT", "SALE"]
//fields: ["MONTHNAME", "MBLNO", "CUSTOMERNAME", "CNTRTOTAL", "PORTDISCHARGE", "OP", "SALE", "BSSOURCE", "BSTYPE", "LANE", "RMBDR", "RMBCR", "RMBAMOUNT", "SUMRMBAMOUNT", "USDDR", "USDCR", "USDAMOUNT", "SUMUSDAMOUNT", "TTLDR", "TTLCR", "TTLAMOUNT", "SUMTTLAMOUNT", "INPUTBY"]
2 years ago
fields: ["MONTHNAME", "MBLNO", "CUSTOMERNAME", "CNTRTOTAL", "PORTDISCHARGE", "OP", "DOC", "SALE", "BSSOURCE", "BSTYPE", "LANE", "RMBAMOUNT", "SUMRMBAMOUNT", "USDAMOUNT", "SUMUSDAMOUNT", "OTAMOUNT", "SUMOTAMOUNT", "TTLDR", "TTLCR", "TTLAMOUNT", "SUMTTLAMOUNT", "INPUTBY"]
3 years ago
});
}
else if (Ext.getCmp('rdoSale').getValue() == true && Ext.getCmp('rdoArrearage').getValue() == true) {
dispClass = 32;
_isTeu = false;
_store = new Ext.data.JsonStore({
autoLoad: true, //设置为自动加载或者使用_store.load(),具体情况而定
2 years ago
proxy: new Ext.data.HttpProxy({ url: "/MvcShipping/MsRptOpProfitPerCent/GetCompareSaleArrearageInfo?objName=" + objName + "&strOPLB=" + oplb + "&strBSTYPE=" + bstype + "&strSALES=" + sales + "&strOP=" + op + "&strDOC=" + doc + "&strCUSTOMER=" + customer + "&strBSSOURCE=" + bssource + "&strBSSOURCEDETAIL=" + bssourcedetail + "&strVESSEL=" + vessel + "&strVOYNO=" + voyno + "&strEXPDATEBGN=" + expdatebgn + "&strEXPDATEEND=" + expdateend + "&strETDDATEBGN=" + etddatebgn + "&strETDDATEEND=" + etddateend + "&strACCDATEBGN=" + accdatebgn + "&strACCDATEEND=" + accdateend }),
3 years ago
//fields: ["MONTHNAME", "MBLNO", "TTLDR", "STLTTLCR", "TTLAMOUNT", "SALE"]
//fields: ["MONTHNAME", "MBLNO", "CUSTOMERNAME", "CNTRTOTAL", "PORTDISCHARGE", "OP", "SALE", "BSSOURCE", "BSTYPE", "LANE", "STLRMBDR", "STLRMBCR", "RMBAMOUNT", "SUMRMBAMOUNT", "STLUSDDR", "STLUSDCR", "USDAMOUNT", "SUMUSDAMOUNT", "TTLDR", "STLTTLCR", "TTLAMOUNT", "SUMTTLAMOUNT", "INPUTBY"]
2 years ago
fields: ["MONTHNAME", "MBLNO", "CUSTOMERNAME", "CNTRTOTAL", "PORTDISCHARGE", "OP", "DOC", "SALE", "BSSOURCE", "BSTYPE", "LANE", "RMBAMOUNT", "SUMRMBAMOUNT", "USDAMOUNT", "SUMUSDAMOUNT", "OTAMOUNT", "SUMOTAMOUNT", "TTLDR", "TTLCR", "TTLAMOUNT", "SUMTTLAMOUNT", "INPUTBY"]
3 years ago
});
}
else if (Ext.getCmp('rdoSale').getValue() == true && Ext.getCmp('rdoTeu').getValue() == true) {
dispClass = 33;
_isTeu = true;
_store = new Ext.data.JsonStore({
autoLoad: true, //设置为自动加载或者使用_store.load(),具体情况而定
2 years ago
proxy: new Ext.data.HttpProxy({ url: "/MvcShipping/MsRptOpProfitPerCent/GetCompareSaleTEUInfo?objName=" + objName + "&strOPLB=" + oplb + "&strBSTYPE=" + bstype + "&strSALES=" + sales + "&strOP=" + op + "&strDOC=" + doc + "&strCUSTOMER=" + customer + "&strBSSOURCE=" + bssource + "&strBSSOURCEDETAIL=" + bssourcedetail + "&strVESSEL=" + vessel + "&strVOYNO=" + voyno + "&strEXPDATEBGN=" + expdatebgn + "&strEXPDATEEND=" + expdateend + "&strETDDATEBGN=" + etddatebgn + "&strETDDATEEND=" + etddateend + "&strACCDATEBGN=" + accdatebgn + "&strACCDATEEND=" + accdateend }),
3 years ago
//fields: ["MONTHNAME", "MBLNO", "TEU", "SALE"]
//fields: ["MONTHNAME", "MBLNO", "CUSTOMERNAME", "CNTRTOTAL", "PORTDISCHARGE", "OP", "SALE", "BSSOURCE", "BSTYPE", "LANE", "TEU", "SUMTEU", "INPUTBY"]
2 years ago
fields: ["MONTHNAME", "MBLNO", "CUSTOMERNAME", "CNTRTOTAL", "PORTDISCHARGE", "OP", "DOC", "SALE", "BSSOURCE", "BSTYPE", "LANE", "TEU", "INPUTBY", "TEUAMOUNT"]
3 years ago
});
}
else if (Ext.getCmp('rdoBsType').getValue() == true && Ext.getCmp('rdoGain').getValue() == true) {
dispClass = 41;
_isTeu = false;
_store = new Ext.data.JsonStore({
autoLoad: true, //设置为自动加载或者使用_store.load(),具体情况而定
2 years ago
proxy: new Ext.data.HttpProxy({ url: "/MvcShipping/MsRptOpProfitPerCent/GetCompareBsTypeGainInfo?objName=" + objName + "&strOPLB=" + oplb + "&strBSTYPE=" + bstype + "&strSALES=" + sales + "&strOP=" + op + "&strDOC=" + doc + "&strCUSTOMER=" + customer + "&strBSSOURCE=" + bssource + "&strBSSOURCEDETAIL=" + bssourcedetail + "&strVESSEL=" + vessel + "&strVOYNO=" + voyno + "&strEXPDATEBGN=" + expdatebgn + "&strEXPDATEEND=" + expdateend + "&strETDDATEBGN=" + etddatebgn + "&strETDDATEEND=" + etddateend + "&strACCDATEBGN=" + accdatebgn + "&strACCDATEEND=" + accdateend }),
3 years ago
//fields: ["MONTHNAME", "MBLNO", "BSTYPE", "TTLDR", "TTLCR", "TTLAMOUNT", "INPUTBY"]
//fields: ["MONTHNAME", "MBLNO", "CUSTOMERNAME", "CNTRTOTAL", "PORTDISCHARGE", "OP", "SALE", "BSSOURCE", "BSTYPE", "LANE", "RMBDR", "RMBCR", "RMBAMOUNT", "SUMRMBAMOUNT", "USDDR", "USDCR", "USDAMOUNT", "SUMUSDAMOUNT", "TTLDR", "TTLCR", "TTLAMOUNT", "SUMTTLAMOUNT", "INPUTBY"]
2 years ago
fields: ["MONTHNAME", "MBLNO", "CUSTOMERNAME", "CNTRTOTAL", "PORTDISCHARGE", "OP", "DOC", "SALE", "BSSOURCE", "BSTYPE", "LANE", "RMBAMOUNT", "SUMRMBAMOUNT", "USDAMOUNT", "SUMUSDAMOUNT", "OTAMOUNT", "SUMOTAMOUNT", "TTLDR", "TTLCR", "TTLAMOUNT", "SUMTTLAMOUNT", "INPUTBY"]
3 years ago
});
}
else if (Ext.getCmp('rdoBsType').getValue() == true && Ext.getCmp('rdoArrearage').getValue() == true) {
dispClass = 42;
_isTeu = false;
_store = new Ext.data.JsonStore({
autoLoad: true, //设置为自动加载或者使用_store.load(),具体情况而定
2 years ago
proxy: new Ext.data.HttpProxy({ url: "/MvcShipping/MsRptOpProfitPerCent/GetCompareBsTypeArrearageInfo?objName=" + objName + "&strOPLB=" + oplb + "&strBSTYPE=" + bstype + "&strSALES=" + sales + "&strOP=" + op + "&strDOC=" + doc + "&strCUSTOMER=" + customer + "&strBSSOURCE=" + bssource + "&strBSSOURCEDETAIL=" + bssourcedetail + "&strVESSEL=" + vessel + "&strVOYNO=" + voyno + "&strEXPDATEBGN=" + expdatebgn + "&strEXPDATEEND=" + expdateend + "&strETDDATEBGN=" + etddatebgn + "&strETDDATEEND=" + etddateend + "&strACCDATEBGN=" + accdatebgn + "&strACCDATEEND=" + accdateend }),
3 years ago
//fields: ["MONTHNAME", "MBLNO", "BSTYPE", "TTLDR", "TTLCR", "STLTTLAMOUNT", "INPUTBY"]
//fields: ["MONTHNAME", "MBLNO", "CUSTOMERNAME", "CNTRTOTAL", "PORTDISCHARGE", "OP", "SALE", "BSSOURCE", "BSTYPE", "LANE", "STLRMBDR", "STLRMBCR", "RMBAMOUNT", "SUMRMBAMOUNT", "STLUSDDR", "STLUSDCR", "USDAMOUNT", "SUMUSDAMOUNT", "TTLDR", "STLTTLCR", "TTLAMOUNT", "SUMTTLAMOUNT", "INPUTBY"]
2 years ago
fields: ["MONTHNAME", "MBLNO", "CUSTOMERNAME", "CNTRTOTAL", "PORTDISCHARGE", "OP", "DOC", "SALE", "BSSOURCE", "BSTYPE", "LANE", "RMBAMOUNT", "SUMRMBAMOUNT", "USDAMOUNT", "SUMUSDAMOUNT", "OTAMOUNT", "SUMOTAMOUNT", "TTLDR", "TTLCR", "TTLAMOUNT", "SUMTTLAMOUNT", "INPUTBY"]
3 years ago
});
}
else if (Ext.getCmp('rdoBsType').getValue() == true && Ext.getCmp('rdoTeu').getValue() == true) {
dispClass = 43;
_isTeu = true;
_store = new Ext.data.JsonStore({
autoLoad: true, //设置为自动加载或者使用_store.load(),具体情况而定
2 years ago
proxy: new Ext.data.HttpProxy({ url: "/MvcShipping/MsRptOpProfitPerCent/GetCompareBsTypeTEUInfo?objName=" + objName + "&strOPLB=" + oplb + "&strBSTYPE=" + bstype + "&strSALES=" + sales + "&strOP=" + op + "&strDOC=" + doc + "&strCUSTOMER=" + customer + "&strBSSOURCE=" + bssource + "&strBSSOURCEDETAIL=" + bssourcedetail + "&strVESSEL=" + vessel + "&strVOYNO=" + voyno + "&strEXPDATEBGN=" + expdatebgn + "&strEXPDATEEND=" + expdateend + "&strETDDATEBGN=" + etddatebgn + "&strETDDATEEND=" + etddateend + "&strACCDATEBGN=" + accdatebgn + "&strACCDATEEND=" + accdateend }),
3 years ago
//fields: ["MONTHNAME", "MBLNO", "BSTYPE", "TEU", "INPUTBY"]
//fields: ["MONTHNAME", "MBLNO", "CUSTOMERNAME", "CNTRTOTAL", "PORTDISCHARGE", "OP", "SALE", "BSSOURCE", "BSTYPE", "LANE", "TEU", "SUMTEU", "INPUTBY"]
2 years ago
fields: ["MONTHNAME", "MBLNO", "CUSTOMERNAME", "CNTRTOTAL", "PORTDISCHARGE", "OP", "DOC", "SALE", "BSSOURCE", "BSTYPE", "LANE", "TEU", "INPUTBY", "TEUAMOUNT"]
3 years ago
});
}
else if (Ext.getCmp('rdoCustomerName').getValue() == true && Ext.getCmp('rdoGain').getValue() == true) {
dispClass = 51;
_isTeu = false;
_store = new Ext.data.JsonStore({
autoLoad: true, //设置为自动加载或者使用_store.load(),具体情况而定
2 years ago
proxy: new Ext.data.HttpProxy({ url: "/MvcShipping/MsRptOpProfitPerCent/GetCompareCustomerGainInfo?objName=" + objName + "&strOPLB=" + oplb + "&strBSTYPE=" + bstype + "&strSALES=" + sales + "&strOP=" + op + "&strDOC=" + doc + "&strCUSTOMER=" + customer + "&strBSSOURCE=" + bssource + "&strBSSOURCEDETAIL=" + bssourcedetail + "&strVESSEL=" + vessel + "&strVOYNO=" + voyno + "&strEXPDATEBGN=" + expdatebgn + "&strEXPDATEEND=" + expdateend + "&strETDDATEBGN=" + etddatebgn + "&strETDDATEEND=" + etddateend + "&strACCDATEBGN=" + accdatebgn + "&strACCDATEEND=" + accdateend }),
3 years ago
//fields: ["MONTHNAME", "MBLNO", "CUSTOMERNAME", "TTLDR", "TTLCR", "TTLAMOUNT", "INPUTBY"]
//fields: ["MONTHNAME", "MBLNO", "CUSTOMERNAME", "CNTRTOTAL", "PORTDISCHARGE", "OP", "SALE", "BSSOURCE", "BSTYPE", "LANE", "RMBDR", "RMBCR", "RMBAMOUNT", "SUMRMBAMOUNT", "USDDR", "USDCR", "USDAMOUNT", "SUMUSDAMOUNT", "TTLDR", "TTLCR", "TTLAMOUNT", "SUMTTLAMOUNT", "INPUTBY"]
2 years ago
fields: ["MONTHNAME", "MBLNO", "CUSTOMERNAME", "CNTRTOTAL", "PORTDISCHARGE", "OP", "DOC", "SALE", "BSSOURCE", "BSTYPE", "LANE", "RMBAMOUNT", "SUMRMBAMOUNT", "USDAMOUNT", "SUMUSDAMOUNT", "OTAMOUNT", "SUMOTAMOUNT", "TTLDR", "TTLCR", "TTLAMOUNT", "SUMTTLAMOUNT", "INPUTBY"]
3 years ago
});
}
else if (Ext.getCmp('rdoCustomerName').getValue() == true && Ext.getCmp('rdoArrearage').getValue() == true) {
dispClass = 52;
_isTeu = false;
_store = new Ext.data.JsonStore({
autoLoad: true, //设置为自动加载或者使用_store.load(),具体情况而定
2 years ago
proxy: new Ext.data.HttpProxy({ url: "/MvcShipping/MsRptOpProfitPerCent/GetCompareCustomerArrearageInfo?objName=" + objName + "&strOPLB=" + oplb + "&strBSTYPE=" + bstype + "&strSALES=" + sales + "&strOP=" + op + "&strDOC=" + doc + "&strCUSTOMER=" + customer + "&strBSSOURCE=" + bssource + "&strBSSOURCEDETAIL=" + bssourcedetail + "&strVESSEL=" + vessel + "&strVOYNO=" + voyno + "&strEXPDATEBGN=" + expdatebgn + "&strEXPDATEEND=" + expdateend + "&strETDDATEBGN=" + etddatebgn + "&strETDDATEEND=" + etddateend + "&strACCDATEBGN=" + accdatebgn + "&strACCDATEEND=" + accdateend }),
3 years ago
//fields: ["MONTHNAME", "MBLNO", "CUSTOMERNAME", "TTLDR", "STLTTLCR", "TTLAMOUNT", "INPUTBY"]
//fields: ["MONTHNAME", "MBLNO", "CUSTOMERNAME", "CNTRTOTAL", "PORTDISCHARGE", "OP", "SALE", "BSSOURCE", "BSTYPE", "LANE", "STLRMBDR", "STLRMBCR", "RMBAMOUNT", "SUMRMBAMOUNT", "STLUSDDR", "STLUSDCR", "USDAMOUNT", "SUMUSDAMOUNT", "TTLDR", "STLTTLCR", "TTLAMOUNT", "SUMTTLAMOUNT", "INPUTBY"]
2 years ago
fields: ["MONTHNAME", "MBLNO", "CUSTOMERNAME", "CNTRTOTAL", "PORTDISCHARGE", "OP", "DOC", "SALE", "BSSOURCE", "BSTYPE", "LANE", "RMBAMOUNT", "SUMRMBAMOUNT", "USDAMOUNT", "SUMUSDAMOUNT", "OTAMOUNT", "SUMOTAMOUNT", "TTLDR", "TTLCR", "TTLAMOUNT", "SUMTTLAMOUNT", "INPUTBY"]
3 years ago
});
}
else if (Ext.getCmp('rdoCustomerName').getValue() == true && Ext.getCmp('rdoTeu').getValue() == true) {
dispClass = 53;
_isTeu = true;
_store = new Ext.data.JsonStore({
autoLoad: true, //设置为自动加载或者使用_store.load(),具体情况而定
2 years ago
proxy: new Ext.data.HttpProxy({ url: "/MvcShipping/MsRptOpProfitPerCent/GetCompareCustomerTEUInfo?objName=" + objName + "&strOPLB=" + oplb + "&strBSTYPE=" + bstype + "&strSALES=" + sales + "&strOP=" + op + "&strDOC=" + doc + "&strCUSTOMER=" + customer + "&strBSSOURCE=" + bssource + "&strBSSOURCEDETAIL=" + bssourcedetail + "&strVESSEL=" + vessel + "&strVOYNO=" + voyno + "&strEXPDATEBGN=" + expdatebgn + "&strEXPDATEEND=" + expdateend + "&strETDDATEBGN=" + etddatebgn + "&strETDDATEEND=" + etddateend + "&strACCDATEBGN=" + accdatebgn + "&strACCDATEEND=" + accdateend }),
3 years ago
//fields: ["MONTHNAME", "MBLNO", "CUSTOMERNAME", "TEU", "INPUTBY"]
//fields: ["MONTHNAME", "MBLNO", "CUSTOMERNAME", "CNTRTOTAL", "PORTDISCHARGE", "OP", "SALE", "BSSOURCE", "BSTYPE", "LANE", "TEU", "SUMTEU", "INPUTBY"]
2 years ago
fields: ["MONTHNAME", "MBLNO", "CUSTOMERNAME", "CNTRTOTAL", "PORTDISCHARGE", "OP", "DOC", "SALE", "BSSOURCE", "BSTYPE", "LANE", "TEU", "INPUTBY", "TEUAMOUNT"]
3 years ago
});
}
_store.on("load", function (_store) {
switch (dispClass) {
case 11:
if (_store.getAt(0).get("BSSOURCE") != "") {
newDivTitle.innerHTML = "&nbsp;&nbsp;" + DivHtml + "&nbsp;-&nbsp;" + _store.getAt(0).get("BSSOURCE");
}
else {
newDivTitle.innerHTML = "&nbsp;&nbsp;" + DivHtml + "&nbsp;-&nbsp;(无)";
}
break;
case 12:
if (_store.getAt(0).get("BSSOURCE") != "") {
newDivTitle.innerHTML = "&nbsp;&nbsp;" + DivHtml + "&nbsp;-&nbsp;" + _store.getAt(0).get("BSSOURCE");
}
else {
newDivTitle.innerHTML = "&nbsp;&nbsp;" + DivHtml + "&nbsp;-&nbsp;(无)";
}
break;
case 13:
if (_store.getAt(0).get("BSSOURCE") != "") {
newDivTitle.innerHTML = "&nbsp;&nbsp;" + DivHtml + "&nbsp;-&nbsp;" + _store.getAt(0).get("BSSOURCE");
}
else {
newDivTitle.innerHTML = "&nbsp;&nbsp;" + DivHtml + "&nbsp;-&nbsp;(无)";
}
break;
case 21:
if (_store.getAt(0).get("LANE") != "") {
newDivTitle.innerHTML = "&nbsp;&nbsp;" + DivHtml + "&nbsp;-&nbsp;" + _store.getAt(0).get("LANE");
}
else {
newDivTitle.innerHTML = "&nbsp;&nbsp;" + DivHtml + "&nbsp;-&nbsp;(无)";
}
break;
case 22:
if (_store.getAt(0).get("LANE") != "") {
newDivTitle.innerHTML = "&nbsp;&nbsp;" + DivHtml + "&nbsp;-&nbsp;" + _store.getAt(0).get("LANE");
}
else {
newDivTitle.innerHTML = "&nbsp;&nbsp;" + DivHtml + "&nbsp;-&nbsp;(无)";
}
break;
case 23:
if (_store.getAt(0).get("LANE") != "") {
newDivTitle.innerHTML = "&nbsp;&nbsp;" + DivHtml + "&nbsp;-&nbsp;" + _store.getAt(0).get("LANE");
}
else {
newDivTitle.innerHTML = "&nbsp;&nbsp;" + DivHtml + "&nbsp;-&nbsp;(无)";
}
break;
case 31:
if (_store.getAt(0).get("SALE") != "") {
newDivTitle.innerHTML = "&nbsp;&nbsp;" + DivHtml + "&nbsp;-&nbsp;" + _store.getAt(0).get("SALE");
}
else {
newDivTitle.innerHTML = "&nbsp;&nbsp;" + DivHtml + "&nbsp;-&nbsp;(无)";
}
break;
case 32:
if (_store.getAt(0).get("SALE") != "") {
newDivTitle.innerHTML = "&nbsp;&nbsp;" + DivHtml + "&nbsp;-&nbsp;" + _store.getAt(0).get("SALE");
}
else {
newDivTitle.innerHTML = "&nbsp;&nbsp;" + DivHtml + "&nbsp;-&nbsp;(无)";
}
break;
case 33:
if (_store.getAt(0).get("SALE") != "") {
newDivTitle.innerHTML = "&nbsp;&nbsp;" + DivHtml + "&nbsp;-&nbsp;" + _store.getAt(0).get("SALE");
}
else {
newDivTitle.innerHTML = "&nbsp;&nbsp;" + DivHtml + "&nbsp;-&nbsp;(无)";
}
break;
case 41:
if (_store.getAt(0).get("BSTYPE") != "") {
newDivTitle.innerHTML = "&nbsp;&nbsp;" + DivHtml + "&nbsp;-&nbsp;" + _store.getAt(0).get("BSTYPE");
}
else {
newDivTitle.innerHTML = "&nbsp;&nbsp;" + DivHtml + "&nbsp;-&nbsp;(无)";
}
break;
case 42:
if (_store.getAt(0).get("BSTYPE") != "") {
newDivTitle.innerHTML = "&nbsp;&nbsp;" + DivHtml + "&nbsp;-&nbsp;" + _store.getAt(0).get("BSTYPE");
}
else {
newDivTitle.innerHTML = "&nbsp;&nbsp;" + DivHtml + "&nbsp;-&nbsp;(无)";
}
break;
case 43:
if (_store.getAt(0).get("BSTYPE") != "") {
newDivTitle.innerHTML = "&nbsp;&nbsp;" + DivHtml + "&nbsp;-&nbsp;" + _store.getAt(0).get("BSTYPE");
}
else {
newDivTitle.innerHTML = "&nbsp;&nbsp;" + DivHtml + "&nbsp;-&nbsp;(无)";
}
break;
case 51:
if (_store.getAt(0).get("CUSTOMERNAME") != "") {
newDivTitle.innerHTML = "&nbsp;&nbsp;" + DivHtml + "&nbsp;-&nbsp;" + _store.getAt(0).get("CUSTOMERNAME");
}
else {
newDivTitle.innerHTML = "&nbsp;&nbsp;" + DivHtml + "&nbsp;-&nbsp;(无)";
}
break;
case 52:
if (_store.getAt(0).get("CUSTOMERNAME") != "") {
newDivTitle.innerHTML = "&nbsp;&nbsp;" + DivHtml + "&nbsp;-&nbsp;" + _store.getAt(0).get("CUSTOMERNAME");
}
else {
newDivTitle.innerHTML = "&nbsp;&nbsp;" + DivHtml + "&nbsp;-&nbsp;(无)";
}
break;
case 53:
if (_store.getAt(0).get("CUSTOMERNAME") != "") {
newDivTitle.innerHTML = "&nbsp;&nbsp;" + DivHtml + "&nbsp;-&nbsp;" + _store.getAt(0).get("CUSTOMERNAME");
}
else {
newDivTitle.innerHTML = "&nbsp;&nbsp;" + DivHtml + "&nbsp;-&nbsp;(无)";
}
break;
}
if (dispClass == 11) {
outputStrTitle = "<table id=\"ResultTitle\" width=\"1033\" align=\"left\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" class=\"tab\">";
outputStrTitle += "<tr>";
outputStrTitle += "<td width=\"77\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabLeftTopBorder\">业务日期</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">客户名称</td>";
outputStrTitle += "<td width=\"120\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">提单号</td>";
outputStrTitle += "<td width=\"76\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">箱型箱量</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">目的港</td>";
outputStrTitle += "<td colspan=\"3\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">利润</td>";
outputStrTitle += "<td width=\"74\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">利润合计</td>";
outputStrTitle += "<td width=\"74\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">操作</td>";
outputStrTitle += "<td width=\"73\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">揽货人</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">运输类型</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">航线</td>";
outputStrTitle += "</tr>";
outputStrTitle += "<tr>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">RMB</td>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">USD</td>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">其它货币</td>";
outputStrTitle += "</tr>";
}
else if (dispClass == 12) {
outputStrTitle = "<table id=\"ResultTitle\" width=\"1033\" align=\"left\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" class=\"tab\">";
outputStrTitle += "<tr>";
outputStrTitle += "<td width=\"77\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabLeftTopBorder\">业务日期</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">客户名称</td>";
outputStrTitle += "<td width=\"120\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">提单号</td>";
outputStrTitle += "<td width=\"76\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">箱型箱量</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">目的港</td>";
outputStrTitle += "<td colspan=\"3\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">欠费</td>";
outputStrTitle += "<td width=\"74\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">欠费合计</td>";
outputStrTitle += "<td width=\"74\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">操作</td>";
outputStrTitle += "<td width=\"73\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">揽货人</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">运输类型</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">航线</td>";
outputStrTitle += "</tr>";
outputStrTitle += "<tr>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">RMB</td>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">USD</td>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">其它货币</td>";
outputStrTitle += "</tr>";
}
else if (dispClass == 13) {
outputStrTitle = "<table id=\"ResultTitle\" width=\"801\" align=\"left\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" class=\"tab\">";
outputStrTitle += "<tr>";
outputStrTitle += "<td width=\"77\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabLeftTopBorder\">业务日期</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">客户名称</td>";
outputStrTitle += "<td width=\"120\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">提单号</td>";
outputStrTitle += "<td width=\"76\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">箱型箱量</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">目的港</td>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">TEU</td>";
outputStrTitle += "<td width=\"74\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">操作</td>";
outputStrTitle += "<td width=\"73\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">揽货人</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">运输类型</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">航线</td>";
outputStrTitle += "</tr>";
}
else if (dispClass == 21) {
outputStrTitle = "<table id=\"ResultTitle\" width=\"1033\" align=\"left\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" class=\"tab\">";
outputStrTitle += "<tr>";
outputStrTitle += "<td width=\"77\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabLeftTopBorder\">业务日期</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">客户名称</td>";
outputStrTitle += "<td width=\"120\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">提单号</td>";
outputStrTitle += "<td width=\"76\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">箱型箱量</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">目的港</td>";
outputStrTitle += "<td colspan=\"3\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">利润</td>";
outputStrTitle += "<td width=\"74\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">利润合计</td>";
outputStrTitle += "<td width=\"74\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">操作</td>";
outputStrTitle += "<td width=\"73\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">揽货人</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">业务来源</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">运输类型</td>";
outputStrTitle += "</tr>";
outputStrTitle += "<tr>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">RMB</td>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">USD</td>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">其它货币</td>";
outputStrTitle += "</tr>";
}
else if (dispClass == 22) {
//alert("change...");
outputStrTitle = "<table id=\"ResultTitle\" width=\"1033\" align=\"left\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" class=\"tab\">";
outputStrTitle += "<tr>";
outputStrTitle += "<td width=\"77\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabLeftTopBorder\">业务日期</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">客户名称</td>";
outputStrTitle += "<td width=\"120\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">提单号</td>";
outputStrTitle += "<td width=\"76\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">箱型箱量</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">目的港</td>";
outputStrTitle += "<td colspan=\"3\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">欠费</td>";
outputStrTitle += "<td width=\"74\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">欠费合计</td>";
outputStrTitle += "<td width=\"74\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">操作</td>";
outputStrTitle += "<td width=\"73\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">揽货人</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">业务来源</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">运输类型</td>";
outputStrTitle += "</tr>";
outputStrTitle += "<tr>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">RMB</td>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">USD</td>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">其它货币</td>";
outputStrTitle += "</tr>";
}
else if (dispClass == 23) {
outputStrTitle = "<table id=\"ResultTitle\" width=\"801\" align=\"left\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" class=\"tab\">";
outputStrTitle += "<tr>";
outputStrTitle += "<td width=\"77\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabLeftTopBorder\">业务日期</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">客户名称</td>";
outputStrTitle += "<td width=\"120\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">提单号</td>";
outputStrTitle += "<td width=\"76\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">箱型箱量</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">目的港</td>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">TEU</td>";
outputStrTitle += "<td width=\"74\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">操作</td>";
outputStrTitle += "<td width=\"73\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">揽货人</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">业务来源</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">运输类型</td>";
outputStrTitle += "</tr>";
}
else if (dispClass == 31) {
outputStrTitle = "<table id=\"ResultTitle\" width=\"1033\" align=\"left\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" class=\"tab\">";
outputStrTitle += "<tr>";
outputStrTitle += "<td width=\"77\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabLeftTopBorder\">业务日期</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">客户名称</td>";
outputStrTitle += "<td width=\"120\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">提单号</td>";
outputStrTitle += "<td width=\"76\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">箱型箱量</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">目的港</td>";
outputStrTitle += "<td colspan=\"3\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">利润</td>";
outputStrTitle += "<td width=\"74\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">利润合计</td>";
outputStrTitle += "<td width=\"74\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">操作</td>";
outputStrTitle += "<td width=\"73\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">业务来源</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">运输类型</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">航线</td>";
outputStrTitle += "</tr>";
outputStrTitle += "<tr>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">RMB</td>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">USD</td>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">其它货币</td>";
outputStrTitle += "</tr>";
}
else if (dispClass == 32) {
outputStrTitle = "<table id=\"ResultTitle\" width=\"1033\" align=\"left\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" class=\"tab\">";
outputStrTitle += "<tr>";
outputStrTitle += "<td width=\"77\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabLeftTopBorder\">业务日期</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">客户名称</td>";
outputStrTitle += "<td width=\"120\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">提单号</td>";
outputStrTitle += "<td width=\"76\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">箱型箱量</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">目的港</td>";
outputStrTitle += "<td colspan=\"3\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">欠费</td>";
outputStrTitle += "<td width=\"74\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">欠费合计</td>";
outputStrTitle += "<td width=\"74\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">操作</td>";
outputStrTitle += "<td width=\"73\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">业务来源</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">运输类型</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">航线</td>";
outputStrTitle += "</tr>";
outputStrTitle += "<tr>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">RMB</td>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">USD</td>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">其它货币</td>";
outputStrTitle += "</tr>";
}
else if (dispClass == 33) {
outputStrTitle = "<table id=\"ResultTitle\" width=\"801\" align=\"left\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" class=\"tab\">";
outputStrTitle += "<tr>";
outputStrTitle += "<td width=\"77\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabLeftTopBorder\">业务日期</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">客户名称</td>";
outputStrTitle += "<td width=\"120\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">提单号</td>";
outputStrTitle += "<td width=\"76\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">箱型箱量</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">目的港</td>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">TEU</td>";
outputStrTitle += "<td width=\"74\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">操作</td>";
outputStrTitle += "<td width=\"73\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">业务来源</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">运输类型</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">航线</td>";
outputStrTitle += "</tr>";
}
else if (dispClass == 41) {
outputStrTitle = "<table id=\"ResultTitle\" width=\"1033\" align=\"left\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" class=\"tab\">";
outputStrTitle += "<tr>";
outputStrTitle += "<td width=\"77\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabLeftTopBorder\">业务日期</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">客户名称</td>";
outputStrTitle += "<td width=\"120\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">提单号</td>";
outputStrTitle += "<td width=\"76\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">箱型箱量</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">目的港</td>";
outputStrTitle += "<td colspan=\"3\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">利润</td>";
outputStrTitle += "<td width=\"74\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">利润合计</td>";
outputStrTitle += "<td width=\"74\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">操作</td>";
outputStrTitle += "<td width=\"73\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">揽货人</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">业务来源</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">航线</td>";
outputStrTitle += "</tr>";
outputStrTitle += "<tr>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">RMB</td>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">USD</td>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">其它货币</td>";
outputStrTitle += "</tr>";
}
else if (dispClass == 42) {
outputStrTitle = "<table id=\"ResultTitle\" width=\"1033\" align=\"left\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" class=\"tab\">";
outputStrTitle += "<tr>";
outputStrTitle += "<td width=\"77\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabLeftTopBorder\">业务日期</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">客户名称</td>";
outputStrTitle += "<td width=\"120\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">提单号</td>";
outputStrTitle += "<td width=\"76\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">箱型箱量</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">目的港</td>";
outputStrTitle += "<td colspan=\"3\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">欠费</td>";
outputStrTitle += "<td width=\"74\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">欠费合计</td>";
outputStrTitle += "<td width=\"74\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">操作</td>";
outputStrTitle += "<td width=\"73\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">揽货人</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">业务来源</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">航线</td>";
outputStrTitle += "</tr>";
outputStrTitle += "<tr>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">RMB</td>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">USD</td>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">其它货币</td>";
outputStrTitle += "</tr>";
}
else if (dispClass == 43) {
outputStrTitle = "<table id=\"ResultTitle\" width=\"801\" align=\"left\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" class=\"tab\">";
outputStrTitle += "<tr>";
outputStrTitle += "<td width=\"77\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabLeftTopBorder\">业务日期</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">客户名称</td>";
outputStrTitle += "<td width=\"120\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">提单号</td>";
outputStrTitle += "<td width=\"76\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">箱型箱量</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">目的港</td>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">TEU</td>";
outputStrTitle += "<td width=\"74\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">操作</td>";
outputStrTitle += "<td width=\"73\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">揽货人</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">业务来源</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">航线</td>";
outputStrTitle += "</tr>";
}
else if (dispClass == 51) {
outputStrTitle = "<table id=\"ResultTitle\" width=\"1033\" align=\"left\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" class=\"tab\">";
outputStrTitle += "<tr>";
outputStrTitle += "<td width=\"77\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabLeftTopBorder\">业务日期</td>";
outputStrTitle += "<td width=\"120\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">提单号</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">箱型箱量</td>";
outputStrTitle += "<td width=\"76\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">目的港</td>";
outputStrTitle += "<td colspan=\"3\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">利润</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">利润合计</td>";
outputStrTitle += "<td width=\"74\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">操作</td>";
outputStrTitle += "<td width=\"74\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">揽货人</td>";
outputStrTitle += "<td width=\"73\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">业务来源</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">运输类型</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">航线</td>";
outputStrTitle += "</tr>";
outputStrTitle += "<tr>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">RMB</td>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">USD</td>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">其它货币</td>";
outputStrTitle += "</tr>";
}
else if (dispClass == 52) {
outputStrTitle = "<table id=\"ResultTitle\" width=\"1033\" align=\"left\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" class=\"tab\">";
outputStrTitle += "<tr>";
outputStrTitle += "<td width=\"77\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabLeftTopBorder\">业务日期</td>";
outputStrTitle += "<td width=\"120\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">提单号</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">箱型箱量</td>";
outputStrTitle += "<td width=\"76\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">目的港</td>";
outputStrTitle += "<td colspan=\"3\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">欠费</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">欠费合计</td>";
outputStrTitle += "<td width=\"74\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">操作</td>";
outputStrTitle += "<td width=\"74\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">揽货人</td>";
outputStrTitle += "<td width=\"73\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">业务来源</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">运输类型</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">航线</td>";
outputStrTitle += "</tr>";
outputStrTitle += "<tr>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">RMB</td>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">USD</td>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">其它货币</td>";
outputStrTitle += "</tr>";
}
else if (dispClass == 53) {
outputStrTitle = "<table id=\"ResultTitle\" width=\"801\" align=\"left\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" class=\"tab\">";
outputStrTitle += "<tr>";
outputStrTitle += "<td width=\"77\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabLeftTopBorder\">业务日期</td>";
outputStrTitle += "<td width=\"120\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">提单号</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">箱型箱量</td>";
outputStrTitle += "<td width=\"76\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">目的港</td>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">TEU</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">操作</td>";
outputStrTitle += "<td width=\"74\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">揽货人</td>";
outputStrTitle += "<td width=\"73\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">业务来源</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">运输类型</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">航线</td>";
outputStrTitle += "</tr>";
}
else if (dispClass == 61) {
outputStrTitle = "<table id=\"ResultTitle\" width=\"1033\" align=\"left\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" class=\"tab\">";
outputStrTitle += "<tr>";
outputStrTitle += "<td width=\"77\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabLeftTopBorder\">业务日期</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">客户名称</td>";
outputStrTitle += "<td width=\"120\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">提单号</td>";
outputStrTitle += "<td width=\"76\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">箱型箱量</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">目的港</td>";
outputStrTitle += "<td colspan=\"3\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">利润</td>";
outputStrTitle += "<td width=\"74\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">利润合计</td>";
outputStrTitle += "<td width=\"74\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">操作</td>";
outputStrTitle += "<td width=\"73\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">揽货人</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">运输类型</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">航线</td>";
outputStrTitle += "</tr>";
outputStrTitle += "<tr>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">RMB</td>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">USD</td>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">其它货币</td>";
outputStrTitle += "</tr>";
}
else if (dispClass == 62) {
outputStrTitle = "<table id=\"ResultTitle\" width=\"1033\" align=\"left\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" class=\"tab\">";
outputStrTitle += "<tr>";
outputStrTitle += "<td width=\"77\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabLeftTopBorder\">业务日期</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">客户名称</td>";
outputStrTitle += "<td width=\"120\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">提单号</td>";
outputStrTitle += "<td width=\"76\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">箱型箱量</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">目的港</td>";
outputStrTitle += "<td colspan=\"3\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">欠费</td>";
outputStrTitle += "<td width=\"74\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">欠费合计</td>";
outputStrTitle += "<td width=\"74\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">操作</td>";
outputStrTitle += "<td width=\"73\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">揽货人</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">运输类型</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" rowspan=\"2\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">航线</td>";
outputStrTitle += "</tr>";
outputStrTitle += "<tr>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">RMB</td>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">USD</td>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">其它货币</td>";
outputStrTitle += "</tr>";
}
else if (dispClass == 63) {
outputStrTitle = "<table id=\"ResultTitle\" width=\"801\" align=\"left\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" class=\"tab\">";
outputStrTitle += "<tr>";
outputStrTitle += "<td width=\"77\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabLeftTopBorder\">业务日期</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">客户名称</td>";
outputStrTitle += "<td width=\"120\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">提单号</td>";
outputStrTitle += "<td width=\"76\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">箱型箱量</td>";
outputStrTitle += "<td width=\"75\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">目的港</td>";
outputStrTitle += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">TEU</td>";
outputStrTitle += "<td width=\"74\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">操作</td>";
outputStrTitle += "<td width=\"73\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">揽货人</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">运输类型</td>";
outputStrTitle += "<td width=\"72\" height=\"40\" align=\"center\" valign=\"middle\" class=\"tabTitle tabTopBorder\">航线</td>";
outputStrTitle += "</tr>";
}
outputStrTitle += "</table>";
if (dispClass == 11 || dispClass == 12 || dispClass == 21 || dispClass == 22 || dispClass == 31 || dispClass == 32 || dispClass == 41 || dispClass == 42 || dispClass == 51 || dispClass == 52 || dispClass == 61 || dispClass == 62) {
outputStr = "<table id=\"Result\" width=\"1033\" align=\"left\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" class=\"tab\" style=\"border-top:0px #fff solid;border-bottom:0px #fff solid;\">";
}
else {
outputStr = "<table id=\"Result\" width=\"801\" align=\"left\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" class=\"tab\" style=\"border-top:0px #fff solid;border-bottom:0px #fff solid;\">";
}
//outputStr = "<table id=\"Result\" width=\"1033\" align=\"left\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" class=\"tab\" style=\"border-top:0px #fff solid;border-bottom:0px #fff solid;\">";
for (var i = 0; i < _store.getCount(); i++) {
datetimeStr = _store.getAt(i).get("MONTHNAME");
outputStr += "<tr>"
if (dispClass == 11 || dispClass == 12) {
_rmbAmount = _store.getAt(i).get("SUMRMBAMOUNT");
_usdAmount = _store.getAt(i).get("SUMUSDAMOUNT");
_otAmount = _store.getAt(i).get("SUMOTAMOUNT");
_amount = _store.getAt(i).get("SUMTTLAMOUNT");
_mblno = _store.getAt(i).get("MBLNO");
if (_mblno.length > 16) { _mblno = _mblno.replace(/(.{16})/, "$1\r\n"); }
_dischargePort = _store.getAt(i).get("PORTDISCHARGE");
if (_dischargePort.length > 8) { _dischargePort = _dischargePort.replace(/(.{3})/, "$1\r\n"); }
if (i % 2 == 0) {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLeftCollumn tabLeftTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + datetimeStr + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("CUSTOMERNAME") + "</td>";
outputStr += "<td width=\"120\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:120px;max-width:120px;min-width:120px;\">" + _mblno + "</td>"; //_store.getAt(i).get("MBLNO")
outputStr += "<td width=\"76\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:76px;max-width:76px;min-width:76px;\">" + _store.getAt(i).get("CNTRTOTAL") + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _dischargePort + "</td>"; //_store.getAt(i).get("PORTDISCHARGE")
if (_store.getAt(i).get("RMBAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("RMBAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("RMBAMOUNT") + "</td>";
}
if (_store.getAt(i).get("USDAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("USDAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("USDAMOUNT") + "</td>";
}
if (_store.getAt(i).get("OTAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("OTAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("OTAMOUNT") + "</td>";
}
if (_store.getAt(i).get("TTLAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMasker tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("TTLAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMasker tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("TTLAMOUNT") + "</td>";
}
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("OP") + "</td>";
outputStr += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:73px;max-width:73px;min-width:73px;\">" + _store.getAt(i).get("SALE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("BSTYPE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("LANE") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLeftCollumn tabLeftTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + datetimeStr + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("CUSTOMERNAME") + "</td>";
outputStr += "<td width=\"120\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:120px;max-width:120px;min-width:120px;\">" + _mblno + "</td>"; //_store.getAt(i).get("MBLNO")
outputStr += "<td width=\"76\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:76px;max-width:76px;min-width:76px;\">" + _store.getAt(i).get("CNTRTOTAL") + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _dischargePort + "</td>"; //_store.getAt(i).get("PORTDISCHARGE")
if (_store.getAt(i).get("RMBAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("RMBAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("RMBAMOUNT") + "</td>";
}
if (_store.getAt(i).get("USDAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("USDAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("USDAMOUNT") + "</td>";
}
if (_store.getAt(i).get("OTAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("OTAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("OTAMOUNT") + "</td>";
}
if (_store.getAt(i).get("TTLAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMasker tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("TTLAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMasker tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("TTLAMOUNT") + "</td>";
}
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("OP") + "</td>";
outputStr += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:73px;max-width:73px;min-width:73px;\">" + _store.getAt(i).get("SALE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("BSTYPE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("LANE") + "</td>";
}
}
else if (dispClass == 13) {
_teuAmount = _store.getAt(i).get("TEUAMOUNT");
if (i % 2 == 0) {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLeftCollumn tabLeftTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + datetimeStr + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("CUSTOMERNAME") + "</td>";
outputStr += "<td width=\"120\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:120px;max-width:120px;min-width:120px;\">" + _store.getAt(i).get("MBLNO") + "</td>";
outputStr += "<td width=\"76\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:76px;max-width:76px;min-width:76px;\">" + _store.getAt(i).get("CNTRTOTAL") + "</td>";
outputStr += "<td width=\"78\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("PORTDISCHARGE") + "</td>";
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("TEU") + "</td>";
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("OP") + "</td>";
outputStr += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:73px;max-width:73px;min-width:73px;\">" + _store.getAt(i).get("SALE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("BSTYPE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("LANE") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLeftCollumn tabLeftTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + datetimeStr + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("CUSTOMERNAME") + "</td>";
outputStr += "<td width=\"120\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:120px;max-width:120px;min-width:120px;\">" + _store.getAt(i).get("MBLNO") + "</td>";
outputStr += "<td width=\"76\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:76px;max-width:76px;min-width:76px;\">" + _store.getAt(i).get("CNTRTOTAL") + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("PORTDISCHARGE") + "</td>";
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("TEU") + "</td>";
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("OP") + "</td>";
outputStr += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:73px;max-width:73px;min-width:73px;\">" + _store.getAt(i).get("SALE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("BSTYPE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("LANE") + "</td>";
}
}
else if (dispClass == 21 || dispClass == 22) {
_rmbAmount = _store.getAt(i).get("SUMRMBAMOUNT");
_usdAmount = _store.getAt(i).get("SUMUSDAMOUNT");
_otAmount = _store.getAt(i).get("SUMOTAMOUNT");
//alert(_otAmount);
_amount = _store.getAt(i).get("SUMTTLAMOUNT");
_mblno = _store.getAt(i).get("MBLNO");
if (_mblno.length > 16) { _mblno = _mblno.replace(/(.{16})/, "$1\r\n"); }
_dischargePort = _store.getAt(i).get("PORTDISCHARGE");
if (_dischargePort.length > 8) { _dischargePort = _dischargePort.replace(/(.{3})/, "$1\r\n"); }
if (i % 2 == 0) {
outputStr += "<td width=\"77\" height=\"30\" align=\"center\" valign=\"middle\" class=\"tabLeftCollumn tabLeftTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + datetimeStr + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("CUSTOMERNAME") + "</td>";
outputStr += "<td width=\"120\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:120px;max-width:120px;min-width:120px;\">" + _mblno + "</td>"; //_store.getAt(i).get("MBLNO")
outputStr += "<td width=\"76\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:76px;max-width:76px;min-width:76px;\">" + _store.getAt(i).get("CNTRTOTAL") + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _dischargePort + "</td>"; //_store.getAt(i).get("PORTDISCHARGE")
if (_store.getAt(i).get("RMBAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"30\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("RMBAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"30\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("RMBAMOUNT") + "</td>";
}
if (_store.getAt(i).get("USDAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"30\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("USDAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"30\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("USDAMOUNT") + "</td>";
}
if (_store.getAt(i).get("OTAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("OTAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("OTAMOUNT") + "</td>";
}
if (_store.getAt(i).get("TTLAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"74\" height=\"30\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMasker tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("TTLAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"74\" height=\"30\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMasker tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("TTLAMOUNT") + "</td>";
}
outputStr += "<td width=\"74\" height=\"30\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("OP") + "</td>";
outputStr += "<td width=\"73\" height=\"30\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:73px;max-width:73px;min-width:73px;\">" + _store.getAt(i).get("SALE") + "</td>";
outputStr += "<td width=\"72\" height=\"30\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("BSSOURCE") + "</td>";
outputStr += "<td width=\"72\" height=\"30\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("BSTYPE") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"30\" align=\"center\" valign=\"middle\" class=\"tabLeftCollumn tabLeftTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + datetimeStr + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("CUSTOMERNAME") + "</td>";
outputStr += "<td width=\"120\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:120px;max-width:120px;min-width:120px;\">" + _mblno + "</td>"; //_store.getAt(i).get("MBLNO")
outputStr += "<td width=\"76\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:76px;max-width:76px;min-width:76px;\">" + _store.getAt(i).get("CNTRTOTAL") + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _dischargePort + "</td>"; //_store.getAt(i).get("PORTDISCHARGE")
if (_store.getAt(i).get("RMBAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"30\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("RMBAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"30\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("RMBAMOUNT") + "</td>";
}
if (_store.getAt(i).get("USDAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"30\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("USDAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"30\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("USDAMOUNT") + "</td>";
}
if (_store.getAt(i).get("OTAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("OTAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("OTAMOUNT") + "</td>";
}
if (_store.getAt(i).get("TTLAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"74\" height=\"30\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMasker tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("TTLAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"74\" height=\"30\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMasker tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("TTLAMOUNT") + "</td>";
}
outputStr += "<td width=\"74\" height=\"30\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("OP") + "</td>";
outputStr += "<td width=\"73\" height=\"30\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:73px;max-width:73px;min-width:73px;\">" + _store.getAt(i).get("SALE") + "</td>";
outputStr += "<td width=\"72\" height=\"30\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("BSSOURCE") + "</td>";
outputStr += "<td width=\"72\" height=\"30\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("BSTYPE") + "</td>";
}
}
else if (dispClass == 23) {
_teuAmount = _store.getAt(i).get("TEUAMOUNT");
if (i % 2 == 0) {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLeftCollumn tabLeftTopBorder\" style=\"width:77px;78max-width:77px;min-width:77px;\">" + datetimeStr + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("CUSTOMERNAME") + "</td>";
outputStr += "<td width=\"120\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:120px;max-width:120px;min-width:120px;\">" + _store.getAt(i).get("MBLNO") + "</td>";
outputStr += "<td width=\"76\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:76px;max-width:76px;min-width:76px;\">" + _store.getAt(i).get("CNTRTOTAL") + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("PORTDISCHARGE") + "</td>";
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("TEU") + "</td>";
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("OP") + "</td>";
outputStr += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:73px;max-width:73px;min-width:73px;\">" + _store.getAt(i).get("SALE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("BSSOURCE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("BSTYPE") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLeftCollumn tabLeftTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + datetimeStr + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("CUSTOMERNAME") + "</td>";
outputStr += "<td width=\"120\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:120px;max-width:120px;min-width:120px;\">" + _store.getAt(i).get("MBLNO") + "</td>";
outputStr += "<td width=\"76\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:76px;max-width:76px;min-width:76px;\">" + _store.getAt(i).get("CNTRTOTAL") + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("PORTDISCHARGE") + "</td>";
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("TEU") + "</td>";
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("OP") + "</td>";
outputStr += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:73px;max-width:73px;min-width:73px;\">" + _store.getAt(i).get("SALE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("BSSOURCE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("BSTYPE") + "</td>";
}
}
else if (dispClass == 31 || dispClass == 32) {
_rmbAmount = _store.getAt(i).get("SUMRMBAMOUNT");
_usdAmount = _store.getAt(i).get("SUMUSDAMOUNT");
_otAmount = _store.getAt(i).get("SUMOTAMOUNT");
_amount = _store.getAt(i).get("SUMTTLAMOUNT");
_mblno = _store.getAt(i).get("MBLNO");
if (_mblno.length > 16) { _mblno = _mblno.replace(/(.{16})/, "$1\r\n"); }
_dischargePort = _store.getAt(i).get("PORTDISCHARGE");
if (_dischargePort.length > 8) { _dischargePort = _dischargePort.replace(/(.{3})/, "$1\r\n"); }
if (i % 2 == 0) {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLeftCollumn tabLeftTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + datetimeStr + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("CUSTOMERNAME") + "</td>";
outputStr += "<td width=\"120\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:120px;max-width:120px;min-width:120px;\">" + _mblno + "</td>"; //_store.getAt(i).get("MBLNO")
outputStr += "<td width=\"76\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:76px;max-width:76px;min-width:76px;\">" + _store.getAt(i).get("CNTRTOTAL") + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _dischargePort + "</td>"; //_store.getAt(i).get("PORTDISCHARGE")
if (_store.getAt(i).get("RMBAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("RMBAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("RMBAMOUNT") + "</td>";
}
if (_store.getAt(i).get("USDAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("USDAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("USDAMOUNT") + "</td>";
}
if (_store.getAt(i).get("OTAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("OTAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("OTAMOUNT") + "</td>";
}
if (_store.getAt(i).get("TTLAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMasker tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("TTLAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMasker tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("TTLAMOUNT") + "</td>";
}
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("OP") + "</td>";
outputStr += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:73px;max-width:73px;min-width:73px;\">" + _store.getAt(i).get("BSSOURCE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("BSTYPE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("LANE") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLeftCollumn tabLeftTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + datetimeStr + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("CUSTOMERNAME") + "</td>";
outputStr += "<td width=\"120\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:120px;max-width:120px;min-width:120px;\">" + _mblno + "</td>"; //_store.getAt(i).get("MBLNO")
outputStr += "<td width=\"76\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:76px;max-width:76px;min-width:76px;\">" + _store.getAt(i).get("CNTRTOTAL") + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _dischargePort + "</td>"; //_store.getAt(i).get("PORTDISCHARGE")
if (_store.getAt(i).get("RMBAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("RMBAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("RMBAMOUNT") + "</td>";
}
if (_store.getAt(i).get("USDAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("USDAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("USDAMOUNT") + "</td>";
}
if (_store.getAt(i).get("OTAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("OTAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("OTAMOUNT") + "</td>";
}
if (_store.getAt(i).get("TTLAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMasker tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("TTLAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMasker tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("TTLAMOUNT") + "</td>";
}
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("OP") + "</td>";
outputStr += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:73px;max-width:73px;min-width:73px;\">" + _store.getAt(i).get("BSSOURCE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("BSTYPE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("LANE") + "</td>";
}
}
else if (dispClass == 33) {
_teuAmount = _store.getAt(i).get("TEUAMOUNT");
if (i % 2 == 0) {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLeftCollumn tabLeftTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + datetimeStr + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("CUSTOMERNAME") + "</td>";
outputStr += "<td width=\"120\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:120px;max-width:120px;min-width:120px;\">" + _store.getAt(i).get("MBLNO") + "</td>";
outputStr += "<td width=\"76\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:76px;max-width:76px;min-width:76px;\">" + _store.getAt(i).get("CNTRTOTAL") + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("PORTDISCHARGE") + "</td>";
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("TEU") + "</td>";
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("OP") + "</td>";
outputStr += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:73px;max-width:73px;min-width:73px;\">" + _store.getAt(i).get("BSSOURCE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("BSTYPE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("LANE") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLeftCollumn tabLeftTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + datetimeStr + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:75px;max-width:120px;min-width:75px;\">" + _store.getAt(i).get("CUSTOMERNAME") + "</td>";
outputStr += "<td width=\"120\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:120px;max-width:75px;min-width:120px;\">" + _store.getAt(i).get("MBLNO") + "</td>";
outputStr += "<td width=\"76\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:76px;max-width:76px;min-width:76px;\">" + _store.getAt(i).get("CNTRTOTAL") + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("PORTDISCHARGE") + "</td>";
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("TEU") + "</td>";
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("OP") + "</td>";
outputStr += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:73px;max-width:73px;min-width:73px;\">" + _store.getAt(i).get("BSSOURCE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("BSTYPE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("LANE") + "</td>";
}
}
else if (dispClass == 41 || dispClass == 42) {
_rmbAmount = _store.getAt(i).get("SUMRMBAMOUNT");
_usdAmount = _store.getAt(i).get("SUMUSDAMOUNT");
_otAmount = _store.getAt(i).get("SUMOTAMOUNT");
_amount = _store.getAt(i).get("SUMTTLAMOUNT");
_mblno = _store.getAt(i).get("MBLNO");
if (_mblno.length > 16) { _mblno = _mblno.replace(/(.{16})/, "$1\r\n"); }
_dischargePort = _store.getAt(i).get("PORTDISCHARGE");
if (_dischargePort.length > 8) { _dischargePort = _dischargePort.replace(/(.{3})/, "$1\r\n"); }
if (i % 2 == 0) {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLeftCollumn tabLeftTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + datetimeStr + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("CUSTOMERNAME") + "</td>";
outputStr += "<td width=\"120\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:120px;max-width:120px;min-width:120px;\">" + _mblno + "</td>"; //_store.getAt(i).get("MBLNO")
outputStr += "<td width=\"76\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:76px;max-width:76px;min-width:76px;\">" + _store.getAt(i).get("CNTRTOTAL") + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _dischargePort + "</td>"; //_store.getAt(i).get("PORTDISCHARGE")
if (_store.getAt(i).get("RMBAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("RMBAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("RMBAMOUNT") + "</td>";
}
if (_store.getAt(i).get("USDAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("USDAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("USDAMOUNT") + "</td>";
}
if (_store.getAt(i).get("OTAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("OTAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("OTAMOUNT") + "</td>";
}
if (_store.getAt(i).get("TTLAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMasker tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("TTLAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMasker tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("TTLAMOUNT") + "</td>";
}
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("OP") + "</td>";
outputStr += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:73px;max-width:73px;min-width:73px;\">" + _store.getAt(i).get("SALE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("BSSOURCE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("LANE") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLeftCollumn tabLeftTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + datetimeStr + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("CUSTOMERNAME") + "</td>";
outputStr += "<td width=\"120\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:120px;max-width:120px;min-width:120px;\">" + _mblno + "</td>"; //_store.getAt(i).get("MBLNO")
outputStr += "<td width=\"76\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:76px;max-width:76px;min-width:76px;\">" + _store.getAt(i).get("CNTRTOTAL") + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _dischargePort + "</td>"; //_store.getAt(i).get("PORTDISCHARGE")
if (_store.getAt(i).get("RMBAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("RMBAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("RMBAMOUNT") + "</td>";
}
if (_store.getAt(i).get("USDAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("USDAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("USDAMOUNT") + "</td>";
}
if (_store.getAt(i).get("OTAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("OTAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("OTAMOUNT") + "</td>";
}
if (_store.getAt(i).get("TTLAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMasker tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("TTLAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMasker tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("TTLAMOUNT") + "</td>";
}
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("OP") + "</td>";
outputStr += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:73px;max-width:73px;min-width:73px;\">" + _store.getAt(i).get("SALE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("BSSOURCE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("LANE") + "</td>";
}
}
else if (dispClass == 43) {
_teuAmount = _store.getAt(i).get("TEUAMOUNT");
if (i % 2 == 0) {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLeftCollumn tabLeftTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + datetimeStr + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("CUSTOMERNAME") + "</td>";
outputStr += "<td width=\"120\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:120px;max-width:120px;min-width:120px;\">" + _store.getAt(i).get("MBLNO") + "</td>";
outputStr += "<td width=\"76\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:76px;max-width:76px;min-width:76px;\">" + _store.getAt(i).get("CNTRTOTAL") + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("PORTDISCHARGE") + "</td>";
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("TEU") + "</td>";
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("OP") + "</td>";
outputStr += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:73px;max-width:73px;min-width:73px;\">" + _store.getAt(i).get("SALE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("BSSOURCE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("LANE") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLeftCollumn tabLeftTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + datetimeStr + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("CUSTOMERNAME") + "</td>";
outputStr += "<td width=\"120\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:120px;max-width:120px;min-width:120px;\">" + _store.getAt(i).get("MBLNO") + "</td>";
outputStr += "<td width=\"76\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:76px;max-width:76px;min-width:76px;\">" + _store.getAt(i).get("CNTRTOTAL") + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("PORTDISCHARGE") + "</td>";
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("TEU") + "</td>";
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("OP") + "</td>";
outputStr += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:73px;max-width:73px;min-width:73px;\">" + _store.getAt(i).get("SALE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("BSSOURCE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("LANE") + "</td>";
}
}
else if (dispClass == 51 || dispClass == 52) {
_rmbAmount = _store.getAt(i).get("SUMRMBAMOUNT");
_usdAmount = _store.getAt(i).get("SUMUSDAMOUNT");
_otAmount = _store.getAt(i).get("SUMOTAMOUNT");
_amount = _store.getAt(i).get("SUMTTLAMOUNT");
_mblno = _store.getAt(i).get("MBLNO");
if (_mblno.length > 16) { _mblno = _mblno.replace(/(.{16})/, "$1\r\n"); }
_dischargePort = _store.getAt(i).get("PORTDISCHARGE");
if (_dischargePort.length > 8) { _dischargePort = _dischargePort.replace(/(.{3})/, "$1\r\n"); }
if (i % 2 == 0) {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLeftCollumn tabLeftTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + datetimeStr + "</td>";
outputStr += "<td width=\"120\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:120px;max-width:120px;min-width:120px;\">" + _mblno + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("CNTRTOTAL") + "</td>";
outputStr += "<td width=\"76\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:76px;max-width:76px;min-width:75px;\">" + _dischargePort + "</td>";
if (_store.getAt(i).get("RMBAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("RMBAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("RMBAMOUNT") + "</td>";
}
if (_store.getAt(i).get("USDAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("USDAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("USDAMOUNT") + "</td>";
}
if (_store.getAt(i).get("OTAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("OTAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("OTAMOUNT") + "</td>";
}
if (_store.getAt(i).get("TTLAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMasker tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("TTLAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMasker tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("TTLAMOUNT") + "</td>";
}
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("OP") + "</td>";
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("SALE") + "</td>";
outputStr += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:73px;max-width:73px;min-width:73px;\">" + _store.getAt(i).get("BSSOURCE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("BSTYPE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("LANE") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLeftCollumn tabLeftTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + datetimeStr + "</td>";
outputStr += "<td width=\"120\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:120px;max-width:120px;min-width:120px;\">" + _mblno + "</td>"; //_store.getAt(i).get("MBLNO")
outputStr += "<td width=\"76\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:76px;max-width:76px;min-width:76px;\">" + _store.getAt(i).get("CNTRTOTAL") + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _dischargePort + "</td>"; //_store.getAt(i).get("PORTDISCHARGE")
if (_store.getAt(i).get("RMBAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("RMBAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("RMBAMOUNT") + "</td>";
}
if (_store.getAt(i).get("USDAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeyno tabDarkCollumnMasker tetabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("USDAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("USDAMOUNT") + "</td>";
}
if (_store.getAt(i).get("OTAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMask tetabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("OTAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("OTAMOUNT") + "</td>";
}
if (_store.getAt(i).get("TTLAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMasker tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("TTLAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMasker tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("TTLAMOUNT") + "</td>";
}
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("OP") + "</td>";
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("SALE") + "</td>";
outputStr += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:73px;max-width:73px;min-width:73px;\">" + _store.getAt(i).get("BSSOURCE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("BSTYPE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("LANE") + "</td>";
}
}
else if (dispClass == 53) {
_teuAmount = _store.getAt(i).get("TEUAMOUNT");
if (i % 2 == 0) {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLeftCollumn tabLeftTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + datetimeStr + "</td>";
outputStr += "<td width=\"120\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:120px;max-width:120px;min-width:120px;\">" + _store.getAt(i).get("MBLNO") + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("CNTRTOTAL") + "</td>";
outputStr += "<td width=\"76\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:76px;max-width:76px;min-width:76px;\">" + _store.getAt(i).get("PORTDISCHARGE") + "</td>";
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("TEU") + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("OP") + "</td>";
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("SALE") + "</td>";
outputStr += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:73px;max-width:73px;min-width:73px;\">" + _store.getAt(i).get("BSSOURCE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("BSTYPE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("LANE") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLeftCollumn tabLeftTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + datetimeStr + "</td>";
outputStr += "<td width=\"120\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:120px;max-width:120px;min-width:120px;\">" + _store.getAt(i).get("MBLNO") + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("CNTRTOTAL") + "</td>";
outputStr += "<td width=\"76\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:76px;max-width:76px;min-width:76px;\">" + _store.getAt(i).get("PORTDISCHARGE") + "</td>";
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("TEU") + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("OP") + "</td>";
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("SALE") + "</td>";
outputStr += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:73px;max-width:73px;min-width:73px;\">" + _store.getAt(i).get("BSSOURCE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("BSTYPE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("LANE") + "</td>";
}
}
else if (dispClass == 61 || dispClass == 62) {
_rmbAmount = _store.getAt(i).get("SUMRMBAMOUNT");
_usdAmount = _store.getAt(i).get("SUMUSDAMOUNT");
_otAmount = _store.getAt(i).get("SUMOTAMOUNT");
_amount = _store.getAt(i).get("SUMTTLAMOUNT");
_mblno = _store.getAt(i).get("MBLNO");
if (_mblno.length > 16) { _mblno = _mblno.replace(/(.{16})/, "$1\r\n"); }
_dischargePort = _store.getAt(i).get("PORTDISCHARGE");
if (_dischargePort.length > 8) { _dischargePort = _dischargePort.replace(/(.{3})/, "$1\r\n"); }
if (i % 2 == 0) {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLeftCollumn tabLeftTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + datetimeStr + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("CUSTOMERNAME") + "</td>";
outputStr += "<td width=\"120\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:120px;max-width:120px;min-width:120px;\">" + _mblno + "</td>"; //_store.getAt(i).get("MBLNO")
outputStr += "<td width=\"76\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:76px;max-width:76px;min-width:76px;\">" + _store.getAt(i).get("CNTRTOTAL") + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _dischargePort + "</td>"; //_store.getAt(i).get("PORTDISCHARGE")
if (_store.getAt(i).get("RMBAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("RMBAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("RMBAMOUNT") + "</td>";
}
if (_store.getAt(i).get("USDAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("USDAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("USDAMOUNT") + "</td>";
}
if (_store.getAt(i).get("OTAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("OTAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("OTAMOUNT") + "</td>";
}
if (_store.getAt(i).get("TTLAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMasker tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("TTLAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMasker tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("TTLAMOUNT") + "</td>";
}
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("OP") + "</td>";
outputStr += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:73px;max-width:73px;min-width:73px;\">" + _store.getAt(i).get("SALE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("BSTYPE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("LANE") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLeftCollumn tabLeftTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + datetimeStr + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("CUSTOMERNAME") + "</td>";
outputStr += "<td width=\"120\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:120px;max-width:120px;min-width:120px;\">" + _mblno + "</td>"; //_store.getAt(i).get("MBLNO")
outputStr += "<td width=\"76\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:76px;max-width:76px;min-width:76px;\">" + _store.getAt(i).get("CNTRTOTAL") + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _dischargePort + "</td>"; //_store.getAt(i).get("PORTDISCHARGE")
if (_store.getAt(i).get("RMBAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("RMBAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("RMBAMOUNT") + "</td>";
}
if (_store.getAt(i).get("USDAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("USDAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("USDAMOUNT") + "</td>";
}
if (_store.getAt(i).get("OTAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("OTAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("OTAMOUNT") + "</td>";
}
if (_store.getAt(i).get("TTLAMOUNT").substring(0, 1) == "-") {
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMasker tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("TTLAMOUNT") + "</td>";
}
else {
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMasker tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("TTLAMOUNT") + "</td>";
}
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("OP") + "</td>";
outputStr += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:73px;max-width:73px;min-width:73px;\">" + _store.getAt(i).get("SALE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("BSTYPE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("LANE") + "</td>";
}
}
else if (dispClass == 63) {
_teuAmount = _store.getAt(i).get("TEUAMOUNT");
if (i % 2 == 0) {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLeftCollumn tabLeftTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + datetimeStr + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("CUSTOMERNAME") + "</td>";
outputStr += "<td width=\"120\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:120px;max-width:120px;min-width:120px;\">" + _store.getAt(i).get("MBLNO") + "</td>";
outputStr += "<td width=\"76\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:76px;max-width:76px;min-width:76px;\">" + _store.getAt(i).get("CNTRTOTAL") + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("PORTDISCHARGE") + "</td>";
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("TEU") + "</td>";
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("OP") + "</td>";
outputStr += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:73px;max-width:73px;min-width:73px;\">" + _store.getAt(i).get("SALE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("BSTYPE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("LANE") + "</td>";
}
else {
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLeftCollumn tabLeftTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + datetimeStr + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("CUSTOMERNAME") + "</td>";
outputStr += "<td width=\"120\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:120px;max-width:120px;min-width:120px;\">" + _store.getAt(i).get("MBLNO") + "</td>";
outputStr += "<td width=\"76\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:76px;max-width:76px;min-width:76px;\">" + _store.getAt(i).get("CNTRTOTAL") + "</td>";
outputStr += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _store.getAt(i).get("PORTDISCHARGE") + "</td>";
outputStr += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _store.getAt(i).get("TEU") + "</td>";
outputStr += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _store.getAt(i).get("OP") + "</td>";
outputStr += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:73px;max-width:73px;min-width:73px;\">" + _store.getAt(i).get("SALE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("BSTYPE") + "</td>";
outputStr += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">" + _store.getAt(i).get("LANE") + "</td>";
}
}
outputStr += "</tr>";
recordCount++;
}
outputStr += "</table>";
//;
if (dispClass == 11 || dispClass == 12 || dispClass == 21 || dispClass == 22 || dispClass == 31 || dispClass == 32 || dispClass == 41 || dispClass == 42 || dispClass == 51 || dispClass == 52 || dispClass == 61 || dispClass == 62) {
outputStrAmount = "<table id=\"ResultAmount\" width=\"1033\" align=\"left\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" class=\"tab\" style=\"border-top:0px #fff solid;border-bottom:0px #fff solid;\">";
}
else {
outputStrAmount = "<table id=\"ResultAmount\" width=\"801\" align=\"left\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" class=\"tab\" style=\"border-top:0px #fff solid;border-bottom:0px #fff solid;\">";
}
//outputStrAmount = "<table id=\"ResultAmount\" width=\"1033\" align=\"left\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" class=\"tab\" style=\"border-top:0px #fff solid;\">";
if ((recordCount % 2 == 0) && (dispClass == 11 || dispClass == 12 || dispClass == 31 || dispClass == 32)) { //浅色|| dispClass == 51 || dispClass == 52
outputStrAmount += "<tr>";
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLeftCollumn tabLeftTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">合计</td>";
outputStrAmount += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"120\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:120px;max-width:120px;min-width:120px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"76\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:76px;max-width:76px;min-width:76px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">&nbsp;</td>";
if (_rmbAmount.substring(0, 1) == "-") {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _rmbAmount + "</td>"; //.toFixed(2)
}
else {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _rmbAmount + "</td>";
}
if (_usdAmount.substring(0, 1) == "-") {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _usdAmount + "</td>";
}
else {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _usdAmount + "</td>";
}
//alert(_otAmount);
if (_otAmount.substring(0, 1) == "-") {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _otAmount + "</td>";
//alert("-");
}
else {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _otAmount + "</td>";
//alert("+");
}
if (_amount.substring(0, 1) == "-") {
//alert("_amount<0");
outputStrAmount += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMasker tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _amount + "</td>";
}
else {
//alert("_amount>0");
outputStrAmount += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMasker tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _amount + "</td>";
}
outputStrAmount += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:73px;max-width:73px;min-width:73px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">&nbsp;</td>";
outputStrAmount += "</tr>";
}
else if ((recordCount % 2 == 1) && (dispClass == 11 || dispClass == 12 || dispClass == 31 || dispClass == 32)) { // || dispClass == 51 || dispClass == 52
outputStrAmount += "<tr>";
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLeftCollumn tabLeftTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">合计</td>";
outputStrAmount += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"120\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:120px;max-width:120px;min-width:120px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"76\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:76px;max-width:76px;min-width:76px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">&nbsp;</td>";
if (_rmbAmount.substring(0, 1) == "-") {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _rmbAmount + "</td>"; //.toFixed(2)
}
else {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _rmbAmount + "</td>";
}
if (_usdAmount.substring(0, 1) == "-") {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _usdAmount + "</td>";
}
else {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _usdAmount + "</td>";
}
if (_otAmount.substring(0, 1) == "-") {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _otAmount + "</td>";
}
else {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _otAmount + "</td>";
}
if (_amount.substring(0, 1) == "-") {
//alert("_amount<0");
outputStrAmount += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMasker tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _amount + "</td>";
}
else {
//alert("_amount>0");
outputStrAmount += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMasker tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _amount + "</td>";
}
outputStrAmount += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:73px;max-width:73px;min-width:73px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">&nbsp;</td>";
outputStrAmount += "</tr>";
}
if ((recordCount % 2 == 0) && (dispClass == 21 || dispClass == 22 || dispClass == 41 || dispClass == 42 || dispClass == 61 || dispClass == 62)) { //浅色
outputStrAmount += "<tr>";
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLeftCollumn tabLeftTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">合计</td>";
outputStrAmount += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"120\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:120px;max-width:120px;min-width:120px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"76\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:76px;max-width:76px;min-width:76px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">&nbsp;</td>";
if (_rmbAmount.substring(0, 1) == "-") {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _rmbAmount + "</td>"; //.toFixed(2)
}
else {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _rmbAmount + "</td>";
}
if (_usdAmount.substring(0, 1) == "-") {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _usdAmount + "</td>";
}
else {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:v;\">" + _usdAmount + "</td>";
}
//alert(_otAmount);
if (_otAmount.substring(0, 1) == "-") {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _otAmount + "</td>";
//alert("-");
}
else {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _otAmount + "</td>";
//alert("+");
}
if (_amount.substring(0, 1) == "-") {
//alert("_amount<0");
outputStrAmount += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMasker tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _amount + "</td>";
}
else {
//alert("_amount>0");
outputStrAmount += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMasker tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _amount + "</td>";
}
outputStrAmount += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:73px;max-width:73px;min-width:73px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">&nbsp;</td>";
outputStrAmount += "</tr>";
}
else if ((recordCount % 2 == 1) && (dispClass == 21 || dispClass == 22 || dispClass == 41 || dispClass == 42 || dispClass == 61 || dispClass == 62)) {
outputStrAmount += "<tr>";
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLeftCollumn tabLeftTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">合计</td>";
outputStrAmount += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"120\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:120px;max-width:120px;min-width:120px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"76\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:76px;max-width:76px;min-width:76px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">&nbsp;</td>";
if (_rmbAmount.substring(0, 1) == "-") {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _rmbAmount + "</td>"; //.toFixed(2)
}
else {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _rmbAmount + "</td>";
}
if (_usdAmount.substring(0, 1) == "-") {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _usdAmount + "</td>";
}
else {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _usdAmount + "</td>";
}
if (_otAmount.substring(0, 1) == "-") {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _otAmount + "</td>";
}
else {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _otAmount + "</td>";
}
if (_amount.substring(0, 1) == "-") {
//alert("_amount<0");
outputStrAmount += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMasker tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _amount + "</td>";
}
else {
//alert("_amount>0");
outputStrAmount += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMasker tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">" + _amount + "</td>";
}
outputStrAmount += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:73px;max-width:73px;min-width:73px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">&nbsp;</td>";
outputStrAmount += "</tr>";
}
///dispClass == 51 || dispClass == 52
if ((recordCount % 2 == 0) && (dispClass == 51 || dispClass == 52)) { //浅色||
outputStrAmount += "<tr>";
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLeftCollumn tabLeftTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">合计</td>";
outputStrAmount += "<td width=\"120\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:120px;max-width:120px;min-width:120px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"76\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:76px;max-width:76px;min-width:76px;\">&nbsp;</td>";
if (_rmbAmount.substring(0, 1) == "-") {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _rmbAmount + "</td>"; //.toFixed(2)
}
else {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _rmbAmount + "</td>";
}
if (_usdAmount.substring(0, 1) == "-") {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _usdAmount + "</td>";
}
else {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _usdAmount + "</td>";
}
//alert(_otAmount);
if (_otAmount.substring(0, 1) == "-") {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _otAmount + "</td>";
//alert("-");
}
else {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _otAmount + "</td>";
//alert("+");
}
if (_amount.substring(0, 1) == "-") {
//alert("_amount<0");
outputStrAmount += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnKeynote tabLightCollumnMasker tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _amount + "</td>";
}
else {
//alert("_amount>0");
outputStrAmount += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabLightCollumnMasker tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _amount + "</td>";
}
outputStrAmount += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:73px;max-width:73px;min-width:73px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">&nbsp;</td>";
outputStrAmount += "</tr>";
}
else if ((recordCount % 2 == 1) && (dispClass == 51 || dispClass == 52)) { // ||
outputStrAmount += "<tr>";
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLeftCollumn tabLeftTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">合计</td>";
outputStrAmount += "<td width=\"120\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:120px;max-width:120px;min-width:120px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"76\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:76px;max-width:76px;min-width:76px;\">&nbsp;</td>";
if (_rmbAmount.substring(0, 1) == "-") {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _rmbAmount + "</td>"; //.toFixed(2)
}
else {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _rmbAmount + "</td>";
}
if (_usdAmount.substring(0, 1) == "-") {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _usdAmount + "</td>";
}
else {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMasker tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _usdAmount + "</td>";
}
if (_otAmount.substring(0, 1) == "-") {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _otAmount + "</td>";
}
else {
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMask tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _otAmount + "</td>";
}
if (_amount.substring(0, 1) == "-") {
//alert("_amount<0");
outputStrAmount += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnKeynote tabDarkCollumnMasker tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _amount + "</td>";
}
else {
//alert("_amount>0");
outputStrAmount += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabDarkCollumnMasker tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">" + _amount + "</td>";
}
outputStrAmount += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:73px;max-width:73px;min-width:73px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">&nbsp;</td>";
outputStrAmount += "</tr>";
}
if ((recordCount % 2 == 0) && (dispClass == 13 || dispClass == 23 || dispClass == 33 || dispClass == 43 || dispClass == 63)) { //浅色 dispClass == 53 |||| dispClass == 53
outputStrAmount += "<tr>";
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLeftCollumn tabLeftTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">合计</td>";
outputStrAmount += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"120\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:120px;max-width:120px;min-width:120px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"76\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:76px;max-width:76px;min-width:76px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _teuAmount + "</td>";
outputStrAmount += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:73px;max-width:73px;min-width:73px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">&nbsp;</td>";
outputStrAmount += "</tr>";
}
else if ((recordCount % 2 == 1) && (dispClass == 13 || dispClass == 23 || dispClass == 33 || dispClass == 43 || dispClass == 63)) { //dispClass == 53 |||| dispClass == 53
outputStrAmount += "<tr>";
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLeftCollumn tabLeftTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">合计</td>";
outputStrAmount += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"120\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:120px;max-width:120px;min-width:120px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"76\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:76px;max-width:76px;min-width:76px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _teuAmount + "</td>";
outputStrAmount += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:73px;max-width:73px;min-width:73px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">&nbsp;</td>";
outputStrAmount += "</tr>";
}
if ((recordCount % 2 == 0) && (dispClass == 53)) { //浅色 dispClass == 53 ||dispClass == 13 || dispClass == 23 || dispClass == 33 || dispClass == 43 || || dispClass == 63
outputStrAmount += "<tr>";
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLeftCollumn tabLeftTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">合计</td>";
outputStrAmount += "<td width=\"120\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:120px;max-width:120px;min-width:120px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"76\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:76px;max-width:76px;min-width:76px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _teuAmount + "</td>";
outputStrAmount += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:73px;max-width:73px;min-width:73px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"72\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLightCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">&nbsp;</td>";
outputStrAmount += "</tr>";
}
else if ((recordCount % 2 == 1) && (dispClass == 53)) { //dispClass == 53 ||dispClass == 13 || dispClass == 23 || dispClass == 33 || dispClass == 43 || || dispClass == 63
outputStrAmount += "<tr>";
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabLeftCollumn tabLeftTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">合计</td>";
outputStrAmount += "<td width=\"120\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:120px;max-width:120px;min-width:120px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"76\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:76px;max-width:76px;min-width:76px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"75\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:75px;max-width:75px;min-width:75px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"77\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:77px;max-width:77px;min-width:77px;\">" + _teuAmount + "</td>";
outputStrAmount += "<td width=\"74\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:74px;max-width:74px;min-width:74px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:73px;max-width:73px;min-width:73px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">&nbsp;</td>";
outputStrAmount += "<td width=\"73\" height=\"20\" align=\"center\" valign=\"middle\" class=\"tabDarkCollumnNormal tabTopBorder\" style=\"width:72px;max-width:72px;min-width:72px;\">&nbsp;</td>";
outputStrAmount += "</tr>";
}
outputStrAmount += "</table>";
//alert(document.getElementById("Result").offsetHeight);
//alert("document.body.clientHeight is " + document.body.clientHeight);
if (document.body.clientHeight > 768) {
//_innerHTML = "<div style='padding-left:24px;padding-right:24px;padding-top:0px;width:1082px;height:593px;line-height:22px;font-size:12px;color:#000;font-family:\"微软雅黑\";overflow-x:hidden;overflow-y:auto;'>" + outputStr + "<br /></div>";
_innerHTML = "<div id='ResultFrame' style='padding-left:24px;padding-right:24px;padding-top:0px;width:1082px;height:593px;line-height:22px;font-size:12px;color:#000;font-family:\"微软雅黑\";'>";
_innerHTML += "<div style='margin:0px;padding:0px;width:1033px;height:46px;font-size:12px;color:#fff;font-family:\"微软雅黑\";text-align:center;'>" + outputStrTitle + "</div>";
_innerHTML += "<div style='margin:0px;padding:0px;width:1033px;height:502px;font-size:12px;color:#fff;font-family:\"微软雅黑\";text-align:center;overflow-x:hidden;overflow-y:auto;'>" + outputStr + "</div>"; /*height:502px;*/
_innerHTML += "<div style='margin:0px;padding:0px;width:1033px;height:45px;font-size:12px;color:#fff;font-family:\"微软雅黑\";text-align:center;'>" + outputStrAmount + "</div>";
_innerHTML += "</div>";
}
else {
//_innerHTML = "<div style='padding-left:24px;padding-right:24px;padding-top:0px;width:1082px;height:464px;line-height:22px;font-size:12px;color:#000;font-family:\"微软雅黑\";overflow-x:hidden;overflow-y:auto;'>" + outputStr + "<br /></div>";
//alert(_isTeu);
if (!_isTeu) {
_innerHTML = "<div id='ResultFrame' style='padding-left:24px;padding-right:24px;padding-top:0px;width:1082px;line-height:22px;font-size:12px;color:#000;font-family:\"微软雅黑\";'>"; /*height:593px;*/
_innerHTML += "<div style='margin:0px;padding:0px;width:1033px;height:46px;font-size:12px;color:#fff;font-family:\"微软雅黑\";text-align:left;'>" + outputStrTitle + "</div>";
_innerHTML += "<div id='Result' style='margin:0px;padding:0px;width:1033px;font-size:12px;color:#fff;font-family:\"微软雅黑\";text-align:left;overflow-x:hidden;overflow-y:auto;'>" + outputStr + "</div>"; /*height:373px;*/
_innerHTML += "<div style='margin:0px;padding:0px;width:1033px;height:45px;font-size:12px;color:#fff;font-family:\"微软雅黑\";text-align:left;'>" + outputStrAmount + "</div>";
_innerHTML += "</div>";
}
else {
_innerHTML = "<div id='ResultFrame' style='padding-left:24px;padding-right:24px;padding-top:0px;width:850px;line-height:22px;font-size:12px;color:#000;font-family:\"微软雅黑\";'>"; /*height:593px;*/
_innerHTML += "<div style='margin:0px;padding:0px;width:801px;height:41px;font-size:12px;color:#fff;font-family:\"微软雅黑\";text-align:left;'>" + outputStrTitle + "</div>";
_innerHTML += "<div id='Result' style='margin:0px;padding:0px;width:801px;font-size:12px;color:#fff;font-family:\"微软雅黑\";text-align:left;overflow-x:hidden;overflow-y:auto;'>" + outputStr + "</div>"; /*height:373px;*/
_innerHTML += "<div style='margin:0px;padding:0px;width:801px;height:45px;font-size:12px;color:#fff;font-family:\"微软雅黑\";text-align:left;'>" + outputStrAmount + "</div>";
_innerHTML += "</div>";
}
}
newDivContent.innerHTML = _innerHTML;
//alert("newDivContent.style.height is " + newDivContent.style.height);
if (parseInt(newDivContent.style.height.substring(0, 3)) > parseInt(document.getElementById("ResultFrame").offsetHeight)) {
newDivContent.style.height = document.getElementById("ResultFrame").offsetHeight + "px";
if (!_isTeu) {
newDiv.style.width = 1082 + "px";
newDivTitleBtn.style.left = _leftDatumPoint + 1064 + "px";
}
else {
newDiv.style.width = 850 + "px";
newDivTitleBtn.style.left = _leftDatumPoint + 832 + "px";
}
newDiv.style.height = parseInt(newDivTitle.style.height.substring(0, 2)) + parseInt(newDivContent.style.height.substring(0, 3)) + 40 + "px";
_topDatumPoint = document.body.scrollTop + document.body.clientHeight / 2 - parseInt(newDiv.style.height.substring(0, 3)) / 2
newDiv.style.top = _topDatumPoint + "px";
newDivTitle.style.top = _topDatumPoint + "px";
newDivContent.style.top = _topDatumPoint + 35 + "px";
newDivTitleBtn.style.top = _topDatumPoint + 2 + "px";
}
else {
document.getElementById("Result").style.height = parseInt(newDivContent.style.height.substring(0, 3)) - 20 - 91 + "px"; //470
newDivContent.style.height = parseInt(newDivContent.style.height.substring(0, 3)) - 20 + "px"; //561
if (!_isTeu) {
newDiv.style.width = 1082 + "px";
newDivTitleBtn.style.left = _leftDatumPoint + 1064 + "px";
}
else {
newDiv.style.width = 850 + "px";
newDivTitleBtn.style.left = _leftDatumPoint + 832 + "px";
}
newDiv.style.height = parseInt(newDivTitle.style.height.substring(0, 2)) + parseInt(newDivContent.style.height.substring(0, 3)) + 40 + "px";
_topDatumPoint = document.body.scrollTop + document.body.clientHeight / 2 - parseInt(newDiv.style.height.substring(0, 3)) / 2
newDiv.style.top = _topDatumPoint + "px";
newDivTitle.style.top = _topDatumPoint + "px";
newDivContent.style.top = _topDatumPoint + 35 + "px";
newDivTitleBtn.style.top = _topDatumPoint + 2 + "px";
}
});
});
//消息层滚动居中
function newDivCenter() {
newDiv.style.top = _topDatumPoint + "px";
newDiv.style.left = _leftDatumPoint + "px";
}
if (document.all) {
window.attachEvent("onscroll", newDivCenter);
}
else {
window.addEventListener('scroll', newDivCenter, false);
}
//关闭新图层和mask遮罩层
var newA = document.createElement("a");
newA.style.color = "#15498b";
newA.style.fontSize = "14px";
newA.style.fontFamily = "微软雅黑";
newA.style.cssText = "font-size:14px;text-decoration:none;"
newA.href = "#";
newA.innerHTML = "×";
newA.onclick = function () {
if (document.all) {
window.detachEvent("onscroll", newDivCenter);
}
else {
window.removeEventListener('scroll', newDivCenter, false);
}
document.body.removeChild($(_id));
document.body.removeChild($("_title" + _id));
document.body.removeChild($("_titleBtn" + _id));
document.body.removeChild($("_contentFrame" + _id));
document.body.removeChild($(m));
return false;
}
newDivTitleBtn.appendChild(newA);
}