|
@@ -161,9 +161,7 @@
|
|
|
width="100px"
|
|
|
align="center"
|
|
|
>
|
|
|
- <template slot-scope="scope">
|
|
|
- {{(scope.row.monthRealTonnage).toFixed(2)}}
|
|
|
- </template>
|
|
|
+
|
|
|
</el-table-column>
|
|
|
|
|
|
<el-table-column
|
|
@@ -199,9 +197,6 @@
|
|
|
width="120px"
|
|
|
align="center"
|
|
|
>
|
|
|
- <template slot-scope="scope" v-if="scope.row.totalPreviewFee">
|
|
|
- {{(scope.row.totalPreviewFee).toFixed(2)}}
|
|
|
- </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="monthMakeTonnage"
|
|
@@ -209,9 +204,7 @@
|
|
|
width="100px"
|
|
|
align="center"
|
|
|
>
|
|
|
- <template slot-scope="scope">
|
|
|
- {{(scope.row.monthMakeTonnage).toFixed(2)}}
|
|
|
- </template>
|
|
|
+
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="statementTotalAmount"
|
|
@@ -232,7 +225,6 @@
|
|
|
label="操作"
|
|
|
width="100px"
|
|
|
align="center"
|
|
|
- fixed="right"
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
<el-button type="text" @click="operate(scope.row)"
|
|
@@ -482,13 +474,13 @@ export default {
|
|
|
item.totalEnTonnage = data[index - 1].totalEnTonnage;
|
|
|
}
|
|
|
//总计预开票金额
|
|
|
- item.totalPreviewFee=Math.round(item.totalPreviewTonnage*item.unitPrice*100)/100;
|
|
|
+ item.totalPreviewFee = new BigNumber(item.totalPreviewTonnage).times(item.unitPrice).toFixed(2);
|
|
|
//月份结算吨位/
|
|
|
- item.monthRealTonnage = Math.round(item.totalEnTonnage*item.monthLoadingProportion*100)/100;
|
|
|
+ item.monthRealTonnage = new BigNumber(item.totalEnTonnage).times(item.monthLoadingProportion).toFixed(2);
|
|
|
//月份开票吨位
|
|
|
- item.monthMakeTonnage = Math.round((item.monthRealTonnage-item.totalPreviewTonnage)*100)/100;
|
|
|
+ item.monthMakeTonnage = new BigNumber(item.monthRealTonnage).minus(item.totalPreviewTonnage).toFixed(2);
|
|
|
//月份开票金额
|
|
|
- item.statementTotalAmount=Math.round((item.monthMakeTonnage*item.unitPrice-item.inspectionsFee)*100)/100;
|
|
|
+ item.statementTotalAmount=new BigNumber(item.monthMakeTonnage).times(item.unitPrice).minus(item.inspectionsFee).toFixed(2);
|
|
|
});
|
|
|
this.getSpanArr(this.tableData);
|
|
|
},
|