|
@@ -90,13 +90,20 @@
|
|
|
style="width: 250px;justify-content: center;align-items: center;flex-direction: column;">
|
|
style="width: 250px;justify-content: center;align-items: center;flex-direction: column;">
|
|
|
<i class="el-icon-loading" style="font-size: 30px;" v-if="scope.row.loading"></i>
|
|
<i class="el-icon-loading" style="font-size: 30px;" v-if="scope.row.loading"></i>
|
|
|
<div class="flex">
|
|
<div class="flex">
|
|
|
- <el-button v-if="scope.row.status > 2"
|
|
|
|
|
- @click="getExpressDelivery(scope.row)">查看物流</el-button>
|
|
|
|
|
|
|
+ <!-- <el-button v-if="scope.row.status > 2"
|
|
|
|
|
+ @click="getExpressDelivery(scope.row)">查看物流</el-button> -->
|
|
|
|
|
+ <el-button v-if="scope.row.status == 1">待签收</el-button>
|
|
|
|
|
+ <el-button v-if="scope.row.status == 2" @click="batchOrder(scope.row)">待签收</el-button>
|
|
|
|
|
+ <el-button v-if="scope.row.status == 3" @click="batchOrder(scope.row)">申请退货</el-button>
|
|
|
|
|
+ <el-button v-if="scope.row.status == 5" >理赔中</el-button>
|
|
|
|
|
+ <el-button v-if="scope.row.status == 6" >结算中</el-button>
|
|
|
|
|
+ <el-button v-if="scope.row.status == 7" >已完成</el-button>
|
|
|
<!-- showBtn -->
|
|
<!-- showBtn -->
|
|
|
- <template v-if="scope.row.status <= 4">
|
|
|
|
|
- <el-button v-if="showBtn(scope.row.refund_time_check) && scope.row.status > 2"
|
|
|
|
|
- @click="handleOrder('您确定立即申请退货?',scope.row)" type="primary">退货</el-button>
|
|
|
|
|
- <el-button v-else type="danger">退货</el-button>
|
|
|
|
|
|
|
+ <template v-if="scope.row.status == 4">
|
|
|
|
|
+ <el-button v-if="showBtn(scope.row.refund_time_check) && scope.row.refund_status == 0"
|
|
|
|
|
+ @click="handleOrder('您确定立即申请退货?',scope.row)" type="primary">申请退货</el-button>
|
|
|
|
|
+ <el-button v-else-if="showBtn(scope.row.refund_time_check) && scope.row.refund_status == 1" type="danger">等待商家审核</el-button>
|
|
|
|
|
+ <el-button v-else type="danger">申请退货</el-button>
|
|
|
</template>
|
|
</template>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
@@ -321,6 +328,18 @@
|
|
|
},
|
|
},
|
|
|
sqlp(item) {
|
|
sqlp(item) {
|
|
|
|
|
|
|
|
|
|
+ },
|
|
|
|
|
+ batchOrder(item) {
|
|
|
|
|
+ item.loading = true
|
|
|
|
|
+ batchOrder({
|
|
|
|
|
+ id: item.id
|
|
|
|
|
+ }).then(res => {
|
|
|
|
|
+ // this.$msg.success(res.msg)
|
|
|
|
|
+ item.tag = res.msg
|
|
|
|
|
+ item.loading = false
|
|
|
|
|
+ item.loaded = true
|
|
|
|
|
+ // this.getList()
|
|
|
|
|
+ })
|
|
|
},
|
|
},
|
|
|
oneWork(arr, i = 0) {
|
|
oneWork(arr, i = 0) {
|
|
|
// batchOrder({
|
|
// batchOrder({
|