Преглед изворни кода

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

cyy пре 1 година
родитељ
комит
463d306713
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      src/views/business/registrationOutsiders/checkOut.vue

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

@@ -62,7 +62,8 @@ export default {
             endPickerOptions: {
                 disabledDate (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) {
                         const start = new Date(startTime)