|
|
|
@ -103,7 +103,8 @@ |
|
|
|
style="margin-top: 1vh;"></el-pagination> |
|
|
|
</el-card> |
|
|
|
|
|
|
|
<el-dialog v-model="showAudit" title="审核" class="audit" width="35vw" overflow draggable style="background-color: #F3FAFE !important;"> |
|
|
|
<el-dialog v-model="showAudit" title="审核" class="audit" width="35vw" overflow draggable |
|
|
|
style="background-color: #F3FAFE !important;"> |
|
|
|
<div class="top"> |
|
|
|
<el-button @click="" class="smallTitle" size="small">退款申请信息</el-button> |
|
|
|
<div class="top-item"> |
|
|
|
@ -479,10 +480,6 @@ const getRefund = async function () { |
|
|
|
const goodsName = searchForm.value.goodsName && searchForm.value.goodsName.length > 0 |
|
|
|
? searchForm.value.goodsName[searchForm.value.goodsName.length - 1] : '' |
|
|
|
|
|
|
|
// if (searchForm.value.jwcode && !isNumber(searchForm.value.jwcode)) { |
|
|
|
// ElMessage.error('精网号必须为数字') |
|
|
|
// return |
|
|
|
// } |
|
|
|
if (searchForm.value.jwcode) { |
|
|
|
const isPositiveInteger = /^[1-9]\d*$/.test(searchForm.value.jwcode); |
|
|
|
if (!isPositiveInteger) { |
|
|
|
@ -490,6 +487,11 @@ const getRefund = async function () { |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
// 增加精网号长度限制,防止后端400错误 |
|
|
|
if (searchForm.value.jwcode.length > 8) { |
|
|
|
ElMessage.error('精网号长度不能超过8位') |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
const params = { |
|
|
|
pageNum: pagination.value.pageNum, |
|
|
|
@ -652,12 +654,8 @@ const exportExcel = async function () { |
|
|
|
} |
|
|
|
|
|
|
|
const goodsName = searchForm.value.goodsName && searchForm.value.goodsName.length > 0 |
|
|
|
? searchForm.value.goodsName[searchForm.value.goodsName.length - 1] : '' |
|
|
|
? searchForm.value.goodsName[searchForm.value.goodsName.length - 1] : ''; |
|
|
|
|
|
|
|
// if (searchForm.value.jwcode && !isNumber(searchForm.value.jwcode)) { |
|
|
|
// ElMessage.error('精网号必须为数字') |
|
|
|
// return |
|
|
|
// } |
|
|
|
if (searchForm.value.jwcode) { |
|
|
|
const isPositiveInteger = /^[1-9]\d*$/.test(searchForm.value.jwcode); |
|
|
|
if (!isPositiveInteger) { |
|
|
|
@ -665,6 +663,11 @@ const exportExcel = async function () { |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
// 增加精网号长度限制,防止后端400错误 |
|
|
|
if (searchForm.value.jwcode.length > 8) { |
|
|
|
ElMessage.error('精网号长度不能超过8位') |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
const params = { |
|
|
|
pageNum: pagination.value.pageNum, |
|
|
|
|