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]