master
Aiden 1 year ago
parent 2e8d5a198d
commit 0fa9cbab87

@ -20,7 +20,7 @@
<view class="item"> <view class="item">
<view class="name">身份证号</view> <view class="name">身份证号</view>
<u--input placeholder="请输入身份证号" border="none" v-model="num" @change="changeNum" clearable <u--input placeholder="请输入身份证号" border="none" v-model="num" @change="changeNum" clearable
type="number"></u--input> type="idcard"></u--input>
</view> </view>
</view> </view>
<view class="card-box"> <view class="card-box">
@ -262,6 +262,7 @@ export default {
} }
}, },
async fddRealName() { async fddRealName() {
if(!this.num||!this.name)return this.$common.msgToast('姓名和身份证号不能为空')
const data = { const data = {
num: this.num, num: this.num,
name: this.name, name: this.name,

Loading…
Cancel
Save