diff --git a/DSWeb/Areas/MvcShipping/Viewsjs/MsRptOpProfit/MsRptOpProfitIndex.js b/DSWeb/Areas/MvcShipping/Viewsjs/MsRptOpProfit/MsRptOpProfitIndex.js index dda0c7a4..982d58b3 100644 --- a/DSWeb/Areas/MvcShipping/Viewsjs/MsRptOpProfit/MsRptOpProfitIndex.js +++ b/DSWeb/Areas/MvcShipping/Viewsjs/MsRptOpProfit/MsRptOpProfitIndex.js @@ -12,7 +12,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { OprationStatus: null, //仅当弹出界面时使用 SelectedRecord: null, sqlcontext: '1=2', - feesqlcontext:'', + feesqlcontext: '', bslistsortfield: '', bslistsortdire: '', salelistsortfield: '', @@ -230,37 +230,37 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { }, { sortable: true, dataIndex: 'OPLBNAME', - text: Zi.LAN.OPLBNAME, - width: 70, - renderer: function (value, meta) { - return _this.GetOpLbName(value); - } + text: Zi.LAN.OPLBNAME, + width: 70, + renderer: function (value, meta) { + return _this.GetOpLbName(value); + } }, { sortable: true, dataIndex: 'OPTYPE', - text: Zi.LAN.OPTYPE, - width: 70, - renderer: function (value, meta) { - if (value == '普通货') - return Zi.LAN.PUTONGHUO; //是 - else - return Zi.LAN.GENGGAIDAN; - } + text: Zi.LAN.OPTYPE, + width: 70, + renderer: function (value, meta) { + if (value == '普通货') + return Zi.LAN.PUTONGHUO; //是 + else + return Zi.LAN.GENGGAIDAN; + } }, { sortable: true, dataIndex: 'FEESTATUSREF', - text: Zi.LAN.FEESTATUSREF, - width: 70, - renderer: function (value, meta) { - if (value == '锁定') - return Zi.LAN.LOCK; //是 - else - return Zi.LAN.UNLOCK; - } + text: Zi.LAN.FEESTATUSREF, + width: 70, + renderer: function (value, meta) { + if (value == '锁定') + return Zi.LAN.LOCK; //是 + else + return Zi.LAN.UNLOCK; + } }, { sortable: true, dataIndex: 'BSSTATUS', - text: Zi.LAN.BSSTATUS, + text: Zi.LAN.BSSTATUS, width: 70, renderer: function (value, meta) { if (value == '1') @@ -268,318 +268,318 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { else return Zi.LAN.UNLOCK; } - }, { - dataIndex: 'ISCANCEL', - header: Zi.LAN.ISCANCEL, //'退舱', - width: 60, - renderer: function (value, meta, record) { - if (value == '1') - return '√'; - else if (value == '2') - return '申请退舱'; - else if (value == '4') - return '驳回申请'; - else - return ''; - } - }, { + }, { + dataIndex: 'ISCANCEL', + header: Zi.LAN.ISCANCEL, //'退舱', + width: 60, + renderer: function (value, meta, record) { + if (value == '1') + return '√'; + else if (value == '2') + return '申请退舱'; + else if (value == '4') + return '驳回申请'; + else + return ''; + } + }, { sortable: true, dataIndex: 'BSTYPE', - text: Zi.LAN.BSTYPE, - width: 70, - renderer: function (value, cellmeta) { - if (value == '海运出口') { - return Zi.LAN.HYCK; - } else if (value == '海运进口') { - return Zi.LAN.HYJK; - } else { - return value; - } + text: Zi.LAN.BSTYPE, + width: 70, + renderer: function (value, cellmeta) { + if (value == '海运出口') { + return Zi.LAN.HYCK; + } else if (value == '海运进口') { + return Zi.LAN.HYJK; + } else { + return value; } + } }, { sortable: true, dataIndex: 'BLTYPE', - text: Zi.LAN.BLTYPE, - width: 70, - renderer: function (value, cellmeta) { - if (value == '整箱') { - return Zi.LAN.ZHENGXIANG; - } else if (value == '拼箱单票') { - return Zi.LAN.PINXIANGDANPIAO; - } else if (value == '拼箱分票') { - return Zi.LAN.PINXIANGFENPIAO; - } else if (value == '拼箱主票') { - return Zi.LAN.PINXIANGZHUPIAO; - } else if (value == '合票主票') { - return Zi.LAN.HEPIAOZHUPIAO; - } else if (value == '合票分票') { - return Zi.LAN.HEPIAOFENPIAO; - } + text: Zi.LAN.BLTYPE, + width: 70, + renderer: function (value, cellmeta) { + if (value == '整箱') { + return Zi.LAN.ZHENGXIANG; + } else if (value == '拼箱单票') { + return Zi.LAN.PINXIANGDANPIAO; + } else if (value == '拼箱分票') { + return Zi.LAN.PINXIANGFENPIAO; + } else if (value == '拼箱主票') { + return Zi.LAN.PINXIANGZHUPIAO; + } else if (value == '合票主票') { + return Zi.LAN.HEPIAOZHUPIAO; + } else if (value == '合票分票') { + return Zi.LAN.HEPIAOFENPIAO; } - }, { - sortable: true, - dataIndex: 'BLFRT', - text: Zi.LAN.BLFRT, - width: 70 - }, { - sortable: true, - dataIndex: 'ISSUETYPE', - text: Zi.LAN.ISSUETYPE, - width: 70 - }, { + } + }, { + sortable: true, + dataIndex: 'BLFRT', + text: Zi.LAN.BLFRT, + width: 70 + }, { + sortable: true, + dataIndex: 'ISSUETYPE', + text: Zi.LAN.ISSUETYPE, + width: 70 + }, { sortable: true, dataIndex: 'OPDATE', - text: Zi.LAN.OPDATE, + text: Zi.LAN.OPDATE, width: 86 }, { sortable: true, dataIndex: 'CUSTOMDATE', - text: Zi.LAN.CUSTOMDATE, + text: Zi.LAN.CUSTOMDATE, width: 86 - }, { + }, { sortable: true, dataIndex: 'CUSTOMERNAME', - text: Zi.LAN.CUSTOMERNAME, + text: Zi.LAN.CUSTOMERNAME, width: 120 }, { sortable: true, dataIndex: 'CUSTFULLNAME', - text: Zi.LAN.CUSTFULLNAME, + text: Zi.LAN.CUSTFULLNAME, width: 140 }, { sortable: true, dataIndex: 'CUSTNO', - text: Zi.LAN.CUSTNO, + text: Zi.LAN.CUSTNO, width: 136 }, { sortable: true, dataIndex: 'CUSTOMNO', - text: Zi.LAN.CUSTOMNO, + text: Zi.LAN.CUSTOMNO, width: 136 }, { sortable: true, dataIndex: 'ENTERP', - text: Zi.LAN.ENTERP, + text: Zi.LAN.ENTERP, width: 100 - }, { - sortable: true, - dataIndex: 'CUSTOMSER', - text: Zi.LAN.CUSTOMSER, - width: 100 - }, { - sortable: true, - dataIndex: 'FORWARDER', - text: Zi.LAN.FORWARDER, - width: 100 - }, { + }, { + sortable: true, + dataIndex: 'CUSTOMSER', + text: Zi.LAN.CUSTOMSER, + width: 100 + }, { + sortable: true, + dataIndex: 'FORWARDER', + text: Zi.LAN.FORWARDER, + width: 100 + }, { sortable: true, dataIndex: 'MBLNO', - text: Zi.LAN.MBLNO, + text: Zi.LAN.MBLNO, width: 120 }, { sortable: true, dataIndex: 'HBLNO', - text: Zi.LAN.HBLNO, + text: Zi.LAN.HBLNO, width: 120 }, { sortable: true, dataIndex: 'ETD', - text: Zi.LAN.ETD, + text: Zi.LAN.ETD, width: 86 - }, { - sortable: true, - dataIndex: 'ETA', - text: Zi.LAN.ETA, - width: 86 - }, { - sortable: true, - dataIndex: 'ATD', - text: Zi.LAN.ATD, - width: 86 - }, { + }, { + sortable: true, + dataIndex: 'ETA', + text: Zi.LAN.ETA, + width: 86 + }, { + sortable: true, + dataIndex: 'ATD', + text: Zi.LAN.ATD, + width: 86 + }, { sortable: true, dataIndex: 'VESSEL', - text: Zi.LAN.VESSEL, + text: Zi.LAN.VESSEL, width: 200 }, { sortable: true, dataIndex: 'VOYNO', - text: Zi.LAN.VOYNO, + text: Zi.LAN.VOYNO, width: 50 }, { sortable: true, dataIndex: 'SALE', - text: Zi.LAN.SALE, + text: Zi.LAN.SALE, width: 80 }, { sortable: true, dataIndex: 'OP', - text: Zi.LAN.OP, + text: Zi.LAN.OP, width: 80 }, { sortable: true, dataIndex: 'DOC', - text: Zi.LAN.DOC, + text: Zi.LAN.DOC, width: 80 - }, { - sortable: true, - dataIndex: 'SALEDEPT', - text: Zi.LAN.SALEDEPT, - width: 80 - }, { + }, { + sortable: true, + dataIndex: 'SALEDEPT', + text: Zi.LAN.SALEDEPT, + width: 80 + }, { sortable: true, dataIndex: 'CUSTSERVICE', - text: Zi.LAN.CUSTSERVICE, + text: Zi.LAN.CUSTSERVICE, width: 80 - }, { - sortable: true, - dataIndex: 'FRCUSTSERVICE', - text: Zi.LAN.FRCUSTSERVICE, - width: 80 - }, { - sortable: true, - dataIndex: 'CONTRACTNO', - text: Zi.LAN.CONTRACTNO, - width: 80 - }, { - sortable: true, - dataIndex: 'ORDERNO', - text: Zi.LAN.ORDERNO, - width: 80 - }, { + }, { + sortable: true, + dataIndex: 'FRCUSTSERVICE', + text: Zi.LAN.FRCUSTSERVICE, + width: 80 + }, { + sortable: true, + dataIndex: 'CONTRACTNO', + text: Zi.LAN.CONTRACTNO, + width: 80 + }, { + sortable: true, + dataIndex: 'ORDERNO', + text: Zi.LAN.ORDERNO, + width: 80 + }, { sortable: true, dataIndex: 'PORTLOAD', - text: Zi.LAN.PORTLOAD, + text: Zi.LAN.PORTLOAD, width: 80 }, { sortable: true, dataIndex: 'PORTDISCHARGE', - text: Zi.LAN.PORTDISCHARGE, + text: Zi.LAN.PORTDISCHARGE, width: 150 }, { sortable: true, dataIndex: 'DESTINATION', - header: Zi.LAN.DESTINATION, + header: Zi.LAN.DESTINATION, width: 150 }, { sortable: true, dataIndex: 'ACCDATE', - text: Zi.LAN.ACCDATE, + text: Zi.LAN.ACCDATE, width: 80 }, { sortable: true, dataIndex: 'CARRIER', - text: Zi.LAN.CARRIER, + text: Zi.LAN.CARRIER, width: 80 }, { sortable: true, dataIndex: 'LANE', - text: Zi.LAN.LANE, + text: Zi.LAN.LANE, width: 80 }, { sortable: true, dataIndex: 'BSSOURCE', - text: Zi.LAN.BSSOURCE, + text: Zi.LAN.BSSOURCE, width: 120 - }, { - sortable: true, - dataIndex: 'BSSOURCEDETAIL', - text: Zi.LAN.BSSOURCEDETAIL, - width: 120 - }, { - sortable: true, - dataIndex: 'YARD', - text: Zi.LAN.YARD, - width: 120 - }, { - sortable: true, - dataIndex: 'AGENTID', - text: Zi.LAN.AGENTID, - width: 120 - }, { - dataIndex: 'CARGOID', - header: Zi.LAN.CARGOID, //'货物标识', - width: 120 - }, { - dataIndex: 'TRADETERM', - header: Zi.LAN.TRADETERM, //'货物标识', - width: 120 - }, { + }, { + sortable: true, + dataIndex: 'BSSOURCEDETAIL', + text: Zi.LAN.BSSOURCEDETAIL, + width: 120 + }, { + sortable: true, + dataIndex: 'YARD', + text: Zi.LAN.YARD, + width: 120 + }, { + sortable: true, + dataIndex: 'AGENTID', + text: Zi.LAN.AGENTID, + width: 120 + }, { + dataIndex: 'CARGOID', + header: Zi.LAN.CARGOID, //'货物标识', + width: 120 + }, { + dataIndex: 'TRADETERM', + header: Zi.LAN.TRADETERM, //'货物标识', + width: 120 + }, { sortable: true, dataIndex: 'REMARK', - text: Zi.LAN.REMARK, + text: Zi.LAN.REMARK, width: 120 - }, { - sortable: true, - dataIndex: 'REMARK2', - text: Zi.LAN.REMARK2, - width: 120 - }, { + }, { + sortable: true, + dataIndex: 'REMARK2', + text: Zi.LAN.REMARK2, + width: 120 + }, { sortable: true, dataIndex: 'TEU', - text: Zi.LAN.TEU, + text: Zi.LAN.TEU, width: 80 }, { sortable: true, dataIndex: 'PKGS', - text: Zi.LAN.PKGS, + text: Zi.LAN.PKGS, width: 80 - }, { - sortable: true, - dataIndex: 'KINDPKGS', - text: Zi.LAN.KINDPKGS, - width: 80 - }, { + }, { + sortable: true, + dataIndex: 'KINDPKGS', + text: Zi.LAN.KINDPKGS, + width: 80 + }, { sortable: true, dataIndex: 'KGS', - text: Zi.LAN.KGS, + text: Zi.LAN.KGS, width: 80 }, { sortable: true, dataIndex: 'CBM', - text: Zi.LAN.CBM, + text: Zi.LAN.CBM, width: 80 }, { sortable: true, dataIndex: 'NETWEIGHT', - text: Zi.LAN.NETWEIGHT, + text: Zi.LAN.NETWEIGHT, width: 80 }, { sortable: true, dataIndex: 'GOODSNAME', - text: Zi.LAN.GOODSNAME, + text: Zi.LAN.GOODSNAME, width: 80 }, { sortable: true, dataIndex: 'CREATETIME', - text: Zi.LAN.CREATETIME, + text: Zi.LAN.CREATETIME, width: 80 }, { sortable: true, dataIndex: 'CNTRTOTAL', - text: Zi.LAN.CNTRTOTAL, + text: Zi.LAN.CNTRTOTAL, width: 80 - }, { - sortable: true, - dataIndex: 'CNTRSEALNO', - text: Zi.LAN.CNTRSEALNO, - width: 80 - }, { - sortable: true, - dataIndex: 'TRUCKER', - text: Zi.LAN.TRUCKER, - width: 80 - }, { - sortable: true, - dataIndex: 'SERVICECONTRACTNO', - text: Zi.LAN.SERVICECONTRACTNO, - width: 80 - }, { - sortable: true, - dataIndex: 'SALECORP', - text: Zi.LAN.SALECORP, - width: 80 - }, + }, { + sortable: true, + dataIndex: 'CNTRSEALNO', + text: Zi.LAN.CNTRSEALNO, + width: 80 + }, { + sortable: true, + dataIndex: 'TRUCKER', + text: Zi.LAN.TRUCKER, + width: 80 + }, { + sortable: true, + dataIndex: 'SERVICECONTRACTNO', + text: Zi.LAN.SERVICECONTRACTNO, + width: 80 + }, { + sortable: true, + dataIndex: 'SALECORP', + text: Zi.LAN.SALECORP, + width: 80 + }, { sortable: true, id: '', @@ -669,107 +669,107 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { }, { sortable: true, dataIndex: 'RMBCR', - text: Zi.LAN.RMBCR, + text: Zi.LAN.RMBCR, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 80 }, { sortable: true, dataIndex: 'RMBPROFIT', - text: Zi.LAN.RMBPROFIT, + text: Zi.LAN.RMBPROFIT, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 80 }, { sortable: true, dataIndex: 'USDDR', - text: Zi.LAN.USDDR, + text: Zi.LAN.USDDR, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 80 }, { sortable: true, dataIndex: 'USDCR', - text: Zi.LAN.USDCR, + text: Zi.LAN.USDCR, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 80 }, { sortable: true, dataIndex: 'USDPROFIT', - text: Zi.LAN.USDPROFIT, + text: Zi.LAN.USDPROFIT, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 80 }, { sortable: true, dataIndex: 'OTDR', - text: Zi.LAN.OTDR, + text: Zi.LAN.OTDR, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 80 }, { sortable: true, dataIndex: 'OTCR', - text: Zi.LAN.OTCR, + text: Zi.LAN.OTCR, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 80 }, { sortable: true, dataIndex: 'OTPROFIT', - text: Zi.LAN.OTPROFIT, + text: Zi.LAN.OTPROFIT, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 80 }, { sortable: true, dataIndex: 'TTLDR', - text: Zi.LAN.TTLDR, + text: Zi.LAN.TTLDR, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 80 }, { sortable: true, dataIndex: 'TTLCR', - text: Zi.LAN.TTLCR, + text: Zi.LAN.TTLCR, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 80 }, { sortable: true, dataIndex: 'TTLPROFIT', - text: Zi.LAN.TTLPROFIT, + text: Zi.LAN.TTLPROFIT, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 80 }, { sortable: true, dataIndex: 'PROFITRATE', - text: Zi.LAN.PROFITRATE, - width: 80, - renderer: function (value, meta) { - if (value != 0) value = value + '%'; - return value; - } + text: Zi.LAN.PROFITRATE, + width: 80, + renderer: function (value, meta) { + if (value != 0) value = value + '%'; + return value; + } }, { sortable: true, dataIndex: 'TTLTAXDR', - text: Zi.LAN.TTLTAXDR, + text: Zi.LAN.TTLTAXDR, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 80 }, { sortable: true, dataIndex: 'TTLTAXCR', - text: Zi.LAN.TTLTAXCR, + text: Zi.LAN.TTLTAXCR, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 80 }, { sortable: true, dataIndex: 'TTLTAXPROFIT', - text: Zi.LAN.TTLTAXPROFIT, + text: Zi.LAN.TTLTAXPROFIT, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 80 @@ -787,105 +787,105 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { }, { sortable: true, dataIndex: 'RMBNODR', - text: Zi.LAN.RMBNODR, + text: Zi.LAN.RMBNODR, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 80 }, { sortable: true, dataIndex: 'STLUSDDR', - text: Zi.LAN.STLUSDDR, + text: Zi.LAN.STLUSDDR, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 80 }, { sortable: true, dataIndex: 'USDNODR', - text: Zi.LAN.USDNODR, + text: Zi.LAN.USDNODR, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 80 }, { sortable: true, dataIndex: 'STLOTDR', - text: Zi.LAN.STLOTDR, + text: Zi.LAN.STLOTDR, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 80 }, { sortable: true, dataIndex: 'OTNODR', - text: Zi.LAN.OTNODR, + text: Zi.LAN.OTNODR, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 80 }, { sortable: true, dataIndex: 'STLTTLDR', - text: Zi.LAN.STLTTLDR, + text: Zi.LAN.STLTTLDR, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 80 }, { sortable: true, dataIndex: 'TTLNODR', - text: Zi.LAN.TTLNODR, + text: Zi.LAN.TTLNODR, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 80 }, { sortable: true, dataIndex: 'STLRMBCR', - text: Zi.LAN.STLRMBCR, + text: Zi.LAN.STLRMBCR, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 80 }, { sortable: true, dataIndex: 'RMBNOCR', - text: Zi.LAN.RMBNOCR, + text: Zi.LAN.RMBNOCR, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 80 }, { sortable: true, dataIndex: 'STLUSDCR', - text: Zi.LAN.STLUSDCR, + text: Zi.LAN.STLUSDCR, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 80 }, { sortable: true, dataIndex: 'USDNOCR', - text: Zi.LAN.USDNOCR, + text: Zi.LAN.USDNOCR, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 80 }, { sortable: true, dataIndex: 'STLOTCR', - text: Zi.LAN.STLOTCR, + text: Zi.LAN.STLOTCR, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 80 }, { sortable: true, dataIndex: 'OTNOCR', - text: Zi.LAN.OTNOCR, + text: Zi.LAN.OTNOCR, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 80 }, { sortable: true, dataIndex: 'STLTTLCR', - text: Zi.LAN.STLTTLCR, + text: Zi.LAN.STLTTLCR, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 80 }, { sortable: true, dataIndex: 'TTLNOCR', - text: Zi.LAN.TTLNOCR, + text: Zi.LAN.TTLNOCR, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 80 @@ -903,181 +903,181 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { }, { sortable: true, dataIndex: 'NOTAXRMBCR', - text: Zi.LAN.NOTAXRMBCR, + text: Zi.LAN.NOTAXRMBCR, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 90 }, { sortable: true, dataIndex: 'NOTAXRMBPROFIT', - text: Zi.LAN.NOTAXRMBPROFIT, + text: Zi.LAN.NOTAXRMBPROFIT, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 90 }, { sortable: true, dataIndex: 'NOTAXUSDDR', - text: Zi.LAN.NOTAXUSDDR, + text: Zi.LAN.NOTAXUSDDR, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 90 }, { sortable: true, dataIndex: 'NOTAXUSDCR', - text: Zi.LAN.NOTAXUSDCR, + text: Zi.LAN.NOTAXUSDCR, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 90 }, { sortable: true, dataIndex: 'NOTAXUSDPROFIT', - text: Zi.LAN.NOTAXUSDPROFIT, + text: Zi.LAN.NOTAXUSDPROFIT, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 90 }, { sortable: true, dataIndex: 'NOTAXOTDR', - text: Zi.LAN.NOTAXOTDR, + text: Zi.LAN.NOTAXOTDR, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 90 }, { sortable: true, dataIndex: 'NOTAXOTCR', - text: Zi.LAN.NOTAXOTCR, + text: Zi.LAN.NOTAXOTCR, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 90 }, { sortable: true, dataIndex: 'NOTAXOTPROFIT', - text: Zi.LAN.NOTAXOTPROFIT, + text: Zi.LAN.NOTAXOTPROFIT, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 90 }, { sortable: true, dataIndex: 'NOTAXTTLDR', - text: Zi.LAN.NOTAXTTLDR, + text: Zi.LAN.NOTAXTTLDR, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 90 }, { sortable: true, dataIndex: 'NOTAXTTLCR', - text: Zi.LAN.NOTAXTTLCR, + text: Zi.LAN.NOTAXTTLCR, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 90 }, { sortable: true, dataIndex: 'NOTAXTTLPROFIT', - text: Zi.LAN.NOTAXTTLPROFIT, + text: Zi.LAN.NOTAXTTLPROFIT, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXPROFITRATE', - text: Zi.LAN.NOTAXPROFITRATE, - width: 80, - renderer: function (value, meta) { - if (value != 0) value = value + '%'; - return value; - } - }] }, { + sortable: true, + dataIndex: 'NOTAXPROFITRATE', + text: Zi.LAN.NOTAXPROFITRATE, + width: 80, + renderer: function (value, meta) { + if (value != 0) value = value + '%'; + return value; + } + }] + }, { text: Zi.LAN.ALLNOACCTAX, - dataIndex: 'ALLNOACCTAX', - columns: [{ - sortable: true, - dataIndex: 'NOACCTAXRMBDR', - text: Zi.LAN.NOACCTAXRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXRMBCR', - text: Zi.LAN.NOACCTAXRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXRMBPROFIT', - text: Zi.LAN.NOACCTAXRMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDDR', - text: Zi.LAN.NOACCTAXUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDCR', - text: Zi.LAN.NOACCTAXUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDPROFIT', - text: Zi.LAN.NOACCTAXUSDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTDR', - text: Zi.LAN.NOACCTAXOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTCR', - text: Zi.LAN.NOACCTAXOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTPROFIT', - text: Zi.LAN.NOACCTAXOTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLDR', - text: Zi.LAN.NOACCTAXTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLCR', - text: Zi.LAN.NOACCTAXTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLPROFIT', - text: Zi.LAN.NOACCTAXTTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }] - } + dataIndex: 'ALLNOACCTAX', + columns: [{ + sortable: true, + dataIndex: 'NOACCTAXRMBDR', + text: Zi.LAN.NOACCTAXRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXRMBCR', + text: Zi.LAN.NOACCTAXRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXRMBPROFIT', + text: Zi.LAN.NOACCTAXRMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDDR', + text: Zi.LAN.NOACCTAXUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDCR', + text: Zi.LAN.NOACCTAXUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDPROFIT', + text: Zi.LAN.NOACCTAXUSDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTDR', + text: Zi.LAN.NOACCTAXOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTCR', + text: Zi.LAN.NOACCTAXOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTPROFIT', + text: Zi.LAN.NOACCTAXOTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLDR', + text: Zi.LAN.NOACCTAXTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLCR', + text: Zi.LAN.NOACCTAXTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLPROFIT', + text: Zi.LAN.NOACCTAXTTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }] + } - ]; + ]; this.Pagenum = Ext.create('Ext.form.field.Number', { name: 'bottles', @@ -1103,7 +1103,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { store: this.storeList, enableHdMenu: false, region: 'center', - loadMask: { msg: Zi.LAN.ShuJuJiaZaiZhongQingShaoDeng}, + loadMask: { msg: Zi.LAN.ShuJuJiaZaiZhongQingShaoDeng }, trackMouseOver: true, disableSelection: false, viewConfig: { @@ -1248,7 +1248,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { totalProperty: 'totalCount' } } - , + , groupField: 'SALEGROUP' }); @@ -1260,13 +1260,13 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { width: 80 }, { sortable: true, - dataIndex: 'BSSOURCE', - text: Zi.LAN.BSSOURCE, + dataIndex: 'BSSOURCE', + text: Zi.LAN.BSSOURCE, width: 70 }, { sortable: true, dataIndex: 'BLCOUNT', - text: Zi.LAN.BLCOUNT, + text: Zi.LAN.BLCOUNT, summaryType: 'sum', // summaryRenderer: Ext.util.Format.numberRenderer('00.00'), width: 80 @@ -1366,10 +1366,37 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { return value; }, width: 80 + }, { + sortable: true, + dataIndex: 'CBM', + text: Zi.LAN.CBM, + 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 '' + lsValue + ''; } } 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 + }, { + text: Zi.LAN.ALLIN, + dataIndex: 'ALLIN', + columns: [{ + sortable: true, + dataIndex: 'RMBDR', + text: Zi.LAN.RMBDR, + 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 '' + lsValue + ''; } } 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 }, { sortable: true, - dataIndex: 'CBM', - text: Zi.LAN.CBM, + dataIndex: 'RMBCR', + text: Zi.LAN.RMBCR, 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', summaryType: 'sum', @@ -1379,2057 +1406,2030 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { }, width: 80 }, { - text: Zi.LAN.ALLIN, - dataIndex: 'ALLIN', - columns: [{ - sortable: true, - dataIndex: 'RMBDR', - text: Zi.LAN.RMBDR, - 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 '' + lsValue + ''; } } 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 - }, { - sortable: true, - dataIndex: 'RMBCR', - text: Zi.LAN.RMBCR, - 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 '' + lsValue + ''; } } 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 - }, { - sortable: true, - dataIndex: 'RMBPROFIT', - text: Zi.LAN.RMBPROFIT, - 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 '' + lsValue + ''; } } 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 - }, { - sortable: true, - dataIndex: 'USDDR', - text: Zi.LAN.USDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDCR', - text: Zi.LAN.USDCR, - 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 '' + lsValue + ''; } } 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 - }, { - sortable: true, - dataIndex: 'USDPROFIT', - text: Zi.LAN.USDPROFIT, - 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 '' + lsValue + ''; } } 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 - }, { - sortable: true, - dataIndex: 'OTDR', - text: Zi.LAN.OTDR, - 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 '' + lsValue + ''; } } 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 - }, { - sortable: true, - dataIndex: 'OTCR', - text: Zi.LAN.OTCR, - 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 '' + lsValue + ''; } } 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 - }, { - sortable: true, - dataIndex: 'OTPROFIT', - text: Zi.LAN.OTPROFIT, - 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 '' + lsValue + ''; } } 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 - }, { - sortable: true, - dataIndex: 'TTLDR', - text: Zi.LAN.TTLDR, - 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 '' + lsValue + ''; } } 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 - }, { - sortable: true, - dataIndex: 'TTLCR', - text: Zi.LAN.TTLCR, - 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 '' + lsValue + ''; } } 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 - }, { - sortable: true, - dataIndex: 'TTLPROFIT', - text: Zi.LAN.TTLPROFIT, - 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 '' + lsValue + ''; } } 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 - }, { - sortable: true, - dataIndex: 'PROFITRATE', - text: Zi.LAN.PROFITRATE, - width: 80, - renderer: function (value, meta) { - if (value != 0) value = value + '%'; - return value; - } - }, { - sortable: true, - dataIndex: 'TTLTAXDR', - text: Zi.LAN.TTLTAXDR, - 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 '' + lsValue + ''; } } 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 - }, { - sortable: true, - dataIndex: 'TTLTAXCR', - text: Zi.LAN.TTLTAXCR, - 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 '' + lsValue + ''; } } 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 - }, { - sortable: true, - dataIndex: 'TTLTAXPROFIT', - text: Zi.LAN.TTLTAXPROFIT, - 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 '' + lsValue + ''; } } 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 - }] - }, { - text: Zi.LAN.ALLBALANCE, - dataIndex: 'ALLBALANCE', - columns: [{ - sortable: true, - dataIndex: 'STLRMBDR', - text: Zi.LAN.STLRMBDR, - 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 '' + lsValue + ''; } } 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 - }, { - sortable: true, - dataIndex: 'RMBNODR', - text: Zi.LAN.RMBNODR, - 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 '' + lsValue + ''; } } 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 - }, { - sortable: true, - dataIndex: 'STLUSDDR', - text: Zi.LAN.STLUSDDR, - 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 '' + lsValue + ''; } } 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 - }, { - sortable: true, - dataIndex: 'USDNODR', - text: Zi.LAN.USDNODR, - 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 '' + lsValue + ''; } } 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 - }, { - sortable: true, - dataIndex: 'STLOTDR', - text: Zi.LAN.STLOTDR, - 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 '' + lsValue + ''; } } 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 - }, { - sortable: true, - dataIndex: 'OTNODR', - text: Zi.LAN.OTNODR, - 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 '' + lsValue + ''; } } 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 - }, { - sortable: true, - dataIndex: 'STLTTLDR', - text: Zi.LAN.STLTTLDR, - 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 '' + lsValue + ''; } } 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 - }, { - sortable: true, - dataIndex: 'TTLNODR', - text: Zi.LAN.TTLNODR, - 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 '' + lsValue + ''; } } 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 - }, { - sortable: true, - dataIndex: 'STLRMBCR', - text: Zi.LAN.STLRMBCR, - 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 '' + lsValue + ''; } } 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 - }, { - sortable: true, - dataIndex: 'RMBNOCR', - text: Zi.LAN.RMBNOCR, - 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 '' + lsValue + ''; } } 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 - }, { - sortable: true, - dataIndex: 'STLUSDCR', - text: Zi.LAN.STLUSDCR, - 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 '' + lsValue + ''; } } 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 - }, { - sortable: true, - dataIndex: 'USDNOCR', - text: Zi.LAN.USDNOCR, - 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 '' + lsValue + ''; } } 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 - }, { - sortable: true, - dataIndex: 'STLOTCR', - text: Zi.LAN.STLOTCR, - 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 '' + lsValue + ''; } } 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 - }, { - sortable: true, - dataIndex: 'OTNOCR', - text: Zi.LAN.OTNOCR, - 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 '' + lsValue + ''; } } 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 - }, { - sortable: true, - dataIndex: 'STLTTLCR', - text: Zi.LAN.STLTTLCR, - 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 '' + lsValue + ''; } } 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 - }, { - sortable: true, - dataIndex: 'TTLNOCR', - text: Zi.LAN.TTLNOCR, - 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 '' + lsValue + ''; } } 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 - }] - }, { - text: Zi.LAN.ALLNOTAX, - dataIndex: 'ALLNOTAX', - columns: [{ - sortable: true, - dataIndex: 'NOTAXRMBDR', - text: Zi.LAN.NOTAXRMBDR, - 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 '' + lsValue + ''; } } 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: 90 - }, { - sortable: true, - dataIndex: 'NOTAXRMBCR', - text: Zi.LAN.NOTAXRMBCR, - 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 '' + lsValue + ''; } } 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: 90 - }, { - sortable: true, - dataIndex: 'NOTAXRMBPROFIT', - text: Zi.LAN.NOTAXRMBPROFIT, - 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 '' + lsValue + ''; } } 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: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDDR', - text: Zi.LAN.NOTAXUSDDR, - 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 '' + lsValue + ''; } } 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: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDCR', - text: Zi.LAN.NOTAXUSDCR, - 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 '' + lsValue + ''; } } 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: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDPROFIT', - text: Zi.LAN.NOTAXUSDPROFIT, - 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 '' + lsValue + ''; } } 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: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTDR', - text: Zi.LAN.NOTAXOTDR, - 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 '' + lsValue + ''; } } 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: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTCR', - text: Zi.LAN.NOTAXOTCR, - 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 '' + lsValue + ''; } } 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: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTPROFIT', - text: Zi.LAN.NOTAXOTPROFIT, - 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 '' + lsValue + ''; } } 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: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLDR', - text: Zi.LAN.NOTAXTTLDR, - 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 '' + lsValue + ''; } } 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: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLCR', - text: Zi.LAN.NOTAXTTLCR, - 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 '' + lsValue + ''; } } 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: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLPROFIT', - text: Zi.LAN.NOTAXTTLPROFIT, - 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 '' + lsValue + ''; } } 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: 90 - }, { - sortable: true, - dataIndex: 'NOTAXPROFITRATE', - text: Zi.LAN.NOTAXPROFITRATE, - width: 80, - renderer: function (value, meta) { - if (value != 0) value = value + '%'; - return value; - } - }] - }, { - text: Zi.LAN.ALLNOACCTAX, - dataIndex: 'ALLNOACCTAX', - columns: [{ - sortable: true, - dataIndex: 'NOACCTAXRMBDR', - text: Zi.LAN.NOACCTAXRMBDR, - 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 '' + lsValue + ''; } } 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: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXRMBCR', - text: Zi.LAN.NOACCTAXRMBCR, - 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 '' + lsValue + ''; } } 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: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXRMBPROFIT', - text: Zi.LAN.NOACCTAXRMBPROFIT, - 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 '' + lsValue + ''; } } 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: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDDR', - text: Zi.LAN.NOACCTAXUSDDR, - 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 '' + lsValue + ''; } } 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: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDCR', - text: Zi.LAN.NOACCTAXUSDCR, - 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 '' + lsValue + ''; } } 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: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDPROFIT', - text: Zi.LAN.NOACCTAXUSDPROFIT, - 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 '' + lsValue + ''; } } 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: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTDR', - text: Zi.LAN.NOACCTAXOTDR, - 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 '' + lsValue + ''; } } 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: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTCR', - text: Zi.LAN.NOACCTAXOTCR, - 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 '' + lsValue + ''; } } 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: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTPROFIT', - text: Zi.LAN.NOACCTAXOTPROFIT, - 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 '' + lsValue + ''; } } 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: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLDR', - text: Zi.LAN.NOACCTAXTTLDR, - 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 '' + lsValue + ''; } } 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: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLCR', - text: Zi.LAN.NOACCTAXTTLCR, - 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 '' + lsValue + ''; } } 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: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLPROFIT', - text: Zi.LAN.NOACCTAXTTLPROFIT, - 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 '' + lsValue + ''; } } 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: 90 - }] - } - - ]; - - this.girdcolumssale = this.initgirdcolumssale; - var showSummary = true; - this.gridListSale = new Ext.grid.GridPanel({ - store: this.storeSaleList, - enableHdMenu: false, - region: 'center', - loadMask: { msg: Zi.LAN.ShuJuJiaZaiZhongQingShaoDeng}, - trackMouseOver: true, - disableSelection: false, - viewConfig: { - enableTextSelection: true, //允许复制数据 - autoFill: true - }, - features: [{ - id: 'group', - ftype: 'groupingsummary', - groupHeaderTpl: '{name}', - hideGroupedHeader: true, - enableGroupingMenu: true - }], - columns: this.girdcolumssale, - // paging bar on the bottom - bbar: Ext.create('Ext.PagingToolbar', { - store: this.storeSaleList, - displayInfo: true, - displayMsg: Zi.LAN.displayMsg, - emptyMsg: Zi.LAN.emptyMsg - }) - }); - - this.girdcolumssale = DsTruck.GetGridPanel(USERID, this.formname + 'sale', this.girdcolumssale, 1); - this.girdcolumssale.unshift(new Ext.grid.RowNumberer()); - // this.gridListSale.reconfigure(this.storeSaleList, this.girdcolumssale); - - this.gridListSale.addListener('itemdblclick', function (dataview, record, item, index, e, b) { - this.sqlselect = " B.SALE='" + record.data.SALE + "'"; - var openSet = "height=700, width=1024, toolbar=no, menubar=no,scrollbars=1, resizable=1,location=no, status=no,Top= " + (screen.height - 750) / 2 + ",Left= " + (screen.width - 1100) / 2 - var openType = "_blank"; - var openUrl = ""; - openUrl = "../MvcShipping/MsRptOpProfit/ViewIndex"; - - window.open(openUrl, openType, openSet); - // DsOpenEditWin("/TruckMng/MsWlPc/Edit"); - }, this); - - - this.gridListSale.addListener('sortchange', function (ct, column, direction, eOpts) { - this.salelistsortfield = column.dataIndex; - this.salelistsortdire = direction; - }, this); - -//#endregion - - //#region 委托单位 - this.storeCustList = Ext.create('Ext.data.Store', { - pageSize: this.PageSize, - fields: [ - { name: 'CUSTOMERNAME', type: 'string' }, - { name: 'CUSTFULLNAME', type: 'string' }, - { name: 'BSTYPE', type: 'string' }, - { name: 'BLCOUNT', type: 'number' }, - { name: 'NETWEIGHT', type: 'number' }, - { name: 'KGS', type: 'number' }, - { name: 'CBM', type: 'number' }, - { name: 'TEU', type: 'number' }, - { name: 'CNTR1', type: 'number' }, - { name: 'CNTR2', type: 'number' }, - { name: 'CNTR3', type: 'number' }, - { name: 'CNTR4', type: 'number' }, - { name: 'CNTR5', type: 'number' }, - { name: 'CNTR6', type: 'number' }, - { name: 'CNTR7', type: 'number' }, - { name: 'CNTR8', type: 'number' }, - { name: 'CNTR9', type: 'number' }, - { name: 'CNTR10', type: 'number' }, - { name: 'OTCNTR', type: 'number' }, - { name: 'RMBDR', type: 'number' }, - { name: 'RMBCR', type: 'number' }, - { name: 'USDDR', type: 'number' }, - { name: 'USDCR', type: 'number' }, - { name: 'OTDR', type: 'number' }, - { name: 'OTCR', type: 'number' }, - { name: 'TTLDR', type: 'number' }, - { name: 'TTLCR', type: 'number' }, - { name: 'TTLTAXDR', type: 'number' }, - { name: 'TTLTAXCR', type: 'number' }, - { name: 'TTLTAXPROFIT', type: 'number' }, - { name: 'RMBPROFIT', type: 'number' }, - { name: 'USDPROFIT', type: 'number' }, - { name: 'OTPROFIT', type: 'number' }, - { name: 'RMBPROFIT', type: 'number' }, - { name: 'USDPROFIT', type: 'number' }, - { name: 'OTPROFIT', type: 'number' }, - { name: 'TTLPROFIT', type: 'number' }, - { name: 'NOTAXRMBDR', type: 'number' }, - { name: 'NOTAXRMBCR', type: 'number' }, - { name: 'NOTAXUSDDR', type: 'number' }, - { name: 'NOTAXUSDCR', type: 'number' }, - { name: 'NOTAXOTDR', type: 'number' }, - { name: 'NOTAXOTCR', type: 'number' }, - { name: 'NOTAXTTLDR', type: 'number' }, - { name: 'NOTAXTTLCR', type: 'number' }, - { name: 'NOTAXRMBPROFIT', type: 'number' }, - { name: 'NOTAXUSDPROFIT', type: 'number' }, - { name: 'NOTAXOTPROFIT', type: 'number' }, - { name: 'NOTAXTTLPROFIT', type: 'number' }, - { name: 'NOACCTAXRMBDR', type: 'number' }, - { name: 'NOACCTAXRMBCR', type: 'number' }, - { name: 'NOACCTAXUSDDR', type: 'number' }, - { name: 'NOACCTAXUSDCR', type: 'number' }, - { name: 'NOACCTAXOTDR', type: 'number' }, - { name: 'NOACCTAXOTCR', type: 'number' }, - { name: 'NOACCTAXTTLDR', type: 'number' }, - { name: 'NOACCTAXTTLCR', type: 'number' }, - { name: 'NOACCTAXRMBPROFIT', type: 'number' }, - { name: 'NOACCTAXUSDPROFIT', type: 'number' }, - { name: 'NOACCTAXOTPROFIT', type: 'number' }, - { name: 'NOACCTAXTTLPROFIT', type: 'number' }, - { name: 'RMBNODR', type: 'number' }, - { name: 'USDNODR', type: 'number' }, - { name: 'OTNODR', type: 'number' }, - { name: 'TTLNODR', type: 'number' }, - { name: 'RMBNOCR', type: 'number' }, - { name: 'USDNOCR', type: 'number' }, - { name: 'OTNOCR', type: 'number' }, - { name: 'TTLNOCR', type: 'number' }, - { name: 'STLRMBDR', type: 'number' }, - { name: 'STLUSDDR', type: 'number' }, - { name: 'STLOTDR', type: 'number' }, - { name: 'STLTTLDR', type: 'number' }, - { name: 'STLRMBCR', type: 'number' }, - { name: 'STLUSDCR', type: 'number' }, - { name: 'STLOTCR', type: 'number' }, - { name: 'STLTTLCR', type: 'number' }, - { name: 'TTLPROFIT', type: 'number' }, - { name: 'PROFITRATE', type: 'number' }, - { name: 'NOTAXPROFITRATE', type: 'number' } - - ], - remoteSort: true, - proxy: { - type: 'ajax', - timeout: 120000, - url: '/MvcShipping/MsRptOpProfit/CustListData', - reader: { - id: '', - root: 'data', - totalProperty: 'totalCount' - } - } - }); - - //定义Grid - - this.initgirdcolumscust = [{ - sortable: true, - dataIndex: 'CUSTOMERNAME', - text: Zi.LAN.CUSTOMERNAME, - width: 80 - }, { - sortable: true, - dataIndex: 'CUSTFULLNAME', - text: Zi.LAN.CUSTFULLNAME, - width: 120 - }, { - sortable: true, - dataIndex: 'BLCOUNT', - text: Zi.LAN.BLCOUNT, - width: 80 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR1', - text: '箱型1', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR2', - text: '箱型2', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR3', - text: '箱型3', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR4', - text: '箱型4', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR5', - text: '箱型5', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR6', - text: '箱型6', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR7', - text: '箱型7', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR8', - text: '箱型8', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR9', - text: '箱型9', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR10', - text: '箱型10', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'OTCNTR', - text: Zi.LAN.OTCNTR, - width: 60 - }, { - sortable: true, - dataIndex: 'TEU', - text: 'TEU', - width: 80 - }, { - sortable: true, - dataIndex: 'KGS', - text: 'KGS', - width: 80 + sortable: true, + dataIndex: 'RMBPROFIT', + text: Zi.LAN.RMBPROFIT, + 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 '' + lsValue + ''; } } 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 }, { sortable: true, - dataIndex: 'CBM', - text: 'CBM', + dataIndex: 'USDDR', + text: Zi.LAN.USDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', width: 80 - }, { - text: Zi.LAN.ALLIN, - dataIndex: 'ALLIN', - columns: [{ - sortable: true, - dataIndex: 'RMBDR', - text: Zi.LAN.RMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBCR', - text: Zi.LAN.RMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBPROFIT', - text: Zi.LAN.RMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDDR', - text: Zi.LAN.USDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDCR', - text: Zi.LAN.USDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDPROFIT', - text: Zi.LAN.USDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTDR', - text: Zi.LAN.OTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTCR', - text: Zi.LAN.OTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTPROFIT', - text: Zi.LAN.OTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLDR', - text: Zi.LAN.TTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLCR', - text: Zi.LAN.TTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLPROFIT', - text: Zi.LAN.TTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'PROFITRATE', - text: Zi.LAN.PROFITRATE, - width: 80, - renderer: function (value, meta) { - if (value != 0) value = value + '%'; - return value; - } - }, { - sortable: true, - dataIndex: 'TTLTAXDR', - text: Zi.LAN.TTLTAXDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLTAXCR', - text: Zi.LAN.TTLTAXCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLTAXPROFIT', - text: Zi.LAN.TTLTAXPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }] - }, { - text: Zi.LAN.ALLBALANCE, - dataIndex: 'ALLBALANCE', - columns: [{ - sortable: true, - dataIndex: 'STLRMBDR', - text: Zi.LAN.STLRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBNODR', - text: Zi.LAN.RMBNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLUSDDR', - text: Zi.LAN.STLUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDNODR', - text: Zi.LAN.USDNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLOTDR', - text: Zi.LAN.STLOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTNODR', - text: Zi.LAN.OTNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLTTLDR', - text: Zi.LAN.STLTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLNODR', - text: Zi.LAN.TTLNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLRMBCR', - text: Zi.LAN.STLRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBNOCR', - text: Zi.LAN.RMBNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLUSDCR', - text: Zi.LAN.STLUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDNOCR', - text: Zi.LAN.USDNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLOTCR', - text: Zi.LAN.STLOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTNOCR', - text: Zi.LAN.OTNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLTTLCR', - text: Zi.LAN.STLTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLNOCR', - text: Zi.LAN.TTLNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }] - }, { - text: Zi.LAN.ALLNOTAX, - dataIndex: 'ALLNOTAX', - columns: [{ - sortable: true, - dataIndex: 'NOTAXRMBDR', - text: Zi.LAN.NOTAXRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXRMBCR', - text: Zi.LAN.NOTAXRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXRMBPROFIT', - text: Zi.LAN.NOTAXRMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDDR', - text: Zi.LAN.NOTAXUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDCR', - text: Zi.LAN.NOTAXUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDPROFIT', - text: Zi.LAN.NOTAXUSDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTDR', - text: Zi.LAN.NOTAXOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTCR', - text: Zi.LAN.NOTAXOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTPROFIT', - text: Zi.LAN.NOTAXOTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLDR', - text: Zi.LAN.NOTAXTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLCR', - text: Zi.LAN.NOTAXTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLPROFIT', - text: Zi.LAN.NOTAXTTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXPROFITRATE', - text: Zi.LAN.NOTAXPROFITRATE, - width: 80, - renderer: function (value, meta) { - if (value != 0) value = value + '%'; - return value; - } - }] - }, { - text: Zi.LAN.ALLNOACCTAX, - dataIndex: 'ALLNOACCTAX', - columns: [{ - sortable: true, - dataIndex: 'NOACCTAXRMBDR', - text: Zi.LAN.NOACCTAXRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXRMBCR', - text: Zi.LAN.NOACCTAXRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXRMBPROFIT', - text: Zi.LAN.NOACCTAXRMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDDR', - text: Zi.LAN.NOACCTAXUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDCR', - text: Zi.LAN.NOACCTAXUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDPROFIT', - text: Zi.LAN.NOACCTAXUSDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTDR', - text: Zi.LAN.NOACCTAXOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTCR', - text: Zi.LAN.NOACCTAXOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTPROFIT', - text: Zi.LAN.NOACCTAXOTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLDR', - text: Zi.LAN.NOACCTAXTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLCR', - text: Zi.LAN.NOACCTAXTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLPROFIT', - text: Zi.LAN.NOACCTAXTTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }] - } - - - ]; - // this.girdcolumscust = this.initgirdcolumscust; - this.girdcolumscust = DsTruck.GetGridPanel(USERID, this.formname + 'cust', this.initgirdcolumscust, 1); - this.girdcolumscust.unshift(new Ext.grid.RowNumberer()); - - this.gridListCust = new Ext.grid.GridPanel({ - store: this.storeCustList, - enableHdMenu: false, - region: 'center', - loadMask: { msg: Zi.LAN.ShuJuJiaZaiZhongQingShaoDeng }, - trackMouseOver: true, - disableSelection: false, - columns: this.girdcolumscust, - viewConfig: { - enableTextSelection: true, //允许复制数据 - autoFill: true - }, - // paging bar on the bottom - bbar: Ext.create('Ext.PagingToolbar', { - store: this.storeCustList, - displayInfo: true, - displayMsg: Zi.LAN.displayMsg, - emptyMsg: Zi.LAN.emptyMsg - }) - }); - // this.gridListCust.reconfigure(this.storeCustList, this.girdcolumscust); - - this.gridListCust.addListener('itemdblclick', function (dataview, record, item, index, e, b) { - this.sqlselect = " B.CUSTOMERNAME='" + record.data.CUSTOMERNAME + "'"; - var openSet = "height=700, width=1024, toolbar=no, menubar=no,scrollbars=1, resizable=1,location=no, status=no,Top= " + (screen.height - 750) / 2 + ",Left= " + (screen.width - 1100) / 2 - var openType = "_blank"; - var openUrl = ""; - openUrl = "../MvcShipping/MsRptOpProfit/ViewIndex"; - - window.open(openUrl, openType, openSet); - // DsOpenEditWin("/TruckMng/MsWlPc/Edit"); - }, this); - - this.gridListCust.addListener('sortchange', function (ct, column, direction, eOpts) { - this.custlistsortfield = column.dataIndex; - this.custlistsortdire = direction; - }, this); -//#endregion - - - //#region 船公司 - - this.storeCarrierList = Ext.create('Ext.data.Store', { - pageSize: this.PageSize, - fields: [ - { name: 'CARRIER', type: 'string' }, - { name: 'BSTYPE', type: 'string' }, - { name: 'BLCOUNT', type: 'number' }, - { name: 'NETWEIGHT', type: 'number' }, - { name: 'KGS', type: 'number' }, - { name: 'CBM', type: 'number' }, - { name: 'TEU', type: 'number' }, - { name: 'CNTR1', type: 'number' }, - { name: 'CNTR2', type: 'number' }, - { name: 'CNTR3', type: 'number' }, - { name: 'CNTR4', type: 'number' }, - { name: 'CNTR5', type: 'number' }, - { name: 'CNTR6', type: 'number' }, - { name: 'CNTR7', type: 'number' }, - { name: 'CNTR8', type: 'number' }, - { name: 'CNTR9', type: 'number' }, - { name: 'CNTR10', type: 'number' }, - { name: 'OTCNTR', type: 'number' }, - { name: 'RMBDR', type: 'number' }, - { name: 'RMBCR', type: 'number' }, - { name: 'USDDR', type: 'number' }, - { name: 'USDCR', type: 'number' }, - { name: 'OTDR', type: 'number' }, - { name: 'OTCR', type: 'number' }, - { name: 'TTLDR', type: 'number' }, - { name: 'TTLCR', type: 'number' }, - { name: 'TTLTAXDR', type: 'number' }, - { name: 'TTLTAXCR', type: 'number' }, - { name: 'TTLTAXPROFIT', type: 'number' }, - { name: 'RMBPROFIT', type: 'number' }, - { name: 'USDPROFIT', type: 'number' }, - { name: 'OTPROFIT', type: 'number' }, - { name: 'RMBPROFIT', type: 'number' }, - { name: 'USDPROFIT', type: 'number' }, - { name: 'OTPROFIT', type: 'number' }, - { name: 'TTLPROFIT', type: 'number' }, - { name: 'NOTAXRMBDR', type: 'number' }, - { name: 'NOTAXRMBCR', type: 'number' }, - { name: 'NOTAXUSDDR', type: 'number' }, - { name: 'NOTAXUSDCR', type: 'number' }, - { name: 'NOTAXOTDR', type: 'number' }, - { name: 'NOTAXOTCR', type: 'number' }, - { name: 'NOTAXTTLDR', type: 'number' }, - { name: 'NOTAXTTLCR', type: 'number' }, - { name: 'NOTAXRMBPROFIT', type: 'number' }, - { name: 'NOTAXUSDPROFIT', type: 'number' }, - { name: 'NOTAXOTPROFIT', type: 'number' }, - { name: 'NOTAXTTLPROFIT', type: 'number' }, - { name: 'NOACCTAXRMBDR', type: 'number' }, - { name: 'NOACCTAXRMBCR', type: 'number' }, - { name: 'NOACCTAXUSDDR', type: 'number' }, - { name: 'NOACCTAXUSDCR', type: 'number' }, - { name: 'NOACCTAXOTDR', type: 'number' }, - { name: 'NOACCTAXOTCR', type: 'number' }, - { name: 'NOACCTAXTTLDR', type: 'number' }, - { name: 'NOACCTAXTTLCR', type: 'number' }, - { name: 'NOACCTAXRMBPROFIT', type: 'number' }, - { name: 'NOACCTAXUSDPROFIT', type: 'number' }, - { name: 'NOACCTAXOTPROFIT', type: 'number' }, - { name: 'NOACCTAXTTLPROFIT', type: 'number' }, - { name: 'RMBNODR', type: 'number' }, - { name: 'USDNODR', type: 'number' }, - { name: 'OTNODR', type: 'number' }, - { name: 'TTLNODR', type: 'number' }, - { name: 'RMBNOCR', type: 'number' }, - { name: 'USDNOCR', type: 'number' }, - { name: 'OTNOCR', type: 'number' }, - { name: 'TTLNOCR', type: 'number' }, - { name: 'STLRMBDR', type: 'number' }, - { name: 'STLUSDDR', type: 'number' }, - { name: 'STLOTDR', type: 'number' }, - { name: 'STLTTLDR', type: 'number' }, - { name: 'STLRMBCR', type: 'number' }, - { name: 'STLUSDCR', type: 'number' }, - { name: 'STLOTCR', type: 'number' }, - { name: 'STLTTLCR', type: 'number' }, - { name: 'TTLPROFIT', type: 'number' }, - { name: 'PROFITRATE', type: 'number' }, - { name: 'NOTAXPROFITRATE', type: 'number' } - - ], - remoteSort: true, - proxy: { - type: 'ajax', - timeout: 120000, - url: '/MvcShipping/MsRptOpProfit/CarrierListData', - reader: { - id: '', - root: 'data', - totalProperty: 'totalCount' - } - } - }); - - //定义Grid - - this.initgirdcolumscarrier = [{ - sortable: true, - dataIndex: 'CARRIER', - text: Zi.LAN.CARRIER, - width: 80 - }, { - sortable: true, - dataIndex: 'BSTYPE', - text: Zi.LAN.BSTYPE, - width: 80 - }, { - sortable: true, - dataIndex: 'BLCOUNT', - text: Zi.LAN.BLCOUNT, - width: 80 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR1', - text: '箱型1', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR2', - text: '箱型2', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR3', - text: '箱型3', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR4', - text: '箱型4', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR5', - text: '箱型5', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR6', - text: '箱型6', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR7', - text: '箱型7', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR8', - text: '箱型8', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR9', - text: '箱型9', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR10', - text: '箱型10', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'OTCNTR', - text: Zi.LAN.OTCNTR, - width: 60 - }, { - sortable: true, - dataIndex: 'TEU', - text: 'TEU', - width: 80 - }, { - sortable: true, - dataIndex: 'KGS', - text: 'KGS', - width: 80 }, { sortable: true, - dataIndex: 'CBM', - text: 'CBM', + dataIndex: 'USDCR', + text: Zi.LAN.USDCR, + 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 '' + lsValue + ''; } } 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 }, { - text: Zi.LAN.ALLIN, - dataIndex: 'ALLIN', - columns: [{ - sortable: true, - dataIndex: 'RMBDR', - text: Zi.LAN.RMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBCR', - text: Zi.LAN.RMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBPROFIT', - text: Zi.LAN.RMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDDR', - text: Zi.LAN.USDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDCR', - text: Zi.LAN.USDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDPROFIT', - text: Zi.LAN.USDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTDR', - text: Zi.LAN.OTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTCR', - text: Zi.LAN.OTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTPROFIT', - text: Zi.LAN.OTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLDR', - text: Zi.LAN.TTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLCR', - text: Zi.LAN.TTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLPROFIT', - text: Zi.LAN.TTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'PROFITRATE', - text: Zi.LAN.PROFITRATE, - width: 80, - renderer: function (value, meta) { - if (value != 0) value = value + '%'; - return value; - } - }, { - sortable: true, - dataIndex: 'TTLTAXDR', - text: Zi.LAN.TTLTAXDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLTAXCR', - text: Zi.LAN.TTLTAXCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLTAXPROFIT', - text: Zi.LAN.TTLTAXPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }] - }, { - text: Zi.LAN.ALLBALANCE, - dataIndex: 'ALLBALANCE', - columns: [{ - sortable: true, - dataIndex: 'STLRMBDR', - text: Zi.LAN.STLRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBNODR', - text: Zi.LAN.RMBNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLUSDDR', - text: Zi.LAN.STLUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDNODR', - text: Zi.LAN.USDNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLOTDR', - text: Zi.LAN.STLOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTNODR', - text: Zi.LAN.OTNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLTTLDR', - text: Zi.LAN.STLTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLNODR', - text: Zi.LAN.TTLNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLRMBCR', - text: Zi.LAN.STLRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBNOCR', - text: Zi.LAN.RMBNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLUSDCR', - text: Zi.LAN.STLUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDNOCR', - text: Zi.LAN.USDNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLOTCR', - text: Zi.LAN.STLOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTNOCR', - text: Zi.LAN.OTNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLTTLCR', - text: Zi.LAN.STLTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLNOCR', - text: Zi.LAN.TTLNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }] - }, { - text: Zi.LAN.ALLNOTAX, - dataIndex: 'ALLNOTAX', - columns: [{ - sortable: true, - dataIndex: 'NOTAXRMBDR', - text: Zi.LAN.NOTAXRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXRMBCR', - text: Zi.LAN.NOTAXRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXRMBPROFIT', - text: Zi.LAN.NOTAXRMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDDR', - text: Zi.LAN.NOTAXUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDCR', - text: Zi.LAN.NOTAXUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDPROFIT', - text: Zi.LAN.NOTAXUSDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTDR', - text: Zi.LAN.NOTAXOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTCR', - text: Zi.LAN.NOTAXOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTPROFIT', - text: Zi.LAN.NOTAXOTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLDR', - text: Zi.LAN.NOTAXTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLCR', - text: Zi.LAN.NOTAXTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLPROFIT', - text: Zi.LAN.NOTAXTTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXPROFITRATE', - text: Zi.LAN.NOTAXPROFITRATE, - width: 80, - renderer: function (value, meta) { - if (value != 0) value = value + '%'; - return value; - } - }] - }, { - text: Zi.LAN.ALLNOACCTAX, - dataIndex: 'ALLNOACCTAX', - columns: [{ - sortable: true, - dataIndex: 'NOACCTAXRMBDR', - text: Zi.LAN.NOACCTAXRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXRMBCR', - text: Zi.LAN.NOACCTAXRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXRMBPROFIT', - text: Zi.LAN.NOACCTAXRMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDDR', - text: Zi.LAN.NOACCTAXUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDCR', - text: Zi.LAN.NOACCTAXUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDPROFIT', - text: Zi.LAN.NOACCTAXUSDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTDR', - text: Zi.LAN.NOACCTAXOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTCR', - text: Zi.LAN.NOACCTAXOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTPROFIT', - text: Zi.LAN.NOACCTAXOTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLDR', - text: Zi.LAN.NOACCTAXTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLCR', - text: Zi.LAN.NOACCTAXTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLPROFIT', - text: Zi.LAN.NOACCTAXTTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }] + sortable: true, + dataIndex: 'USDPROFIT', + text: Zi.LAN.USDPROFIT, + 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 '' + lsValue + ''; } } 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 + }, { + sortable: true, + dataIndex: 'OTDR', + text: Zi.LAN.OTDR, + 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 '' + lsValue + ''; } } 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 + }, { + sortable: true, + dataIndex: 'OTCR', + text: Zi.LAN.OTCR, + 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 '' + lsValue + ''; } } 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 + }, { + sortable: true, + dataIndex: 'OTPROFIT', + text: Zi.LAN.OTPROFIT, + 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 '' + lsValue + ''; } } 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 + }, { + sortable: true, + dataIndex: 'TTLDR', + text: Zi.LAN.TTLDR, + 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 '' + lsValue + ''; } } 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 + }, { + sortable: true, + dataIndex: 'TTLCR', + text: Zi.LAN.TTLCR, + 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 '' + lsValue + ''; } } 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 + }, { + sortable: true, + dataIndex: 'TTLPROFIT', + text: Zi.LAN.TTLPROFIT, + 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 '' + lsValue + ''; } } 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 + }, { + sortable: true, + dataIndex: 'PROFITRATE', + text: Zi.LAN.PROFITRATE, + width: 80, + renderer: function (value, meta) { + if (value != 0) value = value + '%'; + return value; + } + }, { + sortable: true, + dataIndex: 'TTLTAXDR', + text: Zi.LAN.TTLTAXDR, + 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 '' + lsValue + ''; } } 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 + }, { + sortable: true, + dataIndex: 'TTLTAXCR', + text: Zi.LAN.TTLTAXCR, + 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 '' + lsValue + ''; } } 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 + }, { + sortable: true, + dataIndex: 'TTLTAXPROFIT', + text: Zi.LAN.TTLTAXPROFIT, + 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 '' + lsValue + ''; } } 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 + }] + }, { + text: Zi.LAN.ALLBALANCE, + dataIndex: 'ALLBALANCE', + columns: [{ + sortable: true, + dataIndex: 'STLRMBDR', + text: Zi.LAN.STLRMBDR, + 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 '' + lsValue + ''; } } 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 + }, { + sortable: true, + dataIndex: 'RMBNODR', + text: Zi.LAN.RMBNODR, + 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 '' + lsValue + ''; } } 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 + }, { + sortable: true, + dataIndex: 'STLUSDDR', + text: Zi.LAN.STLUSDDR, + 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 '' + lsValue + ''; } } 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 + }, { + sortable: true, + dataIndex: 'USDNODR', + text: Zi.LAN.USDNODR, + 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 '' + lsValue + ''; } } 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 + }, { + sortable: true, + dataIndex: 'STLOTDR', + text: Zi.LAN.STLOTDR, + 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 '' + lsValue + ''; } } 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 + }, { + sortable: true, + dataIndex: 'OTNODR', + text: Zi.LAN.OTNODR, + 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 '' + lsValue + ''; } } 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 + }, { + sortable: true, + dataIndex: 'STLTTLDR', + text: Zi.LAN.STLTTLDR, + 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 '' + lsValue + ''; } } 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 + }, { + sortable: true, + dataIndex: 'TTLNODR', + text: Zi.LAN.TTLNODR, + 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 '' + lsValue + ''; } } 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 + }, { + sortable: true, + dataIndex: 'STLRMBCR', + text: Zi.LAN.STLRMBCR, + 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 '' + lsValue + ''; } } 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 + }, { + sortable: true, + dataIndex: 'RMBNOCR', + text: Zi.LAN.RMBNOCR, + 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 '' + lsValue + ''; } } 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 + }, { + sortable: true, + dataIndex: 'STLUSDCR', + text: Zi.LAN.STLUSDCR, + 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 '' + lsValue + ''; } } 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 + }, { + sortable: true, + dataIndex: 'USDNOCR', + text: Zi.LAN.USDNOCR, + 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 '' + lsValue + ''; } } 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 + }, { + sortable: true, + dataIndex: 'STLOTCR', + text: Zi.LAN.STLOTCR, + 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 '' + lsValue + ''; } } 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 + }, { + sortable: true, + dataIndex: 'OTNOCR', + text: Zi.LAN.OTNOCR, + 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 '' + lsValue + ''; } } 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 + }, { + sortable: true, + dataIndex: 'STLTTLCR', + text: Zi.LAN.STLTTLCR, + 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 '' + lsValue + ''; } } 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 + }, { + sortable: true, + dataIndex: 'TTLNOCR', + text: Zi.LAN.TTLNOCR, + 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 '' + lsValue + ''; } } 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 + }] + }, { + text: Zi.LAN.ALLNOTAX, + dataIndex: 'ALLNOTAX', + columns: [{ + sortable: true, + dataIndex: 'NOTAXRMBDR', + text: Zi.LAN.NOTAXRMBDR, + 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 '' + lsValue + ''; } } 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: 90 + }, { + sortable: true, + dataIndex: 'NOTAXRMBCR', + text: Zi.LAN.NOTAXRMBCR, + 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 '' + lsValue + ''; } } 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: 90 + }, { + sortable: true, + dataIndex: 'NOTAXRMBPROFIT', + text: Zi.LAN.NOTAXRMBPROFIT, + 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 '' + lsValue + ''; } } 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: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDDR', + text: Zi.LAN.NOTAXUSDDR, + 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 '' + lsValue + ''; } } 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: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDCR', + text: Zi.LAN.NOTAXUSDCR, + 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 '' + lsValue + ''; } } 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: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDPROFIT', + text: Zi.LAN.NOTAXUSDPROFIT, + 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 '' + lsValue + ''; } } 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: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTDR', + text: Zi.LAN.NOTAXOTDR, + 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 '' + lsValue + ''; } } 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: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTCR', + text: Zi.LAN.NOTAXOTCR, + 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 '' + lsValue + ''; } } 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: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTPROFIT', + text: Zi.LAN.NOTAXOTPROFIT, + 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 '' + lsValue + ''; } } 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: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLDR', + text: Zi.LAN.NOTAXTTLDR, + 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 '' + lsValue + ''; } } 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: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLCR', + text: Zi.LAN.NOTAXTTLCR, + 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 '' + lsValue + ''; } } 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: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLPROFIT', + text: Zi.LAN.NOTAXTTLPROFIT, + 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 '' + lsValue + ''; } } 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: 90 + }, { + sortable: true, + dataIndex: 'NOTAXPROFITRATE', + text: Zi.LAN.NOTAXPROFITRATE, + width: 80, + renderer: function (value, meta) { + if (value != 0) value = value + '%'; + return value; + } + }] + }, { + text: Zi.LAN.ALLNOACCTAX, + dataIndex: 'ALLNOACCTAX', + columns: [{ + sortable: true, + dataIndex: 'NOACCTAXRMBDR', + text: Zi.LAN.NOACCTAXRMBDR, + 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 '' + lsValue + ''; } } 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: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXRMBCR', + text: Zi.LAN.NOACCTAXRMBCR, + 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 '' + lsValue + ''; } } 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: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXRMBPROFIT', + text: Zi.LAN.NOACCTAXRMBPROFIT, + 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 '' + lsValue + ''; } } 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: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDDR', + text: Zi.LAN.NOACCTAXUSDDR, + 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 '' + lsValue + ''; } } 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: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDCR', + text: Zi.LAN.NOACCTAXUSDCR, + 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 '' + lsValue + ''; } } 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: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDPROFIT', + text: Zi.LAN.NOACCTAXUSDPROFIT, + 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 '' + lsValue + ''; } } 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: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTDR', + text: Zi.LAN.NOACCTAXOTDR, + 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 '' + lsValue + ''; } } 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: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTCR', + text: Zi.LAN.NOACCTAXOTCR, + 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 '' + lsValue + ''; } } 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: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTPROFIT', + text: Zi.LAN.NOACCTAXOTPROFIT, + 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 '' + lsValue + ''; } } 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: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLDR', + text: Zi.LAN.NOACCTAXTTLDR, + 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 '' + lsValue + ''; } } 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: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLCR', + text: Zi.LAN.NOACCTAXTTLCR, + 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 '' + lsValue + ''; } } 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: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLPROFIT', + text: Zi.LAN.NOACCTAXTTLPROFIT, + 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 '' + lsValue + ''; } } 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: 90 + }] + } + + ]; + + this.girdcolumssale = this.initgirdcolumssale; + var showSummary = true; + this.gridListSale = new Ext.grid.GridPanel({ + store: this.storeSaleList, + enableHdMenu: false, + region: 'center', + loadMask: { msg: Zi.LAN.ShuJuJiaZaiZhongQingShaoDeng }, + trackMouseOver: true, + disableSelection: false, + viewConfig: { + enableTextSelection: true, //允许复制数据 + autoFill: true + }, + features: [{ + id: 'group', + ftype: 'groupingsummary', + groupHeaderTpl: '{name}', + hideGroupedHeader: true, + enableGroupingMenu: true + }], + columns: this.girdcolumssale, + // paging bar on the bottom + bbar: Ext.create('Ext.PagingToolbar', { + store: this.storeSaleList, + displayInfo: true, + displayMsg: Zi.LAN.displayMsg, + emptyMsg: Zi.LAN.emptyMsg + }) + }); + + this.girdcolumssale = DsTruck.GetGridPanel(USERID, this.formname + 'sale', this.girdcolumssale, 1); + this.girdcolumssale.unshift(new Ext.grid.RowNumberer()); + // this.gridListSale.reconfigure(this.storeSaleList, this.girdcolumssale); + + this.gridListSale.addListener('itemdblclick', function (dataview, record, item, index, e, b) { + this.sqlselect = " B.SALE='" + record.data.SALE + "'"; + var openSet = "height=700, width=1024, toolbar=no, menubar=no,scrollbars=1, resizable=1,location=no, status=no,Top= " + (screen.height - 750) / 2 + ",Left= " + (screen.width - 1100) / 2 + var openType = "_blank"; + var openUrl = ""; + openUrl = "../MvcShipping/MsRptOpProfit/ViewIndex"; + + window.open(openUrl, openType, openSet); + // DsOpenEditWin("/TruckMng/MsWlPc/Edit"); + }, this); + + + this.gridListSale.addListener('sortchange', function (ct, column, direction, eOpts) { + this.salelistsortfield = column.dataIndex; + this.salelistsortdire = direction; + }, this); + + //#endregion + + //#region 委托单位 + this.storeCustList = Ext.create('Ext.data.Store', { + pageSize: this.PageSize, + fields: [ + { name: 'CUSTOMERNAME', type: 'string' }, + { name: 'CUSTFULLNAME', type: 'string' }, + { name: 'BSTYPE', type: 'string' }, + { name: 'BLCOUNT', type: 'number' }, + { name: 'NETWEIGHT', type: 'number' }, + { name: 'KGS', type: 'number' }, + { name: 'CBM', type: 'number' }, + { name: 'TEU', type: 'number' }, + { name: 'CNTR1', type: 'number' }, + { name: 'CNTR2', type: 'number' }, + { name: 'CNTR3', type: 'number' }, + { name: 'CNTR4', type: 'number' }, + { name: 'CNTR5', type: 'number' }, + { name: 'CNTR6', type: 'number' }, + { name: 'CNTR7', type: 'number' }, + { name: 'CNTR8', type: 'number' }, + { name: 'CNTR9', type: 'number' }, + { name: 'CNTR10', type: 'number' }, + { name: 'OTCNTR', type: 'number' }, + { name: 'RMBDR', type: 'number' }, + { name: 'RMBCR', type: 'number' }, + { name: 'USDDR', type: 'number' }, + { name: 'USDCR', type: 'number' }, + { name: 'OTDR', type: 'number' }, + { name: 'OTCR', type: 'number' }, + { name: 'TTLDR', type: 'number' }, + { name: 'TTLCR', type: 'number' }, + { name: 'TTLTAXDR', type: 'number' }, + { name: 'TTLTAXCR', type: 'number' }, + { name: 'TTLTAXPROFIT', type: 'number' }, + { name: 'RMBPROFIT', type: 'number' }, + { name: 'USDPROFIT', type: 'number' }, + { name: 'OTPROFIT', type: 'number' }, + { name: 'RMBPROFIT', type: 'number' }, + { name: 'USDPROFIT', type: 'number' }, + { name: 'OTPROFIT', type: 'number' }, + { name: 'TTLPROFIT', type: 'number' }, + { name: 'NOTAXRMBDR', type: 'number' }, + { name: 'NOTAXRMBCR', type: 'number' }, + { name: 'NOTAXUSDDR', type: 'number' }, + { name: 'NOTAXUSDCR', type: 'number' }, + { name: 'NOTAXOTDR', type: 'number' }, + { name: 'NOTAXOTCR', type: 'number' }, + { name: 'NOTAXTTLDR', type: 'number' }, + { name: 'NOTAXTTLCR', type: 'number' }, + { name: 'NOTAXRMBPROFIT', type: 'number' }, + { name: 'NOTAXUSDPROFIT', type: 'number' }, + { name: 'NOTAXOTPROFIT', type: 'number' }, + { name: 'NOTAXTTLPROFIT', type: 'number' }, + { name: 'NOACCTAXRMBDR', type: 'number' }, + { name: 'NOACCTAXRMBCR', type: 'number' }, + { name: 'NOACCTAXUSDDR', type: 'number' }, + { name: 'NOACCTAXUSDCR', type: 'number' }, + { name: 'NOACCTAXOTDR', type: 'number' }, + { name: 'NOACCTAXOTCR', type: 'number' }, + { name: 'NOACCTAXTTLDR', type: 'number' }, + { name: 'NOACCTAXTTLCR', type: 'number' }, + { name: 'NOACCTAXRMBPROFIT', type: 'number' }, + { name: 'NOACCTAXUSDPROFIT', type: 'number' }, + { name: 'NOACCTAXOTPROFIT', type: 'number' }, + { name: 'NOACCTAXTTLPROFIT', type: 'number' }, + { name: 'RMBNODR', type: 'number' }, + { name: 'USDNODR', type: 'number' }, + { name: 'OTNODR', type: 'number' }, + { name: 'TTLNODR', type: 'number' }, + { name: 'RMBNOCR', type: 'number' }, + { name: 'USDNOCR', type: 'number' }, + { name: 'OTNOCR', type: 'number' }, + { name: 'TTLNOCR', type: 'number' }, + { name: 'STLRMBDR', type: 'number' }, + { name: 'STLUSDDR', type: 'number' }, + { name: 'STLOTDR', type: 'number' }, + { name: 'STLTTLDR', type: 'number' }, + { name: 'STLRMBCR', type: 'number' }, + { name: 'STLUSDCR', type: 'number' }, + { name: 'STLOTCR', type: 'number' }, + { name: 'STLTTLCR', type: 'number' }, + { name: 'TTLPROFIT', type: 'number' }, + { name: 'PROFITRATE', type: 'number' }, + { name: 'NOTAXPROFITRATE', type: 'number' } + + ], + remoteSort: true, + proxy: { + type: 'ajax', + timeout: 120000, + url: '/MvcShipping/MsRptOpProfit/CustListData', + reader: { + id: '', + root: 'data', + totalProperty: 'totalCount' + } + } + }); + + //定义Grid + + this.initgirdcolumscust = [{ + sortable: true, + dataIndex: 'CUSTOMERNAME', + text: Zi.LAN.CUSTOMERNAME, + width: 80 + }, { + sortable: true, + dataIndex: 'CUSTFULLNAME', + text: Zi.LAN.CUSTFULLNAME, + width: 120 + }, { + sortable: true, + dataIndex: 'BLCOUNT', + text: Zi.LAN.BLCOUNT, + width: 80 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR1', + text: '箱型1', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR2', + text: '箱型2', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR3', + text: '箱型3', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR4', + text: '箱型4', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR5', + text: '箱型5', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR6', + text: '箱型6', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR7', + text: '箱型7', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR8', + text: '箱型8', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR9', + text: '箱型9', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR10', + text: '箱型10', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'OTCNTR', + text: Zi.LAN.OTCNTR, + width: 60 + }, { + sortable: true, + dataIndex: 'TEU', + text: 'TEU', + width: 80 + }, { + sortable: true, + dataIndex: 'KGS', + text: 'KGS', + width: 80 + }, { + sortable: true, + dataIndex: 'CBM', + text: 'CBM', + width: 80 + }, { + text: Zi.LAN.ALLIN, + dataIndex: 'ALLIN', + columns: [{ + sortable: true, + dataIndex: 'RMBDR', + text: Zi.LAN.RMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBCR', + text: Zi.LAN.RMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBPROFIT', + text: Zi.LAN.RMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDDR', + text: Zi.LAN.USDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDCR', + text: Zi.LAN.USDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDPROFIT', + text: Zi.LAN.USDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTDR', + text: Zi.LAN.OTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTCR', + text: Zi.LAN.OTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTPROFIT', + text: Zi.LAN.OTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLDR', + text: Zi.LAN.TTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLCR', + text: Zi.LAN.TTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLPROFIT', + text: Zi.LAN.TTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'PROFITRATE', + text: Zi.LAN.PROFITRATE, + width: 80, + renderer: function (value, meta) { + if (value != 0) value = value + '%'; + return value; + } + }, { + sortable: true, + dataIndex: 'TTLTAXDR', + text: Zi.LAN.TTLTAXDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLTAXCR', + text: Zi.LAN.TTLTAXCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLTAXPROFIT', + text: Zi.LAN.TTLTAXPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }] + }, { + text: Zi.LAN.ALLBALANCE, + dataIndex: 'ALLBALANCE', + columns: [{ + sortable: true, + dataIndex: 'STLRMBDR', + text: Zi.LAN.STLRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBNODR', + text: Zi.LAN.RMBNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLUSDDR', + text: Zi.LAN.STLUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDNODR', + text: Zi.LAN.USDNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLOTDR', + text: Zi.LAN.STLOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTNODR', + text: Zi.LAN.OTNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLTTLDR', + text: Zi.LAN.STLTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLNODR', + text: Zi.LAN.TTLNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLRMBCR', + text: Zi.LAN.STLRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBNOCR', + text: Zi.LAN.RMBNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLUSDCR', + text: Zi.LAN.STLUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDNOCR', + text: Zi.LAN.USDNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLOTCR', + text: Zi.LAN.STLOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTNOCR', + text: Zi.LAN.OTNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLTTLCR', + text: Zi.LAN.STLTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLNOCR', + text: Zi.LAN.TTLNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }] + }, { + text: Zi.LAN.ALLNOTAX, + dataIndex: 'ALLNOTAX', + columns: [{ + sortable: true, + dataIndex: 'NOTAXRMBDR', + text: Zi.LAN.NOTAXRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXRMBCR', + text: Zi.LAN.NOTAXRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXRMBPROFIT', + text: Zi.LAN.NOTAXRMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDDR', + text: Zi.LAN.NOTAXUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDCR', + text: Zi.LAN.NOTAXUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDPROFIT', + text: Zi.LAN.NOTAXUSDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTDR', + text: Zi.LAN.NOTAXOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTCR', + text: Zi.LAN.NOTAXOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTPROFIT', + text: Zi.LAN.NOTAXOTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLDR', + text: Zi.LAN.NOTAXTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLCR', + text: Zi.LAN.NOTAXTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLPROFIT', + text: Zi.LAN.NOTAXTTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXPROFITRATE', + text: Zi.LAN.NOTAXPROFITRATE, + width: 80, + renderer: function (value, meta) { + if (value != 0) value = value + '%'; + return value; + } + }] + }, { + text: Zi.LAN.ALLNOACCTAX, + dataIndex: 'ALLNOACCTAX', + columns: [{ + sortable: true, + dataIndex: 'NOACCTAXRMBDR', + text: Zi.LAN.NOACCTAXRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXRMBCR', + text: Zi.LAN.NOACCTAXRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXRMBPROFIT', + text: Zi.LAN.NOACCTAXRMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDDR', + text: Zi.LAN.NOACCTAXUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDCR', + text: Zi.LAN.NOACCTAXUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDPROFIT', + text: Zi.LAN.NOACCTAXUSDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTDR', + text: Zi.LAN.NOACCTAXOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTCR', + text: Zi.LAN.NOACCTAXOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTPROFIT', + text: Zi.LAN.NOACCTAXOTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLDR', + text: Zi.LAN.NOACCTAXTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLCR', + text: Zi.LAN.NOACCTAXTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLPROFIT', + text: Zi.LAN.NOACCTAXTTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }] + } + + + ]; + // this.girdcolumscust = this.initgirdcolumscust; + this.girdcolumscust = DsTruck.GetGridPanel(USERID, this.formname + 'cust', this.initgirdcolumscust, 1); + this.girdcolumscust.unshift(new Ext.grid.RowNumberer()); + + this.gridListCust = new Ext.grid.GridPanel({ + store: this.storeCustList, + enableHdMenu: false, + region: 'center', + loadMask: { msg: Zi.LAN.ShuJuJiaZaiZhongQingShaoDeng }, + trackMouseOver: true, + disableSelection: false, + columns: this.girdcolumscust, + viewConfig: { + enableTextSelection: true, //允许复制数据 + autoFill: true + }, + // paging bar on the bottom + bbar: Ext.create('Ext.PagingToolbar', { + store: this.storeCustList, + displayInfo: true, + displayMsg: Zi.LAN.displayMsg, + emptyMsg: Zi.LAN.emptyMsg + }) + }); + // this.gridListCust.reconfigure(this.storeCustList, this.girdcolumscust); + + this.gridListCust.addListener('itemdblclick', function (dataview, record, item, index, e, b) { + this.sqlselect = " B.CUSTOMERNAME='" + record.data.CUSTOMERNAME + "'"; + var openSet = "height=700, width=1024, toolbar=no, menubar=no,scrollbars=1, resizable=1,location=no, status=no,Top= " + (screen.height - 750) / 2 + ",Left= " + (screen.width - 1100) / 2 + var openType = "_blank"; + var openUrl = ""; + openUrl = "../MvcShipping/MsRptOpProfit/ViewIndex"; + + window.open(openUrl, openType, openSet); + // DsOpenEditWin("/TruckMng/MsWlPc/Edit"); + }, this); + + this.gridListCust.addListener('sortchange', function (ct, column, direction, eOpts) { + this.custlistsortfield = column.dataIndex; + this.custlistsortdire = direction; + }, this); + //#endregion + + + //#region 船公司 + + this.storeCarrierList = Ext.create('Ext.data.Store', { + pageSize: this.PageSize, + fields: [ + { name: 'CARRIER', type: 'string' }, + { name: 'BSTYPE', type: 'string' }, + { name: 'BLCOUNT', type: 'number' }, + { name: 'NETWEIGHT', type: 'number' }, + { name: 'KGS', type: 'number' }, + { name: 'CBM', type: 'number' }, + { name: 'TEU', type: 'number' }, + { name: 'CNTR1', type: 'number' }, + { name: 'CNTR2', type: 'number' }, + { name: 'CNTR3', type: 'number' }, + { name: 'CNTR4', type: 'number' }, + { name: 'CNTR5', type: 'number' }, + { name: 'CNTR6', type: 'number' }, + { name: 'CNTR7', type: 'number' }, + { name: 'CNTR8', type: 'number' }, + { name: 'CNTR9', type: 'number' }, + { name: 'CNTR10', type: 'number' }, + { name: 'OTCNTR', type: 'number' }, + { name: 'RMBDR', type: 'number' }, + { name: 'RMBCR', type: 'number' }, + { name: 'USDDR', type: 'number' }, + { name: 'USDCR', type: 'number' }, + { name: 'OTDR', type: 'number' }, + { name: 'OTCR', type: 'number' }, + { name: 'TTLDR', type: 'number' }, + { name: 'TTLCR', type: 'number' }, + { name: 'TTLTAXDR', type: 'number' }, + { name: 'TTLTAXCR', type: 'number' }, + { name: 'TTLTAXPROFIT', type: 'number' }, + { name: 'RMBPROFIT', type: 'number' }, + { name: 'USDPROFIT', type: 'number' }, + { name: 'OTPROFIT', type: 'number' }, + { name: 'RMBPROFIT', type: 'number' }, + { name: 'USDPROFIT', type: 'number' }, + { name: 'OTPROFIT', type: 'number' }, + { name: 'TTLPROFIT', type: 'number' }, + { name: 'NOTAXRMBDR', type: 'number' }, + { name: 'NOTAXRMBCR', type: 'number' }, + { name: 'NOTAXUSDDR', type: 'number' }, + { name: 'NOTAXUSDCR', type: 'number' }, + { name: 'NOTAXOTDR', type: 'number' }, + { name: 'NOTAXOTCR', type: 'number' }, + { name: 'NOTAXTTLDR', type: 'number' }, + { name: 'NOTAXTTLCR', type: 'number' }, + { name: 'NOTAXRMBPROFIT', type: 'number' }, + { name: 'NOTAXUSDPROFIT', type: 'number' }, + { name: 'NOTAXOTPROFIT', type: 'number' }, + { name: 'NOTAXTTLPROFIT', type: 'number' }, + { name: 'NOACCTAXRMBDR', type: 'number' }, + { name: 'NOACCTAXRMBCR', type: 'number' }, + { name: 'NOACCTAXUSDDR', type: 'number' }, + { name: 'NOACCTAXUSDCR', type: 'number' }, + { name: 'NOACCTAXOTDR', type: 'number' }, + { name: 'NOACCTAXOTCR', type: 'number' }, + { name: 'NOACCTAXTTLDR', type: 'number' }, + { name: 'NOACCTAXTTLCR', type: 'number' }, + { name: 'NOACCTAXRMBPROFIT', type: 'number' }, + { name: 'NOACCTAXUSDPROFIT', type: 'number' }, + { name: 'NOACCTAXOTPROFIT', type: 'number' }, + { name: 'NOACCTAXTTLPROFIT', type: 'number' }, + { name: 'RMBNODR', type: 'number' }, + { name: 'USDNODR', type: 'number' }, + { name: 'OTNODR', type: 'number' }, + { name: 'TTLNODR', type: 'number' }, + { name: 'RMBNOCR', type: 'number' }, + { name: 'USDNOCR', type: 'number' }, + { name: 'OTNOCR', type: 'number' }, + { name: 'TTLNOCR', type: 'number' }, + { name: 'STLRMBDR', type: 'number' }, + { name: 'STLUSDDR', type: 'number' }, + { name: 'STLOTDR', type: 'number' }, + { name: 'STLTTLDR', type: 'number' }, + { name: 'STLRMBCR', type: 'number' }, + { name: 'STLUSDCR', type: 'number' }, + { name: 'STLOTCR', type: 'number' }, + { name: 'STLTTLCR', type: 'number' }, + { name: 'TTLPROFIT', type: 'number' }, + { name: 'PROFITRATE', type: 'number' }, + { name: 'NOTAXPROFITRATE', type: 'number' } + + ], + remoteSort: true, + proxy: { + type: 'ajax', + timeout: 120000, + url: '/MvcShipping/MsRptOpProfit/CarrierListData', + reader: { + id: '', + root: 'data', + totalProperty: 'totalCount' + } } + }); + + //定义Grid + + this.initgirdcolumscarrier = [{ + sortable: true, + dataIndex: 'CARRIER', + text: Zi.LAN.CARRIER, + width: 80 + }, { + sortable: true, + dataIndex: 'BSTYPE', + text: Zi.LAN.BSTYPE, + width: 80 + }, { + sortable: true, + dataIndex: 'BLCOUNT', + text: Zi.LAN.BLCOUNT, + width: 80 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR1', + text: '箱型1', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR2', + text: '箱型2', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR3', + text: '箱型3', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR4', + text: '箱型4', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR5', + text: '箱型5', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR6', + text: '箱型6', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR7', + text: '箱型7', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR8', + text: '箱型8', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR9', + text: '箱型9', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR10', + text: '箱型10', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'OTCNTR', + text: Zi.LAN.OTCNTR, + width: 60 + }, { + sortable: true, + dataIndex: 'TEU', + text: 'TEU', + width: 80 + }, { + sortable: true, + dataIndex: 'KGS', + text: 'KGS', + width: 80 + }, { + sortable: true, + dataIndex: 'CBM', + text: 'CBM', + width: 80 + }, { + text: Zi.LAN.ALLIN, + dataIndex: 'ALLIN', + columns: [{ + sortable: true, + dataIndex: 'RMBDR', + text: Zi.LAN.RMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBCR', + text: Zi.LAN.RMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBPROFIT', + text: Zi.LAN.RMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDDR', + text: Zi.LAN.USDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDCR', + text: Zi.LAN.USDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDPROFIT', + text: Zi.LAN.USDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTDR', + text: Zi.LAN.OTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTCR', + text: Zi.LAN.OTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTPROFIT', + text: Zi.LAN.OTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLDR', + text: Zi.LAN.TTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLCR', + text: Zi.LAN.TTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLPROFIT', + text: Zi.LAN.TTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'PROFITRATE', + text: Zi.LAN.PROFITRATE, + width: 80, + renderer: function (value, meta) { + if (value != 0) value = value + '%'; + return value; + } + }, { + sortable: true, + dataIndex: 'TTLTAXDR', + text: Zi.LAN.TTLTAXDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLTAXCR', + text: Zi.LAN.TTLTAXCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLTAXPROFIT', + text: Zi.LAN.TTLTAXPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }] + }, { + text: Zi.LAN.ALLBALANCE, + dataIndex: 'ALLBALANCE', + columns: [{ + sortable: true, + dataIndex: 'STLRMBDR', + text: Zi.LAN.STLRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBNODR', + text: Zi.LAN.RMBNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLUSDDR', + text: Zi.LAN.STLUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDNODR', + text: Zi.LAN.USDNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLOTDR', + text: Zi.LAN.STLOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTNODR', + text: Zi.LAN.OTNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLTTLDR', + text: Zi.LAN.STLTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLNODR', + text: Zi.LAN.TTLNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLRMBCR', + text: Zi.LAN.STLRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBNOCR', + text: Zi.LAN.RMBNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLUSDCR', + text: Zi.LAN.STLUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDNOCR', + text: Zi.LAN.USDNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLOTCR', + text: Zi.LAN.STLOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTNOCR', + text: Zi.LAN.OTNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLTTLCR', + text: Zi.LAN.STLTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLNOCR', + text: Zi.LAN.TTLNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }] + }, { + text: Zi.LAN.ALLNOTAX, + dataIndex: 'ALLNOTAX', + columns: [{ + sortable: true, + dataIndex: 'NOTAXRMBDR', + text: Zi.LAN.NOTAXRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXRMBCR', + text: Zi.LAN.NOTAXRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXRMBPROFIT', + text: Zi.LAN.NOTAXRMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDDR', + text: Zi.LAN.NOTAXUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDCR', + text: Zi.LAN.NOTAXUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDPROFIT', + text: Zi.LAN.NOTAXUSDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTDR', + text: Zi.LAN.NOTAXOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTCR', + text: Zi.LAN.NOTAXOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTPROFIT', + text: Zi.LAN.NOTAXOTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLDR', + text: Zi.LAN.NOTAXTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLCR', + text: Zi.LAN.NOTAXTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLPROFIT', + text: Zi.LAN.NOTAXTTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXPROFITRATE', + text: Zi.LAN.NOTAXPROFITRATE, + width: 80, + renderer: function (value, meta) { + if (value != 0) value = value + '%'; + return value; + } + }] + }, { + text: Zi.LAN.ALLNOACCTAX, + dataIndex: 'ALLNOACCTAX', + columns: [{ + sortable: true, + dataIndex: 'NOACCTAXRMBDR', + text: Zi.LAN.NOACCTAXRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXRMBCR', + text: Zi.LAN.NOACCTAXRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXRMBPROFIT', + text: Zi.LAN.NOACCTAXRMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDDR', + text: Zi.LAN.NOACCTAXUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDCR', + text: Zi.LAN.NOACCTAXUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDPROFIT', + text: Zi.LAN.NOACCTAXUSDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTDR', + text: Zi.LAN.NOACCTAXOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTCR', + text: Zi.LAN.NOACCTAXOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTPROFIT', + text: Zi.LAN.NOACCTAXOTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLDR', + text: Zi.LAN.NOACCTAXTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLCR', + text: Zi.LAN.NOACCTAXTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLPROFIT', + text: Zi.LAN.NOACCTAXTTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }] + } - ]; + ]; // this.girdcolumscust = this.initgirdcolumscust; this.girdcolumscarrier = DsTruck.GetGridPanel(USERID, this.formname + 'carrier', this.initgirdcolumscarrier, 1); this.girdcolumscarrier.unshift(new Ext.grid.RowNumberer()); @@ -4100,7 +4100,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { ]; // this.girdcolumscust = this.initgirdcolumscust; - this.girdcolumsforwarder= DsTruck.GetGridPanel(USERID, this.formname + 'forwarder', this.initgirdcolumsforwarder, 1); + this.girdcolumsforwarder = DsTruck.GetGridPanel(USERID, this.formname + 'forwarder', this.initgirdcolumsforwarder, 1); this.girdcolumsforwarder.unshift(new Ext.grid.RowNumberer()); this.gridListForwarder = new Ext.grid.GridPanel({ store: this.storeForwarderList, @@ -4143,7 +4143,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { //#endregion - //#region 部门 + //#region 部门 this.storeDeptList = Ext.create('Ext.data.Store', { pageSize: this.PageSize, @@ -4251,7 +4251,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { }, { sortable: true, dataIndex: 'BLCOUNT', - text: Zi.LAN.BLCOUNT, + text: Zi.LAN.BLCOUNT, summaryType: 'sum', // summaryRenderer: Ext.util.Format.numberRenderer('00.00'), width: 80 @@ -4340,451 +4340,451 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { // summaryRenderer: Ext.util.Format.numberRenderer('00.00'), width: 80 }, { - sortable: true, - dataIndex: 'KGS', - text: 'KGS', - 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 '' + lsValue + ''; } } 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 + sortable: true, + dataIndex: 'KGS', + text: 'KGS', + 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 '' + lsValue + ''; } } 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 + }, { + sortable: true, + dataIndex: 'CBM', + text: 'CBM', + 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 '' + lsValue + ''; } } 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 + }, { + text: Zi.LAN.ALLIN, + dataIndex: 'ALLIN', + columns: [{ + sortable: true, + dataIndex: 'RMBDR', + text: Zi.LAN.RMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBCR', + text: Zi.LAN.RMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBPROFIT', + text: Zi.LAN.RMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDDR', + text: Zi.LAN.USDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDCR', + text: Zi.LAN.USDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDPROFIT', + text: Zi.LAN.USDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTDR', + text: Zi.LAN.OTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTCR', + text: Zi.LAN.OTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTPROFIT', + text: Zi.LAN.OTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLDR', + text: Zi.LAN.TTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLCR', + text: Zi.LAN.TTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLPROFIT', + text: Zi.LAN.TTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'PROFITRATE', + text: Zi.LAN.PROFITRATE, + width: 80, + renderer: function (value, meta) { + if (value != 0) value = value + '%'; + return value; + } + }, { + sortable: true, + dataIndex: 'TTLTAXDR', + text: Zi.LAN.TTLTAXDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLTAXCR', + text: Zi.LAN.TTLTAXCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLTAXPROFIT', + text: Zi.LAN.TTLTAXPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }] + }, { + text: Zi.LAN.ALLBALANCE, + dataIndex: 'ALLBALANCE', + columns: [{ + sortable: true, + dataIndex: 'STLRMBDR', + text: Zi.LAN.STLRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBNODR', + text: Zi.LAN.RMBNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLUSDDR', + text: Zi.LAN.STLUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDNODR', + text: Zi.LAN.USDNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLOTDR', + text: Zi.LAN.STLOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTNODR', + text: Zi.LAN.OTNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLTTLDR', + text: Zi.LAN.STLTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLNODR', + text: Zi.LAN.TTLNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLRMBCR', + text: Zi.LAN.STLRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBNOCR', + text: Zi.LAN.RMBNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLUSDCR', + text: Zi.LAN.STLUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDNOCR', + text: Zi.LAN.USDNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLOTCR', + text: Zi.LAN.STLOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTNOCR', + text: Zi.LAN.OTNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLTTLCR', + text: Zi.LAN.STLTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLNOCR', + text: Zi.LAN.TTLNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }] + }, { + text: Zi.LAN.ALLNOTAX, + dataIndex: 'ALLNOTAX', + columns: [{ + sortable: true, + dataIndex: 'NOTAXRMBDR', + text: Zi.LAN.NOTAXRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 }, { sortable: true, - dataIndex: 'CBM', - text: 'CBM', + dataIndex: 'NOTAXRMBCR', + text: Zi.LAN.NOTAXRMBCR, 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 '' + lsValue + ''; } } 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); + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXRMBPROFIT', + text: Zi.LAN.NOTAXRMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDDR', + text: Zi.LAN.NOTAXUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDCR', + text: Zi.LAN.NOTAXUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDPROFIT', + text: Zi.LAN.NOTAXUSDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTDR', + text: Zi.LAN.NOTAXOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTCR', + text: Zi.LAN.NOTAXOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTPROFIT', + text: Zi.LAN.NOTAXOTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLDR', + text: Zi.LAN.NOTAXTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLCR', + text: Zi.LAN.NOTAXTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLPROFIT', + text: Zi.LAN.NOTAXTTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXPROFITRATE', + text: Zi.LAN.NOTAXPROFITRATE, + width: 80, + renderer: function (value, meta) { + if (value != 0) value = value + '%'; return value; - }, - width: 80 + } + }] + }, { + text: Zi.LAN.ALLNOACCTAX, + dataIndex: 'ALLNOACCTAX', + columns: [{ + sortable: true, + dataIndex: 'NOACCTAXRMBDR', + text: Zi.LAN.NOACCTAXRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 }, { - text: Zi.LAN.ALLIN, - dataIndex: 'ALLIN', - columns: [{ - sortable: true, - dataIndex: 'RMBDR', - text: Zi.LAN.RMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBCR', - text: Zi.LAN.RMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBPROFIT', - text: Zi.LAN.RMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDDR', - text: Zi.LAN.USDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDCR', - text: Zi.LAN.USDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDPROFIT', - text: Zi.LAN.USDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTDR', - text: Zi.LAN.OTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTCR', - text: Zi.LAN.OTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTPROFIT', - text: Zi.LAN.OTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLDR', - text: Zi.LAN.TTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLCR', - text: Zi.LAN.TTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLPROFIT', - text: Zi.LAN.TTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'PROFITRATE', - text: Zi.LAN.PROFITRATE, - width: 80, - renderer: function (value, meta) { - if (value != 0) value = value + '%'; - return value; - } - }, { - sortable: true, - dataIndex: 'TTLTAXDR', - text: Zi.LAN.TTLTAXDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLTAXCR', - text: Zi.LAN.TTLTAXCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLTAXPROFIT', - text: Zi.LAN.TTLTAXPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }] - }, { - text: Zi.LAN.ALLBALANCE, - dataIndex: 'ALLBALANCE', - columns: [{ - sortable: true, - dataIndex: 'STLRMBDR', - text: Zi.LAN.STLRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBNODR', - text: Zi.LAN.RMBNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLUSDDR', - text: Zi.LAN.STLUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDNODR', - text: Zi.LAN.USDNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLOTDR', - text: Zi.LAN.STLOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTNODR', - text: Zi.LAN.OTNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLTTLDR', - text: Zi.LAN.STLTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLNODR', - text: Zi.LAN.TTLNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLRMBCR', - text: Zi.LAN.STLRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBNOCR', - text: Zi.LAN.RMBNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLUSDCR', - text: Zi.LAN.STLUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDNOCR', - text: Zi.LAN.USDNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLOTCR', - text: Zi.LAN.STLOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTNOCR', - text: Zi.LAN.OTNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLTTLCR', - text: Zi.LAN.STLTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLNOCR', - text: Zi.LAN.TTLNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }] - }, { - text: Zi.LAN.ALLNOTAX, - dataIndex: 'ALLNOTAX', - columns: [{ - sortable: true, - dataIndex: 'NOTAXRMBDR', - text: Zi.LAN.NOTAXRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXRMBCR', - text: Zi.LAN.NOTAXRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXRMBPROFIT', - text: Zi.LAN.NOTAXRMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDDR', - text: Zi.LAN.NOTAXUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDCR', - text: Zi.LAN.NOTAXUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDPROFIT', - text: Zi.LAN.NOTAXUSDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTDR', - text: Zi.LAN.NOTAXOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTCR', - text: Zi.LAN.NOTAXOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTPROFIT', - text: Zi.LAN.NOTAXOTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLDR', - text: Zi.LAN.NOTAXTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLCR', - text: Zi.LAN.NOTAXTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLPROFIT', - text: Zi.LAN.NOTAXTTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXPROFITRATE', - text: Zi.LAN.NOTAXPROFITRATE, - width: 80, - renderer: function (value, meta) { - if (value != 0) value = value + '%'; - return value; - } - }] - }, { - text: Zi.LAN.ALLNOACCTAX, - dataIndex: 'ALLNOACCTAX', - columns: [{ - sortable: true, - dataIndex: 'NOACCTAXRMBDR', - text: Zi.LAN.NOACCTAXRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXRMBCR', - text: Zi.LAN.NOACCTAXRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXRMBPROFIT', - text: Zi.LAN.NOACCTAXRMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDDR', - text: Zi.LAN.NOACCTAXUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDCR', - text: Zi.LAN.NOACCTAXUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDPROFIT', - text: Zi.LAN.NOACCTAXUSDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTDR', - text: Zi.LAN.NOACCTAXOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTCR', - text: Zi.LAN.NOACCTAXOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTPROFIT', - text: Zi.LAN.NOACCTAXOTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLDR', - text: Zi.LAN.NOACCTAXTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLCR', - text: Zi.LAN.NOACCTAXTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLPROFIT', - text: Zi.LAN.NOACCTAXTTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }] - } + sortable: true, + dataIndex: 'NOACCTAXRMBCR', + text: Zi.LAN.NOACCTAXRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXRMBPROFIT', + text: Zi.LAN.NOACCTAXRMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDDR', + text: Zi.LAN.NOACCTAXUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDCR', + text: Zi.LAN.NOACCTAXUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDPROFIT', + text: Zi.LAN.NOACCTAXUSDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTDR', + text: Zi.LAN.NOACCTAXOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTCR', + text: Zi.LAN.NOACCTAXOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTPROFIT', + text: Zi.LAN.NOACCTAXOTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLDR', + text: Zi.LAN.NOACCTAXTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLCR', + text: Zi.LAN.NOACCTAXTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLPROFIT', + text: Zi.LAN.NOACCTAXTTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }] + } - ]; + ]; this.girdcolumsdept = this.initgirdcolumsdept; var showSummary = true; @@ -4821,7 +4821,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { // this.gridListDept.reconfigure(this.storeDeptList, this.girdcolumsdept); this.gridListDept.addListener('itemdblclick', function (dataview, record, item, index, e, b) { -// this.sqlselect = " B.SALE IN (SELECT SHOWNAME FROM VW_user WHERE DEPTNAME='" + record.data.SALEDEPT + "')"; + // this.sqlselect = " B.SALE IN (SELECT SHOWNAME FROM VW_user WHERE DEPTNAME='" + record.data.SALEDEPT + "')"; this.sqlselect = " B.SALEDEPT='" + record.data.SALEDEPT + "'"; var openSet = "height=700, width=1024, toolbar=no, menubar=no,scrollbars=1, resizable=1,location=no, status=no,Top= " + (screen.height - 750) / 2 + ",Left= " + (screen.width - 1100) / 2 var openType = "_blank"; @@ -4836,10 +4836,10 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { this.deptlistsortdire = direction; }, this); -//#endregion + //#endregion - //#region 操作 + //#region 操作 this.storeOpList = Ext.create('Ext.data.Store', { pageSize: this.PageSize, fields: [ @@ -4949,542 +4949,542 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { }, { sortable: true, dataIndex: 'BSTYPE', - text: Zi.LAN.BSTYPE, + text: Zi.LAN.BSTYPE, width: 70 }, { - sortable: true, - dataIndex: 'BLCOUNT', - text: Zi.LAN.BLCOUNT, - summaryType: 'sum', - width: 80 + sortable: true, + dataIndex: 'BLCOUNT', + text: Zi.LAN.BLCOUNT, + summaryType: 'sum', + width: 80 + }, { + sortable: true, + dataIndex: 'TEU', + text: 'TEU', + summaryType: 'sum', + width: 80 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR1', + text: '箱型1', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR2', + text: '箱型2', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR3', + text: '箱型3', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR4', + text: '箱型4', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR5', + text: '箱型5', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR6', + text: '箱型6', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR7', + text: '箱型7', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR8', + text: '箱型8', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR9', + text: '箱型9', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR10', + text: '箱型10', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'OTCNTR', + text: Zi.LAN.OTCNTR, + width: 60 + }, { + sortable: true, + dataIndex: 'KGS', + text: 'KGS', + 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 '' + lsValue + ''; } } 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 + }, { + sortable: true, + dataIndex: 'CBM', + text: 'CBM', + 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 '' + lsValue + ''; } } 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 + }, { + text: Zi.LAN.ALLIN, + dataIndex: 'ALLIN', + columns: [{ + sortable: true, + dataIndex: 'RMBDR', + text: Zi.LAN.RMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBCR', + text: Zi.LAN.RMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBPROFIT', + text: Zi.LAN.RMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDDR', + text: Zi.LAN.USDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDCR', + text: Zi.LAN.USDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDPROFIT', + text: Zi.LAN.USDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTDR', + text: Zi.LAN.OTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTCR', + text: Zi.LAN.OTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTPROFIT', + text: Zi.LAN.OTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLDR', + text: Zi.LAN.TTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLCR', + text: Zi.LAN.TTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLPROFIT', + text: Zi.LAN.TTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'PROFITRATE', + text: Zi.LAN.PROFITRATE, + width: 80, + renderer: function (value, meta) { + if (value != 0) value = value + '%'; + return value; + } + }, { + sortable: true, + dataIndex: 'TTLTAXDR', + text: Zi.LAN.TTLTAXDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLTAXCR', + text: Zi.LAN.TTLTAXCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLTAXPROFIT', + text: Zi.LAN.TTLTAXPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }] + }, { + text: Zi.LAN.ALLBALANCE, + dataIndex: 'ALLBALANCE', + columns: [{ + sortable: true, + dataIndex: 'STLRMBDR', + text: Zi.LAN.STLRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBNODR', + text: Zi.LAN.RMBNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLUSDDR', + text: Zi.LAN.STLUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDNODR', + text: Zi.LAN.USDNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLOTDR', + text: Zi.LAN.STLOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTNODR', + text: Zi.LAN.OTNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLTTLDR', + text: Zi.LAN.STLTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLNODR', + text: Zi.LAN.TTLNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLRMBCR', + text: Zi.LAN.STLRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBNOCR', + text: Zi.LAN.RMBNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLUSDCR', + text: Zi.LAN.STLUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDNOCR', + text: Zi.LAN.USDNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLOTCR', + text: Zi.LAN.STLOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTNOCR', + text: Zi.LAN.OTNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLTTLCR', + text: Zi.LAN.STLTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLNOCR', + text: Zi.LAN.TTLNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }] }, { - sortable: true, - dataIndex: 'TEU', - text: 'TEU', - summaryType: 'sum', - width: 80 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR1', - text: '箱型1', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR2', - text: '箱型2', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR3', - text: '箱型3', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR4', - text: '箱型4', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR5', - text: '箱型5', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR6', - text: '箱型6', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR7', - text: '箱型7', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR8', - text: '箱型8', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR9', - text: '箱型9', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR10', - text: '箱型10', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'OTCNTR', - text: Zi.LAN.OTCNTR, - width: 60 + text: Zi.LAN.ALLNOTAX, + dataIndex: 'ALLNOTAX', + columns: [{ + sortable: true, + dataIndex: 'NOTAXRMBDR', + text: Zi.LAN.NOTAXRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXRMBCR', + text: Zi.LAN.NOTAXRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXRMBPROFIT', + text: Zi.LAN.NOTAXRMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDDR', + text: Zi.LAN.NOTAXUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDCR', + text: Zi.LAN.NOTAXUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDPROFIT', + text: Zi.LAN.NOTAXUSDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTDR', + text: Zi.LAN.NOTAXOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTCR', + text: Zi.LAN.NOTAXOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTPROFIT', + text: Zi.LAN.NOTAXOTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLDR', + text: Zi.LAN.NOTAXTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLCR', + text: Zi.LAN.NOTAXTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLPROFIT', + text: Zi.LAN.NOTAXTTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXPROFITRATE', + text: Zi.LAN.NOTAXPROFITRATE, + width: 80, + renderer: function (value, meta) { + if (value != 0) value = value + '%'; + return value; + } + }] }, { - sortable: true, - dataIndex: 'KGS', - text: 'KGS', - 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 '' + lsValue + ''; } } 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 + text: Zi.LAN.ALLNOACCTAX, + dataIndex: 'ALLNOACCTAX', + columns: [{ + sortable: true, + dataIndex: 'NOACCTAXRMBDR', + text: Zi.LAN.NOACCTAXRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 }, { sortable: true, - dataIndex: 'CBM', - text: 'CBM', + dataIndex: 'NOACCTAXRMBCR', + text: Zi.LAN.NOACCTAXRMBCR, 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 '' + lsValue + ''; } } 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 + width: 90 }, { - text: Zi.LAN.ALLIN, - dataIndex: 'ALLIN', - columns: [{ - sortable: true, - dataIndex: 'RMBDR', - text: Zi.LAN.RMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBCR', - text: Zi.LAN.RMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBPROFIT', - text: Zi.LAN.RMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDDR', - text: Zi.LAN.USDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDCR', - text: Zi.LAN.USDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDPROFIT', - text: Zi.LAN.USDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTDR', - text: Zi.LAN.OTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTCR', - text: Zi.LAN.OTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTPROFIT', - text: Zi.LAN.OTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLDR', - text: Zi.LAN.TTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLCR', - text: Zi.LAN.TTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLPROFIT', - text: Zi.LAN.TTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'PROFITRATE', - text: Zi.LAN.PROFITRATE, - width: 80, - renderer: function (value, meta) { - if (value != 0) value = value + '%'; - return value; - } - }, { - sortable: true, - dataIndex: 'TTLTAXDR', - text: Zi.LAN.TTLTAXDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLTAXCR', - text: Zi.LAN.TTLTAXCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLTAXPROFIT', - text: Zi.LAN.TTLTAXPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }] - }, { - text: Zi.LAN.ALLBALANCE, - dataIndex: 'ALLBALANCE', - columns: [{ - sortable: true, - dataIndex: 'STLRMBDR', - text: Zi.LAN.STLRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBNODR', - text: Zi.LAN.RMBNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLUSDDR', - text: Zi.LAN.STLUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDNODR', - text: Zi.LAN.USDNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLOTDR', - text: Zi.LAN.STLOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTNODR', - text: Zi.LAN.OTNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLTTLDR', - text: Zi.LAN.STLTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLNODR', - text: Zi.LAN.TTLNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLRMBCR', - text: Zi.LAN.STLRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBNOCR', - text: Zi.LAN.RMBNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLUSDCR', - text: Zi.LAN.STLUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDNOCR', - text: Zi.LAN.USDNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLOTCR', - text: Zi.LAN.STLOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTNOCR', - text: Zi.LAN.OTNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLTTLCR', - text: Zi.LAN.STLTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLNOCR', - text: Zi.LAN.TTLNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }] - }, { - text: Zi.LAN.ALLNOTAX, - dataIndex: 'ALLNOTAX', - columns: [{ - sortable: true, - dataIndex: 'NOTAXRMBDR', - text: Zi.LAN.NOTAXRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXRMBCR', - text: Zi.LAN.NOTAXRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXRMBPROFIT', - text: Zi.LAN.NOTAXRMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDDR', - text: Zi.LAN.NOTAXUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDCR', - text: Zi.LAN.NOTAXUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDPROFIT', - text: Zi.LAN.NOTAXUSDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTDR', - text: Zi.LAN.NOTAXOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTCR', - text: Zi.LAN.NOTAXOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTPROFIT', - text: Zi.LAN.NOTAXOTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLDR', - text: Zi.LAN.NOTAXTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLCR', - text: Zi.LAN.NOTAXTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLPROFIT', - text: Zi.LAN.NOTAXTTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXPROFITRATE', - text: Zi.LAN.NOTAXPROFITRATE, - width: 80, - renderer: function (value, meta) { - if (value != 0) value = value + '%'; - return value; - } - }] - }, { - text: Zi.LAN.ALLNOACCTAX, - dataIndex: 'ALLNOACCTAX', - columns: [{ - sortable: true, - dataIndex: 'NOACCTAXRMBDR', - text: Zi.LAN.NOACCTAXRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXRMBCR', - text: Zi.LAN.NOACCTAXRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXRMBPROFIT', - text: Zi.LAN.NOACCTAXRMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDDR', - text: Zi.LAN.NOACCTAXUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDCR', - text: Zi.LAN.NOACCTAXUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDPROFIT', - text: Zi.LAN.NOACCTAXUSDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTDR', - text: Zi.LAN.NOACCTAXOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTCR', - text: Zi.LAN.NOACCTAXOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTPROFIT', - text: Zi.LAN.NOACCTAXOTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLDR', - text: Zi.LAN.NOACCTAXTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLCR', - text: Zi.LAN.NOACCTAXTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLPROFIT', - text: Zi.LAN.NOACCTAXTTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }] - } - ]; + sortable: true, + dataIndex: 'NOACCTAXRMBPROFIT', + text: Zi.LAN.NOACCTAXRMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDDR', + text: Zi.LAN.NOACCTAXUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDCR', + text: Zi.LAN.NOACCTAXUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDPROFIT', + text: Zi.LAN.NOACCTAXUSDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTDR', + text: Zi.LAN.NOACCTAXOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTCR', + text: Zi.LAN.NOACCTAXOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTPROFIT', + text: Zi.LAN.NOACCTAXOTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLDR', + text: Zi.LAN.NOACCTAXTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLCR', + text: Zi.LAN.NOACCTAXTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLPROFIT', + text: Zi.LAN.NOACCTAXTTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }] + } + ]; this.girdcolumsop = DsTruck.GetGridPanel(USERID, this.formname + 'op', this.initgirdcolumsop, 1); @@ -5493,7 +5493,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { store: this.storeOpList, enableHdMenu: false, region: 'center', - loadMask: { msg: Zi.LAN.ShuJuJiaZaiZhongQingShaoDeng}, + loadMask: { msg: Zi.LAN.ShuJuJiaZaiZhongQingShaoDeng }, trackMouseOver: true, disableSelection: false, //features: [{ @@ -5532,7 +5532,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { this.oplistsortdire = direction; }, this); -//#endregion + //#endregion //#region 操作部门 this.storeOpDeptList = Ext.create('Ext.data.Store', { @@ -5635,542 +5635,542 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { this.initgirdcolumsopdept = [{ sortable: true, - dataIndex: 'OPDEPT', - text: Zi.LAN.OPDEPT, + dataIndex: 'OPDEPT', + text: Zi.LAN.OPDEPT, + width: 80 + }, { + sortable: true, + dataIndex: 'BLCOUNT', + text: Zi.LAN.BLCOUNT, + summaryType: 'sum', + width: 80 + }, { + sortable: true, + dataIndex: 'TEU', + text: 'TEU', + summaryType: 'sum', + width: 80 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR1', + text: '箱型1', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR2', + text: '箱型2', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR3', + text: '箱型3', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR4', + text: '箱型4', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR5', + text: '箱型5', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR6', + text: '箱型6', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR7', + text: '箱型7', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR8', + text: '箱型8', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR9', + text: '箱型9', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'CNTR10', + text: '箱型10', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'OTCNTR', + text: Zi.LAN.OTCNTR, + width: 60 + }, { + sortable: true, + dataIndex: 'KGS', + text: 'KGS', + 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 '' + lsValue + ''; } } 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 }, { sortable: true, - dataIndex: 'BLCOUNT', - text: Zi.LAN.BLCOUNT, + dataIndex: 'CBM', + text: 'CBM', + 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 '' + lsValue + ''; } } 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 }, { - sortable: true, - dataIndex: 'TEU', - text: 'TEU', - summaryType: 'sum', - width: 80 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR1', - text: '箱型1', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR2', - text: '箱型2', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR3', - text: '箱型3', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR4', - text: '箱型4', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR5', - text: '箱型5', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR6', - text: '箱型6', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR7', - text: '箱型7', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR8', - text: '箱型8', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR9', - text: '箱型9', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CNTR10', - text: '箱型10', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'OTCNTR', - text: Zi.LAN.OTCNTR, - width: 60 + text: Zi.LAN.ALLIN, + dataIndex: 'ALLIN', + columns: [{ + sortable: true, + dataIndex: 'RMBDR', + text: Zi.LAN.RMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBCR', + text: Zi.LAN.RMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBPROFIT', + text: Zi.LAN.RMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDDR', + text: Zi.LAN.USDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDCR', + text: Zi.LAN.USDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDPROFIT', + text: Zi.LAN.USDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTDR', + text: Zi.LAN.OTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTCR', + text: Zi.LAN.OTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTPROFIT', + text: Zi.LAN.OTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLDR', + text: Zi.LAN.TTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLCR', + text: Zi.LAN.TTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLPROFIT', + text: Zi.LAN.TTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'PROFITRATE', + text: Zi.LAN.PROFITRATE, + width: 80, + renderer: function (value, meta) { + if (value != 0) value = value + '%'; + return value; + } + }, { + sortable: true, + dataIndex: 'TTLTAXDR', + text: Zi.LAN.TTLTAXDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLTAXCR', + text: Zi.LAN.TTLTAXCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLTAXPROFIT', + text: Zi.LAN.TTLTAXPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }] + }, { + text: Zi.LAN.ALLBALANCE, + dataIndex: 'ALLBALANCE', + columns: [{ + sortable: true, + dataIndex: 'STLRMBDR', + text: Zi.LAN.STLRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBNODR', + text: Zi.LAN.RMBNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLUSDDR', + text: Zi.LAN.STLUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDNODR', + text: Zi.LAN.USDNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLOTDR', + text: Zi.LAN.STLOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTNODR', + text: Zi.LAN.OTNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLTTLDR', + text: Zi.LAN.STLTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLNODR', + text: Zi.LAN.TTLNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLRMBCR', + text: Zi.LAN.STLRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBNOCR', + text: Zi.LAN.RMBNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLUSDCR', + text: Zi.LAN.STLUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDNOCR', + text: Zi.LAN.USDNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLOTCR', + text: Zi.LAN.STLOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTNOCR', + text: Zi.LAN.OTNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLTTLCR', + text: Zi.LAN.STLTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLNOCR', + text: Zi.LAN.TTLNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }] + }, { + text: Zi.LAN.ALLNOTAX, + dataIndex: 'ALLNOTAX', + columns: [{ + sortable: true, + dataIndex: 'NOTAXRMBDR', + text: Zi.LAN.NOTAXRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXRMBCR', + text: Zi.LAN.NOTAXRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXRMBPROFIT', + text: Zi.LAN.NOTAXRMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDDR', + text: Zi.LAN.NOTAXUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDCR', + text: Zi.LAN.NOTAXUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDPROFIT', + text: Zi.LAN.NOTAXUSDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTDR', + text: Zi.LAN.NOTAXOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTCR', + text: Zi.LAN.NOTAXOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTPROFIT', + text: Zi.LAN.NOTAXOTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLDR', + text: Zi.LAN.NOTAXTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLCR', + text: Zi.LAN.NOTAXTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLPROFIT', + text: Zi.LAN.NOTAXTTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXPROFITRATE', + text: Zi.LAN.NOTAXPROFITRATE, + width: 80, + renderer: function (value, meta) { + if (value != 0) value = value + '%'; + return value; + } + }] }, { - sortable: true, - dataIndex: 'KGS', - text: 'KGS', - 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 '' + lsValue + ''; } } 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 + text: Zi.LAN.ALLNOACCTAX, + dataIndex: 'ALLNOACCTAX', + columns: [{ + sortable: true, + dataIndex: 'NOACCTAXRMBDR', + text: Zi.LAN.NOACCTAXRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 }, { sortable: true, - dataIndex: 'CBM', - text: 'CBM', + dataIndex: 'NOACCTAXRMBCR', + text: Zi.LAN.NOACCTAXRMBCR, 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 '' + lsValue + ''; } } 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 + width: 90 }, { - text: Zi.LAN.ALLIN, - dataIndex: 'ALLIN', - columns: [{ - sortable: true, - dataIndex: 'RMBDR', - text: Zi.LAN.RMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBCR', - text: Zi.LAN.RMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBPROFIT', - text: Zi.LAN.RMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDDR', - text: Zi.LAN.USDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDCR', - text: Zi.LAN.USDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDPROFIT', - text: Zi.LAN.USDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTDR', - text: Zi.LAN.OTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTCR', - text: Zi.LAN.OTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTPROFIT', - text: Zi.LAN.OTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLDR', - text: Zi.LAN.TTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLCR', - text: Zi.LAN.TTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLPROFIT', - text: Zi.LAN.TTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'PROFITRATE', - text: Zi.LAN.PROFITRATE, - width: 80, - renderer: function (value, meta) { - if (value != 0) value = value + '%'; - return value; - } - }, { - sortable: true, - dataIndex: 'TTLTAXDR', - text: Zi.LAN.TTLTAXDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLTAXCR', - text: Zi.LAN.TTLTAXCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLTAXPROFIT', - text: Zi.LAN.TTLTAXPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }] - }, { - text: Zi.LAN.ALLBALANCE, - dataIndex: 'ALLBALANCE', - columns: [{ - sortable: true, - dataIndex: 'STLRMBDR', - text: Zi.LAN.STLRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBNODR', - text: Zi.LAN.RMBNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLUSDDR', - text: Zi.LAN.STLUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDNODR', - text: Zi.LAN.USDNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLOTDR', - text: Zi.LAN.STLOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTNODR', - text: Zi.LAN.OTNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLTTLDR', - text: Zi.LAN.STLTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLNODR', - text: Zi.LAN.TTLNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLRMBCR', - text: Zi.LAN.STLRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBNOCR', - text: Zi.LAN.RMBNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLUSDCR', - text: Zi.LAN.STLUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDNOCR', - text: Zi.LAN.USDNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLOTCR', - text: Zi.LAN.STLOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTNOCR', - text: Zi.LAN.OTNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLTTLCR', - text: Zi.LAN.STLTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLNOCR', - text: Zi.LAN.TTLNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }] - }, { - text: Zi.LAN.ALLNOTAX, - dataIndex: 'ALLNOTAX', - columns: [{ - sortable: true, - dataIndex: 'NOTAXRMBDR', - text: Zi.LAN.NOTAXRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXRMBCR', - text: Zi.LAN.NOTAXRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXRMBPROFIT', - text: Zi.LAN.NOTAXRMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDDR', - text: Zi.LAN.NOTAXUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDCR', - text: Zi.LAN.NOTAXUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDPROFIT', - text: Zi.LAN.NOTAXUSDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTDR', - text: Zi.LAN.NOTAXOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTCR', - text: Zi.LAN.NOTAXOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTPROFIT', - text: Zi.LAN.NOTAXOTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLDR', - text: Zi.LAN.NOTAXTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLCR', - text: Zi.LAN.NOTAXTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLPROFIT', - text: Zi.LAN.NOTAXTTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXPROFITRATE', - text: Zi.LAN.NOTAXPROFITRATE, - width: 80, - renderer: function (value, meta) { - if (value != 0) value = value + '%'; - return value; - } - }] - }, { - text: Zi.LAN.ALLNOACCTAX, - dataIndex: 'ALLNOACCTAX', - columns: [{ - sortable: true, - dataIndex: 'NOACCTAXRMBDR', - text: Zi.LAN.NOACCTAXRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXRMBCR', - text: Zi.LAN.NOACCTAXRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXRMBPROFIT', - text: Zi.LAN.NOACCTAXRMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDDR', - text: Zi.LAN.NOACCTAXUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDCR', - text: Zi.LAN.NOACCTAXUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDPROFIT', - text: Zi.LAN.NOACCTAXUSDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTDR', - text: Zi.LAN.NOACCTAXOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTCR', - text: Zi.LAN.NOACCTAXOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTPROFIT', - text: Zi.LAN.NOACCTAXOTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLDR', - text: Zi.LAN.NOACCTAXTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLCR', - text: Zi.LAN.NOACCTAXTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLPROFIT', - text: Zi.LAN.NOACCTAXTTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }] - } + sortable: true, + dataIndex: 'NOACCTAXRMBPROFIT', + text: Zi.LAN.NOACCTAXRMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDDR', + text: Zi.LAN.NOACCTAXUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDCR', + text: Zi.LAN.NOACCTAXUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDPROFIT', + text: Zi.LAN.NOACCTAXUSDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTDR', + text: Zi.LAN.NOACCTAXOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTCR', + text: Zi.LAN.NOACCTAXOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTPROFIT', + text: Zi.LAN.NOACCTAXOTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLDR', + text: Zi.LAN.NOACCTAXTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLCR', + text: Zi.LAN.NOACCTAXTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLPROFIT', + text: Zi.LAN.NOACCTAXTTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }] + } ]; @@ -6180,7 +6180,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { store: this.storeOpDeptList, enableHdMenu: false, region: 'center', - loadMask: { msg: Zi.LAN.ShuJuJiaZaiZhongQingShaoDeng}, + loadMask: { msg: Zi.LAN.ShuJuJiaZaiZhongQingShaoDeng }, trackMouseOver: true, disableSelection: false, //features: [{ @@ -6326,7 +6326,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { }, { sortable: true, dataIndex: 'BLCOUNT', - text: Zi.LAN.BLCOUNT, + text: Zi.LAN.BLCOUNT, summaryType: 'sum', width: 80 }, @@ -6407,457 +6407,457 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { header: Zi.LAN.OTCNTR, width: 60 }, { - sortable: true, - dataIndex: 'TEU', - text: 'TEU', - summaryType: 'sum', - width: 80 + sortable: true, + dataIndex: 'TEU', + text: 'TEU', + summaryType: 'sum', + width: 80 + }, { + sortable: true, + dataIndex: 'KGS', + text: 'KGS', + 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 '' + lsValue + ''; } } 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 + }, { + sortable: true, + dataIndex: 'CBM', + text: 'CBM', + 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 '' + lsValue + ''; } } 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 + }, { + text: Zi.LAN.ALLIN, + dataIndex: 'ALLIN', + columns: [{ + sortable: true, + dataIndex: 'RMBDR', + text: Zi.LAN.RMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBCR', + text: Zi.LAN.RMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBPROFIT', + text: Zi.LAN.RMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDDR', + text: Zi.LAN.USDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDCR', + text: Zi.LAN.USDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDPROFIT', + text: Zi.LAN.USDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTDR', + text: Zi.LAN.OTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTCR', + text: Zi.LAN.OTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTPROFIT', + text: Zi.LAN.OTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLDR', + text: Zi.LAN.TTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLCR', + text: Zi.LAN.TTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLPROFIT', + text: Zi.LAN.TTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'PROFITRATE', + text: Zi.LAN.PROFITRATE, + width: 80, + renderer: function (value, meta) { + if (value != 0) value = value + '%'; + return value; + } + }, { + sortable: true, + dataIndex: 'TTLTAXDR', + text: Zi.LAN.TTLTAXDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLTAXCR', + text: Zi.LAN.TTLTAXCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLTAXPROFIT', + text: Zi.LAN.TTLTAXPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }] + }, { + text: Zi.LAN.ALLBALANCE, + dataIndex: 'ALLBALANCE', + columns: [{ + sortable: true, + dataIndex: 'STLRMBDR', + text: Zi.LAN.STLRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBNODR', + text: Zi.LAN.RMBNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLUSDDR', + text: Zi.LAN.STLUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDNODR', + text: Zi.LAN.USDNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLOTDR', + text: Zi.LAN.STLOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTNODR', + text: Zi.LAN.OTNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLTTLDR', + text: Zi.LAN.STLTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLNODR', + text: Zi.LAN.TTLNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLRMBCR', + text: Zi.LAN.STLRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBNOCR', + text: Zi.LAN.RMBNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLUSDCR', + text: Zi.LAN.STLUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDNOCR', + text: Zi.LAN.USDNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLOTCR', + text: Zi.LAN.STLOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTNOCR', + text: Zi.LAN.OTNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLTTLCR', + text: Zi.LAN.STLTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLNOCR', + text: Zi.LAN.TTLNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }] }, { - sortable: true, - dataIndex: 'KGS', - text: 'KGS', - 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 '' + lsValue + ''; } } 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 + text: Zi.LAN.ALLNOTAX, + dataIndex: 'ALLNOTAX', + columns: [{ + sortable: true, + dataIndex: 'NOTAXRMBDR', + text: Zi.LAN.NOTAXRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXRMBCR', + text: Zi.LAN.NOTAXRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXRMBPROFIT', + text: Zi.LAN.NOTAXRMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDDR', + text: Zi.LAN.NOTAXUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDCR', + text: Zi.LAN.NOTAXUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDPROFIT', + text: Zi.LAN.NOTAXUSDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTDR', + text: Zi.LAN.NOTAXOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTCR', + text: Zi.LAN.NOTAXOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTPROFIT', + text: Zi.LAN.NOTAXOTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLDR', + text: Zi.LAN.NOTAXTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLCR', + text: Zi.LAN.NOTAXTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLPROFIT', + text: Zi.LAN.NOTAXTTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXPROFITRATE', + text: Zi.LAN.NOTAXPROFITRATE, + width: 80, + renderer: function (value, meta) { + if (value != 0) value = value + '%'; + return value; + } + }] + }, { + text: Zi.LAN.ALLNOACCTAX, + dataIndex: 'ALLNOACCTAX', + columns: [{ + sortable: true, + dataIndex: 'NOACCTAXRMBDR', + text: Zi.LAN.NOACCTAXRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 }, { sortable: true, - dataIndex: 'CBM', - text: 'CBM', + dataIndex: 'NOACCTAXRMBCR', + text: Zi.LAN.NOACCTAXRMBCR, 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 '' + lsValue + ''; } } 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 + width: 90 }, { - text: Zi.LAN.ALLIN, - dataIndex: 'ALLIN', - columns: [{ - sortable: true, - dataIndex: 'RMBDR', - text: Zi.LAN.RMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBCR', - text: Zi.LAN.RMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBPROFIT', - text: Zi.LAN.RMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDDR', - text: Zi.LAN.USDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDCR', - text: Zi.LAN.USDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDPROFIT', - text: Zi.LAN.USDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTDR', - text: Zi.LAN.OTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTCR', - text: Zi.LAN.OTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTPROFIT', - text: Zi.LAN.OTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLDR', - text: Zi.LAN.TTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLCR', - text: Zi.LAN.TTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLPROFIT', - text: Zi.LAN.TTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'PROFITRATE', - text: Zi.LAN.PROFITRATE, - width: 80, - renderer: function (value, meta) { - if (value != 0) value = value + '%'; - return value; - } - }, { - sortable: true, - dataIndex: 'TTLTAXDR', - text: Zi.LAN.TTLTAXDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLTAXCR', - text: Zi.LAN.TTLTAXCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLTAXPROFIT', - text: Zi.LAN.TTLTAXPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }] - }, { - text: Zi.LAN.ALLBALANCE, - dataIndex: 'ALLBALANCE', - columns: [{ - sortable: true, - dataIndex: 'STLRMBDR', - text: Zi.LAN.STLRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBNODR', - text: Zi.LAN.RMBNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLUSDDR', - text: Zi.LAN.STLUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDNODR', - text: Zi.LAN.USDNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLOTDR', - text: Zi.LAN.STLOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTNODR', - text: Zi.LAN.OTNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLTTLDR', - text: Zi.LAN.STLTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLNODR', - text: Zi.LAN.TTLNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLRMBCR', - text: Zi.LAN.STLRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBNOCR', - text: Zi.LAN.RMBNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLUSDCR', - text: Zi.LAN.STLUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDNOCR', - text: Zi.LAN.USDNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLOTCR', - text: Zi.LAN.STLOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTNOCR', - text: Zi.LAN.OTNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLTTLCR', - text: Zi.LAN.STLTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLNOCR', - text: Zi.LAN.TTLNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }] - }, { - text: Zi.LAN.ALLNOTAX, - dataIndex: 'ALLNOTAX', - columns: [{ - sortable: true, - dataIndex: 'NOTAXRMBDR', - text: Zi.LAN.NOTAXRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXRMBCR', - text: Zi.LAN.NOTAXRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXRMBPROFIT', - text: Zi.LAN.NOTAXRMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDDR', - text: Zi.LAN.NOTAXUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDCR', - text: Zi.LAN.NOTAXUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDPROFIT', - text: Zi.LAN.NOTAXUSDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTDR', - text: Zi.LAN.NOTAXOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTCR', - text: Zi.LAN.NOTAXOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTPROFIT', - text: Zi.LAN.NOTAXOTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLDR', - text: Zi.LAN.NOTAXTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLCR', - text: Zi.LAN.NOTAXTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLPROFIT', - text: Zi.LAN.NOTAXTTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXPROFITRATE', - text: Zi.LAN.NOTAXPROFITRATE, - width: 80, - renderer: function (value, meta) { - if (value != 0) value = value + '%'; - return value; - } - }] - }, { - text: Zi.LAN.ALLNOACCTAX, - dataIndex: 'ALLNOACCTAX', - columns: [{ - sortable: true, - dataIndex: 'NOACCTAXRMBDR', - text: Zi.LAN.NOACCTAXRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXRMBCR', - text: Zi.LAN.NOACCTAXRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXRMBPROFIT', - text: Zi.LAN.NOACCTAXRMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDDR', - text: Zi.LAN.NOACCTAXUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDCR', - text: Zi.LAN.NOACCTAXUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDPROFIT', - text: Zi.LAN.NOACCTAXUSDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTDR', - text: Zi.LAN.NOACCTAXOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTCR', - text: Zi.LAN.NOACCTAXOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTPROFIT', - text: Zi.LAN.NOACCTAXOTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLDR', - text: Zi.LAN.NOACCTAXTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLCR', - text: Zi.LAN.NOACCTAXTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLPROFIT', - text: Zi.LAN.NOACCTAXTTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }] - } + sortable: true, + dataIndex: 'NOACCTAXRMBPROFIT', + text: Zi.LAN.NOACCTAXRMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDDR', + text: Zi.LAN.NOACCTAXUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDCR', + text: Zi.LAN.NOACCTAXUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDPROFIT', + text: Zi.LAN.NOACCTAXUSDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTDR', + text: Zi.LAN.NOACCTAXOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTCR', + text: Zi.LAN.NOACCTAXOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTPROFIT', + text: Zi.LAN.NOACCTAXOTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLDR', + text: Zi.LAN.NOACCTAXTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLCR', + text: Zi.LAN.NOACCTAXTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLPROFIT', + text: Zi.LAN.NOACCTAXTTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }] + } - ]; + ]; // this.girdcolumsbssource=this.initgirdcolumsbssource; @@ -7018,12 +7018,12 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { }, { sortable: true, dataIndex: 'BSSOURCEDETAIL', - text: Zi.LAN.BSSOURCEDETAIL, + text: Zi.LAN.BSSOURCEDETAIL, width: 80 }, { sortable: true, dataIndex: 'BLCOUNT', - text: Zi.LAN.BLCOUNT, + text: Zi.LAN.BLCOUNT, summaryType: 'sum', width: 80 }, @@ -7104,456 +7104,456 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { text: Zi.LAN.OTCNTR, width: 60 }, { - sortable: true, - dataIndex: 'TEU', - text: 'TEU', - summaryType: 'sum', - width: 80 + sortable: true, + dataIndex: 'TEU', + text: 'TEU', + summaryType: 'sum', + width: 80 + }, { + sortable: true, + dataIndex: 'KGS', + text: 'KGS', + 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 '' + lsValue + ''; } } 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 + }, { + sortable: true, + dataIndex: 'CBM', + text: 'CBM', + 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 '' + lsValue + ''; } } 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 + }, { + text: Zi.LAN.ALLIN, + dataIndex: 'ALLIN', + columns: [{ + sortable: true, + dataIndex: 'RMBDR', + text: Zi.LAN.RMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBCR', + text: Zi.LAN.RMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBPROFIT', + text: Zi.LAN.RMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDDR', + text: Zi.LAN.USDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDCR', + text: Zi.LAN.USDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDPROFIT', + text: Zi.LAN.USDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTDR', + text: Zi.LAN.OTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTCR', + text: Zi.LAN.OTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTPROFIT', + text: Zi.LAN.OTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLDR', + text: Zi.LAN.TTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLCR', + text: Zi.LAN.TTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLPROFIT', + text: Zi.LAN.TTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'PROFITRATE', + text: Zi.LAN.PROFITRATE, + width: 80, + renderer: function (value, meta) { + if (value != 0) value = value + '%'; + return value; + } + }, { + sortable: true, + dataIndex: 'TTLTAXDR', + text: Zi.LAN.TTLTAXDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLTAXCR', + text: Zi.LAN.TTLTAXCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLTAXPROFIT', + text: Zi.LAN.TTLTAXPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }] + }, { + text: Zi.LAN.ALLBALANCE, + dataIndex: 'ALLBALANCE', + columns: [{ + sortable: true, + dataIndex: 'STLRMBDR', + text: Zi.LAN.STLRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBNODR', + text: Zi.LAN.RMBNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLUSDDR', + text: Zi.LAN.STLUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDNODR', + text: Zi.LAN.USDNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLOTDR', + text: Zi.LAN.STLOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTNODR', + text: Zi.LAN.OTNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLTTLDR', + text: Zi.LAN.STLTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLNODR', + text: Zi.LAN.TTLNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLRMBCR', + text: Zi.LAN.STLRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBNOCR', + text: Zi.LAN.RMBNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLUSDCR', + text: Zi.LAN.STLUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDNOCR', + text: Zi.LAN.USDNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLOTCR', + text: Zi.LAN.STLOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTNOCR', + text: Zi.LAN.OTNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLTTLCR', + text: Zi.LAN.STLTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLNOCR', + text: Zi.LAN.TTLNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }] }, { - sortable: true, - dataIndex: 'KGS', - text: 'KGS', - 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 '' + lsValue + ''; } } 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 + text: Zi.LAN.ALLNOTAX, + dataIndex: 'ALLNOTAX', + columns: [{ + sortable: true, + dataIndex: 'NOTAXRMBDR', + text: Zi.LAN.NOTAXRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXRMBCR', + text: Zi.LAN.NOTAXRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXRMBPROFIT', + text: Zi.LAN.NOTAXRMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDDR', + text: Zi.LAN.NOTAXUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDCR', + text: Zi.LAN.NOTAXUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDPROFIT', + text: Zi.LAN.NOTAXUSDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTDR', + text: Zi.LAN.NOTAXOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTCR', + text: Zi.LAN.NOTAXOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTPROFIT', + text: Zi.LAN.NOTAXOTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLDR', + text: Zi.LAN.NOTAXTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLCR', + text: Zi.LAN.NOTAXTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 }, { sortable: true, - dataIndex: 'CBM', - text: 'CBM', + dataIndex: 'NOTAXTTLPROFIT', + text: Zi.LAN.NOTAXTTLPROFIT, 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 '' + lsValue + ''; } } 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); + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXPROFITRATE', + text: Zi.LAN.NOTAXPROFITRATE, + width: 80, + renderer: function (value, meta) { + if (value != 0) value = value + '%'; return value; - }, - width: 80 + } + }] + }, { + text: Zi.LAN.ALLNOACCTAX, + dataIndex: 'ALLNOACCTAX', + columns: [{ + sortable: true, + dataIndex: 'NOACCTAXRMBDR', + text: Zi.LAN.NOACCTAXRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 }, { - text: Zi.LAN.ALLIN, - dataIndex: 'ALLIN', - columns: [{ - sortable: true, - dataIndex: 'RMBDR', - text: Zi.LAN.RMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBCR', - text: Zi.LAN.RMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBPROFIT', - text: Zi.LAN.RMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDDR', - text: Zi.LAN.USDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDCR', - text: Zi.LAN.USDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDPROFIT', - text: Zi.LAN.USDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTDR', - text: Zi.LAN.OTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTCR', - text: Zi.LAN.OTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTPROFIT', - text: Zi.LAN.OTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLDR', - text: Zi.LAN.TTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLCR', - text: Zi.LAN.TTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLPROFIT', - text: Zi.LAN.TTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'PROFITRATE', - text: Zi.LAN.PROFITRATE, - width: 80, - renderer: function (value, meta) { - if (value != 0) value = value + '%'; - return value; - } - }, { - sortable: true, - dataIndex: 'TTLTAXDR', - text: Zi.LAN.TTLTAXDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLTAXCR', - text: Zi.LAN.TTLTAXCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLTAXPROFIT', - text: Zi.LAN.TTLTAXPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }] - }, { - text: Zi.LAN.ALLBALANCE, - dataIndex: 'ALLBALANCE', - columns: [{ - sortable: true, - dataIndex: 'STLRMBDR', - text: Zi.LAN.STLRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBNODR', - text: Zi.LAN.RMBNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLUSDDR', - text: Zi.LAN.STLUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDNODR', - text: Zi.LAN.USDNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLOTDR', - text: Zi.LAN.STLOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTNODR', - text: Zi.LAN.OTNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLTTLDR', - text: Zi.LAN.STLTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLNODR', - text: Zi.LAN.TTLNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLRMBCR', - text: Zi.LAN.STLRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBNOCR', - text: Zi.LAN.RMBNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLUSDCR', - text: Zi.LAN.STLUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDNOCR', - text: Zi.LAN.USDNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLOTCR', - text: Zi.LAN.STLOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTNOCR', - text: Zi.LAN.OTNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLTTLCR', - text: Zi.LAN.STLTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLNOCR', - text: Zi.LAN.TTLNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }] - }, { - text: Zi.LAN.ALLNOTAX, - dataIndex: 'ALLNOTAX', - columns: [{ - sortable: true, - dataIndex: 'NOTAXRMBDR', - text: Zi.LAN.NOTAXRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXRMBCR', - text: Zi.LAN.NOTAXRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXRMBPROFIT', - text: Zi.LAN.NOTAXRMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDDR', - text: Zi.LAN.NOTAXUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDCR', - text: Zi.LAN.NOTAXUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDPROFIT', - text: Zi.LAN.NOTAXUSDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTDR', - text: Zi.LAN.NOTAXOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTCR', - text: Zi.LAN.NOTAXOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTPROFIT', - text: Zi.LAN.NOTAXOTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLDR', - text: Zi.LAN.NOTAXTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLCR', - text: Zi.LAN.NOTAXTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLPROFIT', - text: Zi.LAN.NOTAXTTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXPROFITRATE', - text: Zi.LAN.NOTAXPROFITRATE, - width: 80, - renderer: function (value, meta) { - if (value != 0) value = value + '%'; - return value; - } - }] - }, { - text: Zi.LAN.ALLNOACCTAX, - dataIndex: 'ALLNOACCTAX', - columns: [{ - sortable: true, - dataIndex: 'NOACCTAXRMBDR', - text: Zi.LAN.NOACCTAXRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXRMBCR', - text: Zi.LAN.NOACCTAXRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXRMBPROFIT', - text: Zi.LAN.NOACCTAXRMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDDR', - text: Zi.LAN.NOACCTAXUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDCR', - text: Zi.LAN.NOACCTAXUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDPROFIT', - text: Zi.LAN.NOACCTAXUSDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTDR', - text: Zi.LAN.NOACCTAXOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTCR', - text: Zi.LAN.NOACCTAXOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTPROFIT', - text: Zi.LAN.NOACCTAXOTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLDR', - text: Zi.LAN.NOACCTAXTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLCR', - text: Zi.LAN.NOACCTAXTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLPROFIT', - text: Zi.LAN.NOACCTAXTTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }] - } - ]; + sortable: true, + dataIndex: 'NOACCTAXRMBCR', + text: Zi.LAN.NOACCTAXRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXRMBPROFIT', + text: Zi.LAN.NOACCTAXRMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDDR', + text: Zi.LAN.NOACCTAXUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDCR', + text: Zi.LAN.NOACCTAXUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDPROFIT', + text: Zi.LAN.NOACCTAXUSDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTDR', + text: Zi.LAN.NOACCTAXOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTCR', + text: Zi.LAN.NOACCTAXOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTPROFIT', + text: Zi.LAN.NOACCTAXOTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLDR', + text: Zi.LAN.NOACCTAXTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLCR', + text: Zi.LAN.NOACCTAXTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLPROFIT', + text: Zi.LAN.NOACCTAXTTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }] + } + ]; this.girdcolumsbssourcedetail = this.initgirdcolumsbssourcedetail; @@ -7589,7 +7589,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { this.girdcolumsbssourcedetail.unshift(new Ext.grid.RowNumberer()); this.gridListBsSourceDetail.addListener('itemdblclick', function (dataview, record, item, index, e, b) { - this.sqlselect = " B.BSSOURCE='" + record.data.BSSOURCE + "' AND B.BSSOURCEDETAIL='" + record.data.BSSOURCEDETAIL+"'"; + this.sqlselect = " B.BSSOURCE='" + record.data.BSSOURCE + "' AND B.BSSOURCEDETAIL='" + record.data.BSSOURCEDETAIL + "'"; var openSet = "height=700, width=1024, toolbar=no, menubar=no,scrollbars=1, resizable=1,location=no, status=no,Top= " + (screen.height - 750) / 2 + ",Left= " + (screen.width - 1100) / 2 var openType = "_blank"; var openUrl = ""; @@ -7714,7 +7714,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { }, { sortable: true, dataIndex: 'BLCOUNT', - text: Zi.LAN.BLCOUNT, + text: Zi.LAN.BLCOUNT, summaryType: 'sum', width: 80 }, @@ -7795,457 +7795,457 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { text: Zi.LAN.OTCNTR, width: 60 }, { - sortable: true, - dataIndex: 'TEU', - text: 'TEU', - summaryType: 'sum', - width: 80 + sortable: true, + dataIndex: 'TEU', + text: 'TEU', + summaryType: 'sum', + width: 80 + }, { + sortable: true, + dataIndex: 'KGS', + text: 'KGS', + 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 '' + lsValue + ''; } } 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 + }, { + sortable: true, + dataIndex: 'CBM', + text: 'CBM', + 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 '' + lsValue + ''; } } 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 + }, { + text: Zi.LAN.ALLIN, + dataIndex: 'ALLIN', + columns: [{ + sortable: true, + dataIndex: 'RMBDR', + text: Zi.LAN.RMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBCR', + text: Zi.LAN.RMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBPROFIT', + text: Zi.LAN.RMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDDR', + text: Zi.LAN.USDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDCR', + text: Zi.LAN.USDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDPROFIT', + text: Zi.LAN.USDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTDR', + text: Zi.LAN.OTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTCR', + text: Zi.LAN.OTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTPROFIT', + text: Zi.LAN.OTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLDR', + text: Zi.LAN.TTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLCR', + text: Zi.LAN.TTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLPROFIT', + text: Zi.LAN.TTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'PROFITRATE', + text: Zi.LAN.PROFITRATE, + width: 80, + renderer: function (value, meta) { + if (value != 0) value = value + '%'; + return value; + } + }, { + sortable: true, + dataIndex: 'TTLTAXDR', + text: Zi.LAN.TTLTAXDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLTAXCR', + text: Zi.LAN.TTLTAXCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLTAXPROFIT', + text: Zi.LAN.TTLTAXPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }] + }, { + text: Zi.LAN.ALLBALANCE, + dataIndex: 'ALLBALANCE', + columns: [{ + sortable: true, + dataIndex: 'STLRMBDR', + text: Zi.LAN.STLRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBNODR', + text: Zi.LAN.RMBNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLUSDDR', + text: Zi.LAN.STLUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDNODR', + text: Zi.LAN.USDNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLOTDR', + text: Zi.LAN.STLOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTNODR', + text: Zi.LAN.OTNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLTTLDR', + text: Zi.LAN.STLTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLNODR', + text: Zi.LAN.TTLNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLRMBCR', + text: Zi.LAN.STLRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBNOCR', + text: Zi.LAN.RMBNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLUSDCR', + text: Zi.LAN.STLUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDNOCR', + text: Zi.LAN.USDNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLOTCR', + text: Zi.LAN.STLOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTNOCR', + text: Zi.LAN.OTNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLTTLCR', + text: Zi.LAN.STLTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLNOCR', + text: Zi.LAN.TTLNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }] }, { - sortable: true, - dataIndex: 'KGS', - text: 'KGS', - 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 '' + lsValue + ''; } } 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 + text: Zi.LAN.ALLNOTAX, + dataIndex: 'ALLNOTAX', + columns: [{ + sortable: true, + dataIndex: 'NOTAXRMBDR', + text: Zi.LAN.NOTAXRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXRMBCR', + text: Zi.LAN.NOTAXRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXRMBPROFIT', + text: Zi.LAN.NOTAXRMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDDR', + text: Zi.LAN.NOTAXUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDCR', + text: Zi.LAN.NOTAXUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDPROFIT', + text: Zi.LAN.NOTAXUSDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTDR', + text: Zi.LAN.NOTAXOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTCR', + text: Zi.LAN.NOTAXOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTPROFIT', + text: Zi.LAN.NOTAXOTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLDR', + text: Zi.LAN.NOTAXTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 }, { sortable: true, - dataIndex: 'CBM', - text: 'CBM', + dataIndex: 'NOTAXTTLCR', + text: Zi.LAN.NOTAXTTLCR, 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 '' + lsValue + ''; } } 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); + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLPROFIT', + text: Zi.LAN.NOTAXTTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXPROFITRATE', + text: Zi.LAN.NOTAXPROFITRATE, + width: 80, + renderer: function (value, meta) { + if (value != 0) value = value + '%'; return value; - }, - width: 80 + } + }] + }, { + text: Zi.LAN.ALLNOACCTAX, + dataIndex: 'ALLNOACCTAX', + columns: [{ + sortable: true, + dataIndex: 'NOACCTAXRMBDR', + text: Zi.LAN.NOACCTAXRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 }, { - text: Zi.LAN.ALLIN, - dataIndex: 'ALLIN', - columns: [{ - sortable: true, - dataIndex: 'RMBDR', - text: Zi.LAN.RMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBCR', - text: Zi.LAN.RMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBPROFIT', - text: Zi.LAN.RMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDDR', - text: Zi.LAN.USDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDCR', - text: Zi.LAN.USDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDPROFIT', - text: Zi.LAN.USDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTDR', - text: Zi.LAN.OTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTCR', - text: Zi.LAN.OTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTPROFIT', - text: Zi.LAN.OTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLDR', - text: Zi.LAN.TTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLCR', - text: Zi.LAN.TTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLPROFIT', - text: Zi.LAN.TTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'PROFITRATE', - text: Zi.LAN.PROFITRATE, - width: 80, - renderer: function (value, meta) { - if (value != 0) value = value + '%'; - return value; - } - }, { - sortable: true, - dataIndex: 'TTLTAXDR', - text: Zi.LAN.TTLTAXDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLTAXCR', - text: Zi.LAN.TTLTAXCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLTAXPROFIT', - text: Zi.LAN.TTLTAXPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }] - }, { - text: Zi.LAN.ALLBALANCE, - dataIndex: 'ALLBALANCE', - columns: [{ - sortable: true, - dataIndex: 'STLRMBDR', - text: Zi.LAN.STLRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBNODR', - text: Zi.LAN.RMBNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLUSDDR', - text: Zi.LAN.STLUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDNODR', - text: Zi.LAN.USDNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLOTDR', - text: Zi.LAN.STLOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTNODR', - text: Zi.LAN.OTNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLTTLDR', - text: Zi.LAN.STLTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLNODR', - text: Zi.LAN.TTLNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLRMBCR', - text: Zi.LAN.STLRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBNOCR', - text: Zi.LAN.RMBNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLUSDCR', - text: Zi.LAN.STLUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDNOCR', - text: Zi.LAN.USDNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLOTCR', - text: Zi.LAN.STLOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTNOCR', - text: Zi.LAN.OTNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLTTLCR', - text: Zi.LAN.STLTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLNOCR', - text: Zi.LAN.TTLNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }] - }, { - text: Zi.LAN.ALLNOTAX, - dataIndex: 'ALLNOTAX', - columns: [{ - sortable: true, - dataIndex: 'NOTAXRMBDR', - text: Zi.LAN.NOTAXRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXRMBCR', - text: Zi.LAN.NOTAXRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXRMBPROFIT', - text: Zi.LAN.NOTAXRMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDDR', - text: Zi.LAN.NOTAXUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDCR', - text: Zi.LAN.NOTAXUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDPROFIT', - text: Zi.LAN.NOTAXUSDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTDR', - text: Zi.LAN.NOTAXOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTCR', - text: Zi.LAN.NOTAXOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTPROFIT', - text: Zi.LAN.NOTAXOTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLDR', - text: Zi.LAN.NOTAXTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLCR', - text: Zi.LAN.NOTAXTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLPROFIT', - text: Zi.LAN.NOTAXTTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXPROFITRATE', - text: Zi.LAN.NOTAXPROFITRATE, - width: 80, - renderer: function (value, meta) { - if (value != 0) value = value + '%'; - return value; - } - }] - }, { - text: Zi.LAN.ALLNOACCTAX, - dataIndex: 'ALLNOACCTAX', - columns: [{ - sortable: true, - dataIndex: 'NOACCTAXRMBDR', - text: Zi.LAN.NOACCTAXRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXRMBCR', - text: Zi.LAN.NOACCTAXRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXRMBPROFIT', - text: Zi.LAN.NOACCTAXRMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDDR', - text: Zi.LAN.NOACCTAXUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDCR', - text: Zi.LAN.NOACCTAXUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDPROFIT', - text: Zi.LAN.NOACCTAXUSDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTDR', - text: Zi.LAN.NOACCTAXOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTCR', - text: Zi.LAN.NOACCTAXOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTPROFIT', - text: Zi.LAN.NOACCTAXOTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLDR', - text: Zi.LAN.NOACCTAXTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLCR', - text: Zi.LAN.NOACCTAXTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLPROFIT', - text: Zi.LAN.NOACCTAXTTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }] - } + sortable: true, + dataIndex: 'NOACCTAXRMBCR', + text: Zi.LAN.NOACCTAXRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXRMBPROFIT', + text: Zi.LAN.NOACCTAXRMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDDR', + text: Zi.LAN.NOACCTAXUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDCR', + text: Zi.LAN.NOACCTAXUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDPROFIT', + text: Zi.LAN.NOACCTAXUSDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTDR', + text: Zi.LAN.NOACCTAXOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTCR', + text: Zi.LAN.NOACCTAXOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTPROFIT', + text: Zi.LAN.NOACCTAXOTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLDR', + text: Zi.LAN.NOACCTAXTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLCR', + text: Zi.LAN.NOACCTAXTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLPROFIT', + text: Zi.LAN.NOACCTAXTTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }] + } - ]; + ]; this.girdcolumslane = this.initgirdcolumslane; @@ -8253,7 +8253,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { store: this.storeLaneList, enableHdMenu: false, region: 'center', - loadMask: { msg: Zi.LAN.ShuJuJiaZaiZhongQingShaoDeng}, + loadMask: { msg: Zi.LAN.ShuJuJiaZaiZhongQingShaoDeng }, trackMouseOver: true, disableSelection: false, viewConfig: { @@ -8295,7 +8295,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { this.lanelistsortdire = direction; }, this); - //#endregion + //#endregion //#region 卸货港 @@ -8406,7 +8406,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { }, { sortable: true, dataIndex: 'BLCOUNT', - text: Zi.LAN.BLCOUNT, + text: Zi.LAN.BLCOUNT, summaryType: 'sum', width: 80 }, @@ -8487,436 +8487,436 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { text: Zi.LAN.OTCNTR, width: 60 }, { - sortable: true, - dataIndex: 'TEU', - text: 'TEU', - summaryType: 'sum', - width: 80 + sortable: true, + dataIndex: 'TEU', + text: 'TEU', + summaryType: 'sum', + width: 80 + }, { + sortable: true, + dataIndex: 'KGS', + text: 'KGS', + 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 '' + lsValue + ''; } } 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 + }, { + text: Zi.LAN.ALLIN, + dataIndex: 'ALLIN', + columns: [{ + sortable: true, + dataIndex: 'RMBDR', + text: Zi.LAN.RMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBCR', + text: Zi.LAN.RMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBPROFIT', + text: Zi.LAN.RMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDDR', + text: Zi.LAN.USDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDCR', + text: Zi.LAN.USDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDPROFIT', + text: Zi.LAN.USDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTDR', + text: Zi.LAN.OTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTCR', + text: Zi.LAN.OTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTPROFIT', + text: Zi.LAN.OTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLDR', + text: Zi.LAN.TTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLCR', + text: Zi.LAN.TTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLPROFIT', + text: Zi.LAN.TTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'PROFITRATE', + text: Zi.LAN.PROFITRATE, + width: 80, + renderer: function (value, meta) { + if (value != 0) value = value + '%'; + return value; + } + }, { + sortable: true, + dataIndex: 'TTLTAXDR', + text: Zi.LAN.TTLTAXDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLTAXCR', + text: Zi.LAN.TTLTAXCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLTAXPROFIT', + text: Zi.LAN.TTLTAXPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }] + }, { + text: Zi.LAN.ALLBALANCE, + dataIndex: 'ALLBALANCE', + columns: [{ + sortable: true, + dataIndex: 'STLRMBDR', + text: Zi.LAN.STLRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBNODR', + text: Zi.LAN.RMBNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLUSDDR', + text: Zi.LAN.STLUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDNODR', + text: Zi.LAN.USDNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLOTDR', + text: Zi.LAN.STLOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTNODR', + text: Zi.LAN.OTNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLTTLDR', + text: Zi.LAN.STLTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLNODR', + text: Zi.LAN.TTLNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLRMBCR', + text: Zi.LAN.STLRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBNOCR', + text: Zi.LAN.RMBNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLUSDCR', + text: Zi.LAN.STLUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDNOCR', + text: Zi.LAN.USDNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLOTCR', + text: Zi.LAN.STLOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTNOCR', + text: Zi.LAN.OTNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLTTLCR', + text: Zi.LAN.STLTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLNOCR', + text: Zi.LAN.TTLNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }] + }, { + text: Zi.LAN.ALLNOTAX, + dataIndex: 'ALLNOTAX', + columns: [{ + sortable: true, + dataIndex: 'NOTAXRMBDR', + text: Zi.LAN.NOTAXRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXRMBCR', + text: Zi.LAN.NOTAXRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXRMBPROFIT', + text: Zi.LAN.NOTAXRMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDDR', + text: Zi.LAN.NOTAXUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDCR', + text: Zi.LAN.NOTAXUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDPROFIT', + text: Zi.LAN.NOTAXUSDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTDR', + text: Zi.LAN.NOTAXOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTCR', + text: Zi.LAN.NOTAXOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTPROFIT', + text: Zi.LAN.NOTAXOTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLDR', + text: Zi.LAN.NOTAXTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLCR', + text: Zi.LAN.NOTAXTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLPROFIT', + text: Zi.LAN.NOTAXTTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }] }, { - sortable: true, - dataIndex: 'KGS', - text: 'KGS', - 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 '' + lsValue + ''; } } 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 + text: Zi.LAN.ALLNOACCTAX, + dataIndex: 'ALLNOACCTAX', + columns: [{ + sortable: true, + dataIndex: 'NOACCTAXRMBDR', + text: Zi.LAN.NOACCTAXRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 }, { - text: Zi.LAN.ALLIN, - dataIndex: 'ALLIN', - columns: [{ - sortable: true, - dataIndex: 'RMBDR', - text: Zi.LAN.RMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBCR', - text: Zi.LAN.RMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBPROFIT', - text: Zi.LAN.RMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDDR', - text: Zi.LAN.USDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDCR', - text: Zi.LAN.USDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDPROFIT', - text: Zi.LAN.USDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTDR', - text: Zi.LAN.OTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTCR', - text: Zi.LAN.OTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTPROFIT', - text: Zi.LAN.OTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLDR', - text: Zi.LAN.TTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLCR', - text: Zi.LAN.TTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLPROFIT', - text: Zi.LAN.TTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'PROFITRATE', - text: Zi.LAN.PROFITRATE, - width: 80, - renderer: function (value, meta) { - if (value != 0) value = value + '%'; - return value; - } - }, { - sortable: true, - dataIndex: 'TTLTAXDR', - text: Zi.LAN.TTLTAXDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLTAXCR', - text: Zi.LAN.TTLTAXCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLTAXPROFIT', - text: Zi.LAN.TTLTAXPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }] - }, { - text: Zi.LAN.ALLBALANCE, - dataIndex: 'ALLBALANCE', - columns: [{ - sortable: true, - dataIndex: 'STLRMBDR', - text: Zi.LAN.STLRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBNODR', - text: Zi.LAN.RMBNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLUSDDR', - text: Zi.LAN.STLUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDNODR', - text: Zi.LAN.USDNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLOTDR', - text: Zi.LAN.STLOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTNODR', - text: Zi.LAN.OTNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLTTLDR', - text: Zi.LAN.STLTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLNODR', - text: Zi.LAN.TTLNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLRMBCR', - text: Zi.LAN.STLRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBNOCR', - text: Zi.LAN.RMBNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLUSDCR', - text: Zi.LAN.STLUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDNOCR', - text: Zi.LAN.USDNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLOTCR', - text: Zi.LAN.STLOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTNOCR', - text: Zi.LAN.OTNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLTTLCR', - text: Zi.LAN.STLTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLNOCR', - text: Zi.LAN.TTLNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }] - }, { - text: Zi.LAN.ALLNOTAX, - dataIndex: 'ALLNOTAX', - columns: [{ - sortable: true, - dataIndex: 'NOTAXRMBDR', - text: Zi.LAN.NOTAXRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXRMBCR', - text: Zi.LAN.NOTAXRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXRMBPROFIT', - text: Zi.LAN.NOTAXRMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDDR', - text: Zi.LAN.NOTAXUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDCR', - text: Zi.LAN.NOTAXUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDPROFIT', - text: Zi.LAN.NOTAXUSDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTDR', - text: Zi.LAN.NOTAXOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTCR', - text: Zi.LAN.NOTAXOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTPROFIT', - text: Zi.LAN.NOTAXOTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLDR', - text: Zi.LAN.NOTAXTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLCR', - text: Zi.LAN.NOTAXTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLPROFIT', - text: Zi.LAN.NOTAXTTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }] - }, { - text: Zi.LAN.ALLNOACCTAX, - dataIndex: 'ALLNOACCTAX', - columns: [{ - sortable: true, - dataIndex: 'NOACCTAXRMBDR', - text: Zi.LAN.NOACCTAXRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXRMBCR', - text: Zi.LAN.NOACCTAXRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXRMBPROFIT', - text: Zi.LAN.NOACCTAXRMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDDR', - text: Zi.LAN.NOACCTAXUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDCR', - text: Zi.LAN.NOACCTAXUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDPROFIT', - text: Zi.LAN.NOACCTAXUSDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTDR', - text: Zi.LAN.NOACCTAXOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTCR', - text: Zi.LAN.NOACCTAXOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTPROFIT', - text: Zi.LAN.NOACCTAXOTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLDR', - text: Zi.LAN.NOACCTAXTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLCR', - text: Zi.LAN.NOACCTAXTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLPROFIT', - text: Zi.LAN.NOACCTAXTTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }] - } + sortable: true, + dataIndex: 'NOACCTAXRMBCR', + text: Zi.LAN.NOACCTAXRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXRMBPROFIT', + text: Zi.LAN.NOACCTAXRMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDDR', + text: Zi.LAN.NOACCTAXUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDCR', + text: Zi.LAN.NOACCTAXUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDPROFIT', + text: Zi.LAN.NOACCTAXUSDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTDR', + text: Zi.LAN.NOACCTAXOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTCR', + text: Zi.LAN.NOACCTAXOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTPROFIT', + text: Zi.LAN.NOACCTAXOTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLDR', + text: Zi.LAN.NOACCTAXTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLCR', + text: Zi.LAN.NOACCTAXTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLPROFIT', + text: Zi.LAN.NOACCTAXTTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }] + } - ]; + ]; this.girdcolumsport = this.initgirdcolumsport; @@ -8924,7 +8924,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { store: this.storePortList, enableHdMenu: false, region: 'center', - loadMask: { msg: Zi.LAN.ShuJuJiaZaiZhongQingShaoDeng}, + loadMask: { msg: Zi.LAN.ShuJuJiaZaiZhongQingShaoDeng }, trackMouseOver: true, disableSelection: false, viewConfig: { @@ -9080,7 +9080,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { }, { sortable: true, dataIndex: 'BLCOUNT', - text: Zi.LAN.BLCOUNT, + text: Zi.LAN.BLCOUNT, summaryType: 'sum', width: 80 }, @@ -9161,455 +9161,455 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { text: Zi.LAN.OTCNTR, width: 60 }, { - sortable: true, - dataIndex: 'TEU', - text: 'TEU', - summaryType: 'sum', - width: 80 + sortable: true, + dataIndex: 'TEU', + text: 'TEU', + summaryType: 'sum', + width: 80 + }, { + sortable: true, + dataIndex: 'KGS', + text: 'KGS', + 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 '' + lsValue + ''; } } 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 + }, { + sortable: true, + dataIndex: 'CBM', + text: 'CBM', + 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 '' + lsValue + ''; } } 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 + }, { + text: Zi.LAN.ALLIN, + dataIndex: 'ALLIN', + columns: [{ + sortable: true, + dataIndex: 'RMBDR', + text: Zi.LAN.RMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBCR', + text: Zi.LAN.RMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBPROFIT', + text: Zi.LAN.RMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDDR', + text: Zi.LAN.USDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDCR', + text: Zi.LAN.USDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDPROFIT', + text: Zi.LAN.USDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTDR', + text: Zi.LAN.OTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTCR', + text: Zi.LAN.OTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTPROFIT', + text: Zi.LAN.OTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLDR', + text: Zi.LAN.TTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLCR', + text: Zi.LAN.TTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLPROFIT', + text: Zi.LAN.TTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'PROFITRATE', + text: Zi.LAN.PROFITRATE, + width: 80, + renderer: function (value, meta) { + if (value != 0) value = value + '%'; + return value; + } + }, { + sortable: true, + dataIndex: 'TTLTAXDR', + text: Zi.LAN.TTLTAXDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLTAXCR', + text: Zi.LAN.TTLTAXCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLTAXPROFIT', + text: Zi.LAN.TTLTAXPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }] + }, { + text: Zi.LAN.ALLBALANCE, + dataIndex: 'ALLBALANCE', + columns: [{ + sortable: true, + dataIndex: 'STLRMBDR', + text: Zi.LAN.STLRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBNODR', + text: Zi.LAN.RMBNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLUSDDR', + text: Zi.LAN.STLUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDNODR', + text: Zi.LAN.USDNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLOTDR', + text: Zi.LAN.STLOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTNODR', + text: Zi.LAN.OTNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLTTLDR', + text: Zi.LAN.STLTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLNODR', + text: Zi.LAN.TTLNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLRMBCR', + text: Zi.LAN.STLRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBNOCR', + text: Zi.LAN.RMBNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLUSDCR', + text: Zi.LAN.STLUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDNOCR', + text: Zi.LAN.USDNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLOTCR', + text: Zi.LAN.STLOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTNOCR', + text: Zi.LAN.OTNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLTTLCR', + text: Zi.LAN.STLTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLNOCR', + text: Zi.LAN.TTLNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }] }, { - sortable: true, - dataIndex: 'KGS', - text: 'KGS', - 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 '' + lsValue + ''; } } 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 + text: Zi.LAN.ALLNOTAX, + dataIndex: 'ALLNOTAX', + columns: [{ + sortable: true, + dataIndex: 'NOTAXRMBDR', + text: Zi.LAN.NOTAXRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXRMBCR', + text: Zi.LAN.NOTAXRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXRMBPROFIT', + text: Zi.LAN.NOTAXRMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDDR', + text: Zi.LAN.NOTAXUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDCR', + text: Zi.LAN.NOTAXUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDPROFIT', + text: Zi.LAN.NOTAXUSDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTDR', + text: Zi.LAN.NOTAXOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTCR', + text: Zi.LAN.NOTAXOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTPROFIT', + text: Zi.LAN.NOTAXOTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLDR', + text: Zi.LAN.NOTAXTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 }, { sortable: true, - dataIndex: 'CBM', - text: 'CBM', + dataIndex: 'NOTAXTTLCR', + text: Zi.LAN.NOTAXTTLCR, 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 '' + lsValue + ''; } } 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); + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLPROFIT', + text: Zi.LAN.NOTAXTTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXPROFITRATE', + text: Zi.LAN.NOTAXPROFITRATE, + width: 80, + renderer: function (value, meta) { + if (value != 0) value = value + '%'; return value; - }, - width: 80 + } + }] + }, { + text: Zi.LAN.ALLNOACCTAX, + dataIndex: 'ALLNOACCTAX', + columns: [{ + sortable: true, + dataIndex: 'NOACCTAXRMBDR', + text: Zi.LAN.NOACCTAXRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 }, { - text: Zi.LAN.ALLIN, - dataIndex: 'ALLIN', - columns: [{ - sortable: true, - dataIndex: 'RMBDR', - text: Zi.LAN.RMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBCR', - text: Zi.LAN.RMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBPROFIT', - text: Zi.LAN.RMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDDR', - text: Zi.LAN.USDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDCR', - text: Zi.LAN.USDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDPROFIT', - text: Zi.LAN.USDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTDR', - text: Zi.LAN.OTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTCR', - text: Zi.LAN.OTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTPROFIT', - text: Zi.LAN.OTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLDR', - text: Zi.LAN.TTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLCR', - text: Zi.LAN.TTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLPROFIT', - text: Zi.LAN.TTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'PROFITRATE', - text: Zi.LAN.PROFITRATE, - width: 80, - renderer: function (value, meta) { - if (value != 0) value = value + '%'; - return value; - } - }, { - sortable: true, - dataIndex: 'TTLTAXDR', - text: Zi.LAN.TTLTAXDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLTAXCR', - text: Zi.LAN.TTLTAXCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLTAXPROFIT', - text: Zi.LAN.TTLTAXPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }] - }, { - text: Zi.LAN.ALLBALANCE, - dataIndex: 'ALLBALANCE', - columns: [{ - sortable: true, - dataIndex: 'STLRMBDR', - text: Zi.LAN.STLRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBNODR', - text: Zi.LAN.RMBNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLUSDDR', - text: Zi.LAN.STLUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDNODR', - text: Zi.LAN.USDNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLOTDR', - text: Zi.LAN.STLOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTNODR', - text: Zi.LAN.OTNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLTTLDR', - text: Zi.LAN.STLTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLNODR', - text: Zi.LAN.TTLNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLRMBCR', - text: Zi.LAN.STLRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBNOCR', - text: Zi.LAN.RMBNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLUSDCR', - text: Zi.LAN.STLUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDNOCR', - text: Zi.LAN.USDNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLOTCR', - text: Zi.LAN.STLOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTNOCR', - text: Zi.LAN.OTNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLTTLCR', - text: Zi.LAN.STLTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLNOCR', - text: Zi.LAN.TTLNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }] - }, { - text: Zi.LAN.ALLNOTAX, - dataIndex: 'ALLNOTAX', - columns: [{ - sortable: true, - dataIndex: 'NOTAXRMBDR', - text: Zi.LAN.NOTAXRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXRMBCR', - text: Zi.LAN.NOTAXRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXRMBPROFIT', - text: Zi.LAN.NOTAXRMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDDR', - text: Zi.LAN.NOTAXUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDCR', - text: Zi.LAN.NOTAXUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDPROFIT', - text: Zi.LAN.NOTAXUSDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTDR', - text: Zi.LAN.NOTAXOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTCR', - text: Zi.LAN.NOTAXOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTPROFIT', - text: Zi.LAN.NOTAXOTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLDR', - text: Zi.LAN.NOTAXTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLCR', - text: Zi.LAN.NOTAXTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLPROFIT', - text: Zi.LAN.NOTAXTTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXPROFITRATE', - text: Zi.LAN.NOTAXPROFITRATE, - width: 80, - renderer: function (value, meta) { - if (value != 0) value = value + '%'; - return value; - } - }] - }, { - text: Zi.LAN.ALLNOACCTAX, - dataIndex: 'ALLNOACCTAX', - columns: [{ - sortable: true, - dataIndex: 'NOACCTAXRMBDR', - text: Zi.LAN.NOACCTAXRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXRMBCR', - text: Zi.LAN.NOACCTAXRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXRMBPROFIT', - text: Zi.LAN.NOACCTAXRMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDDR', - text: Zi.LAN.NOACCTAXUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDCR', - text: Zi.LAN.NOACCTAXUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDPROFIT', - text: Zi.LAN.NOACCTAXUSDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTDR', - text: Zi.LAN.NOACCTAXOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTCR', - text: Zi.LAN.NOACCTAXOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTPROFIT', - text: Zi.LAN.NOACCTAXOTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLDR', - text: Zi.LAN.NOACCTAXTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLCR', - text: Zi.LAN.NOACCTAXTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLPROFIT', - text: Zi.LAN.NOACCTAXTTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }] - } + sortable: true, + dataIndex: 'NOACCTAXRMBCR', + text: Zi.LAN.NOACCTAXRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXRMBPROFIT', + text: Zi.LAN.NOACCTAXRMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDDR', + text: Zi.LAN.NOACCTAXUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDCR', + text: Zi.LAN.NOACCTAXUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDPROFIT', + text: Zi.LAN.NOACCTAXUSDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTDR', + text: Zi.LAN.NOACCTAXOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTCR', + text: Zi.LAN.NOACCTAXOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTPROFIT', + text: Zi.LAN.NOACCTAXOTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLDR', + text: Zi.LAN.NOACCTAXTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLCR', + text: Zi.LAN.NOACCTAXTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLPROFIT', + text: Zi.LAN.NOACCTAXTTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }] + } ]; this.girdcolumsportload = this.initgirdcolumsportload; @@ -9618,7 +9618,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { store: this.storePortLoadList, enableHdMenu: false, region: 'center', - loadMask: { msg: Zi.LAN.ShuJuJiaZaiZhongQingShaoDeng}, + loadMask: { msg: Zi.LAN.ShuJuJiaZaiZhongQingShaoDeng }, trackMouseOver: true, disableSelection: false, viewConfig: { @@ -9775,7 +9775,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { }, { sortable: true, dataIndex: 'BLCOUNT', - text: Zi.LAN.BLCOUNT, + text: Zi.LAN.BLCOUNT, summaryType: 'sum', width: 80 }, @@ -9856,455 +9856,455 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { text: Zi.LAN.OTCNTR, width: 60 }, { - sortable: true, - dataIndex: 'TEU', - text: 'TEU', - summaryType: 'sum', - width: 80 + sortable: true, + dataIndex: 'TEU', + text: 'TEU', + summaryType: 'sum', + width: 80 + }, { + sortable: true, + dataIndex: 'KGS', + text: 'KGS', + 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 '' + lsValue + ''; } } 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 + }, { + sortable: true, + dataIndex: 'CBM', + text: 'CBM', + 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 '' + lsValue + ''; } } 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 + }, { + text: Zi.LAN.ALLIN, + dataIndex: 'ALLIN', + columns: [{ + sortable: true, + dataIndex: 'RMBDR', + text: Zi.LAN.RMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBCR', + text: Zi.LAN.RMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBPROFIT', + text: Zi.LAN.RMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDDR', + text: Zi.LAN.USDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDCR', + text: Zi.LAN.USDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDPROFIT', + text: Zi.LAN.USDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTDR', + text: Zi.LAN.OTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTCR', + text: Zi.LAN.OTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTPROFIT', + text: Zi.LAN.OTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLDR', + text: Zi.LAN.TTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLCR', + text: Zi.LAN.TTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLPROFIT', + text: Zi.LAN.TTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'PROFITRATE', + text: Zi.LAN.PROFITRATE, + width: 80, + renderer: function (value, meta) { + if (value != 0) value = value + '%'; + return value; + } + }, { + sortable: true, + dataIndex: 'TTLTAXDR', + text: Zi.LAN.TTLTAXDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLTAXCR', + text: Zi.LAN.TTLTAXCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLTAXPROFIT', + text: Zi.LAN.TTLTAXPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }] + }, { + text: Zi.LAN.ALLBALANCE, + dataIndex: 'ALLBALANCE', + columns: [{ + sortable: true, + dataIndex: 'STLRMBDR', + text: Zi.LAN.STLRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBNODR', + text: Zi.LAN.RMBNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLUSDDR', + text: Zi.LAN.STLUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDNODR', + text: Zi.LAN.USDNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLOTDR', + text: Zi.LAN.STLOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTNODR', + text: Zi.LAN.OTNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLTTLDR', + text: Zi.LAN.STLTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLNODR', + text: Zi.LAN.TTLNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLRMBCR', + text: Zi.LAN.STLRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBNOCR', + text: Zi.LAN.RMBNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLUSDCR', + text: Zi.LAN.STLUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDNOCR', + text: Zi.LAN.USDNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLOTCR', + text: Zi.LAN.STLOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTNOCR', + text: Zi.LAN.OTNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLTTLCR', + text: Zi.LAN.STLTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLNOCR', + text: Zi.LAN.TTLNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }] }, { - sortable: true, - dataIndex: 'KGS', - text: 'KGS', - 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 '' + lsValue + ''; } } 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 + text: Zi.LAN.ALLNOTAX, + dataIndex: 'ALLNOTAX', + columns: [{ + sortable: true, + dataIndex: 'NOTAXRMBDR', + text: Zi.LAN.NOTAXRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXRMBCR', + text: Zi.LAN.NOTAXRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXRMBPROFIT', + text: Zi.LAN.NOTAXRMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDDR', + text: Zi.LAN.NOTAXUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDCR', + text: Zi.LAN.NOTAXUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDPROFIT', + text: Zi.LAN.NOTAXUSDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTDR', + text: Zi.LAN.NOTAXOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTCR', + text: Zi.LAN.NOTAXOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTPROFIT', + text: Zi.LAN.NOTAXOTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 }, { sortable: true, - dataIndex: 'CBM', - text: 'CBM', + dataIndex: 'NOTAXTTLDR', + text: Zi.LAN.NOTAXTTLDR, 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 '' + lsValue + ''; } } 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); + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLCR', + text: Zi.LAN.NOTAXTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLPROFIT', + text: Zi.LAN.NOTAXTTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXPROFITRATE', + text: Zi.LAN.NOTAXPROFITRATE, + width: 80, + renderer: function (value, meta) { + if (value != 0) value = value + '%'; return value; - }, - width: 80 + } + }] + }, { + text: Zi.LAN.ALLNOACCTAX, + dataIndex: 'ALLNOACCTAX', + columns: [{ + sortable: true, + dataIndex: 'NOACCTAXRMBDR', + text: Zi.LAN.NOACCTAXRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 }, { - text: Zi.LAN.ALLIN, - dataIndex: 'ALLIN', - columns: [{ - sortable: true, - dataIndex: 'RMBDR', - text: Zi.LAN.RMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBCR', - text: Zi.LAN.RMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBPROFIT', - text: Zi.LAN.RMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDDR', - text: Zi.LAN.USDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDCR', - text: Zi.LAN.USDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDPROFIT', - text: Zi.LAN.USDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTDR', - text: Zi.LAN.OTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTCR', - text: Zi.LAN.OTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTPROFIT', - text: Zi.LAN.OTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLDR', - text: Zi.LAN.TTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLCR', - text: Zi.LAN.TTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLPROFIT', - text: Zi.LAN.TTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'PROFITRATE', - text: Zi.LAN.PROFITRATE, - width: 80, - renderer: function (value, meta) { - if (value != 0) value = value + '%'; - return value; - } - }, { - sortable: true, - dataIndex: 'TTLTAXDR', - text: Zi.LAN.TTLTAXDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLTAXCR', - text: Zi.LAN.TTLTAXCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLTAXPROFIT', - text: Zi.LAN.TTLTAXPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }] - }, { - text: Zi.LAN.ALLBALANCE, - dataIndex: 'ALLBALANCE', - columns: [{ - sortable: true, - dataIndex: 'STLRMBDR', - text: Zi.LAN.STLRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBNODR', - text: Zi.LAN.RMBNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLUSDDR', - text: Zi.LAN.STLUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDNODR', - text: Zi.LAN.USDNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLOTDR', - text: Zi.LAN.STLOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTNODR', - text: Zi.LAN.OTNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLTTLDR', - text: Zi.LAN.STLTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLNODR', - text: Zi.LAN.TTLNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLRMBCR', - text: Zi.LAN.STLRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBNOCR', - text: Zi.LAN.RMBNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLUSDCR', - text: Zi.LAN.STLUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDNOCR', - text: Zi.LAN.USDNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLOTCR', - text: Zi.LAN.STLOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTNOCR', - text: Zi.LAN.OTNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLTTLCR', - text: Zi.LAN.STLTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLNOCR', - text: Zi.LAN.TTLNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }] - }, { - text: Zi.LAN.ALLNOTAX, - dataIndex: 'ALLNOTAX', - columns: [{ - sortable: true, - dataIndex: 'NOTAXRMBDR', - text: Zi.LAN.NOTAXRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXRMBCR', - text: Zi.LAN.NOTAXRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXRMBPROFIT', - text: Zi.LAN.NOTAXRMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDDR', - text: Zi.LAN.NOTAXUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDCR', - text: Zi.LAN.NOTAXUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDPROFIT', - text: Zi.LAN.NOTAXUSDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTDR', - text: Zi.LAN.NOTAXOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTCR', - text: Zi.LAN.NOTAXOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTPROFIT', - text: Zi.LAN.NOTAXOTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLDR', - text: Zi.LAN.NOTAXTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLCR', - text: Zi.LAN.NOTAXTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLPROFIT', - text: Zi.LAN.NOTAXTTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXPROFITRATE', - text: Zi.LAN.NOTAXPROFITRATE, - width: 80, - renderer: function (value, meta) { - if (value != 0) value = value + '%'; - return value; - } - }] - }, { - text: Zi.LAN.ALLNOACCTAX, - dataIndex: 'ALLNOACCTAX', - columns: [{ - sortable: true, - dataIndex: 'NOACCTAXRMBDR', - text: Zi.LAN.NOACCTAXRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXRMBCR', - text: Zi.LAN.NOACCTAXRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXRMBPROFIT', - text: Zi.LAN.NOACCTAXRMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDDR', - text: Zi.LAN.NOACCTAXUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDCR', - text: Zi.LAN.NOACCTAXUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDPROFIT', - text: Zi.LAN.NOACCTAXUSDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTDR', - text: Zi.LAN.NOACCTAXOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTCR', - text: Zi.LAN.NOACCTAXOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTPROFIT', - text: Zi.LAN.NOACCTAXOTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLDR', - text: Zi.LAN.NOACCTAXTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLCR', - text: Zi.LAN.NOACCTAXTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLPROFIT', - text: Zi.LAN.NOACCTAXTTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }] - } + sortable: true, + dataIndex: 'NOACCTAXRMBCR', + text: Zi.LAN.NOACCTAXRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXRMBPROFIT', + text: Zi.LAN.NOACCTAXRMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDDR', + text: Zi.LAN.NOACCTAXUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDCR', + text: Zi.LAN.NOACCTAXUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDPROFIT', + text: Zi.LAN.NOACCTAXUSDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTDR', + text: Zi.LAN.NOACCTAXOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTCR', + text: Zi.LAN.NOACCTAXOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTPROFIT', + text: Zi.LAN.NOACCTAXOTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLDR', + text: Zi.LAN.NOACCTAXTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLCR', + text: Zi.LAN.NOACCTAXTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLPROFIT', + text: Zi.LAN.NOACCTAXTTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }] + } ]; @@ -10314,7 +10314,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { store: this.storeDocList, enableHdMenu: false, region: 'center', - loadMask: { msg: Zi.LAN.ShuJuJiaZaiZhongQingShaoDeng}, + loadMask: { msg: Zi.LAN.ShuJuJiaZaiZhongQingShaoDeng }, trackMouseOver: true, disableSelection: false, viewConfig: { @@ -10357,7 +10357,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { this.doclistsortdire = direction; }, this); - //#endregion + //#endregion //#region 客服 @@ -10470,7 +10470,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { }, { sortable: true, dataIndex: 'BLCOUNT', - text: Zi.LAN.BLCOUNT, + text: Zi.LAN.BLCOUNT, summaryType: 'sum', width: 80 }, @@ -10551,455 +10551,455 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { text: Zi.LAN.OTCNTR, width: 60 }, { - sortable: true, - dataIndex: 'TEU', - text: 'TEU', - summaryType: 'sum', - width: 80 + sortable: true, + dataIndex: 'TEU', + text: 'TEU', + summaryType: 'sum', + width: 80 + }, { + sortable: true, + dataIndex: 'KGS', + text: 'KGS', + 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 '' + lsValue + ''; } } 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 + }, { + sortable: true, + dataIndex: 'CBM', + text: 'CBM', + 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 '' + lsValue + ''; } } 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 + }, { + text: Zi.LAN.ALLIN, + dataIndex: 'ALLIN', + columns: [{ + sortable: true, + dataIndex: 'RMBDR', + text: Zi.LAN.RMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBCR', + text: Zi.LAN.RMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBPROFIT', + text: Zi.LAN.RMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDDR', + text: Zi.LAN.USDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDCR', + text: Zi.LAN.USDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDPROFIT', + text: Zi.LAN.USDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTDR', + text: Zi.LAN.OTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTCR', + text: Zi.LAN.OTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTPROFIT', + text: Zi.LAN.OTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLDR', + text: Zi.LAN.TTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLCR', + text: Zi.LAN.TTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLPROFIT', + text: Zi.LAN.TTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'PROFITRATE', + text: Zi.LAN.PROFITRATE, + width: 80, + renderer: function (value, meta) { + if (value != 0) value = value + '%'; + return value; + } + }, { + sortable: true, + dataIndex: 'TTLTAXDR', + text: Zi.LAN.TTLTAXDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLTAXCR', + text: Zi.LAN.TTLTAXCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLTAXPROFIT', + text: Zi.LAN.TTLTAXPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }] + }, { + text: Zi.LAN.ALLBALANCE, + dataIndex: 'ALLBALANCE', + columns: [{ + sortable: true, + dataIndex: 'STLRMBDR', + text: Zi.LAN.STLRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBNODR', + text: Zi.LAN.RMBNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLUSDDR', + text: Zi.LAN.STLUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDNODR', + text: Zi.LAN.USDNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLOTDR', + text: Zi.LAN.STLOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTNODR', + text: Zi.LAN.OTNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLTTLDR', + text: Zi.LAN.STLTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLNODR', + text: Zi.LAN.TTLNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLRMBCR', + text: Zi.LAN.STLRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBNOCR', + text: Zi.LAN.RMBNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLUSDCR', + text: Zi.LAN.STLUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDNOCR', + text: Zi.LAN.USDNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLOTCR', + text: Zi.LAN.STLOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTNOCR', + text: Zi.LAN.OTNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLTTLCR', + text: Zi.LAN.STLTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLNOCR', + text: Zi.LAN.TTLNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }] }, { - sortable: true, - dataIndex: 'KGS', - text: 'KGS', - 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 '' + lsValue + ''; } } 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 + text: Zi.LAN.ALLNOTAX, + dataIndex: 'ALLNOTAX', + columns: [{ + sortable: true, + dataIndex: 'NOTAXRMBDR', + text: Zi.LAN.NOTAXRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXRMBCR', + text: Zi.LAN.NOTAXRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXRMBPROFIT', + text: Zi.LAN.NOTAXRMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDDR', + text: Zi.LAN.NOTAXUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDCR', + text: Zi.LAN.NOTAXUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDPROFIT', + text: Zi.LAN.NOTAXUSDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTDR', + text: Zi.LAN.NOTAXOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTCR', + text: Zi.LAN.NOTAXOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTPROFIT', + text: Zi.LAN.NOTAXOTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLDR', + text: Zi.LAN.NOTAXTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLCR', + text: Zi.LAN.NOTAXTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLPROFIT', + text: Zi.LAN.NOTAXTTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXPROFITRATE', + text: Zi.LAN.NOTAXPROFITRATE, + width: 80, + renderer: function (value, meta) { + if (value != 0) value = value + '%'; + return value; + } + }] }, { - sortable: true, - dataIndex: 'CBM', - text: 'CBM', - 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 '' + lsValue + ''; } } 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 + text: Zi.LAN.ALLNOACCTAX, + dataIndex: 'ALLNOACCTAX', + columns: [{ + sortable: true, + dataIndex: 'NOACCTAXRMBDR', + text: Zi.LAN.NOACCTAXRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 }, { - text: Zi.LAN.ALLIN, - dataIndex: 'ALLIN', - columns: [{ - sortable: true, - dataIndex: 'RMBDR', - text: Zi.LAN.RMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBCR', - text: Zi.LAN.RMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBPROFIT', - text: Zi.LAN.RMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDDR', - text: Zi.LAN.USDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDCR', - text: Zi.LAN.USDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDPROFIT', - text: Zi.LAN.USDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTDR', - text: Zi.LAN.OTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTCR', - text: Zi.LAN.OTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTPROFIT', - text: Zi.LAN.OTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLDR', - text: Zi.LAN.TTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLCR', - text: Zi.LAN.TTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLPROFIT', - text: Zi.LAN.TTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'PROFITRATE', - text: Zi.LAN.PROFITRATE, - width: 80, - renderer: function (value, meta) { - if (value != 0) value = value + '%'; - return value; - } - }, { - sortable: true, - dataIndex: 'TTLTAXDR', - text: Zi.LAN.TTLTAXDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLTAXCR', - text: Zi.LAN.TTLTAXCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLTAXPROFIT', - text: Zi.LAN.TTLTAXPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }] - }, { - text: Zi.LAN.ALLBALANCE, - dataIndex: 'ALLBALANCE', - columns: [{ - sortable: true, - dataIndex: 'STLRMBDR', - text: Zi.LAN.STLRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBNODR', - text: Zi.LAN.RMBNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLUSDDR', - text: Zi.LAN.STLUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDNODR', - text: Zi.LAN.USDNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLOTDR', - text: Zi.LAN.STLOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTNODR', - text: Zi.LAN.OTNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLTTLDR', - text: Zi.LAN.STLTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLNODR', - text: Zi.LAN.TTLNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLRMBCR', - text: Zi.LAN.STLRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBNOCR', - text: Zi.LAN.RMBNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLUSDCR', - text: Zi.LAN.STLUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDNOCR', - text: Zi.LAN.USDNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLOTCR', - text: Zi.LAN.STLOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTNOCR', - text: Zi.LAN.OTNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLTTLCR', - text: Zi.LAN.STLTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLNOCR', - text: Zi.LAN.TTLNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }] - }, { - text: Zi.LAN.ALLNOTAX, - dataIndex: 'ALLNOTAX', - columns: [{ - sortable: true, - dataIndex: 'NOTAXRMBDR', - text: Zi.LAN.NOTAXRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXRMBCR', - text: Zi.LAN.NOTAXRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXRMBPROFIT', - text: Zi.LAN.NOTAXRMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDDR', - text: Zi.LAN.NOTAXUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDCR', - text: Zi.LAN.NOTAXUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDPROFIT', - text: Zi.LAN.NOTAXUSDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTDR', - text: Zi.LAN.NOTAXOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTCR', - text: Zi.LAN.NOTAXOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTPROFIT', - text: Zi.LAN.NOTAXOTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLDR', - text: Zi.LAN.NOTAXTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLCR', - text: Zi.LAN.NOTAXTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLPROFIT', - text: Zi.LAN.NOTAXTTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXPROFITRATE', - text: Zi.LAN.NOTAXPROFITRATE, - width: 80, - renderer: function (value, meta) { - if (value != 0) value = value + '%'; - return value; - } - }] - }, { - text: Zi.LAN.ALLNOACCTAX, - dataIndex: 'ALLNOACCTAX', - columns: [{ - sortable: true, - dataIndex: 'NOACCTAXRMBDR', - text: Zi.LAN.NOACCTAXRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXRMBCR', - text: Zi.LAN.NOACCTAXRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXRMBPROFIT', - text: Zi.LAN.NOACCTAXRMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDDR', - text: Zi.LAN.NOACCTAXUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDCR', - text: Zi.LAN.NOACCTAXUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDPROFIT', - text: Zi.LAN.NOACCTAXUSDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTDR', - text: Zi.LAN.NOACCTAXOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTCR', - text: Zi.LAN.NOACCTAXOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTPROFIT', - text: Zi.LAN.NOACCTAXOTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLDR', - text: Zi.LAN.NOACCTAXTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLCR', - text: Zi.LAN.NOACCTAXTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLPROFIT', - text: Zi.LAN.NOACCTAXTTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }] - } + sortable: true, + dataIndex: 'NOACCTAXRMBCR', + text: Zi.LAN.NOACCTAXRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXRMBPROFIT', + text: Zi.LAN.NOACCTAXRMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDDR', + text: Zi.LAN.NOACCTAXUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDCR', + text: Zi.LAN.NOACCTAXUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDPROFIT', + text: Zi.LAN.NOACCTAXUSDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTDR', + text: Zi.LAN.NOACCTAXOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTCR', + text: Zi.LAN.NOACCTAXOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTPROFIT', + text: Zi.LAN.NOACCTAXOTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLDR', + text: Zi.LAN.NOACCTAXTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLCR', + text: Zi.LAN.NOACCTAXTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLPROFIT', + text: Zi.LAN.NOACCTAXTTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }] + } ]; @@ -11009,7 +11009,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { store: this.storeCustServiceList, enableHdMenu: false, region: 'center', - loadMask: { msg: Zi.LAN.ShuJuJiaZaiZhongQingShaoDeng}, + loadMask: { msg: Zi.LAN.ShuJuJiaZaiZhongQingShaoDeng }, trackMouseOver: true, disableSelection: false, viewConfig: { @@ -11052,7 +11052,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { this.custservicelistsortdire = direction; }, this); - //#endregion + //#endregion //#region 装运方式 @@ -11164,7 +11164,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { }, { sortable: true, dataIndex: 'BLCOUNT', - text: Zi.LAN.BLCOUNT, + text: Zi.LAN.BLCOUNT, summaryType: 'sum', width: 80 }, @@ -11245,455 +11245,455 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { text: Zi.LAN.OTCNTR, width: 60 }, { - sortable: true, - dataIndex: 'TEU', - text: 'TEU', - summaryType: 'sum', - width: 80 + sortable: true, + dataIndex: 'TEU', + text: 'TEU', + summaryType: 'sum', + width: 80 + }, { + sortable: true, + dataIndex: 'KGS', + text: 'KGS', + 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 '' + lsValue + ''; } } 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 + }, { + sortable: true, + dataIndex: 'CBM', + text: 'CBM', + 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 '' + lsValue + ''; } } 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 + }, { + text: Zi.LAN.ALLIN, + dataIndex: 'ALLIN', + columns: [{ + sortable: true, + dataIndex: 'RMBDR', + text: Zi.LAN.RMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBCR', + text: Zi.LAN.RMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBPROFIT', + text: Zi.LAN.RMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDDR', + text: Zi.LAN.USDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDCR', + text: Zi.LAN.USDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDPROFIT', + text: Zi.LAN.USDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTDR', + text: Zi.LAN.OTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTCR', + text: Zi.LAN.OTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTPROFIT', + text: Zi.LAN.OTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLDR', + text: Zi.LAN.TTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLCR', + text: Zi.LAN.TTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLPROFIT', + text: Zi.LAN.TTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'PROFITRATE', + text: Zi.LAN.PROFITRATE, + width: 80, + renderer: function (value, meta) { + if (value != 0) value = value + '%'; + return value; + } + }, { + sortable: true, + dataIndex: 'TTLTAXDR', + text: Zi.LAN.TTLTAXDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLTAXCR', + text: Zi.LAN.TTLTAXCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLTAXPROFIT', + text: Zi.LAN.TTLTAXPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }] + }, { + text: Zi.LAN.ALLBALANCE, + dataIndex: 'ALLBALANCE', + columns: [{ + sortable: true, + dataIndex: 'STLRMBDR', + text: Zi.LAN.STLRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBNODR', + text: Zi.LAN.RMBNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLUSDDR', + text: Zi.LAN.STLUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDNODR', + text: Zi.LAN.USDNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLOTDR', + text: Zi.LAN.STLOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTNODR', + text: Zi.LAN.OTNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLTTLDR', + text: Zi.LAN.STLTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLNODR', + text: Zi.LAN.TTLNODR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLRMBCR', + text: Zi.LAN.STLRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'RMBNOCR', + text: Zi.LAN.RMBNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLUSDCR', + text: Zi.LAN.STLUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'USDNOCR', + text: Zi.LAN.USDNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLOTCR', + text: Zi.LAN.STLOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'OTNOCR', + text: Zi.LAN.OTNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'STLTTLCR', + text: Zi.LAN.STLTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLNOCR', + text: Zi.LAN.TTLNOCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }] }, { - sortable: true, - dataIndex: 'KGS', - text: 'KGS', - 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 '' + lsValue + ''; } } 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 + text: Zi.LAN.ALLNOTAX, + dataIndex: 'ALLNOTAX', + columns: [{ + sortable: true, + dataIndex: 'NOTAXRMBDR', + text: Zi.LAN.NOTAXRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXRMBCR', + text: Zi.LAN.NOTAXRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXRMBPROFIT', + text: Zi.LAN.NOTAXRMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDDR', + text: Zi.LAN.NOTAXUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXUSDCR', + text: Zi.LAN.NOTAXUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 }, { sortable: true, - dataIndex: 'CBM', - text: 'CBM', + dataIndex: 'NOTAXUSDPROFIT', + text: Zi.LAN.NOTAXUSDPROFIT, 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 '' + lsValue + ''; } } 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); + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTDR', + text: Zi.LAN.NOTAXOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTCR', + text: Zi.LAN.NOTAXOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXOTPROFIT', + text: Zi.LAN.NOTAXOTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLDR', + text: Zi.LAN.NOTAXTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLCR', + text: Zi.LAN.NOTAXTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXTTLPROFIT', + text: Zi.LAN.NOTAXTTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXPROFITRATE', + text: Zi.LAN.NOTAXPROFITRATE, + width: 80, + renderer: function (value, meta) { + if (value != 0) value = value + '%'; return value; - }, - width: 80 + } + }] + }, { + text: Zi.LAN.ALLNOACCTAX, + dataIndex: 'ALLNOACCTAX', + columns: [{ + sortable: true, + dataIndex: 'NOACCTAXRMBDR', + text: Zi.LAN.NOACCTAXRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 }, { - text: Zi.LAN.ALLIN, - dataIndex: 'ALLIN', - columns: [{ - sortable: true, - dataIndex: 'RMBDR', - text: Zi.LAN.RMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBCR', - text: Zi.LAN.RMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBPROFIT', - text: Zi.LAN.RMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDDR', - text: Zi.LAN.USDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDCR', - text: Zi.LAN.USDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDPROFIT', - text: Zi.LAN.USDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTDR', - text: Zi.LAN.OTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTCR', - text: Zi.LAN.OTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTPROFIT', - text: Zi.LAN.OTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLDR', - text: Zi.LAN.TTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLCR', - text: Zi.LAN.TTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLPROFIT', - text: Zi.LAN.TTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'PROFITRATE', - text: Zi.LAN.PROFITRATE, - width: 80, - renderer: function (value, meta) { - if (value != 0) value = value + '%'; - return value; - } - }, { - sortable: true, - dataIndex: 'TTLTAXDR', - text: Zi.LAN.TTLTAXDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLTAXCR', - text: Zi.LAN.TTLTAXCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLTAXPROFIT', - text: Zi.LAN.TTLTAXPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }] - }, { - text: Zi.LAN.ALLBALANCE, - dataIndex: 'ALLBALANCE', - columns: [{ - sortable: true, - dataIndex: 'STLRMBDR', - text: Zi.LAN.STLRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBNODR', - text: Zi.LAN.RMBNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLUSDDR', - text: Zi.LAN.STLUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDNODR', - text: Zi.LAN.USDNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLOTDR', - text: Zi.LAN.STLOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTNODR', - text: Zi.LAN.OTNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLTTLDR', - text: Zi.LAN.STLTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLNODR', - text: Zi.LAN.TTLNODR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLRMBCR', - text: Zi.LAN.STLRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'RMBNOCR', - text: Zi.LAN.RMBNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLUSDCR', - text: Zi.LAN.STLUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'USDNOCR', - text: Zi.LAN.USDNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLOTCR', - text: Zi.LAN.STLOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'OTNOCR', - text: Zi.LAN.OTNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'STLTTLCR', - text: Zi.LAN.STLTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLNOCR', - text: Zi.LAN.TTLNOCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }] - }, { - text: Zi.LAN.ALLNOTAX, - dataIndex: 'ALLNOTAX', - columns: [{ - sortable: true, - dataIndex: 'NOTAXRMBDR', - text: Zi.LAN.NOTAXRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXRMBCR', - text: Zi.LAN.NOTAXRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXRMBPROFIT', - text: Zi.LAN.NOTAXRMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDDR', - text: Zi.LAN.NOTAXUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDCR', - text: Zi.LAN.NOTAXUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXUSDPROFIT', - text: Zi.LAN.NOTAXUSDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTDR', - text: Zi.LAN.NOTAXOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTCR', - text: Zi.LAN.NOTAXOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXOTPROFIT', - text: Zi.LAN.NOTAXOTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLDR', - text: Zi.LAN.NOTAXTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLCR', - text: Zi.LAN.NOTAXTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXTTLPROFIT', - text: Zi.LAN.NOTAXTTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOTAXPROFITRATE', - text: Zi.LAN.NOTAXPROFITRATE, - width: 80, - renderer: function (value, meta) { - if (value != 0) value = value + '%'; - return value; - } - }] - }, { - text: Zi.LAN.ALLNOACCTAX, - dataIndex: 'ALLNOACCTAX', - columns: [{ - sortable: true, - dataIndex: 'NOACCTAXRMBDR', - text: Zi.LAN.NOACCTAXRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXRMBCR', - text: Zi.LAN.NOACCTAXRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXRMBPROFIT', - text: Zi.LAN.NOACCTAXRMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDDR', - text: Zi.LAN.NOACCTAXUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDCR', - text: Zi.LAN.NOACCTAXUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDPROFIT', - text: Zi.LAN.NOACCTAXUSDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTDR', - text: Zi.LAN.NOACCTAXOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTCR', - text: Zi.LAN.NOACCTAXOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTPROFIT', - text: Zi.LAN.NOACCTAXOTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLDR', - text: Zi.LAN.NOACCTAXTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLCR', - text: Zi.LAN.NOACCTAXTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLPROFIT', - text: Zi.LAN.NOACCTAXTTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }] - } + sortable: true, + dataIndex: 'NOACCTAXRMBCR', + text: Zi.LAN.NOACCTAXRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXRMBPROFIT', + text: Zi.LAN.NOACCTAXRMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDDR', + text: Zi.LAN.NOACCTAXUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDCR', + text: Zi.LAN.NOACCTAXUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDPROFIT', + text: Zi.LAN.NOACCTAXUSDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTDR', + text: Zi.LAN.NOACCTAXOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTCR', + text: Zi.LAN.NOACCTAXOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTPROFIT', + text: Zi.LAN.NOACCTAXOTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLDR', + text: Zi.LAN.NOACCTAXTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLCR', + text: Zi.LAN.NOACCTAXTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLPROFIT', + text: Zi.LAN.NOACCTAXTTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }] + } ]; @@ -11703,7 +11703,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { store: this.storeBltypeList, enableHdMenu: false, region: 'center', - loadMask: { msg: Zi.LAN.ShuJuJiaZaiZhongQingShaoDeng}, + loadMask: { msg: Zi.LAN.ShuJuJiaZaiZhongQingShaoDeng }, trackMouseOver: true, disableSelection: false, viewConfig: { @@ -11746,7 +11746,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { this.bltypelistsortdire = direction; }, this); - //#endregion + //#endregion //#region 海外客服 @@ -12440,7 +12440,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { this.frcustservicelistsortdire = direction; }, this); - //#endregion + //#endregion this.storeSumList = Ext.create('Ext.data.Store', { @@ -12550,21 +12550,21 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { dataIndex: 'NETWEIGHT', text: Zi.LAN.NETWEIGHT, width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'CBM', - text: 'CBM', - width: 60 - }, - { - sortable: true, - id: '', - dataIndex: 'KGS', - text: 'KGS', - width: 60 - }, + }, + { + sortable: true, + id: '', + dataIndex: 'CBM', + text: 'CBM', + width: 60 + }, + { + sortable: true, + id: '', + dataIndex: 'KGS', + text: 'KGS', + width: 60 + }, { sortable: true, id: '', @@ -12733,36 +12733,36 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { align: 'right', width: 80 }, { - sortable: true, - dataIndex: 'PROFITRATE', - text: Zi.LAN.PROFITRATE, - width: 80, - renderer: function (value, meta) { - if (value != 0) value = value + '%'; - return value; - } - }, { - sortable: true, - dataIndex: 'TTLTAXDR', - text: Zi.LAN.TTLTAXDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLTAXCR', - text: Zi.LAN.TTLTAXCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { - sortable: true, - dataIndex: 'TTLTAXPROFIT', - text: Zi.LAN.TTLTAXPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 80 - }, { + sortable: true, + dataIndex: 'PROFITRATE', + text: Zi.LAN.PROFITRATE, + width: 80, + renderer: function (value, meta) { + if (value != 0) value = value + '%'; + return value; + } + }, { + sortable: true, + dataIndex: 'TTLTAXDR', + text: Zi.LAN.TTLTAXDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLTAXCR', + text: Zi.LAN.TTLTAXCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { + sortable: true, + dataIndex: 'TTLTAXPROFIT', + text: Zi.LAN.TTLTAXPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 80 + }, { sortable: true, dataIndex: 'STLRMBDR', header: Zi.LAN.STLRMBDR, @@ -12958,106 +12958,106 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, align: 'right', width: 90 + }, { + sortable: true, + dataIndex: 'NOTAXPROFITRATE', + text: Zi.LAN.NOTAXPROFITRATE, + width: 80, + renderer: function (value, meta) { + if (value != 0) value = value + '%'; + return value; + } + }, { + text: Zi.LAN.ALLNOACCTAX, + dataIndex: 'ALLNOACCTAX', + columns: [{ + sortable: true, + dataIndex: 'NOACCTAXRMBDR', + text: Zi.LAN.NOACCTAXRMBDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 }, { sortable: true, - dataIndex: 'NOTAXPROFITRATE', - text: Zi.LAN.NOTAXPROFITRATE, - width: 80, - renderer: function (value, meta) { - if (value != 0) value = value + '%'; - return value; - } + dataIndex: 'NOACCTAXRMBCR', + text: Zi.LAN.NOACCTAXRMBCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 }, { - text: Zi.LAN.ALLNOACCTAX, - dataIndex: 'ALLNOACCTAX', - columns: [{ - sortable: true, - dataIndex: 'NOACCTAXRMBDR', - text: Zi.LAN.NOACCTAXRMBDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXRMBCR', - text: Zi.LAN.NOACCTAXRMBCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXRMBPROFIT', - text: Zi.LAN.NOACCTAXRMBPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDDR', - text: Zi.LAN.NOACCTAXUSDDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDCR', - text: Zi.LAN.NOACCTAXUSDCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXUSDPROFIT', - text: Zi.LAN.NOACCTAXUSDPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTDR', - text: Zi.LAN.NOACCTAXOTDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTCR', - text: Zi.LAN.NOACCTAXOTCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXOTPROFIT', - text: Zi.LAN.NOACCTAXOTPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLDR', - text: Zi.LAN.NOACCTAXTTLDR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLCR', - text: Zi.LAN.NOACCTAXTTLCR, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }, { - sortable: true, - dataIndex: 'NOACCTAXTTLPROFIT', - text: Zi.LAN.NOACCTAXTTLPROFIT, - 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, - align: 'right', - width: 90 - }] - } + sortable: true, + dataIndex: 'NOACCTAXRMBPROFIT', + text: Zi.LAN.NOACCTAXRMBPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDDR', + text: Zi.LAN.NOACCTAXUSDDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDCR', + text: Zi.LAN.NOACCTAXUSDCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXUSDPROFIT', + text: Zi.LAN.NOACCTAXUSDPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTDR', + text: Zi.LAN.NOACCTAXOTDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTCR', + text: Zi.LAN.NOACCTAXOTCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXOTPROFIT', + text: Zi.LAN.NOACCTAXOTPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLDR', + text: Zi.LAN.NOACCTAXTTLDR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLCR', + text: Zi.LAN.NOACCTAXTTLCR, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }, { + sortable: true, + dataIndex: 'NOACCTAXTTLPROFIT', + text: Zi.LAN.NOACCTAXTTLPROFIT, + 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 '' + lsValue + ''; } } else { return value; } } catch (e) { return value; } return value; }, + align: 'right', + width: 90 + }] + } - ]; + ]; this.gridlistsumcolumn = DsTruck.GetGridPanel(USERID, this.formname + 'sum', this.initgridlistsumcolumn, 1); @@ -13068,7 +13068,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { store: this.storeSumList, enableHdMenu: false, region: 'center', - loadMask: { msg: Zi.LAN.ShuJuJiaZaiZhongQingShaoDeng}, + loadMask: { msg: Zi.LAN.ShuJuJiaZaiZhongQingShaoDeng }, trackMouseOver: true, disableSelection: false, columns: this.gridlistsumcolumn @@ -13085,7 +13085,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { _this = this; this.StoreOpLb = Ext.create('DsExt.ux.RefEnumStore', {}); - this.StoreOpLb.load({ params: { enumTypeId: 96005} }); + this.StoreOpLb.load({ params: { enumTypeId: 96005 } }); this.comboxOpLb = Ext.create('DsExt.ux.RefTableCombox', { fieldLabel: Zi.LAN.PS_OPLB, @@ -13105,7 +13105,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { }); this.storeBsType = Ext.create('DsExt.ux.RefEnumStore', {}); - this.storeBsType.load({ params: { enumTypeId: 96004} }); + this.storeBsType.load({ params: { enumTypeId: 96004 } }); this.comboxBsType = Ext.create('DsExt.ux.RefTableCombox', { fieldLabel: Zi.LAN.PS_BSTYPE, @@ -13129,10 +13129,11 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { }); this.storeSalesCode.load(); - this.comboxSalesCode = Ext.create('DsExt.ux.RefTableCombox', { + this.comboxSalesCode = Ext.create('Ext.ux.form.field.BoxSelect', { fieldLabel: Zi.LAN.PS_SALE, store: this.storeSalesCode, labelWidth: 50, + autosize: true, flex: 0.7, forceSelection: true, name: 'PS_SALE', @@ -13156,11 +13157,12 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { this.storeOpCode.load(); - this.comboxOp = Ext.create('DsExt.ux.RefTableCombox', { + this.comboxOp = Ext.create('Ext.ux.form.field.BoxSelect', { fieldLabel: Zi.LAN.PS_OP, store: this.storeOpCode, forceSelection: true, labelWidth: 40, + autosize: true, flex: 0.7, name: 'PS_OP', valueField: 'UserName', @@ -13183,11 +13185,12 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { this.storeCustSeviceCode.load(); - this.comboxCUSTSERVICE = Ext.create('DsExt.ux.RefTableCombox', { + this.comboxCUSTSERVICE = Ext.create('Ext.ux.form.field.BoxSelect', { fieldLabel: Zi.LAN.PS_CUSTSERVICE, store: this.storeCustSeviceCode, labelWidth: 40, flex: 0.6, + autosize: true, forceSelection: true, name: 'PS_CUSTSERVICE', valueField: 'UserName', @@ -13227,29 +13230,29 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { }); -// 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.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(); + // } + // } + // } // }); @@ -13260,11 +13263,12 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { }); //船公司 - this.comboxCARRIER = Ext.create('DsExt.ux.RefTableCombox', { + this.comboxCARRIER = Ext.create('Ext.ux.form.field.BoxSelect', { fieldLabel: Zi.LAN.CARRIER, //'船公司', store: this.storeCARRIER, -// labelWidth: 48, -// flex: 0.7, + autosize: true, + // labelWidth: 48, + // flex: 0.7, forceSelection: true, queryMode: 'remote', minChars: 0, @@ -13307,7 +13311,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { if (recs.getCount() > 0) { var data = recs.getAt(0).data; var s = "SOURCEID='" + data.SourceID + "'"; - this.storeSourceDetail.load({ params: { condition: s} }); + this.storeSourceDetail.load({ params: { condition: s } }); } else { var BSSOURCEDETAIL = this.formSearch.getForm().findField('BSSOURCEDETAIL'); BSSOURCEDETAIL.setValue(''); @@ -13349,11 +13353,12 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { proxy: { url: '/MvcShipping/MsBaseInfo/GetCompanyEN' } }); - this.StoreSubComp.load({ params: { condition: ""} }); + this.StoreSubComp.load({ params: { condition: "" } }); - this.comboxSubComp = Ext.create('DsExt.ux.RefTableCombox', { + this.comboxSubComp = Ext.create('Ext.ux.form.field.BoxSelect', { fieldLabel: Zi.LAN.SALECORP, store: this.StoreSubComp, + autosize: true, name: 'SUBCOMP', // flex: 0.5, // labelWidth: 55, @@ -13373,8 +13378,8 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { this.StoreFeeLock = Ext.create('Ext.data.Store', { fields: ['OpLb'] }); - this.StoreFeeLock.add({ "OpLb": Zi.LAN.ALL}); - this.StoreFeeLock.add({ "OpLb": Zi.LAN.LOCK }); + this.StoreFeeLock.add({ "OpLb": Zi.LAN.ALL }); + this.StoreFeeLock.add({ "OpLb": Zi.LAN.LOCK }); this.StoreFeeLock.add({ "OpLb": Zi.LAN.UNLOCK }); this.comboxFeeLock = Ext.create('DsExt.ux.RefTableCombox', { @@ -13401,8 +13406,8 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { this.storeINVSTATUS = Ext.create('Ext.data.Store', { fields: ['FSTATUS', 'NAME'] }); - this.storeINVSTATUS.add({ "FSTATUS": "", "NAME": Zi.LAN.ALL}); - this.storeINVSTATUS.add({ "FSTATUS": "0", "NAME": Zi.LAN.INVSTATUSYES}); + this.storeINVSTATUS.add({ "FSTATUS": "", "NAME": Zi.LAN.ALL }); + this.storeINVSTATUS.add({ "FSTATUS": "0", "NAME": Zi.LAN.INVSTATUSYES }); this.storeINVSTATUS.add({ "FSTATUS": "1", "NAME": Zi.LAN.INVSTATUSNO }); this.comboxINVSTATUS = Ext.create('DsExt.ux.RefTableCombox', { @@ -13428,7 +13433,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { this.storeISADVANCEDPAY = Ext.create('Ext.data.Store', { fields: ['FSTATUS', 'NAME'] }); - this.storeISADVANCEDPAY.add({ "FSTATUS": "", "NAME": Zi.LAN.ALL}); + this.storeISADVANCEDPAY.add({ "FSTATUS": "", "NAME": Zi.LAN.ALL }); this.storeISADVANCEDPAY.add({ "FSTATUS": "0", "NAME": Zi.LAN.ISADVANCEDPAYNO }); this.storeISADVANCEDPAY.add({ "FSTATUS": "1", "NAME": Zi.LAN.ISADVANCEDPAYYES }); @@ -13462,7 +13467,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { this.storeHYF = Ext.create('Ext.data.Store', { fields: ['FSTATUS', 'NAME'] }); - this.storeHYF.add({ "FSTATUS": "", "NAME": Zi.LAN.BAOKUO}); + this.storeHYF.add({ "FSTATUS": "", "NAME": Zi.LAN.BAOKUO }); this.storeHYF.add({ "FSTATUS": "0", "NAME": Zi.LAN.BUBAOKUO }); this.comboxHYF = Ext.create('DsExt.ux.RefTableCombox', { @@ -13470,8 +13475,8 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { store: this.storeHYF, valueField: 'FSTATUS', displayField: 'NAME', -// flex: 0.7, -// labelWidth: 55, + // flex: 0.7, + // labelWidth: 55, forceSelection: true, name: 'ISHYF', value: '', @@ -13490,7 +13495,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { model: 'DsShipping.ux.VesselModel', proxy: { url: '/CommMng/BasicDataRef/GetVesselList' } }); - this.storeVoyVeg.load({ params: { condition: ""} }); + this.storeVoyVeg.load({ params: { condition: "" } }); this.comboxVoyVeg = Ext.create('DsExt.ux.RefTableCombox', { fieldLabel: Zi.LAN.VESSEL, @@ -13529,11 +13534,11 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { }); this.storeBLNOTYPE.add({ "FSTATUS": "MBLNO", "NAME": Zi.LAN.MBLNO }); - this.storeBLNOTYPE.add({ "FSTATUS": "HBLNO", "NAME": Zi.LAN.HBLNO }); - this.storeBLNOTYPE.add({ "FSTATUS": "CUSTNO", "NAME": Zi.LAN.CUSTNO}); + this.storeBLNOTYPE.add({ "FSTATUS": "HBLNO", "NAME": Zi.LAN.HBLNO }); + this.storeBLNOTYPE.add({ "FSTATUS": "CUSTNO", "NAME": Zi.LAN.CUSTNO }); this.storeBLNOTYPE.add({ "FSTATUS": "ORDERNO", "NAME": Zi.LAN.ORDERNO }); this.storeBLNOTYPE.add({ "FSTATUS": "CNTRSEALNO", "NAME": Zi.LAN.CNTRSEALNO }); - + this.comboxBLNOTYPE = Ext.create('DsExt.ux.RefTableCombox', { // fieldLabel: '费用状态', @@ -13573,7 +13578,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { this.comboxBLFRT = Ext.create('DsExt.ux.RefTableCombox', { fieldLabel: Zi.LAN.BLFRT, //'付费方式', store: this.storeFrt, -// forceSelection: true, + // forceSelection: true, name: 'BLFRT', valueField: 'FRT', displayField: 'FRT', @@ -13592,6 +13597,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { this.formSearch = Ext.widget('form', { frame: true, + autoScroll: true, region: 'center', bodyPadding: 5, fieldDefaults: { @@ -13627,7 +13633,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { } } }, this.comboxVoyVeg, { - fieldLabel: Zi.LAN.VOYNO, + fieldLabel: Zi.LAN.VOYNO, name: 'PS_VOYNO', labelWidth: 40, flex: 0.5, @@ -13639,29 +13645,29 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { } } } - }, this.comboxBLFRT, - -// { -// fieldLabel: '品名', -// name: 'PS_GOODSNAME', -// enableKeyEvents: true, -// listeners: { -// specialkey: function (field, e) { -// if (e.getKey() == e.ENTER) { -// _this.onRefreshClick(); -// } -// } -// } -// }, - - this.comboxLANE, this.comboxSubComp - ] + }, this.comboxBLFRT, + + // { + // fieldLabel: '品名', + // name: 'PS_GOODSNAME', + // enableKeyEvents: true, + // listeners: { + // specialkey: function (field, e) { + // if (e.getKey() == e.ENTER) { + // _this.onRefreshClick(); + // } + // } + // } + // }, + + this.comboxLANE + ] }, { xtype: 'container', layout: 'hbox', defaultType: 'textfield', - items: [this.comboxBsType, this.comboxCustCode, { - fieldLabel: Zi.LAN.PS_EXPDATEBGN, + items: [this.comboxBsType, this.comboxCustCode, { + fieldLabel: Zi.LAN.PS_EXPDATEBGN, format: 'Y-m-d', xtype: 'datefield', name: 'PS_EXPDATEBGN', @@ -13674,7 +13680,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { } } }, { - fieldLabel: Zi.LAN.PS_EXPDATEEND, + fieldLabel: Zi.LAN.PS_EXPDATEEND, format: 'Y-m-d', xtype: 'datefield', name: 'PS_EXPDATEEND', @@ -13686,8 +13692,8 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { } } } - }, this.comboxCARRIER, this.comboxSalesCode, this.comboxOp, this.comboxCUSTSERVICE - ] + }, this.comboxOp, this.comboxBSSOURCE, this.comboxBSSOURCEDETAIL + ] }, { xtype: 'container', layout: 'hbox', @@ -13706,7 +13712,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { } } }, { - fieldLabel: Zi.LAN.PS_ACCDATEEND, + fieldLabel: Zi.LAN.PS_ACCDATEEND, xtype: 'monthfield', name: 'PS_ACCDATEEND', labelWidth: 70, @@ -13718,8 +13724,14 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { } } } - }, this.comboxBSSOURCE, this.comboxBSSOURCEDETAIL, this.comboxFeeLock, this.comboxINVSTATUS, this.comboxISADVANCEDPAY,this.CheckAmend - ] + }, this.comboxFeeLock, this.comboxINVSTATUS, this.comboxISADVANCEDPAY, this.CheckAmend + ] + }, { + xtype: 'container', + layout: 'hbox', + defaultType: 'textfield', + items: [this.comboxSubComp, this.comboxCUSTSERVICE, this.comboxSalesCode, this.comboxCARRIER + ] } ]//end items(fieldset 1) }//end fieldset 1 @@ -13827,16 +13839,16 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { menu: [ { text: Zi.LAN.SaveGrid2, - handler: function (button, event) { - _this.onSaveGridClick(button, event); + handler: function (button, event) { + _this.onSaveGridClick(button, event); - } + } }, { text: Zi.LAN.InitGrid, - handler: function (button, event) { - _this.oninitGridClick(button, event); - } - }], + handler: function (button, event) { + _this.oninitGridClick(button, event); + } + }], scope: this } ] @@ -13852,7 +13864,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { this.panelSearch = new Ext.Panel({ layout: "border", region: "north", - autoScroll: true, + height: 116, items: [this.formSearch] }); @@ -13984,7 +13996,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { items: [this.gridListCustService] }); - + this.panelBltypeSum = new Ext.Panel({ title: Zi.LAN.BLTYPE, layout: "border", @@ -14023,49 +14035,50 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { this.tabpanel = new Ext.TabPanel - ({ - activeTab: 0, - autoWidth: true, - border: false, - frame: false, - region: 'center', - id: "TabPanelID", - enableTabScroll: true, - items: - [ - this.panelBodyChFee, - this.panelCustSum, - this.panelSaleSum, - this.panelCarrierSum, - this.panelForwarderSum, - this.panelOpSum, - this.panelOpDeptSum, - this.panelDeptSum, - this.panelBsSourceSum, - this.panelBsSourceDetailSum, - this.panelLaneSum, - this.panelPortSum, - this.panelPortLoadSum, - - this.panelDocSum, - this.panelCustServiceSum, - this.panelBltypeSum, - this.panelFrCustServiceSum - ], - //tab切换事件 - listeners: { - 'tabchange': function (tabPanel, newCard, oldCard, eOpts) { - _this.RpttabChange(tabPanel, newCard, oldCard, eOpts); + ({ + activeTab: 0, + autoWidth: true, + border: false, + frame: false, + region: 'center', + id: "TabPanelID", + enableTabScroll: true, + items: + [ + this.panelBodyChFee, + this.panelCustSum, + this.panelSaleSum, + this.panelCarrierSum, + this.panelForwarderSum, + this.panelOpSum, + this.panelOpDeptSum, + this.panelDeptSum, + this.panelBsSourceSum, + this.panelBsSourceDetailSum, + this.panelLaneSum, + this.panelPortSum, + this.panelPortLoadSum, + + this.panelDocSum, + this.panelCustServiceSum, + this.panelBltypeSum, + this.panelFrCustServiceSum + ], + //tab切换事件 + listeners: { + 'tabchange': function (tabPanel, newCard, oldCard, eOpts) { + _this.RpttabChange(tabPanel, newCard, oldCard, eOpts); + } } - } - }); + }); Ext.apply(this, { items: [this.panelTop, this.panelSearch, this.tabpanel, this.panelSum] }); _this = this; - this.storectndisp.load({ params: { condition: "" }, + this.storectndisp.load({ + params: { condition: "" }, callback: function (r, options, success) { if (success) { if (r.length != 0) { @@ -14101,9 +14114,9 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { _this = this; this.storeList.on('beforeload', function (store) { - var amendstr='false'; - if (this.CheckAmend.checked==true) amendstr='true'; - Ext.apply(store.proxy.extraParams, { condition: _this.sqlcontext,feecondition:_this.feesqlcontext,amendstr:amendstr }); + var amendstr = 'false'; + if (this.CheckAmend.checked == true) amendstr = 'true'; + Ext.apply(store.proxy.extraParams, { condition: _this.sqlcontext, feecondition: _this.feesqlcontext, amendstr: amendstr }); }, this); this.storeSaleList.on('beforeload', function (store) { var amendstr = 'false'; @@ -14111,13 +14124,13 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { Ext.apply(store.proxy.extraParams, { condition: _this.sqlcontext, feecondition: _this.feesqlcontext, amendstr: amendstr }); }, this); this.storeCustList.on('beforeload', function (store) { - var amendstr='false'; - if (this.CheckAmend.checked==true) amendstr='true'; + var amendstr = 'false'; + if (this.CheckAmend.checked == true) amendstr = 'true'; Ext.apply(store.proxy.extraParams, { condition: _this.sqlcontext, feecondition: _this.feesqlcontext, amendstr: amendstr }); }, this); this.storeCarrierList.on('beforeload', function (store) { - var amendstr='false'; - if (this.CheckAmend.checked==true) amendstr='true'; + var amendstr = 'false'; + if (this.CheckAmend.checked == true) amendstr = 'true'; Ext.apply(store.proxy.extraParams, { condition: _this.sqlcontext, feecondition: _this.feesqlcontext, amendstr: amendstr }); }, this); this.storeForwarderList.on('beforeload', function (store) { @@ -14126,14 +14139,14 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { Ext.apply(store.proxy.extraParams, { condition: _this.sqlcontext, feecondition: _this.feesqlcontext, amendstr: amendstr }); }, this); this.storeDeptList.on('beforeload', function (store) { - var amendstr='false'; - if (this.CheckAmend.checked==true) amendstr='true'; + var amendstr = 'false'; + if (this.CheckAmend.checked == true) amendstr = 'true'; Ext.apply(store.proxy.extraParams, { condition: _this.sqlcontext, feecondition: _this.feesqlcontext, amendstr: amendstr }); }, this); this.storeOpList.on('beforeload', function (store) { - var amendstr='false'; - if (this.CheckAmend.checked==true) amendstr='true'; + var amendstr = 'false'; + if (this.CheckAmend.checked == true) amendstr = 'true'; Ext.apply(store.proxy.extraParams, { condition: _this.sqlcontext, feecondition: _this.feesqlcontext, amendstr: amendstr }); }, this); this.storeOpDeptList.on('beforeload', function (store) { @@ -14166,7 +14179,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { this.storePortLoadList.on('beforeload', function (store) { var amendstr = 'false'; if (this.CheckAmend.checked == true) amendstr = 'true'; - Ext.apply(store.proxy.extraParams, { condition: _this.sqlcontext, feecondition: _this.feesqlcontext, amendstr: amendstr}); + Ext.apply(store.proxy.extraParams, { condition: _this.sqlcontext, feecondition: _this.feesqlcontext, amendstr: amendstr }); }, this); this.storeDocList.on('beforeload', function (store) { @@ -14177,12 +14190,12 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { this.storeCustServiceList.on('beforeload', function (store) { var amendstr = 'false'; if (this.CheckAmend.checked == true) amendstr = 'true'; - Ext.apply(store.proxy.extraParams, { condition: _this.sqlcontext, feecondition: _this.feesqlcontext, amendstr: amendstr}); + Ext.apply(store.proxy.extraParams, { condition: _this.sqlcontext, feecondition: _this.feesqlcontext, amendstr: amendstr }); }, this); this.storeForwarderList.on('beforeload', function (store) { var amendstr = 'false'; if (this.CheckAmend.checked == true) amendstr = 'true'; - Ext.apply(store.proxy.extraParams, { condition: _this.sqlcontext, feecondition: _this.feesqlcontext, amendstr: amendstr}); + Ext.apply(store.proxy.extraParams, { condition: _this.sqlcontext, feecondition: _this.feesqlcontext, amendstr: amendstr }); }, this); this.storeBltypeList.on('beforeload', function (store) { @@ -14333,8 +14346,8 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { this.storeForwarderList.pageSize = this.PageSize; this.storeBltypeList.pageSize = this.PageSize; this.storeFrCustServiceList.pageSize = this.PageSize; - var amendstr='false'; - if (this.CheckAmend.checked==true) amendstr='true'; + var amendstr = 'false'; + if (this.CheckAmend.checked == true) amendstr = 'true'; @@ -14363,7 +14376,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { }); } else if (this.tabpanel.getActiveTab() == this.panelCarrierSum) { this.storeCarrierList.load({ - params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr}, + params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr }, waitMsg: "正在查询数据...", scope: this }); @@ -14373,7 +14386,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { waitMsg: "正在查询数据...", scope: this }); - }else if (this.tabpanel.getActiveTab() == this.panelSaleSum) { + } else if (this.tabpanel.getActiveTab() == this.panelSaleSum) { this.storeSaleList.load({ params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr }, @@ -14383,7 +14396,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { } else if (this.tabpanel.getActiveTab() == this.panelDeptSum) { this.storeDeptList.load({ - params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr}, + params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr }, waitMsg: "正在查询数据...", scope: this }); @@ -14411,7 +14424,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { } else if (this.tabpanel.getActiveTab() == this.panelBsSourceDetailSum) { this.storeBsSourceDetailList.load({ - params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr}, + params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr }, waitMsg: "正在查询数据...", scope: this }); @@ -14425,21 +14438,21 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { } else if (this.tabpanel.getActiveTab() == this.panelPortSum) { this.storePortList.load({ - params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr}, + params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr }, waitMsg: "正在查询数据...", scope: this }); } else if (this.tabpanel.getActiveTab() == this.panelDocSum) { this.storeDocList.load({ - params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr}, + params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr }, waitMsg: "正在查询数据...", scope: this }); } else if (this.tabpanel.getActiveTab() == this.panelCustServiceSum) { this.storeCustServiceList.load({ - params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr}, + params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr }, waitMsg: "正在查询数据...", scope: this }); @@ -14450,21 +14463,21 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { waitMsg: "正在查询数据...", scope: this }); - }else if (this.tabpanel.getActiveTab() == this.panelBltypeSum) { + } else if (this.tabpanel.getActiveTab() == this.panelBltypeSum) { this.storeBltypeList.load({ params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr }, waitMsg: "正在查询数据...", scope: this }); - //} else if (this.tabpanel.getActiveTab() == this.panelForwarderSum) { + //} else if (this.tabpanel.getActiveTab() == this.panelForwarderSum) { - // this.storeForwarderList.load({ - // params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr }, - // waitMsg: "正在查询数据...", - // scope: this - // }); - }else if (this.tabpanel.getActiveTab() == this.panelPortLoadSum) { + // this.storeForwarderList.load({ + // params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr }, + // waitMsg: "正在查询数据...", + // scope: this + // }); + } else if (this.tabpanel.getActiveTab() == this.panelPortLoadSum) { this.storePortLoadList.load({ params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr }, @@ -14484,8 +14497,8 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { var sql = this.sqlcontext; var feesql = this.feesqlcontext; - var amendstr='false'; - if (this.CheckAmend.checked==true) amendstr='true'; + var amendstr = 'false'; + if (this.CheckAmend.checked == true) amendstr = 'true'; if (this.tabpanel.getActiveTab() == this.panelBodyChFee) { this.storeList.load({ @@ -14506,13 +14519,13 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { }); } else if (this.tabpanel.getActiveTab() == this.panelCustSum) { this.storeCustList.load({ - params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr}, + params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr }, waitMsg: "正在查询数据...", scope: this }); } else if (this.tabpanel.getActiveTab() == this.panelCarrierSum) { this.storeCarrierList.load({ - params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr}, + params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr }, waitMsg: "正在查询数据...", scope: this }); @@ -14532,21 +14545,21 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { } else if (this.tabpanel.getActiveTab() == this.panelDeptSum) { this.storeDeptList.load({ - params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr}, + params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr }, waitMsg: "正在查询数据...", scope: this }); } else if (this.tabpanel.getActiveTab() == this.panelOpSum) { this.storeOpList.load({ - params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr}, + params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr }, waitMsg: "正在查询数据...", scope: this }); } else if (this.tabpanel.getActiveTab() == this.panelOpDeptSum) { this.storeOpDeptList.load({ - params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr}, + params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr }, waitMsg: "正在查询数据...", scope: this }); @@ -14574,28 +14587,28 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { } else if (this.tabpanel.getActiveTab() == this.panelPortSum) { this.storePortList.load({ - params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr}, + params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr }, waitMsg: "正在查询数据...", scope: this }); } else if (this.tabpanel.getActiveTab() == this.panelPortLoadSum) { this.storePortLoadList.load({ - params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr}, + params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr }, waitMsg: "正在查询数据...", scope: this }); } else if (this.tabpanel.getActiveTab() == this.panelDocSum) { this.storeDocList.load({ - params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr}, + params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr }, waitMsg: "正在查询数据...", scope: this }); } else if (this.tabpanel.getActiveTab() == this.panelCustServiceSum) { this.storeCustServiceList.load({ - params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr}, + params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr }, waitMsg: "正在查询数据...", scope: this }); @@ -14606,20 +14619,20 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { waitMsg: "正在查询数据...", scope: this }); - }else if (this.tabpanel.getActiveTab() == this.panelBltypeSum) { + } else if (this.tabpanel.getActiveTab() == this.panelBltypeSum) { this.storeBltypeList.load({ - params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr}, + params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr }, waitMsg: "正在查询数据...", scope: this }); - //} else if (this.tabpanel.getActiveTab() == this.panelForwarderSum) { + //} else if (this.tabpanel.getActiveTab() == this.panelForwarderSum) { - // this.storeForwarderList.load({ - // params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr}, - // waitMsg: "正在查询数据...", - // scope: this - // }); + // this.storeForwarderList.load({ + // params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr}, + // waitMsg: "正在查询数据...", + // scope: this + // }); } this.isquery = true; this.storeSumList.load({ @@ -14672,27 +14685,27 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { waitMsg: "正在查询数据...", scope: this }); - }else if (newCard == this.panelSaleSum) { + } else if (newCard == this.panelSaleSum) { this.storeSaleList.load({ - params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr}, + params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr }, waitMsg: "正在查询数据...", scope: this }); } else if (newCard == this.panelDeptSum) { this.storeDeptList.load({ - params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr}, + params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr }, waitMsg: "正在查询数据...", scope: this }); } else if (newCard == this.panelOpSum) { this.storeOpList.load({ - params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr}, + params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr }, waitMsg: "正在查询数据...", scope: this }); } else if (newCard == this.panelOpDeptSum) { this.storeOpDeptList.load({ - params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr}, + params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr }, waitMsg: "正在查询数据...", scope: this }); @@ -14704,13 +14717,13 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { }); } else if (newCard == this.panelBsSourceDetailSum) { this.storeBsSourceDetailList.load({ - params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr}, + params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr }, waitMsg: "正在查询数据...", scope: this }); - } else if (newCard == this.panelLaneSum) { + } else if (newCard == this.panelLaneSum) { this.storeLaneList.load({ - params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr}, + params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr }, waitMsg: "正在查询数据...", scope: this }); @@ -14728,19 +14741,19 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { }); } else if (newCard == this.panelPortLoadSum) { this.storePortLoadList.load({ - params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr}, + params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr }, waitMsg: "正在查询数据...", scope: this }); } else if (newCard == this.panelDocSum) { this.storeDocList.load({ - params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr}, + params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr }, waitMsg: "正在查询数据...", scope: this }); } else if (newCard == this.panelCustServiceSum) { this.storeCustServiceList.load({ - params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr}, + params: { start: 0, limit: this.PageSize, condition: sql, feecondition: feesql, amendstr: amendstr }, waitMsg: "正在查询数据...", scope: this }); @@ -14767,6 +14780,15 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { //} }, + getStrValue: function (list) { + var _list = []; + for (var _i = 0; _i < list.length; _i++) { + _list.push("'" + list[_i] + "'"); + } + return _list; + }, + + getCondition: function () { var form = this.formSearch.getForm(); var sql = ''; @@ -14802,11 +14824,12 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { var accDate_Max = form.findField('PS_ACCDATEEND').getRawValue(); sql = sql + getAndConSql(sql, accDate_Max, " B.ACCDATE<='" + accDate_Max + "'"); -// var ENTERP = form.findField('PS_ENTERP').getValue(); + // var ENTERP = form.findField('PS_ENTERP').getValue(); // sql = sql + getAndConSql(sql, ENTERP, "B.ENTERP='" + ENTERP + "'"); var CARRIER = form.findField('CARRIER').getValue(); - sql = sql + getAndConSql(sql, CARRIER, "B.CARRIER='" + CARRIER + "'"); + CARRIER = this.getStrValue(CARRIER); + sql = sql + getAndConSql(sql, CARRIER, "B.CARRIER IN (" + CARRIER + ")"); var CUSTOMERNAME = form.findField('PS_CUSTOMERNAME').getValue(); sql = sql + getAndConSql(sql, CUSTOMERNAME, "B.CUSTOMERNAME='" + CUSTOMERNAME + "'"); @@ -14815,10 +14838,12 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { sql = sql + getAndConSql(sql, LANE, "B.LANE='" + LANE + "'"); var SALE = form.findField('PS_SALE').getValue(); - sql = sql + getAndConSql(sql, SALE, "B.SALE='" + SALE + "'"); + SALE = this.getStrValue(SALE); + sql = sql + getAndConSql(sql, SALE, "B.SALE in (" + SALE + ")"); var OP = form.findField('PS_OP').getValue(); - sql = sql + getAndConSql(sql, OP, "B.OP='" + OP + "'"); + OP = this.getStrValue(OP); + sql = sql + getAndConSql(sql, OP, "B.OP IN (" + OP + ")"); var BSTYPE = form.findField('PS_BSTYPE').getValue(); sql = sql + getAndConSql(sql, BSTYPE, "B.BSTYPE='" + BSTYPE + "'"); @@ -14827,11 +14852,13 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { sql = sql + getAndConSql(sql, OPLB, "B.OPLBNAME='" + OPLB + "'"); var SUBCOMP = form.findField('SUBCOMP').getValue(); - sql = sql + getAndConSql(sql, SUBCOMP, "B.SALECORPID='" + SUBCOMP + "'"); + SUBCOMP = this.getStrValue(SUBCOMP); + sql = sql + getAndConSql(sql, SUBCOMP, "B.SALECORPID IN (" + SUBCOMP + ")"); var PS_CUSTSERVICE = form.findField('PS_CUSTSERVICE').getValue(); - sql = sql + getAndConSql(sql, PS_CUSTSERVICE, "B.CUSTSERVICE='" + PS_CUSTSERVICE + "'"); + PS_CUSTSERVICE = this.getStrValue(PS_CUSTSERVICE); + sql = sql + getAndConSql(sql, PS_CUSTSERVICE, "B.CUSTSERVICE IN (" + PS_CUSTSERVICE + ")"); var BLFRT = form.findField('BLFRT').getValue(); sql = sql + getAndConSql(sql, BLFRT, "B.BLFRT='" + BLFRT + "'"); @@ -14851,13 +14878,13 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { } else { - sql = sql + getAndConSql(sql, PS_INVNO, " B." + PS_BLNOTYPE + " like '%" + PS_INVNO + "%' "); + sql = sql + getAndConSql(sql, PS_INVNO, " B." + PS_BLNOTYPE + " like '%" + PS_INVNO + "%' "); } } -// var GOODSNAME = form.findField('PS_GOODSNAME').getValue(); -// sql = sql + getAndConSql(sql, GOODSNAME, "B.GOODSNAME like '%" + GOODSNAME + "%'"); + // var GOODSNAME = form.findField('PS_GOODSNAME').getValue(); + // sql = sql + getAndConSql(sql, GOODSNAME, "B.GOODSNAME like '%" + GOODSNAME + "%'"); var BSSOURCE = form.findField('BSSOURCE').getValue(); sql = sql + getAndConSql(sql, BSSOURCE, "B.BSSOURCE='" + BSSOURCE + "'"); @@ -14867,12 +14894,12 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { var PS_FEELOCK = form.findField('PS_FEELOCK').getValue(); if (PS_FEELOCK == Zi.LAN.LOCK) sql = sql + getAndConSql(sql, PS_FEELOCK, "B.FEESTATUS=1"); - else if (PS_FEELOCK == Zi.LAN.UNLOCK ) + else if (PS_FEELOCK == Zi.LAN.UNLOCK) sql = sql + getAndConSql(sql, PS_FEELOCK, "B.FEESTATUS=0"); -// var ISHYF = form.findField('ISHYF').getValue(); -// if (ISHYF == '0') { -// sql = sql + getAndConSql(sql, ISHYF, " NOT EXISTS (select 1 from ch_fee WHERE B.BSNO=ch_fee.BSNO AND ch_fee.FEENAME='海运费') "); -// } + // var ISHYF = form.findField('ISHYF').getValue(); + // if (ISHYF == '0') { + // sql = sql + getAndConSql(sql, ISHYF, " NOT EXISTS (select 1 from ch_fee WHERE B.BSNO=ch_fee.BSNO AND ch_fee.FEENAME='海运费') "); + // } return sql; }, @@ -14950,15 +14977,15 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { this.girdcolumsport = DsTruck.SaveGridPanel(USERID, this.formname + 'port', this.gridListPort.columns, this.girdcolumsport, 1, true); } else if (this.tabpanel.getActiveTab() == this.panelPortLoadSum) { this.girdcolumsportload = DsTruck.SaveGridPanel(USERID, this.formname + 'portload', this.gridListPortLoad.columns, this.girdcolumsportload, 1, true); - }else if (this.tabpanel.getActiveTab() == this.panelCarrierSum) { + } else if (this.tabpanel.getActiveTab() == this.panelCarrierSum) { this.girdcolumscarrier = DsTruck.SaveGridPanel(USERID, this.formname + 'carrier', this.gridListCarrier.columns, this.girdcolumscarrier, 1, true); } else if (this.tabpanel.getActiveTab() == this.panelForwarderSum) { this.girdcolumsforwarder = DsTruck.SaveGridPanel(USERID, this.formname + 'forwarder', this.gridListForwarder.columns, this.girdcolumsforwarder, 1, true); - }else if (this.tabpanel.getActiveTab() == this.panelDocSum) { + } else if (this.tabpanel.getActiveTab() == this.panelDocSum) { this.girdcolumsdoc = DsTruck.SaveGridPanel(USERID, this.formname + 'doc', this.gridListDoc.columns, this.girdcolumsdoc, 1, true); } else if (this.tabpanel.getActiveTab() == this.panelCustServiceSum) { this.girdcolumscustservice = DsTruck.SaveGridPanel(USERID, this.formname + 'custservice', this.gridListCustService.columns, this.girdcolumscustservice, 1, true); - }else if (this.tabpanel.getActiveTab() == this.panelBltypeSum) { + } else if (this.tabpanel.getActiveTab() == this.panelBltypeSum) { this.girdcolumsbltype = DsTruck.SaveGridPanel(USERID, this.formname + 'bltype', this.gridListBltype.columns, this.girdcolumsbltype, 1, true); } else if (this.tabpanel.getActiveTab() == this.panelFrCustServiceSum) { this.girdcolumsfrcustservice = DsTruck.SaveGridPanel(USERID, this.formname + 'frcustservice', this.gridListFrCustService.columns, this.girdcolumsfrcustservice, 1, true); @@ -14998,7 +15025,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { } else if (this.tabpanel.getActiveTab() == this.panelBsSourceDetailSum) { this.gridListBsSourceDetail.reconfigure(this.storeBsSourceDetailList, this.initgirdcolumsbssourcedetail); this.girdcolumsbssourcedetail = DsTruck.SaveGridPanel(USERID, this.formname + 'bssourcedetail', this.gridListBsSourceDetail.columns, this.initgirdcolumsbssourcedetail, 1, true); - }else if (this.tabpanel.getActiveTab() == this.panelLaneSum) { + } else if (this.tabpanel.getActiveTab() == this.panelLaneSum) { this.gridListLane.reconfigure(this.storeLaneList, this.initgirdcolumslane); this.girdcolumslane = DsTruck.SaveGridPanel(USERID, this.formname + 'lane', this.gridListLane.columns, this.initgirdcolumslane, 1, true); } else if (this.tabpanel.getActiveTab() == this.panelPortSum) { @@ -15007,19 +15034,19 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { } else if (this.tabpanel.getActiveTab() == this.panelPortLoadSum) { this.gridListPortLoad.reconfigure(this.storePortLoadList, this.initgirdcolumsportload); this.girdcolumsportload = DsTruck.SaveGridPanel(USERID, this.formname + 'portload', this.gridListPortLoad.columns, this.initgirdcolumsportload, 1, true); - }else if (this.tabpanel.getActiveTab() == this.panelCarrierSum) { + } else if (this.tabpanel.getActiveTab() == this.panelCarrierSum) { this.gridListCarrier.reconfigure(this.storeCarrierList, this.initgirdcolumscarrier); this.girdcolumscarrier = DsTruck.SaveGridPanel(USERID, this.formname + 'carrier', this.gridListCarrier.columns, this.initgirdcolumscarrier, 1, true); } else if (this.tabpanel.getActiveTab() == this.panelForwarderSum) { this.gridListForwarder.reconfigure(this.storeForwarderList, this.initgirdcolumsforwarder); this.girdcolumsforwarder = DsTruck.SaveGridPanel(USERID, this.formname + 'forwarder', this.gridListForwarder.columns, this.initgirdcolumsforwarder, 1, true); - }else if (this.tabpanel.getActiveTab() == this.panelDocSum) { + } else if (this.tabpanel.getActiveTab() == this.panelDocSum) { this.gridListDoc.reconfigure(this.storeDocList, this.initgirdcolumsdoc); this.girdcolumsdoc = DsTruck.SaveGridPanel(USERID, this.formname + 'doc', this.gridListDoc.columns, this.initgirdcolumsdoc, 1, true); } else if (this.tabpanel.getActiveTab() == this.panelCustServiceSum) { this.gridListCustService.reconfigure(this.storeCustServiceList, this.initgirdcolumscustservice); this.girdcolumscustservice = DsTruck.SaveGridPanel(USERID, this.formname + 'custservice', this.gridListCustService.columns, this.initgirdcolumscustservice, 1, true); - }else if (this.tabpanel.getActiveTab() == this.panelBltypeSum) { + } else if (this.tabpanel.getActiveTab() == this.panelBltypeSum) { this.gridListBltype.reconfigure(this.storeBltypeList, this.initgirdcolumsbltype); this.girdcolumsbltype = DsTruck.SaveGridPanel(USERID, this.formname + 'bltype', this.gridListBltype.columns, this.initgirdcolumsbltype, 1, true); } else if (this.tabpanel.getActiveTab() == this.panelFrCustServiceSum) { @@ -15088,7 +15115,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { sortstr = this.bslistsortfield + ' ' + this.bslistsortdire; } - + Ext.Msg.wait('正在组织数据, 请稍侯..'); Ext.Ajax.request({ @@ -15116,7 +15143,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { sql1 = sql1.replace(/\+/g, "@@@") if (sql1 != '') { - GridExportBySql(sql1, this.formname + 'bs','利润报表-业务明细.xls'); + GridExportBySql(sql1, this.formname + 'bs', '利润报表-业务明细.xls'); //var openSet = "height=1, width=400, toolbar=no, menubar=no,scrollbars=no, resizable=no,location=no, status=no,Top=" + (screen.height - 200) / 2 + ",Left=" + (screen.width - 400) / 2; //var openType = "_blank"; @@ -15828,7 +15855,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { } } }); - }else if (this.tabpanel.activeTab == this.panelDocSum) { + } else if (this.tabpanel.activeTab == this.panelDocSum) { if (this.storeDocList.getCount() == 0) { return; @@ -15993,7 +16020,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { } } }); - }else if (this.tabpanel.activeTab == this.panelBltypeSum) { + } else if (this.tabpanel.activeTab == this.panelBltypeSum) { if (this.storeBltypeList.getCount() == 0) { return; @@ -16140,7 +16167,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { start: 0, limit: this.PageSize, condition: _this.sqlcontext, feecondition: _this.feesqlcontext, - amendstr:amendstr, + amendstr: amendstr, printstr: 'true', sortstr: sortstr }, @@ -16168,7 +16195,8 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { Ext.Msg.show({ title: '错误', msg: jsonresult.Message, icon: Ext.Msg.ERROR, buttons: Ext.Msg.OK }); } } else { - Ext.Msg.show({ title: '请重试', + Ext.Msg.show({ + title: '请重试', msg: '服务器响应出错', icon: Ext.Msg.ERROR, buttons: Ext.Msg.OK }); @@ -16224,7 +16252,8 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { Ext.Msg.show({ title: '错误', msg: jsonresult.Message, icon: Ext.Msg.ERROR, buttons: Ext.Msg.OK }); } } else { - Ext.Msg.show({ title: '请重试', + Ext.Msg.show({ + title: '请重试', msg: '服务器响应出错', icon: Ext.Msg.ERROR, buttons: Ext.Msg.OK }); @@ -16282,7 +16311,8 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { Ext.Msg.show({ title: '错误', msg: jsonresult.Message, icon: Ext.Msg.ERROR, buttons: Ext.Msg.OK }); } } else { - Ext.Msg.show({ title: '请重试', + Ext.Msg.show({ + title: '请重试', msg: '服务器响应出错', icon: Ext.Msg.ERROR, buttons: Ext.Msg.OK }); @@ -16338,7 +16368,8 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { Ext.Msg.show({ title: '错误', msg: jsonresult.Message, icon: Ext.Msg.ERROR, buttons: Ext.Msg.OK }); } } else { - Ext.Msg.show({ title: '请重试', + Ext.Msg.show({ + title: '请重试', msg: '服务器响应出错', icon: Ext.Msg.ERROR, buttons: Ext.Msg.OK }); @@ -16369,7 +16400,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { condition: _this.sqlcontext, feecondition: _this.feesqlcontext, amendstr: amendstr, - printstr: 'true', + printstr: 'true', sortstr: sortstr }, callback: function (options, success, response) { @@ -16394,7 +16425,8 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { Ext.Msg.show({ title: '错误', msg: jsonresult.Message, icon: Ext.Msg.ERROR, buttons: Ext.Msg.OK }); } } else { - Ext.Msg.show({ title: '请重试', + Ext.Msg.show({ + title: '请重试', msg: '服务器响应出错', icon: Ext.Msg.ERROR, buttons: Ext.Msg.OK }); @@ -16476,7 +16508,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { condition: _this.sqlcontext, feecondition: _this.feesqlcontext, amendstr: amendstr, - printstr: 'true', + printstr: 'true', sortstr: sortstr }, callback: function (options, success, response) { @@ -16501,7 +16533,8 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { Ext.Msg.show({ title: '错误', msg: jsonresult.Message, icon: Ext.Msg.ERROR, buttons: Ext.Msg.OK }); } } else { - Ext.Msg.show({ title: '请重试', + Ext.Msg.show({ + title: '请重试', msg: '服务器响应出错', icon: Ext.Msg.ERROR, buttons: Ext.Msg.OK }); @@ -16555,14 +16588,15 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { Ext.Msg.show({ title: '错误', msg: jsonresult.Message, icon: Ext.Msg.ERROR, buttons: Ext.Msg.OK }); } } else { - Ext.Msg.show({ title: '请重试', + Ext.Msg.show({ + title: '请重试', msg: '服务器响应出错', icon: Ext.Msg.ERROR, buttons: Ext.Msg.OK }); } } }); - } else if (this.tabpanel.activeTab == this.panelLaneSum) { + } else if (this.tabpanel.activeTab == this.panelLaneSum) { if (this.storeLaneList.getCount() == 0) { return; @@ -16584,7 +16618,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { condition: _this.sqlcontext, feecondition: _this.feesqlcontext, amendstr: amendstr, - printstr: 'true', + printstr: 'true', sortstr: sortstr }, callback: function (options, success, response) { @@ -16609,7 +16643,8 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { Ext.Msg.show({ title: '错误', msg: jsonresult.Message, icon: Ext.Msg.ERROR, buttons: Ext.Msg.OK }); } } else { - Ext.Msg.show({ title: '请重试', + Ext.Msg.show({ + title: '请重试', msg: '服务器响应出错', icon: Ext.Msg.ERROR, buttons: Ext.Msg.OK }); @@ -16638,7 +16673,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { condition: _this.sqlcontext, feecondition: _this.feesqlcontext, amendstr: amendstr, - printstr: 'true', + printstr: 'true', sortstr: sortstr }, callback: function (options, success, response) { @@ -16663,7 +16698,8 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { Ext.Msg.show({ title: '错误', msg: jsonresult.Message, icon: Ext.Msg.ERROR, buttons: Ext.Msg.OK }); } } else { - Ext.Msg.show({ title: '请重试', + Ext.Msg.show({ + title: '请重试', msg: '服务器响应出错', icon: Ext.Msg.ERROR, buttons: Ext.Msg.OK }); @@ -16694,7 +16730,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { condition: _this.sqlcontext, feecondition: _this.feesqlcontext, amendstr: amendstr, - printstr: 'true', + printstr: 'true', sortstr: sortstr }, callback: function (options, success, response) { @@ -16719,7 +16755,8 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { Ext.Msg.show({ title: '错误', msg: jsonresult.Message, icon: Ext.Msg.ERROR, buttons: Ext.Msg.OK }); } } else { - Ext.Msg.show({ title: '请重试', + Ext.Msg.show({ + title: '请重试', msg: '服务器响应出错', icon: Ext.Msg.ERROR, buttons: Ext.Msg.OK }); @@ -16897,7 +16934,7 @@ Ext.extend(Shipping.MsRptOpProfitIndex, Ext.Panel, { } } }); - }else if (this.tabpanel.activeTab == this.panelBltypeSum) { + } else if (this.tabpanel.activeTab == this.panelBltypeSum) {