|
|
|
@ -245,8 +245,11 @@ |
|
|
|
</view> |
|
|
|
<view class="box1" |
|
|
|
v-if="orderDetail.mallRefundRecord != null && orderDetail.mallRefundRecord.length > 0"> |
|
|
|
<view style="width: 100%;line-height: 70rpx;font-size: 30rpx;font-weight: 700;"> |
|
|
|
退款/售后 |
|
|
|
<view style="width: 100%;line-height: 70rpx;font-size: 30rpx;font-weight: 700;display: flex;align-items: center;"> |
|
|
|
<text style="flex: 1;">退款/售后</text> |
|
|
|
<view class="refund-service-btn" @tap="callPlatformService"> |
|
|
|
平台介入 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="refund-card" |
|
|
|
v-for="(item2,index2) in orderDetail.mallRefundRecord" :key="index2"> |
|
|
|
@ -309,7 +312,7 @@ |
|
|
|
<view class="refund-info-value"> |
|
|
|
{{item2.refundType == 1 ? '退商品 ' : item2.refundType == 2 ? '退配送费 ' : '全额退款 ' }} |
|
|
|
<text v-if="item2.refundTypeStatus != null"> |
|
|
|
| {{item2.refundTypeStatus == 1 ? '商家原因' : item2.refundTypeStatus == 2 ? '配送员原因' : (item2.refundTypeStatus == 3 && item2.linkId.indexOf("W") == -1) ? '商家原因' : (item2.refundTypeStatus == 3 && item2.linkId.indexOf("W") != -1) ? '配送员原因' : '平台退款' }} |
|
|
|
| {{item2.refundTypeStatus == 1 ? '商家退款' : item2.refundTypeStatus == 2 ? '配送员退款' : (item2.refundTypeStatus == 3 && item2.linkId.indexOf("W") == -1) ? '商家退款' : (item2.refundTypeStatus == 3 && item2.linkId.indexOf("W") != -1) ? '配送员退款' : '平台退款' }} |
|
|
|
</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
@ -321,6 +324,14 @@ |
|
|
|
{{item2.status == 0 ? '处理退款中' : item2.status == 1 ? '同意退款' : item2.status == 2 ? '拒绝退款' : item2.status == 3 ? '处理售后中' : item2.status == 4 ? '同意售后' : '拒绝售后' }} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="refund-info-row" v-if="(item2.status == 2 || item2.status == 5) && item2.rejectReason"> |
|
|
|
<view class="refund-info-label"> |
|
|
|
拒绝原因 |
|
|
|
</view> |
|
|
|
<view class="refund-info-value"> |
|
|
|
{{item2.rejectReason}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="auto-refund-tip" v-if="isRefundPending(item2)"> |
|
|
|
{{getAutoRefundTime(item2.createTime)}} 之前对方未处理系统会自动退款 |
|
|
|
</view> |
|
|
|
@ -572,8 +583,8 @@ |
|
|
|
<view style="flex: 1;color: #777;font-weight: 700;"> |
|
|
|
{{orderDetail.shopDelivery == 1 ? '商家到店时间' : '配送员到店时间'}} |
|
|
|
</view> |
|
|
|
<view style="color: #000;font-weight: 700;" v-if="orderDetail.deliveryInfo"> |
|
|
|
{{orderDetail.deliveryInfo.arriveTime ? orderDetail.deliveryInfo.arriveTime : '' | formatTime}} |
|
|
|
<view style="color: #000;font-weight: 700;" v-if="orderDetail.deliveryInfo != null"> |
|
|
|
{{formatTimeText(orderDetail.deliveryInfo.arriveTime)}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view style="height: 80rpx;line-height: 80rpx;display: flex;" |
|
|
|
@ -612,16 +623,6 @@ |
|
|
|
查看评价 > |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view style="height: 80rpx;line-height: 80rpx;display: flex;" v-if="hasRefund"> |
|
|
|
<view style="flex: 1;color: #777;font-weight: 700;"> |
|
|
|
申请平台介入 |
|
|
|
</view> |
|
|
|
<view style="color: #000;font-weight: 700;" @tap="checkEvaluate"> |
|
|
|
<img @tap="makeCall('15533910775')" |
|
|
|
src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/869a7af6a1c24bf3a0d523c4a18b55c6.png" |
|
|
|
alt="" style="width: 40rpx;height: 40rpx;margin: 20rpx 0 0 20rpx;" /> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
@ -704,26 +705,32 @@ |
|
|
|
</text> |
|
|
|
<text v-else>请选择退款原因</text> |
|
|
|
</view> |
|
|
|
<view class="cancel-time-tips" v-if="(payData.status == 3 && payData.deliveryType ==1) || payData.status == 4"> |
|
|
|
<view class="cancel-time-tips"> |
|
|
|
<view class="cancel-warning-line" v-if="payData.shopMakeTime == null && payData.otherOrder == null"> |
|
|
|
<uni-icons type="info" size="14" color="#ff5722"></uni-icons> |
|
|
|
<text> |
|
|
|
商家还未出餐 |
|
|
|
</text> |
|
|
|
</view> |
|
|
|
<view class="cancel-warning-line" v-if="payData.shopMakeTime == null && payData.otherOrder == null"> |
|
|
|
<view class="cancel-warning-line" v-if="payData.shopMakeTime != null"> |
|
|
|
<uni-icons type="info" size="14" color="#ff5722"></uni-icons> |
|
|
|
<text> |
|
|
|
配送员到店时间:{{shopTime}} |
|
|
|
商家已出餐 |
|
|
|
</text> |
|
|
|
</view> |
|
|
|
<view class="cancel-warning-line" v-if="payData.shopMakeTime != null && payData.otherOrder == null"> |
|
|
|
<view class="cancel-warning-line" v-if="payData.otherOrder == null && payData.deliveryType == 1"> |
|
|
|
<uni-icons type="info" size="14" color="#ff5722"></uni-icons> |
|
|
|
<text> |
|
|
|
配送员到店时间:{{arriveTime}} |
|
|
|
</text> |
|
|
|
</view> |
|
|
|
<view class="cancel-warning-line" v-if="payData.shopMakeTime != null && payData.otherOrder == null && payData.deliveryType == 1"> |
|
|
|
<uni-icons type="info" size="14" color="#ff5722"></uni-icons> |
|
|
|
<text> |
|
|
|
本单商家备餐时长:{{shopTime}} |
|
|
|
</text> |
|
|
|
</view> |
|
|
|
<view class="cancel-warning-line" v-if="payData.shopMakeTime != null && payData.otherOrder == null"> |
|
|
|
<view class="cancel-warning-line" v-if="payData.shopMakeTime != null && payData.otherOrder == null && payData.deliveryType == 1"> |
|
|
|
<uni-icons type="info" size="14" color="#ff5722"></uni-icons> |
|
|
|
<text> |
|
|
|
配送员配送时长:{{peisongTime}} |
|
|
|
@ -735,15 +742,15 @@ |
|
|
|
<view style="padding: 0 20rpx;"> |
|
|
|
<view class="cancel-type-item" v-if="orderDetail.otherOrder != 1"> |
|
|
|
<radio :checked="sellTime==2" name="sellTime" @click="checkSellTime(2)" /> |
|
|
|
全额退款(商家原因) |
|
|
|
全额退款(商家退款) |
|
|
|
</view> |
|
|
|
<view class="cancel-type-item" v-if="payData.deliveryType ==1"> |
|
|
|
<radio :checked="sellTime==3" name="sellTime" @click="checkSellTime(3)" /> |
|
|
|
全额退款(配送员原因) |
|
|
|
全额退款(配送员退款) |
|
|
|
</view> |
|
|
|
<view class="cancel-type-item" v-if="payData.deliveryType ==1 && orderDetail.otherOrder != 1"> |
|
|
|
<radio :checked="sellTime==4" name="sellTime" @click="checkSellTime(4)" /> |
|
|
|
全额退款(商家+配送员原因) |
|
|
|
全额退款(商家退商品+配送员退配送费) |
|
|
|
</view> |
|
|
|
<!-- <view class="cancel-type-item"> |
|
|
|
<radio :checked="sellTime==5" name="sellTime" @click="checkSellTime(5)" /> |
|
|
|
@ -930,10 +937,11 @@ |
|
|
|
reason: '', |
|
|
|
pictures: '' |
|
|
|
}, |
|
|
|
cancelReasonOptions: ['配送超时', '收到的商品少了', '骑手送错地址', '收到的商品错了', '商家出餐超时', '餐品损坏或撒了', '商品质量问题'], |
|
|
|
cancelReasonOptions: [ '不想要了','配送超时', '收到的商品少了', '骑手送错地址', '收到的商品错了', '商家出餐超时', '餐品损坏或撒了', '商品质量问题'], |
|
|
|
selectedCancelReasonOptions: [], |
|
|
|
popupPageStyle: '', |
|
|
|
shopTime: '', |
|
|
|
arriveTime:'', |
|
|
|
hasRefund: false, |
|
|
|
peisongTime: '', |
|
|
|
shopItem: {}, |
|
|
|
@ -945,6 +953,9 @@ |
|
|
|
codeImg: 'https://jewel-shop.oss-cn-beijing.aliyuncs.com/3a4e68eb14d7417cbb4f15fa85907c64.jpg', |
|
|
|
additionalFee: '', |
|
|
|
addFeeTradeNo: '', |
|
|
|
pendingAddFeeWorker: null, |
|
|
|
addFeeAutoPayOpened: false, |
|
|
|
addFeePollTimer: null, |
|
|
|
isRefreshing: false, |
|
|
|
groupBuyCancelPopupType: 'buy', |
|
|
|
assignWorkerModalVisible: false, |
|
|
|
@ -984,7 +995,12 @@ |
|
|
|
formatTime(value) { |
|
|
|
if (!value) return ''; |
|
|
|
if (value == '尽快送达') return '尽快送达'; |
|
|
|
const date = new Date(value); |
|
|
|
let date = new Date(value); |
|
|
|
if (isNaN(date.getTime())) { |
|
|
|
const normalized = String(value).replace(/-/g, '/').replace('T', ' ').split('.')[0]; |
|
|
|
date = new Date(normalized); |
|
|
|
} |
|
|
|
if (isNaN(date.getTime())) return ''; |
|
|
|
|
|
|
|
// 获取年份 |
|
|
|
const year = date.getFullYear(); |
|
|
|
@ -1036,6 +1052,11 @@ |
|
|
|
}, |
|
|
|
onShow() { |
|
|
|
this.menuButtonInfo = uni.getMenuButtonBoundingClientRect() |
|
|
|
let pendingAddCommissionWorker = uni.getStorageSync('pendingAddCommissionWorker'); |
|
|
|
if (pendingAddCommissionWorker) { |
|
|
|
uni.removeStorageSync('pendingAddCommissionWorker'); |
|
|
|
this.prepareAddFeeForWorker(pendingAddCommissionWorker); |
|
|
|
} |
|
|
|
// 备用方案:检查缓存中是否有待处理的配送员选择 |
|
|
|
let pendingWorker = uni.getStorageSync('pendingAssignWorker'); |
|
|
|
if (pendingWorker) { |
|
|
|
@ -1073,6 +1094,7 @@ |
|
|
|
onUnload() { |
|
|
|
uni.$off('updateDeliveryWorker'); |
|
|
|
this.stopPayCountdown(); |
|
|
|
this.stopAddFeePolling(); |
|
|
|
}, |
|
|
|
|
|
|
|
methods: { |
|
|
|
@ -1130,8 +1152,8 @@ |
|
|
|
formatTimeText(value) { |
|
|
|
if (!value) return ''; |
|
|
|
if (value == '尽快送达') return '尽快送达'; |
|
|
|
const date = new Date(value); |
|
|
|
if (isNaN(date.getTime())) return ''; |
|
|
|
const date = this.parseOrderTime(value); |
|
|
|
if (!date) return ''; |
|
|
|
const year = date.getFullYear(); |
|
|
|
const month = String(date.getMonth() + 1).padStart(2, '0'); |
|
|
|
const day = String(date.getDate()).padStart(2, '0'); |
|
|
|
@ -1280,10 +1302,45 @@ |
|
|
|
return this.returnData.reason; |
|
|
|
}, |
|
|
|
makeCall(phone) { |
|
|
|
if (!phone) { |
|
|
|
this.tui.toast("暂无联系电话"); |
|
|
|
return; |
|
|
|
} |
|
|
|
uni.makePhoneCall({ |
|
|
|
phoneNumber: phone |
|
|
|
}); |
|
|
|
}, |
|
|
|
callPlatformService() { |
|
|
|
let regionId = this.getCurrentRegionId(); |
|
|
|
if (!regionId) { |
|
|
|
this.tui.toast("请选择校区"); |
|
|
|
return; |
|
|
|
} |
|
|
|
let that = this; |
|
|
|
that.tui.request("/mall/admin/seckillGroup/customerPhone/get", "GET", { |
|
|
|
regionId: regionId |
|
|
|
}, false, true).then((res) => { |
|
|
|
if (res.code == 200) { |
|
|
|
that.makeCall(res.result); |
|
|
|
} else { |
|
|
|
that.tui.toast(res.message || "获取客服电话失败"); |
|
|
|
} |
|
|
|
}).catch((res) => { |
|
|
|
that.tui.toast("获取客服电话失败"); |
|
|
|
}); |
|
|
|
}, |
|
|
|
getCurrentRegionId() { |
|
|
|
let area = uni.getStorageSync('area'); |
|
|
|
if (!area) return ''; |
|
|
|
if (typeof area === 'object') { |
|
|
|
return area.id || ''; |
|
|
|
} |
|
|
|
try { |
|
|
|
return JSON.parse(area).id || ''; |
|
|
|
} catch (e) { |
|
|
|
return ''; |
|
|
|
} |
|
|
|
}, |
|
|
|
checkEvaluate() { |
|
|
|
if (this.orderDetail.comments != null && this.orderDetail.comments.length > 0) { |
|
|
|
this.$refs.evaluatePopup.open() |
|
|
|
@ -1305,7 +1362,7 @@ |
|
|
|
return false; |
|
|
|
}, |
|
|
|
hasNoDeliveryWorker(item) { |
|
|
|
return !item || !item.deliveryInfo || !item.deliveryInfo.workerId; |
|
|
|
return !item || !item.deliveryInfo || !item.deliveryInfo.workerId || item.deliveryInfo.status === 0; |
|
|
|
}, |
|
|
|
isGroupSuccess(item) { |
|
|
|
return item && item.groupInfo && (item.groupInfo.status == 1 || item.groupInfo.successTime); |
|
|
|
@ -1327,6 +1384,10 @@ |
|
|
|
const isGroupDeliveryOrder = item.deliveryType == 1 && item.otherOrder == null && this.isGroupSuccess(item); |
|
|
|
const isSelfPickupNoMake = item.deliveryType == 2 && item.status == 3 && isNormalOrder && |
|
|
|
(item.userRequireMake == null || item.userRequireMake == 0) && !item.shopMakeTime; |
|
|
|
|
|
|
|
if(item.otherOrder == 2 && (item.orderType != 1)){ |
|
|
|
return false; |
|
|
|
} |
|
|
|
|
|
|
|
if (isNormalOrder && item.deliveryType == 1 && this.hasNoDeliveryWorker(item)) { |
|
|
|
return true; |
|
|
|
@ -1366,6 +1427,7 @@ |
|
|
|
this.refundTypeStatus = 2 |
|
|
|
this.sellTime = 3 |
|
|
|
} |
|
|
|
this.arriveTime = this.orderDetail.deliveryInfo.arriveTime ? this.formatTimeText(this.orderDetail.deliveryInfo.arriveTime) : '未到店' |
|
|
|
if (this.payData.shopMakeTime != null) { |
|
|
|
const date1 = new Date(this.payData.deliveryInfo.acceptTime); |
|
|
|
const date2 = new Date(this.payData.shopMakeTime); |
|
|
|
@ -1683,6 +1745,7 @@ |
|
|
|
if (res.code == 200) { |
|
|
|
that.orderDetail = res.result; |
|
|
|
that.startPayCountdown(); |
|
|
|
that.openPendingAddFeePayPopup(); |
|
|
|
if (that.orderDetail.mallRefundRecord != null && that.orderDetail.mallRefundRecord.length > |
|
|
|
0) { |
|
|
|
for (let i = 0; i < that.orderDetail.mallRefundRecord.length; i++) { |
|
|
|
@ -1733,10 +1796,30 @@ |
|
|
|
let commissionAmount = deliveryInfo.deliveryFee != null |
|
|
|
? deliveryInfo.deliveryFee |
|
|
|
: ''; |
|
|
|
let addressId = this.orderDetail.addressId || ''; |
|
|
|
uni.navigateTo({ |
|
|
|
url: `/package1/index/deliveryPersonList?shopAreaId=${shopAreaId}&putAreaId=${putAreaId}&commissionAmount=${commissionAmount}` |
|
|
|
url: `/package1/index/deliveryPersonList?shopAreaId=${shopAreaId}&putAreaId=${putAreaId}&commissionAmount=${commissionAmount}&addressId=${addressId}` |
|
|
|
}); |
|
|
|
}, |
|
|
|
prepareAddFeeForWorker(data) { |
|
|
|
if (!data || !data.worker) return; |
|
|
|
this.pendingAddFeeWorker = data.worker; |
|
|
|
this.additionalFee = this.formatAdditionalFee(data.additionalFee); |
|
|
|
this.addFeeAutoPayOpened = false; |
|
|
|
this.openPendingAddFeePayPopup(); |
|
|
|
}, |
|
|
|
openPendingAddFeePayPopup() { |
|
|
|
if (!this.pendingAddFeeWorker || this.addFeeAutoPayOpened || !this.orderDetail.id) return; |
|
|
|
this.additionalFee = this.formatAdditionalFee(this.additionalFee); |
|
|
|
if (!this.additionalFee) { |
|
|
|
this.pendingAddFeeWorker = null; |
|
|
|
return; |
|
|
|
} |
|
|
|
this.addFeeAutoPayOpened = true; |
|
|
|
setTimeout(() => { |
|
|
|
this.$refs.addFeePayPopup.open('bottom'); |
|
|
|
}, 300); |
|
|
|
}, |
|
|
|
handleWorkerSelected(worker) { |
|
|
|
if (!worker) return; |
|
|
|
uni.removeStorageSync('pendingAssignWorker'); |
|
|
|
@ -1888,11 +1971,8 @@ |
|
|
|
this.tui.toast('增加配送佣金不得超过200元'); |
|
|
|
return; |
|
|
|
} |
|
|
|
// 关闭输入弹窗,生成随机订单号,打开支付弹窗 |
|
|
|
// 关闭输入弹窗,打开支付弹窗 |
|
|
|
this.$refs.addFeePopup.close(); |
|
|
|
const now = Date.now(); // 获取当前时间戳 (13位) |
|
|
|
const randomPart = Math.floor(Math.random() * 1000000); // 6位随机数 |
|
|
|
//this.addFeeTradeNo = `${now}${randomPart.toString().padStart(6, '0')}`; |
|
|
|
setTimeout(() => { |
|
|
|
this.$refs.addFeePayPopup.open('bottom'); |
|
|
|
}, 300); |
|
|
|
@ -1915,6 +1995,7 @@ |
|
|
|
outTradeNo: that.orderDetail.id |
|
|
|
}, false, false).then((res) => { |
|
|
|
if (res.code == 200) { |
|
|
|
that.addFeeTradeNo = res.wxOrderId || res.outTradeNo || ''; |
|
|
|
uni.requestPayment({ |
|
|
|
provider: 'wxpay', |
|
|
|
timeStamp: res.timeStamp, |
|
|
|
@ -1924,10 +2005,14 @@ |
|
|
|
paySign: res.paySign, |
|
|
|
success: function(res2) { |
|
|
|
that.$refs.addFeePayPopup.close(); |
|
|
|
that.getOrderDetail(that.orderId); |
|
|
|
that.$forceUpdate(); |
|
|
|
if (that.addFeeTradeNo) { |
|
|
|
that.waitAddFeeRecordAndAssign(); |
|
|
|
} else { |
|
|
|
that.finishAddFeeSuccess(); |
|
|
|
} |
|
|
|
}, |
|
|
|
fail: function(err) { |
|
|
|
that.cancelPendingAddFeeAssign(); |
|
|
|
that.tui.toast('支付失败取消'); |
|
|
|
} |
|
|
|
}); |
|
|
|
@ -1940,7 +2025,7 @@ |
|
|
|
icon: 'none' |
|
|
|
}); |
|
|
|
setTimeout(() => { |
|
|
|
that.callAddFeeApi(); |
|
|
|
that.callAddFeeApi(true); |
|
|
|
}, 1500); |
|
|
|
} else { |
|
|
|
that.tui.toast(res.message); |
|
|
|
@ -1948,7 +2033,72 @@ |
|
|
|
} |
|
|
|
}); |
|
|
|
}, |
|
|
|
callAddFeeApi() { |
|
|
|
waitAddFeeRecordAndAssign() { |
|
|
|
this.stopAddFeePolling(); |
|
|
|
uni.showLoading({ |
|
|
|
title: '确认支付中...', |
|
|
|
mask: true |
|
|
|
}); |
|
|
|
this.pollAddFeeRecord(0); |
|
|
|
}, |
|
|
|
pollAddFeeRecord(times) { |
|
|
|
if (!this.addFeeTradeNo) { |
|
|
|
this.finishAddFeeSuccess(); |
|
|
|
return; |
|
|
|
} |
|
|
|
if (times >= 30) { |
|
|
|
uni.hideLoading(); |
|
|
|
this.cancelPendingAddFeeAssign(); |
|
|
|
this.tui.toast('未确认到支付成功,请稍后刷新后重试'); |
|
|
|
this.getOrderDetail(this.orderId); |
|
|
|
return; |
|
|
|
} |
|
|
|
this.tui.request("/api/wechat/pay/delivery-fee-record/exists", "GET", { |
|
|
|
wxOrderId: this.addFeeTradeNo |
|
|
|
}, false, false).then((res) => { |
|
|
|
if (res.code == 200 && (res.exists === true || res.exists == 'true')) { |
|
|
|
this.finishAddFeeSuccess(); |
|
|
|
} else { |
|
|
|
this.addFeePollTimer = setTimeout(() => { |
|
|
|
this.pollAddFeeRecord(times + 1); |
|
|
|
}, 1000); |
|
|
|
} |
|
|
|
}).catch(() => { |
|
|
|
this.addFeePollTimer = setTimeout(() => { |
|
|
|
this.pollAddFeeRecord(times + 1); |
|
|
|
}, 1000); |
|
|
|
}); |
|
|
|
}, |
|
|
|
stopAddFeePolling() { |
|
|
|
if (this.addFeePollTimer) { |
|
|
|
clearTimeout(this.addFeePollTimer); |
|
|
|
this.addFeePollTimer = null; |
|
|
|
} |
|
|
|
}, |
|
|
|
cancelPendingAddFeeAssign() { |
|
|
|
this.stopAddFeePolling(); |
|
|
|
this.pendingAddFeeWorker = null; |
|
|
|
this.addFeeAutoPayOpened = false; |
|
|
|
this.addFeeTradeNo = ''; |
|
|
|
this.additionalFee = ''; |
|
|
|
}, |
|
|
|
finishAddFeeSuccess() { |
|
|
|
this.stopAddFeePolling(); |
|
|
|
uni.hideLoading(); |
|
|
|
let worker = this.pendingAddFeeWorker; |
|
|
|
this.pendingAddFeeWorker = null; |
|
|
|
this.addFeeAutoPayOpened = false; |
|
|
|
this.addFeeTradeNo = ''; |
|
|
|
this.additionalFee = ''; |
|
|
|
if (worker) { |
|
|
|
this.reassignWorker(worker); |
|
|
|
} else { |
|
|
|
this.tui.toast("增加佣金成功"); |
|
|
|
this.getOrderDetail(this.orderId); |
|
|
|
this.$forceUpdate(); |
|
|
|
} |
|
|
|
}, |
|
|
|
callAddFeeApi(assignAfterSuccess) { |
|
|
|
let that = this; |
|
|
|
let fee = parseFloat(this.additionalFee); |
|
|
|
let deliveryId = ''; |
|
|
|
@ -1963,8 +2113,12 @@ |
|
|
|
}, false, true).then((res) => { |
|
|
|
if (res.code == 200) { |
|
|
|
that.tui.toast("增加佣金成功"); |
|
|
|
that.getOrderDetail(that.orderId); |
|
|
|
that.$forceUpdate(); |
|
|
|
if (assignAfterSuccess) { |
|
|
|
that.finishAddFeeSuccess(); |
|
|
|
} else { |
|
|
|
that.getOrderDetail(that.orderId); |
|
|
|
that.$forceUpdate(); |
|
|
|
} |
|
|
|
} else { |
|
|
|
that.tui.toast(res.message || '增加佣金失败'); |
|
|
|
} |
|
|
|
@ -2071,6 +2225,20 @@ |
|
|
|
border-radius: 20rpx; |
|
|
|
} |
|
|
|
|
|
|
|
.refund-service-btn { |
|
|
|
width: 136rpx; |
|
|
|
height: 54rpx; |
|
|
|
text-align: center; |
|
|
|
line-height: 54rpx; |
|
|
|
border-radius: 999rpx; |
|
|
|
background: rgba(255, 255, 255, 0.72); |
|
|
|
border: 1px solid rgba(0, 35, 28, 0.1); |
|
|
|
color: #60706c; |
|
|
|
font-size: 20rpx; |
|
|
|
font-weight: 800; |
|
|
|
box-shadow: 0 8rpx 18rpx rgba(0, 35, 28, 0.05); |
|
|
|
} |
|
|
|
|
|
|
|
.refund-goods-card { |
|
|
|
display: flex; |
|
|
|
padding: 18rpx; |
|
|
|
|