diff --git a/src/views/moneyManage/executor/executor.vue b/src/views/moneyManage/executor/executor.vue
index 372cadf..51c8fe1 100644
--- a/src/views/moneyManage/executor/executor.vue
+++ b/src/views/moneyManage/executor/executor.vue
@@ -11,7 +11,8 @@
产品名称
@@ -35,7 +36,7 @@
订单状态
-
+
@@ -262,7 +263,7 @@ const market = ref([])
const uploadRef = ref(null)
const searchForm = ref({
jwcode: '',
- markets:[]
+ markets: []
})
const showEdit = ref(false)
const editForm = ref({
@@ -272,9 +273,9 @@ const editForm = ref({
const getRefund = async function () {
try {
const statusesParam = [40, 41] // 默认:看不到进度没到这里的
- if(searchForm.value.statuses === '待处理'){
+ if (searchForm.value.statuses === '待处理') {
statusesParam.value = [40]
- } else if (searchForm.value.statuses === '退款成功'){
+ } else if (searchForm.value.statuses === '退款成功') {
statusesParam.value = [41]
} else {
statusesParam.value = [40, 41]
@@ -298,7 +299,7 @@ const getRefund = async function () {
eTime: dateRange.value && dateRange.value[1] ? dayjs(dateRange.value[1]).format('YYYY-MM-DD HH:mm:ss') : "",
adminId: adminData.value.id,
account: adminData.value.account,
- refundChannels:searchForm.value.refundChannels
+ refundChannels: searchForm.value.refundChannels
}
}
@@ -317,8 +318,9 @@ const getRefund = async function () {
// 提交
const submitRefund = async function () {
try {
- if(typeof editForm.value.refundAmount !== 'number'){
- ElMessage.error('请输入数字')
+ const numberReg = /^[0-9]+(\.[0-9]+)?$/
+ if (!numberReg.test(editForm.value.refundAmount)) {
+ ElMessage.error('请输入数字或小数')
return
}
const params = {
diff --git a/src/views/moneyManage/refundDetail/refundFinance.vue b/src/views/moneyManage/refundDetail/refundFinance.vue
index 6b4807c..b8f415c 100644
--- a/src/views/moneyManage/refundDetail/refundFinance.vue
+++ b/src/views/moneyManage/refundDetail/refundFinance.vue
@@ -498,7 +498,7 @@ const handleReject = async function () {
orderCode: auditRow.value.orderCode
}
const result = await API({
- url: '/Money/finalReview',
+ url: '/Money/review',
data: params
})
if (result.code === 200) {