diff --git a/src/views/Pricesystem/ListOfPriceSystems.vue b/src/views/Pricesystem/ListOfPriceSystems.vue index c268b3f1..6e0894c5 100644 --- a/src/views/Pricesystem/ListOfPriceSystems.vue +++ b/src/views/Pricesystem/ListOfPriceSystems.vue @@ -117,7 +117,6 @@ > - + { dialogTemp.value = true; }; /** 生效时间 -- 生效时间不能大于到期时间 */ -// const time1 = time => { -// if (!details.form.expiryTime) return false; -// return time.getTime() > new Date(details.form.expiryTime).getTime(); -// }; +const time1 = time => { + if (!details.form.expiryTime) return false; + return time.getTime() > new Date(details.form.expiryTime).getTime(); +}; /** 到期时间 -- 到期时间不能小于生效时间 */ const time2 = time => {