diff --git a/src/views/oilFinalStatement/oilFinalStatementListInfo.vue b/src/views/oilFinalStatement/oilFinalStatementListInfo.vue index 614f8cb..75bdd08 100644 --- a/src/views/oilFinalStatement/oilFinalStatementListInfo.vue +++ b/src/views/oilFinalStatement/oilFinalStatementListInfo.vue @@ -215,7 +215,7 @@ export default { ], tableColumns: [ { - prop: 'orderSerialNumber', + prop: 'id', minWidth: 180, label: '订单号', show: true, @@ -367,21 +367,6 @@ export default { sums[index] = '合计' return } - const values = data.map(item => Number(item[column.property])) - if (!values.every(value => isNaN(value))) { - sums[index] = values.reduce((prev, curr) => { - const value = Number(curr) - if (!isNaN(value)) { - return prev + curr - } else { - return prev - } - }, 0) - sums[index] = sums[index].toFixed(2) - sums[index] += ' 元' - } else { - sums[index] = '' - } if (this.importData.settlementType == 1) { switch ( column.property // column.property可以匹配它的每一列的命名, 然后赋值