diff --git a/ruoyi-ui/src/views/basecar/car/index.vue b/ruoyi-ui/src/views/basecar/car/index.vue index e9b021f..62793ff 100644 --- a/ruoyi-ui/src/views/basecar/car/index.vue +++ b/ruoyi-ui/src/views/basecar/car/index.vue @@ -182,6 +182,7 @@ import { import {useI18n} from 'vue-i18n'; import Cookies from "js-cookie"; +import {parseTime} from "@/utils/ruoyi"; const {t} = useI18n(); @@ -309,7 +310,8 @@ const bindSearch = () => { const bindOk = () => { let params = { deviceId: bindValue.value, - id: waitBind.value + id: waitBind.value, + deviceBindTime:parseTime(new Date(), '{y}-{m}-{d}') } updateBaseCar(params).then(() => { bindValue.value = '';