|
@@ -27,6 +27,16 @@
|
|
<span>{{ orderDetail.orderStatus | ORDER_CURRENT_STATUS_FILTER }}</span>
|
|
<span>{{ orderDetail.orderStatus | ORDER_CURRENT_STATUS_FILTER }}</span>
|
|
</div>
|
|
</div>
|
|
<div class="order-main-opt-btn">
|
|
<div class="order-main-opt-btn">
|
|
|
|
+ <template
|
|
|
|
+ v-if="
|
|
|
|
+ ['NOPAY', 'DFH'].includes(orderDetail.orderStatus) ||
|
|
|
|
+ (!['WECHAT'].includes(orderDetail.payTypeId) && ['SPTG', 'DQR'].includes(orderDetail.orderStatus))
|
|
|
|
+ "
|
|
|
|
+ >
|
|
|
|
+ <el-popconfirm title="确定取消订单吗?" @confirm="cancelOrder" style="margin-left: 10px">
|
|
|
|
+ <el-button slot="reference" size="small" type="danger">取消订单</el-button>
|
|
|
|
+ </el-popconfirm>
|
|
|
|
+ </template>
|
|
<template v-if="orderDetail.orderStatus === 'NOPAY'">
|
|
<template v-if="orderDetail.orderStatus === 'NOPAY'">
|
|
<el-popconfirm
|
|
<el-popconfirm
|
|
v-if="!['WECHAT'].includes(orderDetail.payTypeId)"
|
|
v-if="!['WECHAT'].includes(orderDetail.payTypeId)"
|
|
@@ -36,9 +46,6 @@
|
|
<el-button slot="reference" size="small">确认收款</el-button>
|
|
<el-button slot="reference" size="small">确认收款</el-button>
|
|
</el-popconfirm>
|
|
</el-popconfirm>
|
|
<el-button size="small" @click="showDialog('price')" style="margin-left: 10px">修改价格</el-button>
|
|
<el-button size="small" @click="showDialog('price')" style="margin-left: 10px">修改价格</el-button>
|
|
- <el-popconfirm title="确定取消订单吗?" @confirm="cancelOrder" style="margin-left: 10px">
|
|
|
|
- <el-button slot="reference" size="small" type="danger">取消订单</el-button>
|
|
|
|
- </el-popconfirm>
|
|
|
|
</template>
|
|
</template>
|
|
<template v-if="['SPTG', 'DFH'].includes(orderDetail.orderStatus)">
|
|
<template v-if="['SPTG', 'DFH'].includes(orderDetail.orderStatus)">
|
|
<el-popconfirm
|
|
<el-popconfirm
|
|
@@ -55,11 +62,6 @@
|
|
</el-popconfirm>
|
|
</el-popconfirm>
|
|
<el-button v-else size="small" type="primary" @click="showDialog('send')">发货</el-button>
|
|
<el-button v-else size="small" type="primary" @click="showDialog('send')">发货</el-button>
|
|
</template>
|
|
</template>
|
|
- <template v-if="['DFH'].includes(orderDetail.orderStatus)">
|
|
|
|
- <el-popconfirm title="确定取消订单吗?" @confirm="cancelOrder" style="margin-left: 10px">
|
|
|
|
- <el-button slot="reference" size="small" type="danger">取消订单</el-button>
|
|
|
|
- </el-popconfirm>
|
|
|
|
- </template>
|
|
|
|
<template v-if="orderDetail.orderStatus === 'YFH' || orderDetail.orderStatus === 'OVER'">
|
|
<template v-if="orderDetail.orderStatus === 'YFH' || orderDetail.orderStatus === 'OVER'">
|
|
<el-button size="small" @click="showDialog('query')">查看物流</el-button>
|
|
<el-button size="small" @click="showDialog('query')">查看物流</el-button>
|
|
</template>
|
|
</template>
|