Commit 70c6cf01 authored by youjie's avatar youjie

no message

parent 990bacef
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<q-separator color="grey-3" class="q-my-sm" /> <q-separator color="grey-3" class="q-my-sm" />
<div class=" q-pt-md" <div class=" q-pt-md"
:class="[$q.platform.is.desktop?'q-px-lg':'q-px-md']"> :class="[$q.platform.is.desktop?'q-px-lg':'q-px-md']">
<q-field clearable @clear="activeMonths=0" v-model="queryTime" <q-field clearable @clear="activeMonths=0,getList()" v-model="queryTime"
label="时间选择" standout class="col-2" style="width: 190px" dense> label="时间选择" standout class="col-2" style="width: 190px" dense>
<div class="self-center full-width no-outline" tabindex="0">{{ queryTime }}</div> <div class="self-center full-width no-outline" tabindex="0">{{ queryTime }}</div>
<q-separator color="grey-3" class="q-my-sm" /> <q-separator color="grey-3" class="q-my-sm" />
...@@ -90,8 +90,8 @@ ...@@ -90,8 +90,8 @@
data.chineseMonth = useHotel.getMonthType() data.chineseMonth = useHotel.getMonthType()
const methods = { const methods = {
dateRangeHandler() { dateRangeHandler() {
if(qDateProxy.value) qDateProxy.value.hide()
data.queryTime = `${date.formatDate(timeStamp, 'YYYY')}/${data.activeMonths>10?data.activeMonths:'0'+data.activeMonths}` data.queryTime = `${date.formatDate(timeStamp, 'YYYY')}/${data.activeMonths>10?data.activeMonths:'0'+data.activeMonths}`
qDateProxy.value.hide()
methods.getList() methods.getList()
}, },
......
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