工艺定额查询

This commit is contained in:
Vergil
2020-02-24 16:07:48 +08:00
parent dbb6f661dc
commit da5a0afa33
3 changed files with 36 additions and 102 deletions

View File

@@ -70,8 +70,7 @@ export default {
checkFloat(e, reg, charcode, el)
break
case 'notZero':
// reg = (/^([1-9]\d*(\.\d*[1-9])?)|(0\.\d*[1-9])$/)
reg = (/^(?!(0[0-9]{0,}$))[0-9]{1,}[.]{0,}[0-9]{0,}$/)
reg = (/^[1-9][0-9]*$/)
checkFloat(e, reg, charcode, el)
break
}