|
|
@@ -20,16 +20,18 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <view class="flex-space title" v-if="Number(detailInfo.sendStatus)>-1">配送进度</view>
|
|
|
- <view class="content-box" v-if="Number(detailInfo.sendStatus)>-1">
|
|
|
+ <view class="flex-space title" v-if="Number(detailInfo.sendStatus)>-2">配送进度</view>
|
|
|
+ <view class="content-box" v-if="Number(detailInfo.sendStatus)>-2">
|
|
|
<view class="order-msg-blo" style="padding: 20upx;">
|
|
|
<view class="msg-list">
|
|
|
- <view class="label"><text @click="showMySimPop">配</text>送平台:</view>
|
|
|
+ <view class="label"><text @click="showMySimPop">配送平台:</text></view>
|
|
|
<view class="value">{{getExpressPlatformText(detailInfo.deliveryId)}}</view>
|
|
|
</view>
|
|
|
<view class="msg-list express-progress-row">
|
|
|
<view class="label">配送进度:</view>
|
|
|
- <view class="value" :style="detailInfo.sendStatus == '3' ? 'color:#ff2842;font-weight:bold;' : detailInfo.sendStatus == '2' ? 'color:#07c160;font-weight:bold;' : ''">{{getProgressText(detailInfo.sendStatus)}}</view>
|
|
|
+ <view class="value" :style="detailInfo.sendStatus == '3' ? 'color:#ff2842;font-weight:bold;' : detailInfo.sendStatus == '2' ? 'color:#07c160;font-weight:bold;' : ''">
|
|
|
+ {{ detailInfo.sendStatus==-1?'等平台确认': detailInfo.sendStatus==0?'等跑腿接单':detailInfo.sendStatus==1?'跑腿已接单':detailInfo.sendStatus==2?'已送达':detailInfo.sendStatus==3?'已取消':detailInfo.sendStatus==4?'跑腿已到店':detailInfo.sendStatus==5?'跑腿配送中':'未知'}}
|
|
|
+ </view>
|
|
|
<view class="express-actions">
|
|
|
<button class="admin-button-com mini-btn btn-danger" v-if="detailInfo.sendStatus == '0' || detailInfo.sendStatus == '1'" @click.stop="cancelMyExpress(detailInfo.id)">取消跑腿</button>
|
|
|
<button class="admin-button-com mini-btn" v-if="detailInfo.sendStatus == '3'" @click.stop="openExpressPage()">重叫跑腿</button>
|
|
|
@@ -414,7 +416,7 @@
|
|
|
<button class="admin-button-com middle blue" @click="shareOrder()">分享</button>
|
|
|
<!-- #endif -->
|
|
|
|
|
|
- <button class="admin-button-com middle blue" v-if="detailInfo.sendStatus == '-1' && detailInfo.payStatus == 1" @click.stop="openExpressPage()">呼叫跑腿</button>
|
|
|
+ <button class="admin-button-com middle blue" v-if="detailInfo.sendStatus == '-2' && detailInfo.payStatus == 1" @click.stop="openExpressPage()">呼叫跑腿</button>
|
|
|
|
|
|
<button class="admin-button-com middle blue" style="background-color: green;border-color: green;" v-if="detailInfo.status != 1 && detailInfo.status != 5" @click="printOrder(detailInfo)">打印(无价格)</button>
|
|
|
|
|
|
@@ -667,18 +669,6 @@ export default {
|
|
|
}
|
|
|
return platformMap[platform] || platform
|
|
|
},
|
|
|
- //转换配送状态为中文显示
|
|
|
- getProgressText(status) {
|
|
|
- const statusMap = {
|
|
|
- 0: '已叫跑腿,等跑腿接单',
|
|
|
- 1: '跑腿已接单',
|
|
|
- 2:'已送达',
|
|
|
- 3:'已取消',
|
|
|
- 4:'跑腿已到店',
|
|
|
- 5:'跑腿配送中'
|
|
|
- }
|
|
|
- return statusMap[status] || status
|
|
|
- },
|
|
|
cancelChange(){
|
|
|
this.$refs.staffRef.close()
|
|
|
},
|