|
@@ -1,5 +1,6 @@
|
|
|
<template>
|
|
|
<view class="pages flex flex_column">
|
|
|
+ <uniNavBar title="创建质保单-客户信息" statusBar :shadow="false" @click-left="toBack"></uniNavBar>
|
|
|
<view class="forms" v-if="carInfo">
|
|
|
<view class="forms-tits">车辆信息</view>
|
|
|
<view class="flex align_center">
|
|
@@ -16,7 +17,7 @@
|
|
|
</view>
|
|
|
<view class="flex align_center">
|
|
|
<view class="labes">车牌号:</view>
|
|
|
- <view class="inputs">{{carInfo.vehicleNumber}}</view>
|
|
|
+ <view class="inputs">{{carInfo.vehicleNumber||'--'}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
@@ -35,9 +36,9 @@
|
|
|
<view class="inputs"><u-input v-model="form.vericode" type="number" maxlength="6" border clearable placeholder="请输入验证码"></u-input></view>
|
|
|
<view class="btns" @click="checkMobile()" >{{codeText}}</view>
|
|
|
</view>
|
|
|
- <view class="forms-foot flex align_center" @click="readXy()">
|
|
|
+ <view class="forms-foot flex align_center">
|
|
|
<u-checkbox v-model="checkedXy">您已知晓</u-checkbox>
|
|
|
- <text class="links">《箭冠轮胎质保法律条款》</text>
|
|
|
+ <text class="links" @click="readXy()">《箭冠轮胎质保法律条款》</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
@@ -63,11 +64,13 @@
|
|
|
isvalidPhone
|
|
|
} from '@/libs/validate.js'
|
|
|
import{ traceWarrantySave, getTraceCodeQueryList } from '@/api/trace.js'
|
|
|
+ import uniNavBar from '@/components/uni-nav-bar/uni-nav-bar.vue'
|
|
|
|
|
|
export default {
|
|
|
components: {
|
|
|
uniPopup,
|
|
|
- popupCon
|
|
|
+ popupCon,
|
|
|
+ uniNavBar
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
@@ -102,6 +105,9 @@
|
|
|
this.form = Object.assign(this.form,tempData&&tempData.customerInfo ? tempData.customerInfo : {})
|
|
|
this.form.vericode = ''
|
|
|
},
|
|
|
+ onUnload() {
|
|
|
+ this.$store.state.vuex_uuidTempData.customerInfo = this.form
|
|
|
+ },
|
|
|
methods: {
|
|
|
toBack(){
|
|
|
uni.redirectTo({
|
|
@@ -111,7 +117,7 @@
|
|
|
readXy(){
|
|
|
const baseUrl = getApp().globalData.baseUrl
|
|
|
uni.navigateTo({
|
|
|
- url: "/pagesA/h5Page/index?src="+baseUrl.replace('/saas/clz/','/')+'/zbd/clause.html'
|
|
|
+ url: "/pagesA/h5Page/index?src="+baseUrl.replace('/saas/clz/','/')+'zbd/clause.html'
|
|
|
})
|
|
|
},
|
|
|
// 获取验证码
|