|
@@ -402,6 +402,10 @@ export function useOrder(tableRef: Ref) {
|
|
|
message("只有已完成的订单才能退款", { type: "warning" });
|
|
message("只有已完成的订单才能退款", { type: "warning" });
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
|
|
+ if (row.refundStatus === "REFUNDED" || row.payStatus === "REFUND") {
|
|
|
|
|
+ message("该订单已退款", { type: "warning" });
|
|
|
|
|
+ return;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
const refundState = reactive({
|
|
const refundState = reactive({
|
|
|
loadingDetail: true,
|
|
loadingDetail: true,
|