客户发起 修改为 售后发起中
This commit is contained in:
parent
3f5ef7fe33
commit
460a9b5091
|
|
@ -149,7 +149,7 @@
|
|||
</view>
|
||||
<view v-for="(afterServiceRecord, afterServiceRecordIndex) in item.afterServiceRecordList">
|
||||
<view v-if="afterServiceRecord.createBy == 1" class="padding-tb-sm solid-top">
|
||||
<view class='cu-tag bg-main-color radius light'>客户发起</view>
|
||||
<view class='cu-tag bg-main-color radius light'>售后发起中</view>
|
||||
<view v-if="afterServiceRecord.operType === 1">
|
||||
<view class="text-gray text-sm margin-bottom-xs">退单退款已提交至商家,其最大时限24小时内需完成操作!</view>
|
||||
<view class="flex justify-start align-end">
|
||||
|
|
@ -217,7 +217,7 @@
|
|||
</view>
|
||||
<view v-if="afterServiceRecord.workerFeedbackResult === 1">
|
||||
<text>同意退款金额:</text>
|
||||
<text>{{afterServiceRecord.agreedRefund}}</text>
|
||||
<text>{{afterServiceRecord.agreedRefund ? afterServiceRecord.agreedRefund : afterServiceRecord.refund}}</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>师傅反馈:</text>
|
||||
|
|
@ -259,17 +259,16 @@
|
|||
<view class="flex justify-end align-end margin-tb-sm">
|
||||
<button class="cu-btn sm bg-yellow margin-right-sm"
|
||||
@click="afterServiceFinalCheck(afterServiceRecord.id, 1)">同意</button>
|
||||
<button class="cu-btn sm bg-yellow margin-right-sm" v-if="afterServiceRecord.customerFinalCheck != 0"
|
||||
@click="afterServiceFinalCheck(afterServiceRecord.id, 0)">不同意</button>
|
||||
<button class="cu-btn sm bg-yellow margin-right-sm" v-else disabled type=""
|
||||
<button class="cu-btn sm bg-yellow margin-right-sm" v-if="afterServiceRecord.customerFinalCheck == null"
|
||||
@click="afterServiceFinalCheck(afterServiceRecord.id, 0)">不同意</button>
|
||||
<button class="cu-btn sm bg-yellow margin-right-sm" v-else-if="afterServiceRecord.customerFinalCheck == 0" disabled type="">已申请平台介入</button>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="afterServiceRecord.customerFinalCheck != null" class="padding-tb-sm solid-top">
|
||||
<view class='cu-tag bg-main-color radius light'>客户最终确认</view>
|
||||
<view class="margin-top-xs">{{afterServiceRecord.customerFinalCheck === 1 ? '同意' : '不同意'}}
|
||||
</view>
|
||||
<view class="text-red" v-if="afterServiceRecord.customerFinalCheck === 0">订单交由平台协商处理</view>
|
||||
<view class="text-red" v-if="afterServiceRecord.customerFinalCheck === 0">订单已申请平台介入</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -423,10 +422,18 @@
|
|||
});
|
||||
if (res && res.code === 0) {
|
||||
this.loadData(this.servDetail.orderMasterId);
|
||||
uni.showToast({
|
||||
icon: 'success',
|
||||
duration: 1000
|
||||
})
|
||||
if (agreeStatus == 1) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
duration: 2500,
|
||||
title: '涉及退款部分将按付款原路退回,请留意'
|
||||
})
|
||||
} else {
|
||||
uni.showToast({
|
||||
icon: 'success',
|
||||
duration: 1000
|
||||
})
|
||||
}
|
||||
return;
|
||||
}
|
||||
uni.showToast({
|
||||
|
|
|
|||
Loading…
Reference in New Issue