Commit 8b406ca1 authored by youjie's avatar youjie

no message

parent 63e82739
......@@ -227,7 +227,7 @@ export default defineComponent({
data.msg.CouponsId = currentRouter.currentRoute.value.params.ticketId
// date.formatDate(date.addToDate(new Date(), { days: 1 }), 'MM月DD日 ddd')
data.msg.UseDate = date.formatDate(date.addToDate(new Date(), { days: 1 }), 'YYYY/MM/DD')
data.msg.UseDate = date.formatDate(date.addToDate(new Date(), { days: 0 }), 'YYYY/MM/DD')
const menu = inject(DirtionmaryHelper.MENU_KEYS) as any
menu.value = 8
......@@ -313,7 +313,7 @@ export default defineComponent({
data.showDetails = true
},
optionsFn(cd: any) {
return cd > date.formatDate(new Date(), 'YYYY/MM/DD')
return cd >= date.formatDate(date.addToDate(new Date(), { days: 0 }), 'YYYY/MM/DD')
},
changeDetailListHandler(e: any) {
if (e.checked) {
......
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