Bläddra i källkod

返乡类型双向联调修正

wgl 4 år sedan
förälder
incheckning
09853e6c07
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      src/projects/business/views/Other/Return/Questionnaire.vue

+ 2 - 2
src/projects/business/views/Other/Return/Questionnaire.vue

@@ -549,7 +549,7 @@
 				handler(newValue, oldValue) {
 					if (newValue == '1') {
 						this.subForm.originId = '100000';
-					} else if (newValue != '') {
+					} else if (newValue != '' && this.subForm.originId == '100000') {
 						this.subForm.originId = '';
 					}
 				},
@@ -560,7 +560,7 @@
 				handler(newValue, oldValue) {
 					if (newValue == '100000') {
 						this.subForm.type = '1';
-					} else if (newValue != '') {
+					} else if (newValue != '' && this.subForm.type == '1') {
 						this.subForm.type = '';
 					}
 				},