Ver Fonte

提交代码

Lijy há 6 dias atrás
pai
commit
acef2fdf17

+ 3 - 0
fhKeeper/formulahousekeeper/timesheet_h5/src/views/edit/index.vue

@@ -2439,6 +2439,9 @@ export default {
             if (value) {
                 this.form.domains[this.clickIndex].extraField4 = value
             }
+            if(!value) {
+                this.form.domains[this.clickIndex].extraField5 = ''
+            }
             this.form.domains[this.clickIndex].showPickerExtraField4 = false;
             this.$forceUpdate();
         },

+ 3 - 0
fhKeeper/formulahousekeeper/timesheet_h5/src/views/edit/weekEdit.vue

@@ -1875,6 +1875,9 @@
                 if (value) {
                     this.currentForm.domains[this.clickIndex].extraField4 = value
                 }
+                if(!value) {
+                    this.currentForm.domains[this.clickIndex].extraField5 = ''
+                }
                 this.currentForm.domains[this.clickIndex].showPickerExtraField4 = false;
                 this.$forceUpdate();
             },