liyongli 1 天之前
父節點
當前提交
edc3bfbc3d
共有 2 個文件被更改,包括 8 次插入0 次删除
  1. 4 0
      src/view/fenghui/form1Recurrence.vue
  2. 4 0
      src/view/fenghui/formRecurrence.vue

+ 4 - 0
src/view/fenghui/form1Recurrence.vue

@@ -511,6 +511,10 @@ const initFormData = () => {
     if (!formData.active2) {
         formData.active2 = []
     }
+    const isactive2 = subData.active2 === '是'
+    const isactive3 = subData.active3 === '是'
+    const isactive7 = subData.active7 === '是'
+    if(!isactive2 && !isactive3 && !isactive7 ) selectunde.value = true;
     for (let i = 0; i < keys.length; i++) {
         const key = keys[i];
         if (key === 'photo') {

+ 4 - 0
src/view/fenghui/formRecurrence.vue

@@ -533,6 +533,10 @@ const initFormData = () => {
     if (!formData.active2) {
         formData.active2 = []
     }
+    const isactive2 = subData.active2 === '是'
+    const isactive3 = subData.active3 === '是'
+    const isactive7 = subData.active7 === '是'
+    if(!isactive2 && !isactive3 && !isactive7 ) selectunde.value = true;
     for (let i = 0; i < keys.length; i++) {
         const key = keys[i];
         if (key === 'photo') {