BUG 28299
This commit is contained in:
@@ -83,7 +83,8 @@
|
|||||||
<span class="label"><span class="tips"></span>{{ item.label }}</span>
|
<span class="label"><span class="tips"></span>{{ item.label }}</span>
|
||||||
<div class="value">
|
<div class="value">
|
||||||
<u-input type="text" placeholder="请输入" v-model="form[item.formDbName]" input-align="right"
|
<u-input type="text" placeholder="请输入" v-model="form[item.formDbName]" input-align="right"
|
||||||
placeholder-style="color:#999;font-size:16px;" height="48" :maxlength="item.maxlength" :clearable="false" />
|
placeholder-style="color:#999;font-size:16px;" height="48" :maxlength="item.maxlength"
|
||||||
|
:clearable="false"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -91,7 +92,8 @@
|
|||||||
<span class="label"><span class="tips"></span>{{ item.label }}</span>
|
<span class="label"><span class="tips"></span>{{ item.label }}</span>
|
||||||
<div class="value">
|
<div class="value">
|
||||||
<u-input type="number" placeholder="请输入" v-model="form[item.formDbName]" input-align="right"
|
<u-input type="number" placeholder="请输入" v-model="form[item.formDbName]" input-align="right"
|
||||||
placeholder-style="color:#999;font-size:16px;" height="48" :maxlength="item.maxlength" :clearable="false" />
|
placeholder-style="color:#999;font-size:16px;" height="48" :maxlength="item.maxlength"
|
||||||
|
:clearable="false"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -99,7 +101,8 @@
|
|||||||
<span class="label"><span class="tips"></span>{{ item.label }}</span>
|
<span class="label"><span class="tips"></span>{{ item.label }}</span>
|
||||||
<div class="value">
|
<div class="value">
|
||||||
<u-input type="number" placeholder="请输入" v-model="form[item.formDbName]" input-align="right"
|
<u-input type="number" placeholder="请输入" v-model="form[item.formDbName]" input-align="right"
|
||||||
placeholder-style="color:#999;font-size:16px;" height="48" :maxlength="item.maxlength" :clearable="false" @input="changeMoney" style="font-size: 16px"/>
|
placeholder-style="color:#999;font-size:16px;" height="48" :maxlength="item.maxlength"
|
||||||
|
:clearable="false" @input="changeMoney" style="font-size: 16px"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -432,23 +435,11 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
changeIdNumber() {
|
changeIdNumber() {
|
||||||
if (this.form.idNumber.length != 18) {
|
let people = this.$idCardNoUtil.getIdCardInfo(this.form.idNumber)
|
||||||
return this.$u.toast('请输入正确的身份证号码')
|
|
||||||
} else {
|
|
||||||
var people = this.$idCardNoUtil.getIdCardInfo(this.form.idNumber)
|
|
||||||
this.form.birth = people.birthday
|
this.form.birth = people.birthday
|
||||||
this.form.gender = people.gender
|
this.form.gender = people.gender
|
||||||
|
|
||||||
let reg = /^[1-9]\d{5}(18|19|20)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/;
|
|
||||||
if (!reg.test(this.form.idNumber)) {
|
|
||||||
return this.$u.toast('请输入正确的身份证号码')
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
changeMoney() {
|
changeMoney() {
|
||||||
let moneyReg = /^([0-9]{1,5})(\.[0-9]{1,3}){0,1}$/
|
let moneyReg = /^([0-9]{1,5})(\.[0-9]{1,3}){0,1}$/
|
||||||
if (!moneyReg.test(this.form.income)) {
|
if (!moneyReg.test(this.form.income)) {
|
||||||
@@ -579,6 +570,7 @@ export default {
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
font-size: 32px;
|
font-size: 32px;
|
||||||
|
|
||||||
.u-icon {
|
.u-icon {
|
||||||
margin-left: 16px;
|
margin-left: 16px;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user