소스 검색

etc激活类型区分

master
liuchang 4 일 전
부모
커밋
58793ec46d
1개의 변경된 파일37개의 추가작업 그리고 35개의 파일을 삭제
  1. 37
    35
      subpackage/personal-center/etc-activation.vue

+ 37
- 35
subpackage/personal-center/etc-activation.vue 파일 보기

@@ -118,7 +118,7 @@
</view>

<!-- 上传照片 -->
<view class="upload-section">
<view class="upload-section" v-if="formData.activeType == '2'">
<view class="section-title">上传照片</view>
<view class="picture-wrapper" @click="cardFileImageUpdate(100)">
<view class="bg">
@@ -209,7 +209,7 @@ import {
import {
getCodeName, getDicWithType
} from "@/datas/queryKey.js";
import { msg, strReplace, imgPathMontage, hasLogin, uploadFile, compressImage, chooseImageCompress } from "@/utils/utils";
import { msg, strReplace, imgPathMontage, hasLogin, uploadFile, compressImage, chooseImageCompress, navTo } from "@/utils/utils";
import uploadImg from '@/components/uploadOcr';
import useOrderSkip from "@/composables/order/useOrderSkip";
//办理订单按钮跳转业务逻辑
@@ -479,7 +479,7 @@ const nextStep = () => {
return
}
if (!formData.colorCode) {
if (formData.colorCode == undefined || formData.colorCode == null) {
uni.showToast({
title: '请选择车牌颜色',
icon: 'none'
@@ -511,36 +511,38 @@ const nextStep = () => {
return
}
if (!formData.vehPosImgUrl) {
uni.showToast({
title: '请上传行驶证正面照',
icon: 'none'
})
return
}
if (!formData.vehNegImgUrl) {
uni.showToast({
title: '请上传行驶证反面照',
icon: 'none'
})
return
}
if (!formData.vehBodyUrl) {
uni.showToast({
title: '请上传车辆45度照',
icon: 'none'
})
return
}
if (!formData.deviceImageUrl) {
uni.showToast({
title: '请上传ETC设备安装照',
icon: 'none'
})
return
if(formData.activeType == '2') {
if (!formData.vehPosImgUrl) {
uni.showToast({
title: '请上传行驶证正面照',
icon: 'none'
})
return
}
if (!formData.vehNegImgUrl) {
uni.showToast({
title: '请上传行驶证反面照',
icon: 'none'
})
return
}
if (!formData.vehBodyUrl) {
uni.showToast({
title: '请上传车辆45度照',
icon: 'none'
})
return
}
if (!formData.deviceImageUrl) {
uni.showToast({
title: '请上传ETC设备安装照',
icon: 'none'
})
return
}
}
@@ -565,8 +567,8 @@ const nextStep = () => {
}

const next = () => {
if(formData.activeType == 1) {
gotoActiveOrder();
if(formData.activeType == '1') {
navTo(`/subpackage/after-sale/activation/operation-tips?id=${''}&orderId=${''}&cardStatus=${''}&obuStatus=${''}&transfer=${''}`);
} else {
}

Loading…
취소
저장