ZaiZai 2 settimane fa
parent
commit
0d1e711a46
1 ha cambiato i file con 11 aggiunte e 0 eliminazioni
  1. 11 0
      src/views/project/list/edit-formula.vue

+ 11 - 0
src/views/project/list/edit-formula.vue

@@ -1068,6 +1068,9 @@ const submitClick = async () => {
     if (isResetFun.value) {
         //重置函数
         setProcessFormula()
+    } else if (deviationRangeShow.value) {
+        //允许偏差值范围
+        console.log('1111')
     }
 }
 
@@ -1077,6 +1080,12 @@ const drawerClose = () => {
         //重置函数
         isResetFun.value = false
         isScrollBar.value = true
+        curRangeFocusIndex.value = 0
+    } else if (deviationRangeShow.value) {
+        //允许偏差值范围
+        deviationRangeShow.value = false
+        isRangeSelectEle.value = false
+        curRangeFocusIndex.value = 0
     } else {
         isShow.value = false
         //重置元素
@@ -1087,6 +1096,8 @@ const drawerClose = () => {
         curRangeFocusIndex.value = 0
         //选择的元素
         selectEleFormula.value = []
+        selectEleFormula3.value = []
+        selectEleFormula4.value = []
         emit('close')
     }
 }