Commit dc9e06fd authored by youjie's avatar youjie

详情 价格计算

parent 8b93cbc5
...@@ -360,6 +360,8 @@ ...@@ -360,6 +360,8 @@
class="f12 rounded-borders text-secondary" class="f12 rounded-borders text-secondary"
:label="x.ltName" :label="x.ltName"
/> />
<span class="col"></span>
<span>出发地:{{x.startCityName}}</span>
</div> </div>
<div <div
class="text-subtitle2 text-grey text-weight-regular ellipsis-2-lines" class="text-subtitle2 text-grey text-weight-regular ellipsis-2-lines"
...@@ -392,7 +394,9 @@ ...@@ -392,7 +394,9 @@
<q-badge outline color="secondary" :label="x.startDateList[0]" /> <q-badge outline color="secondary" :label="x.startDateList[0]" />
</template> </template>
</template> </template>
</div> </div>
</div> </div>
<div class="row items-end" @click="GotoDetails(x)"> <div class="row items-end" @click="GotoDetails(x)">
<div class="col f12"> <div class="col f12">
......
...@@ -1134,6 +1134,10 @@ export default { ...@@ -1134,6 +1134,10 @@ export default {
changeChosenDateHandler(val) { changeChosenDateHandler(val) {
val.price.version = new Date().getTime(); val.price.version = new Date().getTime();
this.currentPrice = JSON.parse(JSON.stringify(val.price)); this.currentPrice = JSON.parse(JSON.stringify(val.price));
this.currentPrice.unionCityList.splice(0, 0, {
cityId: this.dataList.startCityId,
cityName: this.dataList.startCityName,
});
this.currentPrice.RealPrice = this.currentPrice.RealPrice this.currentPrice.RealPrice = this.currentPrice.RealPrice
? this.currentPrice.RealPrice ? this.currentPrice.RealPrice
: this.currentPrice.originalB2CPrice; : this.currentPrice.originalB2CPrice;
......
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