This commit is contained in:
BianLzhaoMin 2025-10-13 14:32:20 +08:00
parent 4ce724efb9
commit 744d69291b
2 changed files with 9 additions and 9 deletions

View File

@ -137,13 +137,13 @@ export default {
// //
onHandleExport(queryParams) { onHandleExport(queryParams) {
// this.download( this.download(
// '/bmw/projectStatistics/exportProjectStatisticsTable', '/bmw/proStatistics/exportProStatisticsTable',
// { {
// // ...queryParams, // ...queryParams,
// }, },
// '.xlsx', '工程统计.xlsx',
// ) )
}, },
}, },
} }

View File

@ -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) => { const valid = validData.every((item) => {
return ( return (
reg.test(item.deductMoney) && reg.test(item.actualMoney) reg.test(item.deductMoney) && reg.test(item.actualMoney)
@ -320,7 +320,7 @@ export default {
onIptChange(value, prop, index, label) { onIptChange(value, prop, index, label) {
// 0 // 0
const reg = /^[0-9]\d*(\.\d{1,2})?$/ const reg = /^[0-7]\d*(\.\d{1,2})?$/
const inputRef = `${index}-${prop}Ref` const inputRef = `${index}-${prop}Ref`
const inputElement = this.$refs[inputRef] const inputElement = this.$refs[inputRef]