Parcourir la source

效验修改

master
bjfight il y a 2 semaines
Parent
révision
8cd3285d89
1 fichiers modifiés avec 15 ajouts et 8 suppressions
  1. 15
    8
      subpackage/personal-center/etc-activation.vue

+ 15
- 8
subpackage/personal-center/etc-activation.vue Voir le fichier

@@ -448,8 +448,6 @@ const sendCode = () => {
if (waitTime.value <= 0) clearInterval(timer)
}, 1000)
});
}


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

Chargement…
Annuler
Enregistrer