...
|
...
|
@@ -562,7 +562,7 @@ const _getOfflineBySelf = (isCancel, status, createTime) => { |
|
|
if (status === 0) {
|
|
|
process.percent = '50%';
|
|
|
process.middleStatus[0].cur = true;
|
|
|
} else if (status > 0 && status < 4) {
|
|
|
} else if (status === 6) {
|
|
|
process.percent = '100%';
|
|
|
process.middleStatus[1].cur = true;
|
|
|
}
|
...
|
...
|
@@ -731,10 +731,11 @@ const _getOrderDetail = co(function * (uid, orderId) { |
|
|
phone: _.fill(orderDetail.mobile.split(''), '*', 3, 4).join('') +
|
|
|
(orderDetail.phone ? ',' + _.fill(orderDetail.phone.split(''), '*', 3, 5).join('') : '')
|
|
|
};
|
|
|
console.log(orderDetail);
|
|
|
|
|
|
if (_.get(orderDetail, 'is_offlineshops') === 'Y') {
|
|
|
if (_.get(orderDetail, 'is_delivery_offline') === 'Y') {
|
|
|
detail.orderInfo.offlineBySelf = true;
|
|
|
detail.offlineBySelf = true;
|
|
|
} else {
|
|
|
detail.orderInfo.offlineByExpress = true;
|
|
|
}
|
...
|
...
|
|