Authored by 郝肖肖

个人中心,订单取消,不显示物流信息

... ... @@ -381,7 +381,7 @@ const getCancelOrderReason = () => {
*/
const getExpressInfo = (uid, code) => {
return api.get('', {
method: 'app.express.get',
method: 'app.express.li',
uid: uid,
order_code: code
});
... ... @@ -543,6 +543,10 @@ const getOrderDetail = (uid, code) => {
} else {
detail.statusStr = statusMap[st].valueStr;
}
//取消不显示物流信息
detail.expressInfo = express;
detail.expressInfo.addressList = _convertAddress(express.express_detail, detail.create_time);
}
... ... @@ -557,9 +561,6 @@ const getOrderDetail = (uid, code) => {
detail.allAddress = detail.area + detail.address;
detail.expressInfo = express;
detail.expressInfo.addressList = _convertAddress(express.express_detail, detail.create_time);
return {
orderDetail: Object.assign(basicData, detail)
};
... ...