Commit 3365aa48 authored by youjie's avatar youjie

no message

parent 12342918
...@@ -113,7 +113,8 @@ ...@@ -113,7 +113,8 @@
watch: { watch: {
priceList: { priceList: {
handler(newVal, oldValue) { handler(newVal, oldValue) {
this.prices = newVal; this.prices = JSON.parse(JSON.stringify(newVal));
this.$forceUpdate();
this.init(); this.init();
}, },
deep: true, // 深度监听 deep: true, // 深度监听
......
...@@ -151,12 +151,6 @@ ...@@ -151,12 +151,6 @@
square square
icon="iconfont icontime" icon="iconfont icontime"
label="行程時間 1 天" /> label="行程時間 1 天" />
<q-chip
class="transparent q-mr-xl no-padding"
square
icon="iconfont iconnetwork-fill"
label="日本語/中文 導覽"
/>
<q-chip <q-chip
class="transparent q-mr-xl no-padding" class="transparent q-mr-xl no-padding"
square square
......
...@@ -445,12 +445,6 @@ ...@@ -445,12 +445,6 @@
square square
icon="iconfont icontime" icon="iconfont icontime"
:label="`住宿時間 ${liveNvm} 晚`" /> :label="`住宿時間 ${liveNvm} 晚`" />
<q-chip
class="transparent q-mr-xl no-padding"
square
icon="iconfont iconnetwork-fill"
label="日本語/中文 導覽"
/>
</div> </div>
</div> </div>
<div <div
...@@ -1008,9 +1002,9 @@ export default { ...@@ -1008,9 +1002,9 @@ export default {
}; };
}, },
watch: { watch: {
days: { SimilarList: {
handler: function (val, oldval) { handler: function (val, oldval) {
this.days = val; this.SimilarList = val;
}, },
immediate: true, immediate: true,
deep: true, deep: true,
...@@ -1530,11 +1524,7 @@ export default { ...@@ -1530,11 +1524,7 @@ export default {
}); });
} else { } else {
this.$q.notify({ this.$message.error(res.data.message);
type: "negative",
message: res.data.message,
position: "top",
});
} }
}, },
...@@ -1550,10 +1540,7 @@ export default { ...@@ -1550,10 +1540,7 @@ export default {
(res) => { (res) => {
this.$q.loading.hide(); this.$q.loading.hide();
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.SimilarList = [] if (Object.prototype.toString.call(res.data.data.roomRateDetails) =="[object Object]"
if (
Object.prototype.toString.call(res.data.data.roomRateDetails) ==
"[object Object]"
) { ) {
this.SimilarList.push(res.data.data.roomRateDetails); this.SimilarList.push(res.data.data.roomRateDetails);
} else { } else {
...@@ -1589,11 +1576,9 @@ export default { ...@@ -1589,11 +1576,9 @@ export default {
}); });
this.JapanIncrease = res.data.data.JapanIncrease; this.JapanIncrease = res.data.data.JapanIncrease;
} else { } else {
this.$q.notify({ this.SimilarList = []
type: "negative", this.$message.error(res.data.message=='No results match your search.'?'當前入住日期未報價,請選擇其他日期看看吧':res.data.message)
message: res.data.message,
position: "top",
});
} }
}, },
......
...@@ -151,12 +151,6 @@ ...@@ -151,12 +151,6 @@
square square
icon="iconfont icontime" icon="iconfont icontime"
:label="`包車時長:${dataList.TravelHours} h`" /> :label="`包車時長:${dataList.TravelHours} h`" />
<q-chip
class="transparent q-mr-xl no-padding"
square
icon="iconfont iconnetwork-fill"
label="日本語/中文 導覽"
/>
<q-chip <q-chip
class="transparent q-mr-xl no-padding" class="transparent q-mr-xl no-padding"
square square
......
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