|
|
@@ -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') { |