提交 aa1f88a6 authored 作者: huaxinzhu's avatar huaxinzhu

bug修复,打包测试

上级 ab1fa81d
......@@ -89,7 +89,7 @@
</div>
</template>
</el-table-column>
<el-table-column label="商品ID" align="center" prop="id"></el-table-column>
<el-table-column label="商品ID" align="center" prop="goods_id"></el-table-column>
<el-table-column label="规格/数量/金额" align="center" >
<template slot-scope="scope">
{{ scope.row.goods_option_title }}<br/>
......@@ -104,10 +104,10 @@
{{ speTiemFormatter(scope.row.updated_time) }}
</template>
</el-table-column>
<el-table-column label="运费" align="center" width="" >
<!-- <template slot-scope="scope">-->
<!-- {{ scope.row. / 100 }}-->
<!-- </template>-->
<el-table-column label="运费" align="center" width="" prop="dispatch_price" >
<template slot-scope="scope">
{{ scope.row.dispatch_price / 100 }}
</template>
</el-table-column>
<el-table-column label="收货人" align="center" width="" >
<template>
......@@ -213,6 +213,13 @@
if (res.data.order_goods_detail) {
this.orderGoodsDetail = res.data.order_goods_detail;
// dispatch_price
if(this.orderGoodsDetail && this.orderGoodsDetail.length > 0) {
for(let i = 0; i < this.orderGoodsDetail.length; i++) {
this.orderGoodsDetail[i]['dispatch_price'] = res.data.order.dispatch_price
}
}
console.log(222,this.orderGoodsDetail);
}
}else {
this.$message({type: 'error',message: res.message ? res.message : '数据请求失败'});
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论