Commit aae332f1 authored by youjie's avatar youjie

no message

parent 81f47640
...@@ -435,6 +435,7 @@ export default defineComponent({ ...@@ -435,6 +435,7 @@ export default defineComponent({
methods.cancelHotelCount() methods.cancelHotelCount()
}, },
optionsFn(cd: any) { optionsFn(cd: any) {
data.tempHotels.key = date.formatDate(date.addToDate(new Date(), { days: 15 }), 'YYYY/MM/DD')
return cd >= date.formatDate(date.addToDate(new Date(), { days: 15 }), 'YYYY/MM/DD') && data.order.DetailList.findIndex((x: any) => x.key == cd) == -1 return cd >= date.formatDate(date.addToDate(new Date(), { days: 15 }), 'YYYY/MM/DD') && data.order.DetailList.findIndex((x: any) => x.key == cd) == -1
}, },
cancelHotelCount() { cancelHotelCount() {
......
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