家庭收入

This commit is contained in:
shijingjing
2022-02-11 18:10:19 +08:00
parent c598aeb397
commit 36488afc78
2 changed files with 6 additions and 0 deletions

View File

@@ -67,6 +67,7 @@ export default {
this.forms.groupName = option.groupName
this.typeList()
uni.$on('goback', (res) => {
console.log(res);
this.selectUser = res
if(res.name) {
this.forms.name = res.name

View File

@@ -495,6 +495,11 @@ export default {
if (!this.form.areaName) {
return this.$u.toast('请选择区域')
}
if (this.form.userType == 1) {
if (!/^([0-9]{1,5})(\.[0-9]{1,3}){0,1}$/.test(this.form.income)){
return this.$u.toast('输入的数字不能超过10万')
}
}
var urlList = ['app/appspecialdisabled/addOrUpdate', 'app/appspecialmental/addOrUpdate', 'app/appspecialadjustment/addOrUpdate',
'app/appspecialdrug/addOrUpdate','app/appspecialprison/addOrUpdate']