更新
This commit is contained in:
parent
6f1ca7d356
commit
d461592220
@ -297,7 +297,7 @@ export default {
|
|||||||
defaultIndex: [0],
|
defaultIndex: [0],
|
||||||
kehuDefaultIndex: [0],
|
kehuDefaultIndex: [0],
|
||||||
goodsDefaultIndex: [0, 0],
|
goodsDefaultIndex: [0, 0],
|
||||||
meetName:'',
|
meetName: '',
|
||||||
columns: [],
|
columns: [],
|
||||||
options: [],
|
options: [],
|
||||||
nature: [],
|
nature: [],
|
||||||
@ -306,7 +306,7 @@ export default {
|
|||||||
columnData: [],
|
columnData: [],
|
||||||
xinlist: [],
|
xinlist: [],
|
||||||
zhilist: [],
|
zhilist: [],
|
||||||
isLoading:false,
|
isLoading: false,
|
||||||
recordTime: Number(new Date()),
|
recordTime: Number(new Date()),
|
||||||
baseUrl: this.$baseImageUrl,
|
baseUrl: this.$baseImageUrl,
|
||||||
goodsId: '',
|
goodsId: '',
|
||||||
@ -490,6 +490,7 @@ export default {
|
|||||||
url: `/inspection/appointment/${this.appointmentId}`,
|
url: `/inspection/appointment/${this.appointmentId}`,
|
||||||
method: 'get'
|
method: 'get'
|
||||||
})
|
})
|
||||||
|
if (res.data) {
|
||||||
//客户姓名
|
//客户姓名
|
||||||
this.buyName = res.data.buyName
|
this.buyName = res.data.buyName
|
||||||
this.buyPhone = res.data.buyPhoneNum
|
this.buyPhone = res.data.buyPhoneNum
|
||||||
@ -523,7 +524,8 @@ export default {
|
|||||||
};
|
};
|
||||||
this.changeHandler(mockEvent);
|
this.changeHandler(mockEvent);
|
||||||
//根据goodsId找出对应的索引位置
|
//根据goodsId找出对应的索引位置
|
||||||
this.goodsDefaultIndex = [this.goodsone[0].findIndex(item => item.value === this.goodsId),this.$refs.uPicker.getColumnValues(1).findIndex(item => item.value == this.skuId)]
|
this.goodsDefaultIndex = [this.goodsone[0].findIndex(item => item.value === this.goodsId), this.$refs.uPicker.getColumnValues(1).findIndex(item => item.value == this.skuId)]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
findItemById(data, id) {
|
findItemById(data, id) {
|
||||||
for (const group of data) {
|
for (const group of data) {
|
||||||
@ -540,7 +542,7 @@ export default {
|
|||||||
const group = data[index];
|
const group = data[index];
|
||||||
for (const item of group) {
|
for (const item of group) {
|
||||||
if (item.value === id) {
|
if (item.value === id) {
|
||||||
return { group, index }; // 返回组和对应的索引
|
return {group, index}; // 返回组和对应的索引
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -50,7 +50,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="r-two-box">
|
<view class="r-two-box">
|
||||||
<view class="h-two-box"
|
<view class="h-two-box"
|
||||||
style="margin-bottom: 10px;border-bottom: 1px solid #DDDDDD;box-sizing: border-box;padding-bottom: 10px">
|
style="margin-bottom: 10px;border-bottom: 1px solid #DDDDDD;box-sizing: border-box;padding-bottom: 10px;">
|
||||||
|
|
||||||
<view class="h-two-l">
|
<view class="h-two-l">
|
||||||
<view class="h_title"> 引车员</view>
|
<view class="h_title"> 引车员</view>
|
||||||
@ -60,6 +60,15 @@
|
|||||||
<image src="../..//static/imgs/t_.png" mode=""></image>
|
<image src="../..//static/imgs/t_.png" mode=""></image>
|
||||||
<text>更换引车员</text>
|
<text>更换引车员</text>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
<view class="h-two-l" v-if="detailData.meetManName">
|
||||||
|
<view class="h_title"> 接车员</view>
|
||||||
|
<view class="h_name">{{ detailData.meetManName }}</view>
|
||||||
|
</view>
|
||||||
|
<view class="h-two-r" v-if="isChangeMeetMan" @tap="selectLeadMan">
|
||||||
|
<image src="../..//static/imgs/t_.png" mode=""></image>
|
||||||
|
<text>更换接车员</text>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="h-two-box" v-if="isShowClient">
|
<view class="h-two-box" v-if="isShowClient">
|
||||||
<view class="h-two-l">
|
<view class="h-two-l">
|
||||||
@ -365,6 +374,7 @@ export default {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
isChangeLeadMan: false,
|
isChangeLeadMan: false,
|
||||||
|
isChangeMeetMan: false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(option) {
|
onLoad(option) {
|
||||||
|
@ -651,7 +651,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.box_ {
|
.box_ {
|
||||||
width: 100%;
|
//width: 100%;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
background: #FFFFFF;
|
background: #FFFFFF;
|
||||||
|
Loading…
Reference in New Issue
Block a user