|
@@ -59,7 +59,7 @@
|
|
|
<view class="jyKK" :class="{jyKKActive:jykkNum==3}" @click="jykk(3)">其他</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="kkline" v-if="this.userInfo">
|
|
|
+<!-- <view class="kkline" >
|
|
|
<view class="kklineLeft">
|
|
|
<span class="stars">*</span> <span>车牌号</span>
|
|
|
</view>
|
|
@@ -68,7 +68,7 @@
|
|
|
<img src="../../static/img/big_rightArrow.png" alt="" class="rightJt">
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="kkline" v-if="this.userInfo">
|
|
|
+ <view class="kkline" >
|
|
|
<view class="kklineLeft">
|
|
|
<span class="stars">*</span> <span>车型</span>
|
|
|
</view>
|
|
@@ -77,14 +77,14 @@
|
|
|
<img src="../../static/img/big_rightArrow.png" alt="" class="rightJt">
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="kkline" v-if="this.userInfo">
|
|
|
+ <view class="kkline" >
|
|
|
<view class="kklineLeft">
|
|
|
<span class="stars">*</span><span>救援联系人</span>
|
|
|
</view>
|
|
|
<view class="kklineRight">
|
|
|
<input type="text" placeholder="请输入" v-model="customerName">
|
|
|
</view>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
<view class="kkline">
|
|
|
<view class="kklineLeft">
|
|
|
<span class="stars">*</span><span>手机号</span>
|
|
@@ -145,8 +145,10 @@
|
|
|
if(this.opt.type==2){
|
|
|
this.calculateDistance()
|
|
|
}
|
|
|
- console.log(opt)
|
|
|
+
|
|
|
this.userInfo = this.$store.state.userInfo;
|
|
|
+ console.log("this.userInfo")
|
|
|
+ console.log(this.userInfo)
|
|
|
if(this.userInfo){
|
|
|
var customerInfo=uni.getStorageSync("wxOpenData").loginInfo.customerInfo;
|
|
|
this.customerName=customerInfo.customerName;
|
|
@@ -202,8 +204,8 @@
|
|
|
mobilePhone: this.mobilePhone,
|
|
|
//orderItem: this.yuyueData.map(item => item.ID).join(),
|
|
|
shopID: this.opt.shopId,
|
|
|
- plateNumber: this.carInfo.plateNumber,
|
|
|
- carModel:this.carInfo.carModel,
|
|
|
+ plateNumber: this.carInfo ? this.carInfo.plateNumber :'',
|
|
|
+ carModel:this.carInfo?.carModel||'',
|
|
|
hEndAddress:this.opt.endAddress,
|
|
|
hStartAddress:this.opt.currentAddress,
|
|
|
orderType:this.opt.orderType,
|