This commit is contained in:
parent
4ce724efb9
commit
744d69291b
|
|
@ -137,13 +137,13 @@ export default {
|
|||
|
||||
// 导出
|
||||
onHandleExport(queryParams) {
|
||||
// this.download(
|
||||
// '/bmw/projectStatistics/exportProjectStatisticsTable',
|
||||
// {
|
||||
// // ...queryParams,
|
||||
// },
|
||||
// '工程统计.xlsx',
|
||||
// )
|
||||
this.download(
|
||||
'/bmw/proStatistics/exportProStatisticsTable',
|
||||
{
|
||||
// ...queryParams,
|
||||
},
|
||||
'工程统计.xlsx',
|
||||
)
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue