|
@@ -180,10 +180,10 @@
|
|
|
this.inTime = page.inTime;
|
|
|
this.placeStatus=page.placeStatus;
|
|
|
this.currentVehicleNo=page.currentVehicleNo
|
|
|
- if(this.inTime == null || this.inTime == ''){
|
|
|
- this.timeList[0].disabled = true;
|
|
|
+ // if(this.inTime == null || this.inTime == ''){
|
|
|
+ // this.timeList[0].disabled = true;
|
|
|
|
|
|
- }
|
|
|
+ // }
|
|
|
},
|
|
|
onShow() {
|
|
|
|
|
@@ -191,13 +191,17 @@
|
|
|
// this.timeList[1].time=this.currentTime.getFullYear()+ '-' +(this.currentTime.getMonth()+1)+ '-' +this.currentTime.getDate()+ ' ' +this.finialtime+ ':'+"00";
|
|
|
setTimeout( () => {
|
|
|
this.timeList[0].time = this.inTime;
|
|
|
+ if(this.timeList[0].time==null||this.timeList[0].time==''){
|
|
|
+ console.log(33)
|
|
|
+ this.timevalue=this.timeList[1].time
|
|
|
+ this.timeList[0].disabled=true
|
|
|
+ }else{
|
|
|
+ console.log(11)
|
|
|
+ this.timevalue=this.timeList[0].time
|
|
|
+ this.timeList[0].disabled=false
|
|
|
+ }
|
|
|
}, 1000);
|
|
|
- if(this.timeList[0].time==null){
|
|
|
- this.timevalue=this.timeList[1].time
|
|
|
- this.timeList[0].disabled=true
|
|
|
- }else{
|
|
|
- this.timevalue=this.timeList[0].time
|
|
|
- }
|
|
|
+
|
|
|
},
|
|
|
methods:{
|
|
|
// upset(){
|