Commit 4fcf6f31 authored by youjie's avatar youjie

no message

parent 645fe747
......@@ -160,18 +160,24 @@ export default {
},
(r) => {
if (r.data.resultCode == 1) {
let arr = []
r.data.data.forEach(x=>{
x.startDate = x.Date
x.originalB2CPrice = x.Price
x.remainNum =1
x.Count = 1
x.isSupportChildren = 1
x.safeMoney = 0
if(this.chosenObj.startDate==x.startDate){
this.p.originalB2CPrice = x.Price
if(x.Price){
if(this.chosenObj.startDate==x.startDate){
this.p.originalB2CPrice = x.Price
}
let dataObj = {
startDate: x.Date,
originalB2CPrice: x.Price,
remainNum: 1,
Count: 1,
isSupportChildren: 1,
safeMoney: 0,
}
arr.push(dataObj)
}
})
this.$emit('getPriceList',JSON.stringify(r.data.data),this.selectedCar)
this.$emit('getPriceList',JSON.stringify(arr),this.selectedCar)
}
},null)
......
......@@ -190,6 +190,7 @@
tcid: 0,
teamType: 0,
isGetPriceFlight: true,
pType: 1,//类型 1 来源B2C
},
isShow: false,
dataList: {},
......
......@@ -439,6 +439,25 @@
'q-px-md': $q.screen.width < 1220 && $q.platform.is.mobile,
}"
></div>
<div
id="boardingAddress"
class="text-h5 text-weight-bold text-left q-mt-xl"
ref="boardingAddress"
:class="{
'q-px-md': $q.screen.width < 1220 && $q.platform.is.mobile,
}"
>
上車地址
</div>
<div
class="q-mt-lg trip-text bg-orange-1 q-pa-md rounded-borders q-mb-xl"
style="border: 1px dashed var(--q-color-warning)"
:class="{
'q-mx-md': $q.screen.width < 1220 && $q.platform.is.mobile,
}"
>
4541545654
</div>
<div
id="warning"
class="text-h5 text-weight-bold text-left q-mt-xl"
......@@ -631,13 +650,13 @@ export default {
id: "#boardingAddress",
top: 0,
isActive: false,
display: "上地址",
display: "上地址",
},
{
id: "#dropoffaddress",
top: 0,
isActive: false,
display: "下地址",
display: "下地址",
},
{
id: "#tips",
......@@ -862,15 +881,21 @@ export default {
},
(r) => {
if (r.data.resultCode == 1) {
let arr = []
r.data.data.forEach(x=>{
x.startDate = x.Date
x.originalB2CPrice = x.Price
x.remainNum = 1
x.Count = 1
x.isSupportChildren = 1
x.safeMoney = 0
if(x.Price){
let dataObj = {
startDate: x.Date,
originalB2CPrice: x.Price,
remainNum: 1,
Count: 1,
isSupportChildren: 1,
safeMoney: 0,
}
arr.push(dataObj)
}
})
this.priceList = JSON.parse(JSON.stringify(r.data.data))
this.priceList = JSON.parse(JSON.stringify(arr))
}
},null)
......
......@@ -621,6 +621,7 @@ export default {
tcid: 0,
teamType: 0,
isGetPriceFlight: true,
pType: 1,//类型 1 来源B2C
},
currentPrice: {},
isShow: false,
......
......@@ -1275,7 +1275,8 @@
//请求参数
msg: {
ID: 0,
tcid: 0
tcid: 0,
pType: 1,//类型 1 来源B2C
},
dataList: {},
scrollobj: null,
......
......@@ -1010,7 +1010,8 @@
ID: 0,
tcid: 0,
isDes:0,
NewId:''
NewId:'',
pType: 1,//类型 1 来源B2C
},
showMapType:0,
dataList: {},
......
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