|
|
|
@ -645,13 +645,13 @@ const getMarket = async function () { |
|
|
|
const exportExcel = async function () { |
|
|
|
const payCurrencySelect = ref('') |
|
|
|
const statuses = ref([20, 22, 30, 32, 40, 41]) // 看不到进度没到这里的 |
|
|
|
if (searchForm.value.statuses === '审核通过') { |
|
|
|
if (searchForm.value.statuses === t('cash.statusList.passed')) { |
|
|
|
statuses.value = [30, 40] |
|
|
|
} else if (searchForm.value.statuses === '已驳回') { |
|
|
|
} else if (searchForm.value.statuses === t('cash.statusList.rejected')) { |
|
|
|
statuses.value = [22, 32] |
|
|
|
} else if (searchForm.value.statuses === '待审核') { |
|
|
|
} else if (searchForm.value.statuses === t('cash.statusList.pending')) { |
|
|
|
statuses.value = [20] |
|
|
|
} else if (searchForm.value.statuses === '退款成功') { |
|
|
|
} else if (searchForm.value.statuses === t('cash.statusList.success')) { |
|
|
|
statuses.value = [41] |
|
|
|
} else { |
|
|
|
statuses.value = [20, 22, 30, 32, 40, 41] |
|
|
|
@ -663,13 +663,13 @@ const exportExcel = async function () { |
|
|
|
if (searchForm.value.jwcode) { |
|
|
|
const isPositiveInteger = /^[1-9]\d*$/.test(searchForm.value.jwcode); |
|
|
|
if (!isPositiveInteger) { |
|
|
|
ElMessage.error('请输入正确的精网号') |
|
|
|
ElMessage.error(t('elmessage.checkJwcodeFormat')) |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
// 增加精网号长度限制,防止后端400错误 |
|
|
|
if (searchForm.value.jwcode.length > 8) { |
|
|
|
ElMessage.error('精网号长度不能超过8位') |
|
|
|
ElMessage.error(t('elmessage.limitJwcodeLength')) |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
|