diff --git a/src/project/pingchang/AppGetewayRegister/getewayAdd.vue b/src/project/pingchang/AppGetewayRegister/getewayAdd.vue index 6e1c918..3628140 100644 --- a/src/project/pingchang/AppGetewayRegister/getewayAdd.vue +++ b/src/project/pingchang/AppGetewayRegister/getewayAdd.vue @@ -476,14 +476,6 @@ export default { return this.$toast('请选择卡口') } - if (!this.form.phone) { - return this.$toast('请输入手机号码') - } - - if (!this.form.name) { - return this.$toast('请输入姓名') - } - if (!this.form.idNumber) { return this.$toast('请输入身份证号') } @@ -492,6 +484,14 @@ export default { return this.$toast('请输入正确的身份证账号') } + if (!this.form.phone) { + return this.$toast('请输入手机号码') + } + + if (!this.form.name) { + return this.$toast('请输入姓名') + } + if (!this.form.highRiskIndustries) { return this.$toast('请选择高危行业') }