Commit 4fcf6f31 authored by youjie's avatar youjie

no message

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