Commit 34b21bdf authored by youjie's avatar youjie

no message

parent 7913cbf4
......@@ -295,7 +295,6 @@
},
// 排序方式
chosenSortHandler(i) {
console.log(i,'----')
if(data.orderindex==i){
data.ordertype=data.ordertype==0?1:0
}else{
......
......@@ -688,10 +688,9 @@
search.msg.companyId = data.city
// localStorage.setItem('site', data.city)
// localStorage.setItem('cityId', item.cityId)
methods.changeChosenHandler(item,x)
methods.changeChosenHandler(item)
}
})
if(!state) {
state = true;
data.city = data.sites[0].SubList[0].companyId;
......
......@@ -17,8 +17,10 @@
<div :style="{'width':$q.platform.is.desktop?'150px':'100%'}">
<q-img class="rounded-borders" :style="{'width':$q.platform.is.desktop?'150px':'100%'}" :ratio="16 / 9" src="http://imgfile.oytour.com/Upload/DMC/yEiRE8pRWE5ZF8cPNRnAiQST8WbyaGQc.jpg" spinner-color="grey" spinner-size="50px" fit="cover"/>
</div>
<div class="column" :class="{'q-pl-lg':$q.platform.is.desktop,'q-pt-sm':$q.platform.is.mobile}">
<span class="text-subtitle1 text-weight-bolder ellipsis cursor-pointer" >{{x.title}}</span>
<div class="column col" :class="{'q-pl-lg':$q.platform.is.desktop,'q-pt-sm':$q.platform.is.mobile}">
<div class="ellipsis" style="overflow: hidden;width: 100%;">
<span class="text-subtitle1 text-weight-bolder" >{{x.title}}</span>
</div>
<span class="f12 text-grey-700 ellipsis q-py-sm">{{x.ltName}}</span>
<span class="f13 text-grey-700">{{$t('v103.scheduledTripOrder.number')}}:{{x.tcid}} ( <span class="text-red">{{ x.guestNum }} </span>{{$t('v103.scheduledTripOrder.passenger')}} ) </span>
</div>
......
......@@ -242,6 +242,7 @@
</template>
<script lang="ts">
import Store from '../../store'
import { useRouter } from 'vue-router'
import { ApiResult } from 'src/@types/enumHelper'
import scheduledTripService from '../../api/scheduledTrip'
......@@ -365,6 +366,12 @@ export default defineComponent({
},
// 获取用户信息
getB2BSellByCustomerId(){
let CustomerId
if (Store.state && Store.state.user?.userDetail) {
CustomerId = Store.state.user?.userDetail?.customerId
}
console.log(CustomerId,'-----')
scheduledTripService.GetCustomerSummary({})
.then(r => {
if (r.data.resultCode == ApiResult.SUCCESS) {
......@@ -477,7 +484,7 @@ export default defineComponent({
data.parameters ={
OrderId:0,
TCID: data.msg.tcid,//产品tcid
CustomerType: data.customer.gradeLevel,//客户等级
CustomerType: 2,//客户等级 data.customer.gradeLevel
GroupType:1,
ContactName: data.customer.customerName,//客户昵称
ContactMobile: data.customer.contactNumber,//客户电话
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment