Browse Source

feat: 放开相等限制

sunxiao 2 weeks ago
parent
commit
5f36311a68
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/views/control/MedicinalView.vue

+ 3 - 2
src/views/control/MedicinalView.vue

@@ -273,7 +273,8 @@ const handleMedicateAmount = () => {
         // isVisibleUpdateInfo.value = true;
       }
       // r1 != updateNum1 &&
-    } else if ( r1 != updateNum1 && dataSourceParams.value.typeOne ) {
+      
+    } else if ( dataSourceParams.value.typeOne ) {
       resultNumberSet.value.updateNum1 = r1;
       isVisibleUpdateInfo.value = true;
       dataSourceParams.value.tdbOne = tdb;
@@ -295,7 +296,7 @@ const handleMedicateAmount = () => {
         // isVisibleUpdateInfo.value = true;
       }
       // 
-    } else if ( r2 != updateNum2 && dataSourceParams.value.typeTwo) {
+    } else if (dataSourceParams.value.typeTwo) {
       resultNumberSet.value.updateNum2 = r2;
       isVisibleUpdateInfo.value = true;
       dataSourceParams.value.tdbTwo = tdb;