[update] 支出合同接口联调;打包、打包成员维护页面;企业选择组件只读

This commit is contained in:
zhaoxiao
2021-09-08 19:16:13 +08:00
parent 5372161e2f
commit dff860c5be
17 changed files with 1604 additions and 48 deletions
+9
View File
@@ -69,3 +69,12 @@ export function taxNo(s) {
export function number(s) {
return /^[0-9]*$/.test(s)
}
/**
* 金额格式,小数点后两位
* @param s
* @returns {boolean}
*/
export function money(s) {
return /^[1-9](\d{1,10})?(\.\d{1,2})$|^0\.([1-9](\d{0,1})|\d[1-9])$|^[1-9]\d{0,10}$|^0$/.test(s)
}