Commit 17f582c0 authored by youjie's avatar youjie

no message

parent cb6e7cbe
......@@ -10,14 +10,16 @@
flat
/>
</div>
<template v-if="p&&p.startDate">
<div class="text-grey-6 f12 q-my-md">選擇門票類型</div>
<div class="row wrap">
<div v-for="(x,i) in dataList.TicketList" :key="i">
<q-chip size="14px" clickable @click="handleSelect(x,1)"
<q-chip v-if="x.originalB2CPrice>0" size="14px" clickable @click="handleSelect(x,1)"
:text-color="x.checked?'white':'dark'"
:color="x.checked?'primary':'grey-3'" square>{{ x.TicketName }}</q-chip>
</div>
</div>
</template>
<div class="text-grey-6 f12 q-my-md">選擇取票方式</div>
<div class="row no-wrap">
<div v-for="(x,i) in takeList" :key="i">
......@@ -37,13 +39,13 @@
</div>
<div v-if="$q.platform.is.mobile">
<span class="text-grey-7 product-price" style="font-size: 13px">
CNY {{ moneyFormat(x.originalB2CPrice, 0) }} /每
CNY {{ moneyFormat(x.originalB2CPrice, 0) }} /每
</span>
</div>
</div>
<div class="row items-end" v-if="x.checked">
<span v-if="$q.platform.is.desktop" class="text-grey-7 product-price" style="font-size: 13px">
CNY {{ moneyFormat(x.originalB2CPrice, 0) }} /每
CNY {{ moneyFormat(x.originalB2CPrice, 0) }} /每
</span>
<q-input
style="width: 150px"
......@@ -135,6 +137,7 @@ export default {
x.originalB2CPrice=y.Price
}
})
x.Count = 60
})
this.calcMoney()
......@@ -180,7 +183,7 @@ export default {
MailingMoney: this.p.MailingMoney,
originalB2CPrice: this.p.originalB2CPrice,
sumPrice: this.sumPrice,
TicketList: this.dataList.TicketList
TicketList: this.dataList.TicketList.filter(x=>x.checked)
}
let key = this.$md5(JSON.stringify(order))
let pickuporderScenTickets = localStorage.getItem('pickuporderScenTickets')
......
......@@ -170,7 +170,7 @@
standout
v-model="parameters.Mobile"
label="電話"
:rules="[(val) => !!val && val.length == 11 || '請輸正確電話']"
:rules="[(val) => !!val || '請輸正確電話']"
ref="Mobile"
mask="#"
reverse-fill-mask
......
This diff is collapsed.
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