Commit 6032f1fd by zhangxw

订单列表字段命名修改

1 parent f434769f
...@@ -312,7 +312,7 @@ ...@@ -312,7 +312,7 @@
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="折扣后金额" align="center" prop="subOrderList"> <el-table-column label="折扣后金额" align="center" width="120px" prop="subOrderList">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-for="(item, index) in scope.row.subOrderList" :key="index"> <span v-for="(item, index) in scope.row.subOrderList" :key="index">
<p v-if="item.upgradeGoodsId">¥ {{ item.finalPrice }}</p> <p v-if="item.upgradeGoodsId">¥ {{ item.finalPrice }}</p>
...@@ -353,12 +353,21 @@ ...@@ -353,12 +353,21 @@
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="共减" prop="subOrderList">
<template slot-scope="scope">
<span v-for="(item, index) in scope.row.subOrderList" :key="index">
<p>¥{{ scope.row.discountAmount || 0 }}</p>
</span>
</template>
</el-table-column>
<el-table-column label="商品总价" align="center" prop="totalPrice"> <el-table-column label="商品总价" align="center" prop="totalPrice">
<template slot-scope="scope"> <template slot-scope="scope">
<span>¥ {{ scope.row.totalPrice }}</span> <span>{{
scope.row.totalPrice != null ? "¥" + scope.row.totalPrice : ""
}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="实收金额" align="center" prop="totalPrice"> <el-table-column label="支付金额" align="center" prop="finalPrice">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ <span>{{
scope.row.finalPrice != null ? "¥" + scope.row.finalPrice : "" scope.row.finalPrice != null ? "¥" + scope.row.finalPrice : ""
......
...@@ -299,7 +299,7 @@ ...@@ -299,7 +299,7 @@
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="实收金额" align="center" prop="subOrderList"> <el-table-column label="折扣后金额" align="center" width="120px" prop="subOrderList">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-for="(item, index) in scope.row.subOrderList" :key="index"> <span v-for="(item, index) in scope.row.subOrderList" :key="index">
<p v-if="item.upgradeGoodsId">¥ {{ item.finalPrice }}</p> <p v-if="item.upgradeGoodsId">¥ {{ item.finalPrice }}</p>
...@@ -358,9 +358,25 @@ ...@@ -358,9 +358,25 @@
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="共减" prop="subOrderList">
<template slot-scope="scope">
<span v-for="(item, index) in scope.row.subOrderList" :key="index">
<p>¥{{ scope.row.discountAmount || 0 }}</p>
</span>
</template>
</el-table-column>
<el-table-column label="商品总价" align="center" prop="totalPrice"> <el-table-column label="商品总价" align="center" prop="totalPrice">
<template slot-scope="scope"> <template slot-scope="scope">
<span>¥ {{ scope.row.totalPrice }}</span> <span>{{
scope.row.totalPrice != null ? "¥" + scope.row.totalPrice : ""
}}</span>
</template>
</el-table-column>
<el-table-column label="支付金额" align="center" prop="finalPrice">
<template slot-scope="scope">
<span>{{
scope.row.finalPrice != null ? "¥" + scope.row.finalPrice : ""
}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="退款明细" align="center" prop="totalPrice"> <el-table-column label="退款明细" align="center" prop="totalPrice">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!