修改车辆管理,接口字段还没有对完
This commit is contained in:
parent
e7d5012a2c
commit
d85e0e77c6
@ -10,7 +10,6 @@
|
|||||||
|
|
||||||
<view class="uni-form-item">
|
<view class="uni-form-item">
|
||||||
<view class="uni-form-label">
|
<view class="uni-form-label">
|
||||||
<text class="star">*</text>
|
|
||||||
企业
|
企业
|
||||||
</view>
|
</view>
|
||||||
<!-- enterpriseId -->
|
<!-- enterpriseId -->
|
||||||
@ -216,7 +215,10 @@
|
|||||||
</view>
|
</view>
|
||||||
<uni-popup ref="cityMore" type="bottom">
|
<uni-popup ref="cityMore" type="bottom">
|
||||||
<view class="checkList">
|
<view class="checkList">
|
||||||
<view class="title">选择报警推送人</view>
|
<view class="header">
|
||||||
|
<view class="title">选择报警推送人</view>
|
||||||
|
<view class="ok" @click="$refs.cityMore.close()">确认</view>
|
||||||
|
</view>
|
||||||
<scroll-view scroll-y="true" class="scroll-Y">
|
<scroll-view scroll-y="true" class="scroll-Y">
|
||||||
<checkbox-group @change="checkChange">
|
<checkbox-group @change="checkChange">
|
||||||
<view class="checkItem" v-for="(item,index) in baoList" :key="index">
|
<view class="checkItem" v-for="(item,index) in baoList" :key="index">
|
||||||
@ -567,12 +569,19 @@ export default {
|
|||||||
})
|
})
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
let reg = /^[1][3,4,5,6,7,8,9][0-9]{9}$/;
|
||||||
if (params.driverTelephone == '') {
|
if (params.driverTelephone == '') {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '请输入司机电话',
|
title: '请输入司机电话',
|
||||||
icon: 'none'
|
icon: 'none'
|
||||||
})
|
})
|
||||||
return false;
|
return false;
|
||||||
|
} else if (!reg.test(params.driverTelephone)) {
|
||||||
|
uni.showToast({
|
||||||
|
title: '电话格式错误',
|
||||||
|
icon: 'none'
|
||||||
|
})
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
if (params.isBlack == '') {
|
if (params.isBlack == '') {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
@ -706,14 +715,27 @@ export default {
|
|||||||
.checkList {
|
.checkList {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
|
||||||
|
|
||||||
.scroll-Y {
|
.scroll-Y {
|
||||||
height: 600rpx;
|
height: 600rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.header {
|
||||||
padding: 20rpx;
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
border-bottom: 1rpx solid #ddd;
|
border-bottom: 1rpx solid #ddd;
|
||||||
|
padding: 20rpx;
|
||||||
|
|
||||||
|
.title {
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ok {
|
||||||
|
color: $uni-color-primary;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.checkItem {
|
.checkItem {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user