Compare commits

..

10 Commits

@ -31,7 +31,8 @@
<view class="activityBox-row">
<text class="icon-renshu iconfont"></text>
<text>人数限制{{(list.form==2?10 : (numberlist.total==0?'不限':numberlist.total))}}</text>
<text>{{list.form==2?'起约人数':'人数限制'}}{{(list.form==2?10 : (numberlist.total==0?'不限':numberlist.total))}}</text>
</view>
<view class="activityBox-row flex-row align-center" @click="tothere">
<text class="icon-ditu-dibiao iconfont"></text>
@ -44,27 +45,27 @@
</view>
<u--form labelPosition="left" :model="form" :rules="rules" ref="form">
<view class="box-card">
<view class="box-card" v-if="type=='team'">
<view class="box-card-title">
人数
人数
</view>
<view class="box-card-content">
<u-form-item v-if="type=='user'" label="人数" labelWidth="120" prop="total" ref="total">
<u-form-item label="人数" labelWidth="120" prop="total" ref="total" v-if="type=='team'">
<u-number-box slot="right" v-model="form.total" inputWidth="44" color="#EF9525"
bgColor="#FCF6E3" :min="(type=='user'?1:list.team_min_count)"
bgColor="#FCF6E3" :min="(list.form==2?10:(type=='user'?1:list.team_min_count))"
:max="(type=='user'?list.person_max_count:list.team_max_count)" class="plus">
</u-number-box>
</u-form-item>
<u-form-item v-else label="人数" labelWidth="120" prop="total" ref="total">
<!-- <u-form-item v-else label="人数" labelWidth="120" prop="total" ref="total">
{{form.total}} 请添加参与名单
</u-form-item>
<view class="box-tips" v-if="type=='team'">
</u-form-item> -->
<!-- <view class="box-tips" v-if="type=='team'">
<text class="box-tips-txt"
v-if="type=='user'">每单限购{{list.person_max_count}}同一身份证当天限购1张</text>
<text class="box-tips-txt"
v-if="type=='team'">{{list.form==2?10:list.team_min_count}}人以上可团体预约<!-- 一个团体最多{{list.team_max_count}} --></text>
</view>
<view>
v-if="type=='team'">{{list.form==2?10:list.team_min_count}}人以上可团体预约</text>
</view> -->
<!-- <view>
<view class="box-card-content">
<view class="book-box" style="padding-top: 20rpx;">
<view class="book-box-card">
@ -83,7 +84,6 @@
</u-icon>
</view>
<view>{{item.name}}</view>
<!-- <view>{{item.datef}}</view> -->
</view>
</block>
</view>
@ -95,8 +95,8 @@
</view>
</view>
<view class="box-visitor">
</view> -->
<!-- <view class="box-visitor">
<block v-for="(item,index) in form.details_list" :key="index">
<view class="box-visitor-item">
<view class="box-visitor-item-left">
@ -113,9 +113,9 @@
</view>
</view>
</block>
</view>
</view> -->
<view class="box-footer">
<!-- <view class="box-footer">
<view class="box-footer-left">
<view class="box-button" @click="openAdd">
<u-icon name="plus" color="#EF9525"></u-icon>
@ -135,28 +135,24 @@
<u-icon name="question-circle-fill" color="#EF9525" size="40rpx"></u-icon>
<text class="book-box-selectInfo-righttxt" style="margin-left: 20rpx;">批量导入说明</text>
</view>
</view>
</view> -->
</view>
</view>
<view class="box-card" v-if="type=='team'">
</view>
<!-- v-if="type=='team'" -->
<view class="box-card">
<view class="box-card-title">
联系人信息
</view>
<view class="box-card-content">
<u-form-item :label="(type=='team'?'领队人':'联系人')" labelWidth="80" prop="leader" ref="leader"
<u-form-item :label="(type=='team'?'领队人':'预约人')" labelWidth="80" prop="leader" ref="leader"
required>
<u-input placeholder="请输入联系人" v-model="form.leader"></u-input>
<u-input :placeholder="`请输入${type=='team'?'领队人':'预约人'}`" v-model="form.leader"></u-input>
</u-form-item>
<block>
<u-form-item label="单位名称" labelWidth="80" prop="unit" required>
<u-form-item v-if="type=='team'" label="单位名称" labelWidth="80" prop="unit" required>
<u-input placeholder="请输入单位名称" v-model="form.unit"></u-input>
</u-form-item>
<u-form-item label="证件类型" labelWidth="80" prop="card_type1" required>
<!-- <u-radio-group v-model="form.card_type">
<u-radio width="50%" activeColor="#EF9525" v-for="(item, index) in cardType"
:key="index" :name=item.id :label="item.name">
</u-radio>
</u-radio-group> -->
<!-- <u-form-item label="证件类型" labelWidth="80" prop="card_type1" required>
<u-cell-group :border="false">
<u-cell @click="showCards" :title="card_type_names" :isLink="true"
arrow-direction="down"></u-cell>
@ -164,7 +160,7 @@
</u-form-item>
<u-form-item label="证件号码" labelWidth="80" prop="from.idcard" required>
<u-input placeholder="请输入证件号码" v-model="form.idcard"></u-input>
</u-form-item>
</u-form-item> -->
</block>
<u-form-item label="手机号" labelWidth="80" prop="mobile" ref="mobile" required>
<u-input readonly placeholder="请输入手机号" v-model="form.mobile"></u-input>
@ -567,20 +563,20 @@
return false;
}
if (that.formUser.card_type == 1) {
if (this.util.isNull(this.formUser.idcard)) {
uni.showToast({
icon: "none",
title: "请填写身份证号"
})
return false;
}
if (!that.util.isValidCardID(that.formUser.idcard)) {
uni.showToast({
icon: "none",
title: "请正确输入身份证号"
})
return false;
}
// if (this.util.isNull(this.formUser.idcard)) {
// uni.showToast({
// icon: "none",
// title: ""
// })
// return false;
// }
// if (!that.util.isValidCardID(that.formUser.idcard)) {
// uni.showToast({
// icon: "none",
// title: ""
// })
// return false;
// }
}
if (that.isEdit) {
that.form.details_list[that.isEditIndex] = that.formUser;
@ -648,50 +644,50 @@
},
submitOrder() {
if (this.form.details_list.length != this.form.total) {
uni.showToast({
icon: "none",
title: "请正确添加观众数量"
})
return false;
}
if (this.type != "user") {
// if (this.form.details_list.length != this.form.total) {
// uni.showToast({
// icon: "none",
// title: ""
// })
// return false;
// }
// if (this.type != "user") {
if (this.util.isNull(this.form.leader)) {
uni.showToast({
icon: "none",
title: "请填写领队姓名"
})
return false;
}
if (this.util.isNull(this.form.unit)) {
uni.showToast({
icon: "none",
title: "请填写单位名称"
})
return false;
}
if (this.util.isNull(this.form.idcard)) {
uni.showToast({
icon: "none",
title: "请填写证件号"
title: "请填写姓名"
})
return false;
}
if (this.form.card_type == 1) {
if (!this.util.isValidCardID(this.form.idcard)) {
uni.showToast({
icon: "none",
title: "请正确输入身份证号"
})
return false;
}
if(this.type != "user"){
if (this.util.isNull(this.form.unit)) {
uni.showToast({
icon: "none",
title: "请填写单位名称"
})
return false;
}
}
// if (this.util.isNull(this.form.idcard)) {
// uni.showToast({
// icon: "none",
// title: ""
// })
// return false;
// }
// if (this.form.card_type == 1) {
// if (!this.util.isValidCardID(this.form.idcard)) {
// uni.showToast({
// icon: "none",
// title: ""
// })
// return false;
// }
// }
if (this.util.isNull(this.form.mobile)) {
uni.showToast({
@ -706,9 +702,18 @@
})
return false;
}
// }
if(this.type=='user'){
this.form.details_list.push({
name:this.form.leader,
mobile:this.form.mobile,
card_type:1,
idcard:''
})
}
console.log("this.form",this.form)
// return
var that = this;
this.util.request({
api: '/api/mobile/activity/order',

@ -96,7 +96,6 @@
</view>
</view>
<view class="infofooter" v-if="list.isCanBook&&list.total!=list.orders_total">
<u-popup :show="showNumbers" mode="bottom" @close="closeNum" :round="10" closeable>
<view class="mpopup">
<view class="mpopup-title">
@ -113,7 +112,7 @@
</view>
</view>
</u-popup>
<view class="flex-row" v-if="list.status==1&&isCanBook">
<view class="flex-row" v-if="list.status==1&&list.isCanBook">
<view style="margin-right: 14rpx;flex: 1;" v-if="list.join_type==1||list.join_type==0">
<u-button type="primary" @click="tobook('team')"></u-button>
</view>
@ -225,7 +224,8 @@
longitude: that.longitude
},
utilSuccess: function(res) {
res.isCanBook = that.$moment(nt).isBefore(res.end_plan);
res.isCanBook = that.$moment(nt).isBefore(res.end_plan);
console.log("res.isCanBook",res.isCanBook)
that.list = res;
let numberArr = []
let nowTime = that.getNowTime();
@ -236,13 +236,15 @@
m.time = that.timeFormat(m.start_time, "yyyy年MM月DD日") + " " + that
.getHm(m.start_time) + "-" + that.getHm(m.end_time);
if (that.compareDate(nowTime, m.end_plan)) {
m.disabled = true
m.disabled = true
console.log("1",m.disabled)
}
if (m.has_total == m.total && m.total != 0) {
m.disabled = true
m.disabled = true
console.log("2",m.disabled)
}
//
//
if (res.form == 2 && m.has_total > 0) {
m.disabled = true
}

@ -98,10 +98,10 @@
v-if="item.remain_count>0&&item.remain_count<=50">
{{item.remain_count}}
</view>
<view class="book-box-row-timeitem-txt" v-else-if="item.remain_count>50">
<!-- <view class="book-box-row-timeitem-txt" v-else-if="item.remain_count>50">
余票充足
</view>
<view class="book-box-row-timeitem-txt" v-else></view>
</view> -->
<view class="book-box-row-timeitem-txt" v-if="item.remain_count<=0"></view>
</block>
<block v-else>
<view class="book-box-row-timeitem-txt">不可预约</view>
@ -605,5 +605,15 @@
.richp {
margin-bottom: 10rpx;
}
.book-box-row-timeitem {
display: flex;
align-items: center;
flex-wrap: wrap;
width: 32%;
padding: 19rpx 21rpx!important;
}
.book-box-row-timeitem-txt {
width:100%
}
</style>

@ -9,7 +9,7 @@
<block v-for="(item,index) in listOrder" :key="index">
<view class="orderBox" :class="{'cancelBox':item.status==0}" @click="toinfo(item.id)">
<view class="orderBoxTitle flex-row">
<text class="orderBoxTitleTxt">{{item.type==1?"团队预约":"个人预约"}}</text>
<text class="orderBoxTitleTxt">{{item.type==1?"团队信息":"个人预约"}}</text>
<view :class="item.status!=1?'orderBoxStatus cancelStatus':'orderBoxStatus'">{{item.status_name}}
</view>
</view>
@ -18,7 +18,7 @@
<view class="orderBoxInfoRow flex-row" >
<text class="iconfont icon-youkexuzhi"></text>
<text class="orderBoxInfoRowTxt">
订单信息{{timeFormat(item.date, 'MM月DD日')}}{{item.time}}{{item.details_count}} 位观众</text>
订单信息{{timeFormat(item.date, 'MM月DD日')}}{{item.time}}{{item.total}} 位观众</text>
</view>
<view class="orderBoxInfoRow flex-row" v-if="item.type==1" style="margin-top: 20rpx;">

@ -8,11 +8,15 @@
<u--form labelPosition="top" labelWidth="120px" :model="form" ref="form">
<u-form-item label="预约入场时间" labelPosition="top" borderBottom>
<view style="color: #EF9525;font-size: 24rpx;" @click="showSelecttime=true">
<!-- {{selectInfo}} -->
{{(form.time?timeFormat(formTime, 'yyyy年MM月DD日 HH:mm'):'请选择入场时间>')}}
<view style="color: #EF9525;font-size: 24rpx;display: flex;" @click="showSelecttime=true">
<!-- {{selectInfo}} -->
<text>{{(form.time?timeFormat(formTime, 'yyyy年MM月DD日 HH:mm'):'请选择入场时间>')}}</text>
<u-icon name="arrow-down" color="#000"></u-icon>
</view>
<u-datetime-picker :show="showSelecttime" closeOnClickOverlay @close="cancelTime"
<u-datetime-picker
:minDate="minDate"
:maxDate="maxDate"
:show="showSelecttime" closeOnClickOverlay @close="cancelTime"
@cancel="cancelTime" @confirm="confirmTime" v-model="form.time" mode="datetime">
</u-datetime-picker>
</u-form-item>
@ -137,7 +141,7 @@
form: {
plate: "",
mobile: "",
time: Number(new Date()),
time: '',
car_park_id: "",
checkUser: false,
car_type: 1,
@ -146,7 +150,9 @@
activity_order_id: "",
visit_order_id: ""
},
formTime: Number(new Date()),
formTime: Number(new Date()),
minDate:'',
maxDate:'',
listOrder: [],
listActivtyOrder: [],
orderType: 1,
@ -166,21 +172,25 @@
this.form.type = options.currentPark;
}
if (!that.util.isNull(options.bookinfo)) {
let bookinfo = JSON.parse(unescape(options.bookinfo));
this.bookinfo = bookinfo;
this.form.time = bookinfo.time;
this.formTime = bookinfo.time;
this.orderType = bookinfo.orderType;
this.selectInfo = bookinfo.info;
if (this.orderType == 2)
this.form.activity_order_id = bookinfo.orderid
else
this.form.visit_order_id = bookinfo.orderid
this.orderid = bookinfo.orderid
}
that.form.time = new Date()
console.log(that.form.time)
// if (!that.util.isNull(options.bookinfo)) {
// let bookinfo = JSON.parse(unescape(options.bookinfo));
// this.bookinfo = bookinfo;
// this.form.time = bookinfo.time;
// this.formTime = bookinfo.time;
// this.orderType = bookinfo.orderType;
// this.selectInfo = bookinfo.info;
// if (this.orderType == 2)
// this.form.activity_order_id = bookinfo.orderid
// else
// this.form.visit_order_id = bookinfo.orderid
// this.orderid = bookinfo.orderid
// }
that.form.time = this.$moment(this.$moment().format('YYYY-MM-DD HH:mm:ss')).valueOf()
that.formTime = this.$moment(this.$moment().format('YYYY-MM-DD HH:mm:ss')).valueOf()
console.log(that.form.time)
this.minDate = this.$moment(this.$moment().format('YYYY-MM-DD HH:mm:ss')).valueOf()
this.maxDate = this.$moment(this.$moment().add('days',6).format('YYYY-MM-DD') + ' 16:00:00').valueOf()
console.log("this.minDate",this.minDate,this.maxDate)
that.loadConfigInfo();
that.util.getUserInfo(function(r) {
@ -316,7 +326,17 @@
})
},
confirmTime(e) {
console.log(e)
console.log(e)
this.form.time = e.value
this.formTime = e.value
let choosetime = parseInt(this.$moment(this.form.time).format("HH"))
let chooseMin = parseInt(this.$moment(this.form.time).format("mm"))
// let nowtime = parseInt(this.$moment().format("HH"))
// console.log(chooseMin)
if(choosetime<9 || choosetime>16 || (choosetime==16 && chooseMin>0)){
this.util.toast("请选择正确的入场时间");
return false;
}
this.showSelecttime = false;
},
cancelTime() {
@ -330,12 +350,17 @@
},
handleSelectTime() {
this.showSelecttime = true;
},
},
submitOrder() {
// if (this.util.isNull(this.orderid)) {
// this.util.toast("");
// return false;
// }
// }
if(this.$moment(this.form.time).format("HH")<9 || this.$moment(this.form.time).format("HH")>16){
this.util.toast("请选择正确的入场时间");
return false;
}
if (this.form.plate.length != 7 && this.form.plate.length != 8) {
this.util.toast("请正确填写车牌号");
return false;
@ -357,8 +382,11 @@
if (!this.form.checkUser) {
this.util.toast("请阅读预约通知");
return false;
}
}
this.form.time = this.timeFormat(this.form.time, 'yyyy-MM-DD HH:mm')
console.log(this.form.time)
// return
var that = this;
this.util.request({
api: '/api/mobile/carpark/order',

@ -37,7 +37,8 @@
</view>
<text class="iconfont icon-tingchechang1" style="font-size: 28rpx;"></text>
<view>
<text>大中(09:00-12:00){{remain_big_park}}</text>
<!-- <text>大中(09:00-12:00){{remain_big_park}}</text> -->
<text>大中型车</text>
</view>
</view>
<view class="parkbox-item flex-col align-center"
@ -48,12 +49,12 @@
</view>
<view class="flex-row align-center">
<text class="iconfont icon-tingchechang1"
style="font-size: 28rpx;"></text><text>小车{{remain_small_park}}</text>
style="font-size: 28rpx;"></text><text>小车</text>
</view>
<text style="font-size: 24rpx;color: #828282;">充电桩空闲0</text>
<!-- <text style="font-size: 24rpx;color: #828282;">充电桩空闲0</text> -->
</view>
<view class="parkbox-item flex-row align-center" style="margin-right: 10rpx;padding: 28rpx 20rpx;"
<!-- <view class="parkbox-item flex-row align-center" style="margin-right: 10rpx;padding: 28rpx 20rpx;"
@click="handleSelectPark(4)" :class="(currentPark==4?'parkbox-item-on':'')"
v-if="remain_big_park2>0">
<view class="parkbox-item-status" v-if="currentPark==4">
@ -63,7 +64,7 @@
<view>
<text>大中(13:00-16:00){{remain_big_park2}}</text>
</view>
</view>
</view> -->
<view class="parkbox-item flex-row align-center" style=""
@click="handleSelectPark(3)" :class="(currentPark==3?'parkbox-item-on':'')"
v-if="remain_special_park>0">
@ -72,7 +73,8 @@
</view>
<text class="iconfont icon-tingchechang1" style="font-size: 28rpx;"></text>
<view>
<text>残疾人车位{{remain_special_park}}</text>
<!-- <text>残疾人车位{{remain_special_park}}</text> -->
<text>残疾人车位</text>
</view>
</view>

@ -58,10 +58,10 @@
v-if="item.remain_count>0&&item.remain_count<=50">
{{item.remain_count}}
</view>
<view class="book-box-row-timeitem-txt" v-else-if="item.remain_count>50">
<!-- <view class="book-box-row-timeitem-txt" v-else-if="item.remain_count>50">
余票充足
</view>
<view class="book-box-row-timeitem-txt" v-else></view>
</view> -->
<view class="book-box-row-timeitem-txt" v-if="item.remain_count<=0"></view>
</view>
</view>
</view>
@ -92,14 +92,17 @@
</u-form-item>
<u-form-item v-else label="人数" labelWidth="120" prop="total" ref="total">
{{form.total}} 请添加参与名单
<!-- {{form.total}} 请添加参与名单 -->
<u-number-box slot="right" v-model="form.total" inputWidth="44" color="#EF9525"
bgColor="#FCF6E3" :min="minCount" :max="maxCount" class="plus">
</u-number-box>
</u-form-item>
<view class="box-tips" v-if="type=='team'">
<!-- <view class="box-tips" v-if="type=='team'">
<text class="box-tips-txt" v-if="type=='user'">{{maxCount}}1</text>
<text class="box-tips-txt"
v-if="type=='team'">{{minCount}}人以上可团体预约<!-- 一个团体最多{{maxCount}} --></text>
</view>
<view class="commonuser">
v-if="type=='team'">{{minCount}}人以上可团体预约</text>
</view> -->
<!-- <view class="commonuser">
<view class="box-card-content">
<view class="book-box" style="padding-top: 20rpx;">
<view class="book-box-card">
@ -118,7 +121,6 @@
</u-icon>
</view>
<view>{{item.name}}</view>
<!-- <view>{{item.datef}}</view> -->
</view>
</block>
</view>
@ -130,7 +132,7 @@
</view>
</view>
</view>
<view class="box-visitor">
<block v-for="(item,index) in form.details_list" :key="index">
<view class="box-visitor-item">
@ -169,7 +171,7 @@
<u-icon name="question-circle-fill" color="#EF9525" size="40rpx"></u-icon>
<text class="book-box-selectInfo-righttxt" style="margin-left: 20rpx;">批量导入说明</text>
</view>
</view>
</view> -->
</view>
</view>
<!-- <view class="box-card">
@ -194,12 +196,7 @@
<u-form-item label="单位名称" labelWidth="80" prop="unit" required>
<u-input placeholder="请输入单位名称" v-model="form.unit"></u-input>
</u-form-item>
<u-form-item label="证件类型" labelWidth="80" prop="card_type1" required>
<!-- <u-radio-group v-model="form.card_type">
<u-radio width="50%" activeColor="#EF9525" v-for="(item, index) in cardList"
:key="index" :name=item.idx :label="item.name">
</u-radio>
</u-radio-group> -->
<!-- <u-form-item label="证件类型" labelWidth="80" prop="card_type1" required>
<u-cell-group :border="false">
<u-cell @click="showCards" :title="card_type_names" :isLink="true"
arrow-direction="down"></u-cell>
@ -207,7 +204,7 @@
</u-form-item>
<u-form-item label="证件号码" labelWidth="80" prop="from.idcard" required>
<u-input placeholder="请输入证件号码" v-model="form.idcard"></u-input>
</u-form-item>
</u-form-item> -->
</block>
<u-form-item label="手机号" labelWidth="80" prop="mobile" ref="mobile" required>
<u-input readonly placeholder="请输入手机号" v-model="form.mobile"></u-input>
@ -237,21 +234,15 @@
<u-form-item label="姓名" labelWidth="80" prop="name" ref="name" required>
<u-input placeholder="请输入姓名" v-model="formUser.name"></u-input>
</u-form-item>
<u-form-item label="证件类型" labelWidth="80" prop="card_type1" ref="card_type" required>
<!-- <u-radio-group v-model="formUser.card_type">
<u-radio width="50%" activeColor="#EF9525" v-for="(item, index) in cardList"
:key="index" :name=item.idx :label="item.name">
</u-radio>
</u-radio-group> -->
<!-- <u-form-item label="证件类型" labelWidth="80" prop="card_type1" ref="card_type" required>
<u-cell-group :border="false">
<u-cell @click="showCard" :title="card_type_name" :isLink="true" arrow-direction="down">
</u-cell>
</u-cell-group>
<!-- <u-input placeholder="身份证" disabled @click="showCard" v-model="formUser.card_type"></u-input> -->
</u-form-item>
<u-form-item label="证件号码" labelWidth="80" prop="idcard" ref="idcard" required>
<u-input placeholder="请输入证件号码" v-model="formUser.idcard"></u-input>
</u-form-item>
</u-form-item> -->
<u-form-item label="行动不便者" labelWidth="80" prop="is_disability" ref="is_disability">
<u-radio-group v-model="formUser.is_disability">
<u-radio width="100%" activeColor="#EF9525" v-for="(item, index) in disabilitys"
@ -391,16 +382,16 @@
message: '请输入姓名',
trigger: 'blur'
}],
idcard: [{
required: true,
message: '请输入证件号',
trigger: 'blur'
}],
card_type: [{
required: true,
message: '请选择证件类型',
trigger: 'change'
}]
// idcard: [{
// required: true,
// message: '',
// trigger: 'blur'
// }],
// card_type: [{
// required: true,
// message: '',
// trigger: 'change'
// }]
},
listVistor: [{}, {}],
showAdd: false,
@ -488,7 +479,7 @@
this.type = options.from;
this.load3Day(this.bcurrentDate.date);
uni.setNavigationBarTitle({
title: (options.from == 'user' ? "个人预约" : "团队预约")
title: (options.from == 'user' ? "个人预约" : "团队信息")
})
//this.maxCount = (type == 'user' ? 5 : 50);
@ -657,7 +648,7 @@
} else {
that.maxCount = res.team_max_count;
that.minCount = res.team_min_count;
that.form.total = 0;
that.form.total = that.minCount;
}
},
@ -692,7 +683,7 @@
},
submitOrder() {
console.log(this.form);
// return
this.form.date = this.currentDate.date;
this.form.rule_id = this.currentTime.id;
// if(this.specialid){
@ -700,13 +691,13 @@
// this.form.is_disability = this.specialid;
// }
if (this.form.details_list.length != this.form.total) {
uni.showToast({
icon: "none",
title: "请正确添加观众数量"
})
return false;
}
// if (this.form.details_list.length != this.form.total) {
// uni.showToast({
// icon: "none",
// title: ""
// })
// return false;
// }
if (this.type != "user") {
if (this.util.isNull(this.form.leader)) {
@ -738,23 +729,23 @@
return false;
}
if (this.util.isNull(this.form.idcard)) {
uni.showToast({
icon: "none",
title: "请填写证件号"
})
return false;
}
if (this.form.card_type == 1) {
if (!this.util.isValidCardID(this.form.idcard)) {
uni.showToast({
icon: "none",
title: "请正确输入身份证号"
})
return false;
}
}
// if (this.util.isNull(this.form.idcard)) {
// uni.showToast({
// icon: "none",
// title: ""
// })
// return false;
// }
// if (this.form.card_type == 1) {
// if (!this.util.isValidCardID(this.form.idcard)) {
// uni.showToast({
// icon: "none",
// title: ""
// })
// return false;
// }
// }
}
@ -1329,5 +1320,15 @@
.u-radio-group .u-radio {
margin-bottom: 10rpx;
margin-right: 10rpx
}
.book-box-row-timeitem {
display: flex;
align-items: center;
flex-wrap: wrap;
width: 32%;
padding: 19rpx 21rpx!important;
}
.book-box-row-timeitem-txt {
width:100%
}
</style>

@ -1,7 +1,10 @@
import md5 from "./md5.min";
const HOSTARR = {
'development':'https://leyiyuyue.szgmbwg.org.cn',
'production': 'https://leyiyuyue.szgmbwg.org.cn'
'production': 'https://leyiyuyue.szgmbwg.org.cn',
// 'development':'https://leyitest.ali251.langye.net',
// 'production': 'https://leyitest.ali251.langye.net',
}; // 审核状态
const HOST = HOSTARR[process.env

Loading…
Cancel
Save