Browse Source

fix(多语言): 使用国际化文本替换退款状态判断条件

zhangrenyuan/feature-20260128093451-日常优化1.0
zhangrenyuan 1 month ago
parent
commit
c74400f9bf
  1. 4
      src/views/moneyManage/executor/executor.vue

4
src/views/moneyManage/executor/executor.vue

@ -302,9 +302,9 @@ const editForm = ref({
const getRefund = async function () {
try {
const statusesParam = [40, 41] //
if (searchForm.value.statuses === '待处理') {
if (searchForm.value.statuses === t('cash.pending')) {
statusesParam.value = [40]
} else if (searchForm.value.statuses === '退款成功') {
} else if (searchForm.value.statuses === t('cash.refundSuccess')) {
statusesParam.value = [41]
} else {
statusesParam.value = [40, 41]

Loading…
Cancel
Save