From 744d69291b60a39932f05dd12bf47a62208cafa7 Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Mon, 13 Oct 2025 14:32:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/synthesize-query/project-count/index.vue | 14 +++++++------- .../month-detail/components/wage-pay.vue | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/views/synthesize-query/project-count/index.vue b/src/views/synthesize-query/project-count/index.vue index fae5589..e9862b3 100644 --- a/src/views/synthesize-query/project-count/index.vue +++ b/src/views/synthesize-query/project-count/index.vue @@ -137,13 +137,13 @@ export default { // 导出 onHandleExport(queryParams) { - // this.download( - // '/bmw/projectStatistics/exportProjectStatisticsTable', - // { - // // ...queryParams, - // }, - // '工程统计.xlsx', - // ) + this.download( + '/bmw/proStatistics/exportProStatisticsTable', + { + // ...queryParams, + }, + '工程统计.xlsx', + ) }, }, } diff --git a/src/views/synthesize-query/three-and-one/month-detail/components/wage-pay.vue b/src/views/synthesize-query/three-and-one/month-detail/components/wage-pay.vue index a83cc53..6448b46 100644 --- a/src/views/synthesize-query/three-and-one/month-detail/components/wage-pay.vue +++ b/src/views/synthesize-query/three-and-one/month-detail/components/wage-pay.vue @@ -284,7 +284,7 @@ export default { } }) - const reg = /^[0-9]\d*(\.\d{1,2})?$/ + const reg = /^[0-7]\d*(\.\d{1,2})?$/ const valid = validData.every((item) => { return ( reg.test(item.deductMoney) && reg.test(item.actualMoney) @@ -320,7 +320,7 @@ export default { onIptChange(value, prop, index, label) { // 增加一个正则校验 要求必须是大于等于0的并且是两位小数点的金额 - const reg = /^[0-9]\d*(\.\d{1,2})?$/ + const reg = /^[0-7]\d*(\.\d{1,2})?$/ const inputRef = `${index}-${prop}Ref` const inputElement = this.$refs[inputRef]