Browse Source

效验修改

master
bjfight 2 weeks ago
parent
commit
8cd3285d89
1 changed files with 15 additions and 8 deletions
  1. 15
    8
      subpackage/personal-center/etc-activation.vue

+ 15
- 8
subpackage/personal-center/etc-activation.vue View File

if (waitTime.value <= 0) clearInterval(timer) if (waitTime.value <= 0) clearInterval(timer)
}, 1000) }, 1000)
}); });
} }




return return
} }
if (!formData.vehBodyUrl) {
if (!formData.smsCode && activationType.value === 'other') {
uni.showToast({ uni.showToast({
title: '请上传车辆45度照',
title: '请输入验证码',
icon: 'none' icon: 'none'
}) })
return return
} }
if (!formData.deviceImageUrl) {
if (!formData.vehPosImgUrl) {
uni.showToast({ uni.showToast({
title: '请上传ETC设备安装照',
title: '请上传行驶证正面照',
icon: 'none' icon: 'none'
}) })
return return
return return
} }
if (!formData.vehPosImgUrl) {
if (!formData.vehBodyUrl) {
uni.showToast({ uni.showToast({
title: '请上传行驶证正面照',
title: '请上传车辆45度照',
icon: 'none'
})
return
}
if (!formData.deviceImageUrl) {
uni.showToast({
title: '请上传ETC设备安装照',
icon: 'none' icon: 'none'
}) })
return return
} }
// 提交数据 // 提交数据
console.log('表单数据:', formData) console.log('表单数据:', formData)
if(activationType.value === 'other') { if(activationType.value === 'other') {

Loading…
Cancel
Save