From 7fb0ef1b6fd550e90c2a99b52b21f5b50ec7ad92 Mon Sep 17 00:00:00 2001 From: lihuilin Date: Thu, 20 Nov 2025 09:54:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A5=BD=E5=A4=9Abug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/activityManage/activity.vue | 9 ++++---- src/views/moneyManage/executor/executor.vue | 19 +++++++++++++++-- .../moneyManage/refundDetail/refundCharge.vue | 10 ++++++++- .../moneyManage/refundDetail/refundFinance.vue | 10 ++++++++- .../moneyManage/refundDetail/refundHeader.vue | 24 ++++++++++++++++++++-- .../moneyManage/refundDetail/refundService.vue | 16 ++++++++++----- 6 files changed, 73 insertions(+), 15 deletions(-) diff --git a/src/views/activityManage/activity.vue b/src/views/activityManage/activity.vue index 4b35fb6..b0346cf 100644 --- a/src/views/activityManage/activity.vue +++ b/src/views/activityManage/activity.vue @@ -78,7 +78,7 @@
活动名称: - +
业绩归属: @@ -111,7 +111,7 @@
活动名称: - +
@@ -157,8 +157,8 @@ const { adminData, menuTree } = storeToRefs(adminStore) import ConfirmDialog from '@/components/dialogs/ConfirmDialog.vue' import _ from 'lodash' // 活动名称正则表达式 -const activityNameReg = /^[-a-zA-Z0-9\u4e00-\u9fa5,。!?、;:“”‘’()《》【】——~,.!?:;'"()\[\]_&+=]{0,100}$/; - +const activityNameReg = /^[-a-zA-Z0-9\u4e00-\u9fa5,。!?、;:“”‘’()《》【】——~,.!?:;'"()\[\]_&+=]{0,100}$/; +//const activityNameReg = /^[-a-zA-Z0-9\u4e00-\u9fa5,。!?、;:“”‘’()《》【】——~,.!?:;'"()[]_-&+=]{0,200}$/; const tableData = ref([]) const pagination = ref({ pageNum: 1, @@ -290,6 +290,7 @@ const handleEdit = async function () { ElMessage.error('请选择结束时间') return } + if(editForm.value.businessBelong === '客户归属地'){ editForm.value.area = [] } diff --git a/src/views/moneyManage/executor/executor.vue b/src/views/moneyManage/executor/executor.vue index dda4f9b..3b0e71e 100644 --- a/src/views/moneyManage/executor/executor.vue +++ b/src/views/moneyManage/executor/executor.vue @@ -123,6 +123,7 @@ @@ -166,7 +167,7 @@
付款时间 - +
提交人 @@ -342,7 +343,7 @@ const submitRefund = async function () { hideEditDialog() getRefund() } else { - ElMessage.error(result.data.msg || '提交失败') + ElMessage.error(result.msg || '提交失败') } } catch (error) { ElMessage.error(error.message || '提交失败') @@ -379,6 +380,12 @@ const getMarket = async function () { } const showEditDialog = (row) => { editRow.value = row + editForm.value.refundCurrency = '' + editForm.value.refundAmount = '' + editForm.value.channels = [] + editForm.value.refundTime = '' + editForm.value.refundRemark = '' + editForm.value.imageUrl = '' showEdit.value = true } const hideEditDialog = () => { @@ -548,6 +555,14 @@ const reset = function () { dateRange.value = [] getRefund() } +const handlePageSizeChange = function (val) { + pagination.value.pageSize = val + getRefund() +} +const handleCurrentChange = function (val) { + pagination.value.pageNum = val + getRefund() +} onMounted(() => { console.log('???????????????????', adminData.value) getRefund() diff --git a/src/views/moneyManage/refundDetail/refundCharge.vue b/src/views/moneyManage/refundDetail/refundCharge.vue index 1ef9c97..baa2aee 100644 --- a/src/views/moneyManage/refundDetail/refundCharge.vue +++ b/src/views/moneyManage/refundDetail/refundCharge.vue @@ -15,7 +15,7 @@
-
+
所属地区 @@ -745,6 +745,14 @@ const disabledDate = (time) => { const limitDate = new Date(2025, 0, 1); return time.getTime() < limitDate.getTime(); } +const handlePageSizeChange = function (val) { + pagination.value.pageSize = val + getRefund() +} +const handleCurrentChange = function (val) { + pagination.value.pageNum = val + getRefund() +} onMounted(() => { getRefund() getMarket() diff --git a/src/views/moneyManage/refundDetail/refundFinance.vue b/src/views/moneyManage/refundDetail/refundFinance.vue index cfdfc64..e7d4873 100644 --- a/src/views/moneyManage/refundDetail/refundFinance.vue +++ b/src/views/moneyManage/refundDetail/refundFinance.vue @@ -14,7 +14,7 @@ 产品名称
-
+
所属地区 @@ -809,6 +809,14 @@ const disabledDate = (time) => { const limitDate = new Date(2025, 0, 1); return time.getTime() < limitDate.getTime(); } +const handlePageSizeChange = function (val) { + pagination.value.pageSize = val + getRefund() +} +const handleCurrentChange = function (val) { + pagination.value.pageNum = val + getRefund() +} onMounted(() => { console.log('???????????????????', adminData.value) getRefund() diff --git a/src/views/moneyManage/refundDetail/refundHeader.vue b/src/views/moneyManage/refundDetail/refundHeader.vue index 97bd360..916ff5a 100644 --- a/src/views/moneyManage/refundDetail/refundHeader.vue +++ b/src/views/moneyManage/refundDetail/refundHeader.vue @@ -15,7 +15,7 @@
-
+
所属地区 @@ -234,7 +234,7 @@
- +