Authored by 刘志远

Merge branch 'feature/shop-order-v2.1' into 'master'

修改订单详情物流单号不显示的bug

修改订单详情物流单号不显示的bug

See merge request !115
... ... @@ -25,13 +25,13 @@
<template v-for="(item, index) in logisticsList">
<span v-if="item.id == orderInfo.expressId" :key="index">{{ item.companyName }}</span>
</template>
<template v-if="orderInfo.expressNumber > 0">
<template v-if="orderInfo.expressNumber">
<a style="margin-left:20px;" @click="showExpressInfo()">查看物流信息</a>
</template>
</i-col>
</Row>
<Row v-if="isShowExpress">
<i-col span="24">运单号:{{ orderInfo.expressNumber > 0 ? orderInfo.expressNumber : '' }} </i-col>
<i-col span="24">运单号:{{ orderInfo.expressNumber }} </i-col>
</Row>
</div>
<order-express-info ref="showOrderExpressInfo" :show="showOrderExpressInfo"></order-express-info>
... ...
... ... @@ -59,14 +59,6 @@ export default {
oldRouterName: 'order.detail',
};
},
watch: {
orderInfo: {
handler(newValue) {
this.orderInfo.expressNumber = +newValue.expressNumber > 0 ? newValue.expressNumber : '';
},
deep: true,
},
},
created() {
this.LogisticsService = new LogisticsService();
this.OrderService = new OrderService();
... ...
{
"name": "yoho-shop-manage",
"version": "1.3.1",
"version": "1.3.2",
"description": "",
"main": "app.js",
"scripts": {
... ...