Commit 0eb6e402 authored by 全球's avatar 全球

银行卡添加身份证

parent 58a5395b
......@@ -23,6 +23,12 @@
placeholder="请输入"
size="large"
/>
<van-field
v-model="form.idCardNo"
label="身份证号"
placeholder="请输入"
size="large"
/>
</van-cell-group>
<van-button
type="primary"
......@@ -63,7 +69,8 @@ export default {
bankName: "",
cardNumber: "",
name: "",
id: ""
id: "",
idCardNo:'',
}
};
},
......@@ -93,6 +100,8 @@ export default {
} else if (!this.form.name) {
this.$toast.fail("请填写姓名");
return;
}else if(!this.form.idCardNo){
this.$toast.fail("请输入身份证号");
}
const params = this.form;
if (this.form.id) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment