scorpio пре 2 година
родитељ
комит
66f20a30f6
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/views/home/component/owner_serach.vue

+ 1 - 1
src/views/home/component/owner_serach.vue

@@ -307,7 +307,7 @@ export default {
       if (this.form.isStorage === 0) {
         this.form.planStorageTime = this.time2 === null ? '' : this.time2
         this.form.storageTime = ''
-      } else if (this.form.isStorage === 1) {
+      } else if (this.form.isStorage === 1 && this.time2 !== null) {
         this.form.planStorageTime = ''
         this.form.storageTime = this.time2
       } else {