|
@@ -32,7 +32,7 @@
|
|
|
<view style='padding-left:20px;color:#AFB3BF;font-size:14px;' v-if='show==false'>登记客户</view>
|
|
|
|
|
|
<view v-for='item in registeredCustomer'>
|
|
|
- <view class="dj-customer" @click="registeredCustomerClick(item)" v-for="(item1,index) in item.carList">
|
|
|
+ <view class="dj-customer" v-for="(item1,index) in item.carList" @click="registeredCustomerClick(item,item1)">
|
|
|
<view class="left">{{item1}}</view>
|
|
|
<view class="right">
|
|
|
<view class="span1">{{item.shipperName}}(货)</view>
|
|
@@ -191,8 +191,8 @@
|
|
|
}
|
|
|
|
|
|
},
|
|
|
- registeredCustomerClick(item){
|
|
|
-
|
|
|
+ registeredCustomerClick(item,item1){
|
|
|
+ uni.setStorageSync('carNo', item1)
|
|
|
uni.setStorageSync('checkcustomer', item)
|
|
|
if (this.recentCustomers.length == 0) {
|
|
|
this.recentCustomers.push(item)
|