|
@@ -1,6 +1,6 @@
|
|
<!-- 管理车辆 -->
|
|
<!-- 管理车辆 -->
|
|
<template>
|
|
<template>
|
|
- <view class="content">
|
|
|
|
|
|
+ <view @click='hidden' class="content">
|
|
<view class="flex s-row container">
|
|
<view class="flex s-row container">
|
|
<view class="flex row">
|
|
<view class="flex row">
|
|
<view class="left-text">车型</view>
|
|
<view class="left-text">车型</view>
|
|
@@ -14,8 +14,8 @@
|
|
<image class="xj-image" src="@/static/images/mine/ic_shanchuan@2x.png"></image>
|
|
<image class="xj-image" src="@/static/images/mine/ic_shanchuan@2x.png"></image>
|
|
<view class="text">上传道路运输证</view>
|
|
<view class="text">上传道路运输证</view>
|
|
</view>
|
|
</view>
|
|
- <view v-if="dataDetails.operationCertificate" @click.stop="uploadImg(1)" class="preview-card-img picture">
|
|
|
|
- <view @click.stop="delCard(1)">
|
|
|
|
|
|
+ <view v-if="dataDetails.operationCertificate" @click.stop="uploadImg(8)" class="preview-card-img picture">
|
|
|
|
+ <view @click.stop="delCard(8)">
|
|
<image class='del-card' src="@/static/images/common/quxiao@2x.png">
|
|
<image class='del-card' src="@/static/images/common/quxiao@2x.png">
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
@@ -39,9 +39,9 @@
|
|
<image class="xj-image" src="@/static/images/mine/ic_shanchuan@2x.png"></image>
|
|
<image class="xj-image" src="@/static/images/mine/ic_shanchuan@2x.png"></image>
|
|
<view class="text">上传挂车道路运输证</view>
|
|
<view class="text">上传挂车道路运输证</view>
|
|
</view>
|
|
</view>
|
|
- <view v-if="dataDetails.trailerOperationCertificate" @click.stop="uploadImg(1)"
|
|
|
|
|
|
+ <view v-if="dataDetails.trailerOperationCertificate" @click.stop="uploadImg(9)"
|
|
class="preview-card-img picture">
|
|
class="preview-card-img picture">
|
|
- <view @click.stop="delCard(2)">
|
|
|
|
|
|
+ <view @click.stop="delCard(9)">
|
|
<image class='del-card' src="@/static/images/common/quxiao@2x.png">
|
|
<image class='del-card' src="@/static/images/common/quxiao@2x.png">
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
@@ -68,7 +68,7 @@
|
|
<view class="text" v-if="sign == '挂车'">上传牵引车行驶证主页</view>
|
|
<view class="text" v-if="sign == '挂车'">上传牵引车行驶证主页</view>
|
|
<view class="text" v-else>上传行驶证主页</view>
|
|
<view class="text" v-else>上传行驶证主页</view>
|
|
</view>
|
|
</view>
|
|
- <view v-if="dataDetails.drivingLicenseHomePage" @click.stop="uploadImg(1)" class="preview-card-img picture">
|
|
|
|
|
|
+ <view v-if="dataDetails.drivingLicenseHomePage" @click.stop="uploadImg(3)" class="preview-card-img picture">
|
|
<view @click.stop="delCard(3)">
|
|
<view @click.stop="delCard(3)">
|
|
<image class='del-card' src="@/static/images/common/quxiao@2x.png">
|
|
<image class='del-card' src="@/static/images/common/quxiao@2x.png">
|
|
</image>
|
|
</image>
|
|
@@ -82,7 +82,7 @@
|
|
<view class="text" v-if="sign == '挂车'">上传牵引车行驶证副页</view>
|
|
<view class="text" v-if="sign == '挂车'">上传牵引车行驶证副页</view>
|
|
<view class="text" v-else>上传行驶证副页</view>
|
|
<view class="text" v-else>上传行驶证副页</view>
|
|
</view>
|
|
</view>
|
|
- <view v-if="dataDetails.drivingLicenseBackPage" @click.stop="uploadImg(1)" class="preview-card-img picture">
|
|
|
|
|
|
+ <view v-if="dataDetails.drivingLicenseBackPage" @click.stop="uploadImg(4)" class="preview-card-img picture">
|
|
<view @click.stop="delCard(4)">
|
|
<view @click.stop="delCard(4)">
|
|
<image class='del-card' src="@/static/images/common/quxiao@2x.png">
|
|
<image class='del-card' src="@/static/images/common/quxiao@2x.png">
|
|
</image>
|
|
</image>
|
|
@@ -127,8 +127,8 @@
|
|
</view>
|
|
</view>
|
|
<view class="flex row noborder">
|
|
<view class="flex row noborder">
|
|
<view class="left-text">车辆能源类型</view>
|
|
<view class="left-text">车辆能源类型</view>
|
|
- <view class="" @click="driveType">
|
|
|
|
- {{dataDetails.energyType?dataDetails.energyType:'选择车辆能源类型>'}}
|
|
|
|
|
|
+ <view style='text-align:right;width:50%;' class="" @click="driveType">
|
|
|
|
+ {{dataDetails.energyType?dataDetails.energyType:'选择车辆能源类型>'}}>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
@@ -139,7 +139,7 @@
|
|
<image class="xj-image" src="@/static/images/mine/ic_shanchuan@2x.png"></image>
|
|
<image class="xj-image" src="@/static/images/mine/ic_shanchuan@2x.png"></image>
|
|
<view class="text">上传挂车行驶证主页</view>
|
|
<view class="text">上传挂车行驶证主页</view>
|
|
</view>
|
|
</view>
|
|
- <view v-if="dataDetails.trailerLicenseHomePage" @click.stop="uploadImg(1)"
|
|
|
|
|
|
+ <view v-if="dataDetails.trailerLicenseHomePage" @click.stop="uploadImg(5)"
|
|
class="preview-card-img picture">
|
|
class="preview-card-img picture">
|
|
<view @click.stop="delCard(5)">
|
|
<view @click.stop="delCard(5)">
|
|
<image class='del-card' src="@/static/images/common/quxiao@2x.png">
|
|
<image class='del-card' src="@/static/images/common/quxiao@2x.png">
|
|
@@ -154,7 +154,7 @@
|
|
<image class="xj-image" src="@/static/images/mine/ic_shanchuan@2x.png"></image>
|
|
<image class="xj-image" src="@/static/images/mine/ic_shanchuan@2x.png"></image>
|
|
<view class="text">上传挂车行驶证副页</view>
|
|
<view class="text">上传挂车行驶证副页</view>
|
|
</view>
|
|
</view>
|
|
- <view v-if="dataDetails.trailerLicenseBackPage" @click.stop="uploadImg(1)"
|
|
|
|
|
|
+ <view v-if="dataDetails.trailerLicenseBackPage" @click.stop="uploadImg(6)"
|
|
class="preview-card-img picture">
|
|
class="preview-card-img picture">
|
|
<view @click.stop="delCard(6)">
|
|
<view @click.stop="delCard(6)">
|
|
<image class='del-card' src="@/static/images/common/quxiao@2x.png">
|
|
<image class='del-card' src="@/static/images/common/quxiao@2x.png">
|
|
@@ -163,7 +163,7 @@
|
|
<image class="" :src="dataDetails.trailerLicenseBackPage" mode="aspectFit"></image>
|
|
<image class="" :src="dataDetails.trailerLicenseBackPage" mode="aspectFit"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="flex row" v-if="sign == '挂车'">
|
|
|
|
|
|
+ <view class="flex row flex-space-between" v-if="sign == '挂车'">
|
|
<view class="left-text">挂车行驶证档案编号</view>
|
|
<view class="left-text">挂车行驶证档案编号</view>
|
|
<u--input placeholder="输入挂车行驶证档案编号" inputAlign='right' border="none"
|
|
<u--input placeholder="输入挂车行驶证档案编号" inputAlign='right' border="none"
|
|
v-model="dataDetails.trailerLicenseNumber">
|
|
v-model="dataDetails.trailerLicenseNumber">
|
|
@@ -215,38 +215,46 @@
|
|
:disabled="true" placeholder="输入车牌号" name="input"></input>
|
|
:disabled="true" placeholder="输入车牌号" name="input"></input>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="flex row">
|
|
|
|
|
|
+ <view class="flex row flex-space-between">
|
|
<view class="left-text">车牌颜色</view>
|
|
<view class="left-text">车牌颜色</view>
|
|
- <view class="color" @click="selectNoColor">{{dataDetails.carNumberColour}}</view>
|
|
|
|
- <view>></view>
|
|
|
|
- <u-picker :show="carColor" :columns="colorColumns" :closeOnClickOverlay='true' @close='colorClose'
|
|
|
|
- @cancel='colorClose' @confirm='confirmColor' @change="changeCarModel"></u-picker>
|
|
|
|
|
|
+ <view class='flex'>
|
|
|
|
+ <view class="color" @click="selectNoColor">{{dataDetails.carNumberColour}}</view>
|
|
|
|
+ <view>></view>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<view class="flex row">
|
|
<view class="flex row">
|
|
<view class="left-text">车辆所属车主</view>
|
|
<view class="left-text">车辆所属车主</view>
|
|
- <u--input placeholder="输入车主姓名" inputAlign='left' border="none" v-model="dataDetails.owner">
|
|
|
|
|
|
+ <input style='text-align:right;' placeholder="输入车主姓名" v-model="dataDetails.owner" type="text">
|
|
|
|
+ <!-- <u--input inputAlign='left' border="none"> -->
|
|
</u--input>
|
|
</u--input>
|
|
</view>
|
|
</view>
|
|
<view class="flex row" v-if="sign == '非挂车'">
|
|
<view class="flex row" v-if="sign == '非挂车'">
|
|
<view class="left-text">总质量(千克)</view>
|
|
<view class="left-text">总质量(千克)</view>
|
|
- <u--input placeholder="输入总质量" inputAlign='left' border="none" v-model="dataDetails.carTotalWeight">
|
|
|
|
|
|
+ <u--input type='number' placeholder="输入总质量" inputAlign='right' border="none" v-model="dataDetails.carTotalWeight">
|
|
|
|
+ </u--input>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="flex row" v-if="sign == '非挂车'">
|
|
|
|
+ <view class="left-text">核定载质量(千克)</view>
|
|
|
|
+ <u--input placeholder="输入核定载质量" inputAlign='left' border="none" v-model="dataDetails.carApprovedWeight">
|
|
</u--input>
|
|
</u--input>
|
|
</view>
|
|
</view>
|
|
<view class="flex row" v-if="sign == '挂车'">
|
|
<view class="flex row" v-if="sign == '挂车'">
|
|
<view class="left-text">整备质量(千克)</view>
|
|
<view class="left-text">整备质量(千克)</view>
|
|
- <u--input placeholder="输入整备质量" inputAlign='left' border="none" v-model="dataDetails.servicingWeight">
|
|
|
|
|
|
+ <u--input type='number' placeholder="输入整备质量" inputAlign='right' border="none" v-model="dataDetails.servicingWeight">
|
|
</u--input>
|
|
</u--input>
|
|
</view>
|
|
</view>
|
|
<view class="flex row noborder" v-if="sign == '挂车'">
|
|
<view class="flex row noborder" v-if="sign == '挂车'">
|
|
- <view class="left-text">牵引车外廓尺寸(毫米)</view>
|
|
|
|
|
|
+ <view style='width:390rpx;' class="left-text">牵引车外廓尺寸(毫米)</view>
|
|
</view>
|
|
</view>
|
|
<view class="flex row noborder" v-if="sign == '非挂车'">
|
|
<view class="flex row noborder" v-if="sign == '非挂车'">
|
|
<view class="left-text">外廓尺寸(毫米)</view>
|
|
<view class="left-text">外廓尺寸(毫米)</view>
|
|
</view>
|
|
</view>
|
|
<view class="flex row noborder input-ckg">
|
|
<view class="flex row noborder input-ckg">
|
|
<view class="input-positon">
|
|
<view class="input-positon">
|
|
- <u--input class="input" placeholder="长" inputAlign='left' border="none"
|
|
|
|
|
|
+ <!-- <input type='number' class="input" placeholder="长" border="none"
|
|
|
|
+ v-model="dataDetails.carLong"> -->
|
|
|
|
+ <u--input type='number' class="input" placeholder="长" inputAlign='left' border="none"
|
|
v-model="dataDetails.carLong">
|
|
v-model="dataDetails.carLong">
|
|
</u--input>
|
|
</u--input>
|
|
<view class="position-right">
|
|
<view class="position-right">
|
|
@@ -255,7 +263,9 @@
|
|
</view>
|
|
</view>
|
|
<view class="star">*</view>
|
|
<view class="star">*</view>
|
|
<view class="input-positon">
|
|
<view class="input-positon">
|
|
- <u--input placeholder="宽" inputAlign='left' border="none" v-model="dataDetails.carWidth">
|
|
|
|
|
|
+ <!-- <input type='number' class="input" placeholder="宽" border="none"
|
|
|
|
+ v-model="dataDetails.carWidth"> -->
|
|
|
|
+ <u--input type='number' placeholder="宽" inputAlign='left' border="none" v-model="dataDetails.carWidth">
|
|
</u--input>
|
|
</u--input>
|
|
<view class="position-right">
|
|
<view class="position-right">
|
|
mm
|
|
mm
|
|
@@ -263,7 +273,9 @@
|
|
</view>
|
|
</view>
|
|
<view class="star">*</view>
|
|
<view class="star">*</view>
|
|
<view class="input-positon">
|
|
<view class="input-positon">
|
|
- <u--input placeholder="高" inputAlign='left' border="none" v-model="dataDetails.carHeight">
|
|
|
|
|
|
+ <!-- <input type='number' class="input" placeholder="高" border="none"
|
|
|
|
+ v-model="dataDetails.carHeight"> -->
|
|
|
|
+ <u--input type='number' placeholder="高" inputAlign='left' border="none" v-model="dataDetails.carHeight">
|
|
</u--input>
|
|
</u--input>
|
|
<view class="position-right">
|
|
<view class="position-right">
|
|
mm
|
|
mm
|
|
@@ -284,34 +296,35 @@
|
|
<view class="left left-text">挂车车牌号</view>
|
|
<view class="left left-text">挂车车牌号</view>
|
|
<view class="right flex">
|
|
<view class="right flex">
|
|
<input class="car-uumber" v-model='dataDetails.guaCarNumber'
|
|
<input class="car-uumber" v-model='dataDetails.guaCarNumber'
|
|
- @click.stop="handleShowKeyboard1(index)" :disabled="true" placeholder="输入挂车牌号"
|
|
|
|
|
|
+ @click.stop="handleShowKeyboard1(index)" :disabled="true" placeholder-class= "phsy" placeholder="输入挂车牌号"
|
|
name="input"></input>
|
|
name="input"></input>
|
|
|
|
+ 挂
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<view class="flex row">
|
|
<view class="flex row">
|
|
<view class="left-text">车辆所属车主</view>
|
|
<view class="left-text">车辆所属车主</view>
|
|
- <u--input placeholder="输入车主姓名" inputAlign='left' border="none" v-model="dataDetails.guaOwner">
|
|
|
|
|
|
+ <u--input placeholder="输入车主姓名" inputAlign='right' border="none" v-model="dataDetails.guaOwner">
|
|
</u--input>
|
|
</u--input>
|
|
</view>
|
|
</view>
|
|
<view class="flex row">
|
|
<view class="flex row">
|
|
<view class="left-text">整备质量(千克)</view>
|
|
<view class="left-text">整备质量(千克)</view>
|
|
- <u--input placeholder="输入整备质量" inputAlign='left' border="none"
|
|
|
|
|
|
+ <u--input type='number' placeholder="输入整备质量" inputAlign='right' border="none"
|
|
v-model="dataDetails.guaServicingWeight">
|
|
v-model="dataDetails.guaServicingWeight">
|
|
</u--input>
|
|
</u--input>
|
|
</view>
|
|
</view>
|
|
<view class="flex row">
|
|
<view class="flex row">
|
|
<view class="left-text">核定载质量(千克)</view>
|
|
<view class="left-text">核定载质量(千克)</view>
|
|
- <u--input placeholder="输入核定载质量" inputAlign='left' border="none"
|
|
|
|
|
|
+ <u--input type='number' placeholder="输入核定载质量" inputAlign='right' border="none"
|
|
v-model="dataDetails.guaCarApprovedWeight">
|
|
v-model="dataDetails.guaCarApprovedWeight">
|
|
</u--input>
|
|
</u--input>
|
|
</view>
|
|
</view>
|
|
<view class="flex row noborder">
|
|
<view class="flex row noborder">
|
|
- <view class="left-text">挂车外廓尺寸(毫米)</view>
|
|
|
|
|
|
+ <view style='width:390rpx;' class="left-text">挂车外廓尺寸(毫米)</view>
|
|
</view>
|
|
</view>
|
|
<view class="flex row noborder input-ckg">
|
|
<view class="flex row noborder input-ckg">
|
|
<view class="input-positon">
|
|
<view class="input-positon">
|
|
- <u--input class="input" placeholder="长" inputAlign='left' border="none"
|
|
|
|
|
|
+ <u--input type='number' class="input" placeholder="长" inputAlign='left' border="none"
|
|
v-model="dataDetails.guaCarLong">
|
|
v-model="dataDetails.guaCarLong">
|
|
</u--input>
|
|
</u--input>
|
|
<view class="position-right">
|
|
<view class="position-right">
|
|
@@ -320,7 +333,7 @@
|
|
</view>
|
|
</view>
|
|
<view class="star">*</view>
|
|
<view class="star">*</view>
|
|
<view class="input-positon">
|
|
<view class="input-positon">
|
|
- <u--input placeholder="宽" inputAlign='left' border="none" v-model="dataDetails.guaCarWidth">
|
|
|
|
|
|
+ <u--input type='number' placeholder="宽" inputAlign='left' border="none" v-model="dataDetails.guaCarWidth">
|
|
</u--input>
|
|
</u--input>
|
|
<view class="position-right">
|
|
<view class="position-right">
|
|
mm
|
|
mm
|
|
@@ -328,7 +341,7 @@
|
|
</view>
|
|
</view>
|
|
<view class="star">*</view>
|
|
<view class="star">*</view>
|
|
<view class="input-positon">
|
|
<view class="input-positon">
|
|
- <u--input placeholder="高" inputAlign='left' border="none" v-model="dataDetails.guaCarHeight">
|
|
|
|
|
|
+ <u--input type='number' placeholder="高" inputAlign='left' border="none" v-model="dataDetails.guaCarHeight">
|
|
</u--input>
|
|
</u--input>
|
|
<view class="position-right">
|
|
<view class="position-right">
|
|
mm
|
|
mm
|
|
@@ -340,21 +353,23 @@
|
|
<u-upload class="uview-upload" :fileList="fileList2" @afterRead="afterRead1($event,'2')"
|
|
<u-upload class="uview-upload" :fileList="fileList2" @afterRead="afterRead1($event,'2')"
|
|
@delete="deletePic" name="2" multiple :maxCount="1"></u-upload>
|
|
@delete="deletePic" name="2" multiple :maxCount="1"></u-upload>
|
|
</view>
|
|
</view>
|
|
- <!-- <view class="" @click="asd">
|
|
|
|
- 测试
|
|
|
|
- </view> -->
|
|
|
|
</view>
|
|
</view>
|
|
<!-- <view class="level1-title">证件信息</view> -->
|
|
<!-- <view class="level1-title">证件信息</view> -->
|
|
</view>
|
|
</view>
|
|
- <view class="submit-btn" @click="submit">提交</view>
|
|
|
|
|
|
+ <view class='submit-btn-wrap'>
|
|
|
|
+ <view class="submit-btn" @click="submit">提交</view>
|
|
|
|
+ </view>
|
|
|
|
+
|
|
<master-keyboard ref="keyboard" keyboardtype="car" :show="keyShow" :randomNumber="true" :newCar="false"
|
|
<master-keyboard ref="keyboard" keyboardtype="car" :show="keyShow" :randomNumber="true" :newCar="false"
|
|
:defaultValue="carNumber" @keyboardClick="handleClick"></master-keyboard>
|
|
:defaultValue="carNumber" @keyboardClick="handleClick"></master-keyboard>
|
|
- <master-keyboard ref="keyboard1" keyboardtype="car" :show="keyShow1" :randomNumber="true" :newCar="false"
|
|
|
|
|
|
+ <master-keyboard ref="keyboard1" :guastatus='true' keyboardtype="car" :show="keyShow1" :randomNumber="true" :newCar="false"
|
|
:defaultValue="carNumber1" @keyboardClick="handleClick1"></master-keyboard>
|
|
:defaultValue="carNumber1" @keyboardClick="handleClick1"></master-keyboard>
|
|
<u-toast ref="uToast"></u-toast>
|
|
<u-toast ref="uToast"></u-toast>
|
|
<u-action-sheet :actions="$helper.imgTypeList" :title="$helper.imgType" :show="isShowimgType"
|
|
<u-action-sheet :actions="$helper.imgTypeList" :title="$helper.imgType" :show="isShowimgType"
|
|
@select="imgTypeSelect" :closeOnClickOverlay="true" :closeOnClickAction="true" @close="isShowimgType=false">
|
|
@select="imgTypeSelect" :closeOnClickOverlay="true" :closeOnClickAction="true" @close="isShowimgType=false">
|
|
</u-action-sheet>
|
|
</u-action-sheet>
|
|
|
|
+ <u-picker :show="carColor" :columns="colorColumns" :closeOnClickOverlay='true' @close='colorClose'
|
|
|
|
+ @cancel='colorClose' @confirm='confirmColor' ></u-picker>
|
|
<u-picker :show="isShowValidity" ref="uPicker" :columns="validityPeriod" @confirm="confirmValidityPeriod"
|
|
<u-picker :show="isShowValidity" ref="uPicker" :columns="validityPeriod" @confirm="confirmValidityPeriod"
|
|
:closeOnClickOverlay='true' @close='isShowValidity=false' @cancel='isShowValidity=false'>
|
|
:closeOnClickOverlay='true' @close='isShowValidity=false' @cancel='isShowValidity=false'>
|
|
</u-picker>
|
|
</u-picker>
|
|
@@ -366,6 +381,7 @@
|
|
|
|
|
|
<script>
|
|
<script>
|
|
import uploadImage from '@/components/ossutil/uploadFile.js';
|
|
import uploadImage from '@/components/ossutil/uploadFile.js';
|
|
|
|
+ import permision from "@/js_sdk/wa-permission/permission.js"
|
|
import keyboard from "@/components/master-keyboard/master-keyboard.vue";
|
|
import keyboard from "@/components/master-keyboard/master-keyboard.vue";
|
|
var _this;
|
|
var _this;
|
|
import {
|
|
import {
|
|
@@ -388,6 +404,7 @@
|
|
useNature: "营业特种车",
|
|
useNature: "营业特种车",
|
|
guaUseNature: "营运挂车",
|
|
guaUseNature: "营运挂车",
|
|
energyType:"汽油",
|
|
energyType:"汽油",
|
|
|
|
+ owner:''
|
|
// carTotalWeight: '',
|
|
// carTotalWeight: '',
|
|
// carApprovedWeight: '',
|
|
// carApprovedWeight: '',
|
|
// carLong: '',
|
|
// carLong: '',
|
|
@@ -428,13 +445,26 @@
|
|
onLoad(options) {
|
|
onLoad(options) {
|
|
_this = this;
|
|
_this = this;
|
|
this.dataDetails.commonId = this.userInfo.id
|
|
this.dataDetails.commonId = this.userInfo.id
|
|
|
|
+ this.get_camera_permission()
|
|
this.validityPeriod = this.$helper.makeValidityPeriod()
|
|
this.validityPeriod = this.$helper.makeValidityPeriod()
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- asd() {
|
|
|
|
- this.$request.baseRequest('get', '/orderInfo/selectRouterPath').then(res => {
|
|
|
|
- if (res.code == '200') {}
|
|
|
|
- })
|
|
|
|
|
|
+ async get_camera_permission() {
|
|
|
|
+ var photol=await permision.requestAndroidPermission("android.permission.CAMERA")
|
|
|
|
+ if(photol == false){
|
|
|
|
+ uni.showModal({
|
|
|
|
+ title: '提示',
|
|
|
|
+ content: '您已经关闭相册权限,去设置',
|
|
|
|
+ success: function (res) {
|
|
|
|
+ if (res.confirm) {
|
|
|
|
+ permision.gotoAppPermissionSetting()
|
|
|
|
+ // plus.runtime.openURL("app-settings:");
|
|
|
|
+ } else if (res.cancel) {
|
|
|
|
+ console.log('用户点击取消');
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ }
|
|
},
|
|
},
|
|
driveType(){
|
|
driveType(){
|
|
this.isShowCarType = true
|
|
this.isShowCarType = true
|
|
@@ -443,6 +473,9 @@
|
|
this.dataDetails.energyType = e.value[0]
|
|
this.dataDetails.energyType = e.value[0]
|
|
this.isShowCarType = false
|
|
this.isShowCarType = false
|
|
},
|
|
},
|
|
|
|
+ hidden(){
|
|
|
|
+ this.$refs.keyboard.open(false)
|
|
|
|
+ },
|
|
//挂车牌号弹出键盘
|
|
//挂车牌号弹出键盘
|
|
handleShowKeyboard1(index) {
|
|
handleShowKeyboard1(index) {
|
|
if (this.dataDetails.guaCarNumber == '') {
|
|
if (this.dataDetails.guaCarNumber == '') {
|
|
@@ -526,6 +559,8 @@
|
|
if (res.data) {
|
|
if (res.data) {
|
|
_this.dataDetails.carNumber = res.data
|
|
_this.dataDetails.carNumber = res.data
|
|
.carNum //车牌号
|
|
.carNum //车牌号
|
|
|
|
+ _this.dataDetails.vehicleType = res.data.vehicleType
|
|
|
|
+ _this.dataDetails.carCode =res.data.carCode
|
|
_this.dataDetails.owner = res.data
|
|
_this.dataDetails.owner = res.data
|
|
.owner //车辆所有人
|
|
.owner //车辆所有人
|
|
_this.$forceUpdate()
|
|
_this.$forceUpdate()
|
|
@@ -603,20 +638,20 @@
|
|
image: result,
|
|
image: result,
|
|
flag: 1
|
|
flag: 1
|
|
}).then(res => {
|
|
}).then(res => {
|
|
- if (res.data.issuingAuthority) { //行驶证发证机关
|
|
|
|
- _this.dataDetails.guaLssuingAuthority = res
|
|
|
|
- .data.issuingAuthority
|
|
|
|
- }
|
|
|
|
- if (res.data.licenseRegistrationDate) { //行驶证注册日期
|
|
|
|
- _this.dataDetails
|
|
|
|
- .trailerLicenseRegistrationDate = res.data
|
|
|
|
- .licenseRegistrationDate
|
|
|
|
- }
|
|
|
|
- if (res.data.licenseIssueDate) { //行驶证发证日期
|
|
|
|
- _this.dataDetails.trailerLicenseIssueDate = res
|
|
|
|
- .data.licenseIssueDate
|
|
|
|
- }
|
|
|
|
if (res.data) {
|
|
if (res.data) {
|
|
|
|
+ if (res.data.issuingAuthority) { //行驶证发证机关
|
|
|
|
+ _this.dataDetails.guaLssuingAuthority = res
|
|
|
|
+ .data.issuingAuthority
|
|
|
|
+ }
|
|
|
|
+ if (res.data.licenseRegistrationDate) { //行驶证注册日期
|
|
|
|
+ _this.dataDetails
|
|
|
|
+ .trailerLicenseRegistrationDate = res.data
|
|
|
|
+ .licenseRegistrationDate
|
|
|
|
+ }
|
|
|
|
+ if (res.data.licenseIssueDate) { //行驶证发证日期
|
|
|
|
+ _this.dataDetails.trailerLicenseIssueDate = res
|
|
|
|
+ .data.licenseIssueDate
|
|
|
|
+ }
|
|
_this.dataDetails.guaCarNumber = res.data
|
|
_this.dataDetails.guaCarNumber = res.data
|
|
.carNum //车牌号
|
|
.carNum //车牌号
|
|
_this.dataDetails.guaOwner = res.data
|
|
_this.dataDetails.guaOwner = res.data
|
|
@@ -723,6 +758,64 @@
|
|
},
|
|
},
|
|
confirmValidityPeriod(e) {
|
|
confirmValidityPeriod(e) {
|
|
console.log('confirm', e)
|
|
console.log('confirm', e)
|
|
|
|
+ if(e.value[0]==''){
|
|
|
|
+ this.$refs.uToast.show({
|
|
|
|
+ type: 'error',
|
|
|
|
+ message: "年份不能为空!",
|
|
|
|
+ })
|
|
|
|
+ return
|
|
|
|
+ }else if(e.value[1]==''){
|
|
|
|
+ this.$refs.uToast.show({
|
|
|
|
+ type: 'error',
|
|
|
|
+ message: "月份不能为空!",
|
|
|
|
+ })
|
|
|
|
+ return
|
|
|
|
+ }else if(e.value[2]==''){
|
|
|
|
+ this.$refs.uToast.show({
|
|
|
|
+ type: 'error',
|
|
|
|
+ message: "日期不能为空!",
|
|
|
|
+ })
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
+ var date=new Date()
|
|
|
|
+ var text=''
|
|
|
|
+ switch (this.ValidityPeriodType) {
|
|
|
|
+ case 4:
|
|
|
|
+ text='道路运输证已过期!'
|
|
|
|
+ break
|
|
|
|
+ case 5:
|
|
|
|
+ text='挂车道路运输证已过期!'
|
|
|
|
+ break
|
|
|
|
+ case 1:
|
|
|
|
+ text='行驶证已过期!'
|
|
|
|
+ break
|
|
|
|
+ case 2:
|
|
|
|
+ text='挂车行驶证已过期!'
|
|
|
|
+ break
|
|
|
|
+ }
|
|
|
|
+ if(this.ValidityPeriodType==1||this.ValidityPeriodType==2||this.ValidityPeriodType==4||this.ValidityPeriodType==5){
|
|
|
|
+ if(e.value[0]<date.getFullYear()){
|
|
|
|
+ this.$refs.uToast.show({
|
|
|
|
+ type: 'error',
|
|
|
|
+ message: text,
|
|
|
|
+ })
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
+ if(e.value[0]==date.getFullYear()&&Number(e.value[1])<(date.getMonth()+1)){
|
|
|
|
+ this.$refs.uToast.show({
|
|
|
|
+ type: 'error',
|
|
|
|
+ message: text,
|
|
|
|
+ })
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
+ if(e.value[0]==date.getFullYear()&&Number(e.value[1])==(date.getMonth()+1)&&Number(e.value[2])<=(date.getDate())){
|
|
|
|
+ this.$refs.uToast.show({
|
|
|
|
+ type: 'error',
|
|
|
|
+ message: text,
|
|
|
|
+ })
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
+ }
|
|
switch (this.ValidityPeriodType) {
|
|
switch (this.ValidityPeriodType) {
|
|
case 0:
|
|
case 0:
|
|
this.dataDetails.driverLicenseValidityDate = e.value[0] + '-' + e.value[1] + '-' + e.value[2]
|
|
this.dataDetails.driverLicenseValidityDate = e.value[0] + '-' + e.value[1] + '-' + e.value[2]
|
|
@@ -925,55 +1018,24 @@
|
|
});
|
|
});
|
|
},
|
|
},
|
|
validate() {
|
|
validate() {
|
|
- // true 为校验不通过
|
|
|
|
- if (uni.$u.test.isEmpty(this.dataDetails.carNumber)) {
|
|
|
|
- this.$refs.uToast.show({
|
|
|
|
- type: 'error',
|
|
|
|
- message: "车牌号不能为空!",
|
|
|
|
- })
|
|
|
|
- return true
|
|
|
|
- }
|
|
|
|
- if (uni.$u.test.isEmpty(this.dataDetails.carTotalWeight) && this.sign == '非挂车') {
|
|
|
|
- this.$refs.uToast.show({
|
|
|
|
- type: 'error',
|
|
|
|
- message: "总质量不能为空!",
|
|
|
|
- })
|
|
|
|
- return true
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- if (uni.$u.test.isEmpty(this.dataDetails.servicingWeight) && this.sign == '挂车') {
|
|
|
|
- this.$refs.uToast.show({
|
|
|
|
- type: 'error',
|
|
|
|
- message: "整备质量不能为空!",
|
|
|
|
- })
|
|
|
|
- return true
|
|
|
|
- }
|
|
|
|
- if (uni.$u.test.isEmpty(this.dataDetails.owner)) {
|
|
|
|
- this.$refs.uToast.show({
|
|
|
|
- type: 'error',
|
|
|
|
- message: "车辆所属车主不能为空!",
|
|
|
|
- })
|
|
|
|
- return true
|
|
|
|
- }
|
|
|
|
- if (uni.$u.test.isEmpty(this.dataDetails.carLong) && uni.$u.test.isEmpty(this.dataDetails.caWidth) && uni
|
|
|
|
- .$u.test.isEmpty(this.dataDetails.carHeight)) {
|
|
|
|
|
|
+ if (uni.$u.test.isEmpty(this.dataDetails.operationCertificate)) {
|
|
this.$refs.uToast.show({
|
|
this.$refs.uToast.show({
|
|
type: 'error',
|
|
type: 'error',
|
|
- message: "外廓尺寸不能为空!",
|
|
|
|
|
|
+ message: "道路运输证不能为空!",
|
|
})
|
|
})
|
|
return true
|
|
return true
|
|
}
|
|
}
|
|
- if (uni.$u.test.isEmpty(this.dataDetails.operationCertificate)) {
|
|
|
|
|
|
+ if (uni.$u.test.isEmpty(this.dataDetails.operationCertificateNumber)) {
|
|
this.$refs.uToast.show({
|
|
this.$refs.uToast.show({
|
|
type: 'error',
|
|
type: 'error',
|
|
- message: "道路运输证不能为空!",
|
|
|
|
|
|
+ message: "道路运输证号不能为空!",
|
|
})
|
|
})
|
|
return true
|
|
return true
|
|
}
|
|
}
|
|
- if (uni.$u.test.isEmpty(this.dataDetails.operationCertificateNumber)) {
|
|
|
|
|
|
+ if (this.dataDetails.operationCertificateNumber.length!=12) {
|
|
this.$refs.uToast.show({
|
|
this.$refs.uToast.show({
|
|
type: 'error',
|
|
type: 'error',
|
|
- message: "道路运输证号不能为空!",
|
|
|
|
|
|
+ message: "道路运输证号输入错误!",
|
|
})
|
|
})
|
|
return true
|
|
return true
|
|
}
|
|
}
|
|
@@ -1063,7 +1125,6 @@
|
|
})
|
|
})
|
|
return true
|
|
return true
|
|
}
|
|
}
|
|
-
|
|
|
|
if (this.sign == '挂车') {
|
|
if (this.sign == '挂车') {
|
|
if (uni.$u.test.isEmpty(this.dataDetails.trailerLicenseHomePage)) {
|
|
if (uni.$u.test.isEmpty(this.dataDetails.trailerLicenseHomePage)) {
|
|
this.$refs.uToast.show({
|
|
this.$refs.uToast.show({
|
|
@@ -1086,78 +1147,156 @@
|
|
})
|
|
})
|
|
return true
|
|
return true
|
|
}
|
|
}
|
|
- if (uni.$u.test.isEmpty(this.dataDetails.guaCarNumber)) {
|
|
|
|
|
|
+ if (uni.$u.test.isEmpty(this.dataDetails.trailerLicenseRegistrationDate)) {
|
|
this.$refs.uToast.show({
|
|
this.$refs.uToast.show({
|
|
type: 'error',
|
|
type: 'error',
|
|
- message: "挂车车牌号不能为空!",
|
|
|
|
|
|
+ message: "挂车行驶证注册日期不能为空!",
|
|
})
|
|
})
|
|
return true
|
|
return true
|
|
}
|
|
}
|
|
- if (uni.$u.test.isEmpty(this.dataDetails.guaOwner)) {
|
|
|
|
|
|
+ if (uni.$u.test.isEmpty(this.dataDetails.trailerLicenseIssueDate)) {
|
|
this.$refs.uToast.show({
|
|
this.$refs.uToast.show({
|
|
type: 'error',
|
|
type: 'error',
|
|
- message: "车辆所属车主不能为空!",
|
|
|
|
|
|
+ message: "挂车行驶证发证日期不能为空!!",
|
|
})
|
|
})
|
|
return true
|
|
return true
|
|
- }
|
|
|
|
- if (uni.$u.test.isEmpty(this.dataDetails.guaServicingWeight)) {
|
|
|
|
|
|
+ }
|
|
|
|
+ if (uni.$u.test.isEmpty(this.dataDetails.trailerLicenseValidityDate)) {
|
|
this.$refs.uToast.show({
|
|
this.$refs.uToast.show({
|
|
type: 'error',
|
|
type: 'error',
|
|
- message: "挂车整备质量不能为空!",
|
|
|
|
|
|
+ message: "挂车行驶证有效期不能为空!",
|
|
})
|
|
})
|
|
return true
|
|
return true
|
|
}
|
|
}
|
|
- if (uni.$u.test.isEmpty(this.dataDetails.guaCarApprovedWeight)) {
|
|
|
|
|
|
+ if (uni.$u.test.isEmpty(this.dataDetails.guaLssuingAuthority)) {
|
|
this.$refs.uToast.show({
|
|
this.$refs.uToast.show({
|
|
type: 'error',
|
|
type: 'error',
|
|
- message: "挂车核定载质量不能为空!",
|
|
|
|
|
|
+ message: "挂车行驶证发证机关不能为空!",
|
|
})
|
|
})
|
|
return true
|
|
return true
|
|
- }
|
|
|
|
- if (uni.$u.test.isEmpty(this.dataDetails.guaCarLong) || uni.$u.test.isEmpty(this.dataDetails.guaCarWidth) || uni.$u.test.isEmpty(this.dataDetails.guaCarHeight)) {
|
|
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ // true 为校验不通过
|
|
|
|
+ if (uni.$u.test.isEmpty(this.dataDetails.carNumber)) {
|
|
|
|
+ this.$refs.uToast.show({
|
|
|
|
+ type: 'error',
|
|
|
|
+ message: "车牌号不能为空!",
|
|
|
|
+ })
|
|
|
|
+ return true
|
|
|
|
+ }
|
|
|
|
+ if (uni.$u.test.isEmpty(this.dataDetails.owner)) {
|
|
|
|
+ console.log(this.dataDetails.owner)
|
|
|
|
+ this.$refs.uToast.show({
|
|
|
|
+ type: 'error',
|
|
|
|
+ message: "车辆所属车主不能为空!",
|
|
|
|
+ })
|
|
|
|
+ return true
|
|
|
|
+ }
|
|
|
|
+ if (uni.$u.test.isEmpty(this.dataDetails.carTotalWeight) && this.sign == '非挂车') {
|
|
|
|
+ this.$refs.uToast.show({
|
|
|
|
+ type: 'error',
|
|
|
|
+ message: "总质量不能为空!",
|
|
|
|
+ })
|
|
|
|
+ return true
|
|
|
|
+ }
|
|
|
|
+ if (uni.$u.test.isEmpty(this.dataDetails.carApprovedWeight) && this.sign == '非挂车') {
|
|
|
|
+ this.$refs.uToast.show({
|
|
|
|
+ type: 'error',
|
|
|
|
+ message: "核定载质量不能为空!",
|
|
|
|
+ })
|
|
|
|
+ return true
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if (uni.$u.test.isEmpty(this.dataDetails.servicingWeight) && this.sign == '挂车') {
|
|
|
|
+ this.$refs.uToast.show({
|
|
|
|
+ type: 'error',
|
|
|
|
+ message: "整备质量不能为空!",
|
|
|
|
+ })
|
|
|
|
+ return true
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if (uni.$u.test.isEmpty(this.dataDetails.carLong) || uni.$u.test.isEmpty(this.dataDetails.carWidth) || uni
|
|
|
|
+ .$u.test.isEmpty(this.dataDetails.carHeight)) {
|
|
|
|
+ this.$refs.uToast.show({
|
|
|
|
+ type: 'error',
|
|
|
|
+ message: "外廓尺寸不能为空!",
|
|
|
|
+ })
|
|
|
|
+ return true
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ if (this.sign == '挂车') {
|
|
|
|
+ if (uni.$u.test.isEmpty(this.dataDetails.trailerLicenseHomePage)) {
|
|
this.$refs.uToast.show({
|
|
this.$refs.uToast.show({
|
|
type: 'error',
|
|
type: 'error',
|
|
- message: "挂车外廓尺寸不能为空!",
|
|
|
|
|
|
+ message: "挂车行驶证主页不能为空!",
|
|
})
|
|
})
|
|
return true
|
|
return true
|
|
}
|
|
}
|
|
- // if (this.dataDetails.fileList2.length == 0) {
|
|
|
|
- // this.$refs.uToast.show({
|
|
|
|
- // type: 'error',
|
|
|
|
- // message: "人和挂车合影不能为空!",
|
|
|
|
- // })
|
|
|
|
- // return true
|
|
|
|
- // }
|
|
|
|
-
|
|
|
|
- if (uni.$u.test.isEmpty(this.dataDetails.trailerLicenseRegistrationDate)) {
|
|
|
|
|
|
+ if (uni.$u.test.isEmpty(this.dataDetails.trailerLicenseBackPage)) {
|
|
this.$refs.uToast.show({
|
|
this.$refs.uToast.show({
|
|
type: 'error',
|
|
type: 'error',
|
|
- message: "挂车行驶证注册日期不能为空!",
|
|
|
|
|
|
+ message: "挂车行驶证副页不能为空!",
|
|
})
|
|
})
|
|
return true
|
|
return true
|
|
}
|
|
}
|
|
- if (uni.$u.test.isEmpty(this.dataDetails.trailerLicenseIssueDate)) {
|
|
|
|
|
|
+ if (uni.$u.test.isEmpty(this.dataDetails.trailerLicenseNumber)) {
|
|
this.$refs.uToast.show({
|
|
this.$refs.uToast.show({
|
|
type: 'error',
|
|
type: 'error',
|
|
- message: "挂车行驶证发证日期不能为空!!",
|
|
|
|
|
|
+ message: "挂车行驶证档案编号不能为空!",
|
|
})
|
|
})
|
|
return true
|
|
return true
|
|
}
|
|
}
|
|
- if (uni.$u.test.isEmpty(this.dataDetails.trailerLicenseValidityDate)) {
|
|
|
|
|
|
+ if (uni.$u.test.isEmpty(this.dataDetails.guaCarNumber)) {
|
|
this.$refs.uToast.show({
|
|
this.$refs.uToast.show({
|
|
type: 'error',
|
|
type: 'error',
|
|
- message: "挂车行驶证有效期不能为空!",
|
|
|
|
|
|
+ message: "挂车车牌号不能为空!",
|
|
})
|
|
})
|
|
return true
|
|
return true
|
|
}
|
|
}
|
|
- if (uni.$u.test.isEmpty(this.dataDetails.guaLssuingAuthority)) {
|
|
|
|
|
|
+ if (uni.$u.test.isEmpty(this.dataDetails.guaOwner)) {
|
|
this.$refs.uToast.show({
|
|
this.$refs.uToast.show({
|
|
type: 'error',
|
|
type: 'error',
|
|
- message: "挂车行驶证发证机关不能为空!",
|
|
|
|
|
|
+ message: "车辆所属车主不能为空!",
|
|
|
|
+ })
|
|
|
|
+ return true
|
|
|
|
+ }
|
|
|
|
+ if (uni.$u.test.isEmpty(this.dataDetails.guaServicingWeight)) {
|
|
|
|
+ this.$refs.uToast.show({
|
|
|
|
+ type: 'error',
|
|
|
|
+ message: "挂车整备质量不能为空!",
|
|
})
|
|
})
|
|
return true
|
|
return true
|
|
}
|
|
}
|
|
|
|
+ if (uni.$u.test.isEmpty(this.dataDetails.guaCarApprovedWeight)) {
|
|
|
|
+ this.$refs.uToast.show({
|
|
|
|
+ type: 'error',
|
|
|
|
+ message: "挂车核定载质量不能为空!",
|
|
|
|
+ })
|
|
|
|
+ return true
|
|
|
|
+ }
|
|
|
|
+ if (uni.$u.test.isEmpty(this.dataDetails.guaCarLong) || uni.$u.test.isEmpty(this.dataDetails.guaCarWidth) || uni.$u.test.isEmpty(this.dataDetails.guaCarHeight)) {
|
|
|
|
+ this.$refs.uToast.show({
|
|
|
|
+ type: 'error',
|
|
|
|
+ message: "挂车外廓尺寸不能为空!",
|
|
|
|
+ })
|
|
|
|
+ return true
|
|
|
|
+ }
|
|
|
|
+ // if (this.dataDetails.fileList2.length == 0) {
|
|
|
|
+ // this.$refs.uToast.show({
|
|
|
|
+ // type: 'error',
|
|
|
|
+ // message: "人和挂车合影不能为空!",
|
|
|
|
+ // })
|
|
|
|
+ // return true
|
|
|
|
+ // }
|
|
|
|
+
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+
|
|
return false
|
|
return false
|
|
},
|
|
},
|
|
submit() {
|
|
submit() {
|
|
@@ -1170,16 +1309,19 @@
|
|
if(this.dataDetails.carCategory == "非挂车"){
|
|
if(this.dataDetails.carCategory == "非挂车"){
|
|
delete this.dataDetails.guaUseNature
|
|
delete this.dataDetails.guaUseNature
|
|
}
|
|
}
|
|
|
|
+ if(this.dataDetails.carCategory == "挂车"){
|
|
|
|
+ this.dataDetails.guaCarNumber=this.dataDetails.guaCarNumber+'挂'
|
|
|
|
+ }
|
|
this.$request.baseRequest('post', '/driverCarInfo/api/addInfo', this.dataDetails).then(res => {
|
|
this.$request.baseRequest('post', '/driverCarInfo/api/addInfo', this.dataDetails).then(res => {
|
|
if (res.code == '200') {
|
|
if (res.code == '200') {
|
|
this.$refs.uToast.show({
|
|
this.$refs.uToast.show({
|
|
type: 'success',
|
|
type: 'success',
|
|
message: "提交成功!",
|
|
message: "提交成功!",
|
|
complete() {
|
|
complete() {
|
|
- // uni.navigateBack({
|
|
|
|
- // delta: 1
|
|
|
|
- // });
|
|
|
|
- uni.$u.route('/pages/mine/manageVehicles/index');
|
|
|
|
|
|
+ uni.navigateBack({
|
|
|
|
+ delta: 1
|
|
|
|
+ });
|
|
|
|
+ // uni.$u.route('/pages/mine/manageVehicles/index');
|
|
}
|
|
}
|
|
})
|
|
})
|
|
// this.$refs.uToast.show({
|
|
// this.$refs.uToast.show({
|
|
@@ -1187,12 +1329,15 @@
|
|
// })
|
|
// })
|
|
// uni.$u.route('/pages/mine/manageVehicles/index');
|
|
// uni.$u.route('/pages/mine/manageVehicles/index');
|
|
|
|
|
|
- } else {
|
|
|
|
|
|
+ } else if (res.code == '400'){
|
|
|
|
+ uni.$u.toast('您输入的内容有问题,请检查后重新提交');
|
|
|
|
+ }else{
|
|
uni.$u.toast(res.message);
|
|
uni.$u.toast(res.message);
|
|
}
|
|
}
|
|
|
|
|
|
})
|
|
})
|
|
.catch(res => {
|
|
.catch(res => {
|
|
|
|
+ console.log(res)
|
|
uni.$u.toast(res.message);
|
|
uni.$u.toast(res.message);
|
|
});
|
|
});
|
|
|
|
|
|
@@ -1362,15 +1507,22 @@
|
|
align-items: center;
|
|
align-items: center;
|
|
color: #6A7282;
|
|
color: #6A7282;
|
|
}
|
|
}
|
|
-
|
|
|
|
- .submit-btn {
|
|
|
|
|
|
+ .submit-btn-wrap{
|
|
|
|
+
|
|
position: fixed;
|
|
position: fixed;
|
|
|
|
+ z-index:1000;
|
|
|
|
+ bottom:0;left:0;
|
|
|
|
+ width:100%;
|
|
|
|
+ padding:40rpx 0;
|
|
|
|
+ background:#fff;
|
|
|
|
+ }
|
|
|
|
+ .submit-btn {
|
|
bottom: 40rpx;
|
|
bottom: 40rpx;
|
|
width: 90%;
|
|
width: 90%;
|
|
background: #2772FB;
|
|
background: #2772FB;
|
|
color: white;
|
|
color: white;
|
|
text-align: center;
|
|
text-align: center;
|
|
- margin-left: 5%;
|
|
|
|
|
|
+ margin:0 auto;
|
|
padding: 30rpx 0;
|
|
padding: 30rpx 0;
|
|
border-radius: 50rpx;
|
|
border-radius: 50rpx;
|
|
}
|
|
}
|
|
@@ -1383,4 +1535,14 @@
|
|
height: 80rpx;
|
|
height: 80rpx;
|
|
z-index: 9;
|
|
z-index: 9;
|
|
}
|
|
}
|
|
|
|
+ /deep/.uni-input-input:disabled{
|
|
|
|
+ background:transparent;
|
|
|
|
+ }
|
|
|
|
+ .phsy {
|
|
|
|
+ // font-size: 20px !important;
|
|
|
|
+ color: #999 !important
|
|
|
|
+ }
|
|
|
|
+ .car-uumber{
|
|
|
|
+ text-align:right;
|
|
|
|
+ }
|
|
</style>
|
|
</style>
|