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) {
// this.download(
// '/bmw/projectStatistics/exportProjectStatisticsTable',
// {
// // ...queryParams,
// },
// '.xlsx',
// )
this.download(
'/bmw/proStatistics/exportProStatisticsTable',
{
// ...queryParams,
},
'工程统计.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) => {
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]