Przeglądaj źródła

外来人员签出时间范围修改

cyy 10 miesięcy temu
rodzic
commit
463d306713

+ 2 - 1
src/views/business/registrationOutsiders/checkOut.vue

@@ -62,7 +62,8 @@ export default {
             endPickerOptions: {
             endPickerOptions: {
                 disabledDate (time) {
                 disabledDate (time) {
                     const t = new Date(time)
                     const t = new Date(time)
-                    const { jin_ru_shi_jian_: startTime } = that.dataList
+                    let { jin_ru_shi_jian_: startTime } = that.dataList
+                    startTime = startTime.slice(0, 10) + ' 00:00'
                     // 禁用当前时间之后和来访时间之前的时间
                     // 禁用当前时间之后和来访时间之前的时间
                     if (startTime) {
                     if (startTime) {
                         const start = new Date(startTime)
                         const start = new Date(startTime)