|
@@ -35,7 +35,19 @@
|
|
</el-popconfirm>
|
|
</el-popconfirm>
|
|
</template>
|
|
</template>
|
|
<template v-if="['SPTG', 'DFH'].includes(orderDetail.orderStatus)">
|
|
<template v-if="['SPTG', 'DFH'].includes(orderDetail.orderStatus)">
|
|
- <el-button size="small" type="primary" @click="showDialog('send')">发货</el-button>
|
|
|
|
|
|
+ <el-popconfirm
|
|
|
|
+ v-if="['PART_PAID', 'NO_PAID'].includes(orderDetail.payStatus)"
|
|
|
|
+ title="是否确定操作发货?"
|
|
|
|
+ @confirm="
|
|
|
|
+ () => {
|
|
|
|
+ showDialog('send')
|
|
|
|
+ }
|
|
|
|
+ "
|
|
|
|
+ style="margin-left: 10px"
|
|
|
|
+ >
|
|
|
|
+ <el-button slot="reference" size="small" type="primary">发货</el-button>
|
|
|
|
+ </el-popconfirm>
|
|
|
|
+ <el-button v-else size="small" type="primary" @click="showDialog('send')">发货</el-button>
|
|
</template>
|
|
</template>
|
|
<template v-if="['DFH'].includes(orderDetail.orderStatus)">
|
|
<template v-if="['DFH'].includes(orderDetail.orderStatus)">
|
|
<el-popconfirm title="确定取消订单吗?" @confirm="cancelOrder" style="margin-left: 10px">
|
|
<el-popconfirm title="确定取消订单吗?" @confirm="cancelOrder" style="margin-left: 10px">
|