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