|
@@ -103,13 +103,13 @@
|
|
|
<span class="label">要求:</span>
|
|
<span class="label">要求:</span>
|
|
|
<span class="value">{{
|
|
<span class="value">{{
|
|
|
getRefundTypeText(form.refundType)
|
|
getRefundTypeText(form.refundType)
|
|
|
- }}</span>
|
|
|
|
|
|
|
+ }}</span>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="info-item">
|
|
<div class="info-item">
|
|
|
<span class="label">货物状态:</span>
|
|
<span class="label">货物状态:</span>
|
|
|
<span class="value">{{
|
|
<span class="value">{{
|
|
|
getShopStatusText(form.shopStatus)
|
|
getShopStatusText(form.shopStatus)
|
|
|
- }}</span>
|
|
|
|
|
|
|
+ }}</span>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="info-item">
|
|
<div class="info-item">
|
|
|
<span class="label">买家留言:</span>
|
|
<span class="label">买家留言:</span>
|
|
@@ -179,7 +179,7 @@ activity, index
|
|
|
<div class="text-sm font-bold truncate-2-lines">{{ prod.bookName }}</div>
|
|
<div class="text-sm font-bold truncate-2-lines">{{ prod.bookName }}</div>
|
|
|
<div class="text-xs text-gray-500 mt-1">{{
|
|
<div class="text-xs text-gray-500 mt-1">{{
|
|
|
prod.isbn
|
|
prod.isbn
|
|
|
- }}</div>
|
|
|
|
|
|
|
+ }}</div>
|
|
|
<div class="text-xs text-gray-500 mt-1">{{ prod.payPrice }} × {{ prod.num }}</div>
|
|
<div class="text-xs text-gray-500 mt-1">{{ prod.payPrice }} × {{ prod.num }}</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -212,7 +212,7 @@ activity, index
|
|
|
<span class="label">订单编号:</span>
|
|
<span class="label">订单编号:</span>
|
|
|
<span class="value text-blue-500">{{
|
|
<span class="value text-blue-500">{{
|
|
|
form.originOrderId
|
|
form.originOrderId
|
|
|
- }}</span>
|
|
|
|
|
|
|
+ }}</span>
|
|
|
<el-icon class="copy-icon" @click="handleCopy(form.originOrderId)">
|
|
<el-icon class="copy-icon" @click="handleCopy(form.originOrderId)">
|
|
|
<CopyDocument />
|
|
<CopyDocument />
|
|
|
</el-icon>
|
|
</el-icon>
|
|
@@ -234,10 +234,9 @@ activity, index
|
|
|
@click="handleCopy(item.originWaybillCode)">
|
|
@click="handleCopy(item.originWaybillCode)">
|
|
|
<CopyDocument />
|
|
<CopyDocument />
|
|
|
</el-icon>
|
|
</el-icon>
|
|
|
- <el-popover placement="bottom" title="物流动态" :width="400" trigger="hover">
|
|
|
|
|
|
|
+ <el-popover v-if="item.originWaybillCode" placement="bottom" title="物流动态" :width="400" trigger="hover">
|
|
|
<template #reference>
|
|
<template #reference>
|
|
|
- <el-button link type="success" class="ml-2"
|
|
|
|
|
- v-if="item.originWaybillCode">查看</el-button>
|
|
|
|
|
|
|
+ <el-button link type="success" class="ml-2">查看</el-button>
|
|
|
</template>
|
|
</template>
|
|
|
<el-timeline style="
|
|
<el-timeline style="
|
|
|
max-height: 400px;
|
|
max-height: 400px;
|
|
@@ -307,14 +306,14 @@ activity, index
|
|
|
}}</span>
|
|
}}</span>
|
|
|
<span class="time text-xs text-gray-400">{{
|
|
<span class="time text-xs text-gray-400">{{
|
|
|
activity.createTime
|
|
activity.createTime
|
|
|
- }}</span>
|
|
|
|
|
|
|
+ }}</span>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="main-content text-sm text-gray-600">
|
|
<div class="main-content text-sm text-gray-600">
|
|
|
<div v-if="activity.title" class="font-bold mb-1 text-gray-900">{{ activity.title }}
|
|
<div v-if="activity.title" class="font-bold mb-1 text-gray-900">{{ activity.title }}
|
|
|
</div>
|
|
</div>
|
|
|
<div class="whitespace-pre-wrap mb-2">{{
|
|
<div class="whitespace-pre-wrap mb-2">{{
|
|
|
activity.content
|
|
activity.content
|
|
|
- }}</div>
|
|
|
|
|
|
|
+ }}</div>
|
|
|
|
|
|
|
|
<div v-if="
|
|
<div v-if="
|
|
|
activity.imgList &&
|
|
activity.imgList &&
|
|
@@ -338,7 +337,8 @@ activity, index
|
|
|
· 如果您逾期未处理申请,视作同意买家申请。<br />
|
|
· 如果您逾期未处理申请,视作同意买家申请。<br />
|
|
|
</template>
|
|
</template>
|
|
|
<template v-else>
|
|
<template v-else>
|
|
|
- · 如果您同意,请点击“同意退货”,将正确退货地址发给买家。<br />
|
|
|
|
|
|
|
+ · 如果您同意退货,请点击“同意退货”,将正确退货地址发给买家。<br />
|
|
|
|
|
+ · 买家退回商品后,请点击“同意退款”,退款将退到买家账户。<br />
|
|
|
· 如果您拒绝,买家可以申请客服介入。<br />
|
|
· 如果您拒绝,买家可以申请客服介入。<br />
|
|
|
·
|
|
·
|
|
|
如果您逾期未处理申请,视作同意买家申请。系统会自动将当前交易的退货地址发给买家<br />
|
|
如果您逾期未处理申请,视作同意买家申请。系统会自动将当前交易的退货地址发给买家<br />
|
|
@@ -349,12 +349,10 @@ activity, index
|
|
|
<template #footer>
|
|
<template #footer>
|
|
|
<div class="flex justify-center gap-4">
|
|
<div class="flex justify-center gap-4">
|
|
|
<el-button @click="handleRemark">备注</el-button>
|
|
<el-button @click="handleRemark">备注</el-button>
|
|
|
- <el-button @click="handleRefuse">{{
|
|
|
|
|
- isRefundOnly ? '拒绝退款申请' : '拒绝退货申请'
|
|
|
|
|
- }}</el-button>
|
|
|
|
|
- <el-button @click="handleAgree">{{
|
|
|
|
|
- isRefundOnly ? '同意退款' : '同意退货'
|
|
|
|
|
- }}</el-button>
|
|
|
|
|
|
|
+ <el-button v-if="!isRefundOnly" @click="handleRefuse">拒绝退货申请</el-button>
|
|
|
|
|
+ <el-button @click="handleRefuse">拒绝退款申请</el-button>
|
|
|
|
|
+ <el-button v-if="!isRefundOnly" @click="handleAgreeReturn">同意退货</el-button>
|
|
|
|
|
+ <el-button @click="handleAgreeRefund">同意退款</el-button>
|
|
|
<el-button v-if="isPlatformConfirmReceipt" type="primary"
|
|
<el-button v-if="isPlatformConfirmReceipt" type="primary"
|
|
|
@click="handleConfirmReceiptRefund">确认收货,同意退款</el-button>
|
|
@click="handleConfirmReceiptRefund">确认收货,同意退款</el-button>
|
|
|
<el-button v-if="isRefundOnly" type="primary" @click="handleExpressIntercept"
|
|
<el-button v-if="isRefundOnly" type="primary" @click="handleExpressIntercept"
|
|
@@ -365,7 +363,7 @@ activity, index
|
|
|
">与买家协商</el-button>
|
|
">与买家协商</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
- <negotiation-apply-dialog v-model="negotiationDialogVisible" :refund-order-id="form.refundOrderId"
|
|
|
|
|
|
|
+ <negotiation-apply-dialog v-model="negotiationDialogVisible" :refund-order-id="form.refundOrderId || ''"
|
|
|
:refund-type="Number(form.refundType)" :max-refund-amount="Number(form.refundMoney) || 0"
|
|
:refund-type="Number(form.refundType)" :max-refund-amount="Number(form.refundMoney) || 0"
|
|
|
@success="handleNegotiationSuccess" />
|
|
@success="handleNegotiationSuccess" />
|
|
|
<refuse-dialog ref="refuseDialogRef" @success="handleNegotiationSuccess" />
|
|
<refuse-dialog ref="refuseDialogRef" @success="handleNegotiationSuccess" />
|
|
@@ -408,8 +406,10 @@ const remarkRef = ref(null);
|
|
|
|
|
|
|
|
const deadline = ref(0);
|
|
const deadline = ref(0);
|
|
|
|
|
|
|
|
|
|
+// 0-极速退款 2-仅退款 3-缺货退款:直接退款
|
|
|
|
|
+// 1-退货退款:先走退货,退回后仍可退款
|
|
|
const isRefundOnly = computed(() =>
|
|
const isRefundOnly = computed(() =>
|
|
|
- ['0', "1", '2', '3','4'].includes(String(form.value.refundType))
|
|
|
|
|
|
|
+ ['0', '2', '3'].includes(String(form.value.refundType))
|
|
|
);
|
|
);
|
|
|
|
|
|
|
|
// 进度条状态
|
|
// 进度条状态
|
|
@@ -635,24 +635,21 @@ const handleRefuse = () => {
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
-const handleAgree = () => {
|
|
|
|
|
- if (isRefundOnly.value) {
|
|
|
|
|
- confirmRefundDialogRef.value?.open(
|
|
|
|
|
- form.value.refundOrderId,
|
|
|
|
|
- form.value.refundMoneyFinal || form.value.refundMoney
|
|
|
|
|
- );
|
|
|
|
|
- return;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+const handleAgreeReturn = () => {
|
|
|
agreeDialogRef.value?.open(form.value.refundOrderId);
|
|
agreeDialogRef.value?.open(form.value.refundOrderId);
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
-const handleConfirmReceiptRefund = () => {
|
|
|
|
|
|
|
+const handleAgreeRefund = () => {
|
|
|
confirmRefundDialogRef.value?.open(
|
|
confirmRefundDialogRef.value?.open(
|
|
|
form.value.refundOrderId,
|
|
form.value.refundOrderId,
|
|
|
form.value.refundMoneyFinal || form.value.refundMoney
|
|
form.value.refundMoneyFinal || form.value.refundMoney
|
|
|
);
|
|
);
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
+const handleConfirmReceiptRefund = () => {
|
|
|
|
|
+ handleAgreeRefund();
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
const handleLeaveMessage = () => {
|
|
const handleLeaveMessage = () => {
|
|
|
if (leaveMessageDialogRef.value) {
|
|
if (leaveMessageDialogRef.value) {
|
|
|
leaveMessageDialogRef.value.open(form.value.refundOrderId);
|
|
leaveMessageDialogRef.value.open(form.value.refundOrderId);
|