bug
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="优惠后小计(元)" align="center" min-width="100" prop="金额">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.金额 = Number(scope.row.优惠后单价) * Number(scope.row.数量) }}
|
||||
{{ scope.row.金额 = (Number(scope.row.优惠后单价) * Number(scope.row.数量)).toFixed(2) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
||||
Reference in New Issue
Block a user