yusheng преди 1 месец
родител
ревизия
346493648d
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/views/recordComponents/programRulesDialog.vue

+ 1 - 1
src/views/recordComponents/programRulesDialog.vue

@@ -1306,7 +1306,7 @@
         this.currentRow = row;
         this.currentIndex = index;
         if (type=='substanceName') {
-          if(  this.addForm.deviceId){
+          if( !this.addForm.deviceId){
             this.$message.error('请选择主设备!')
             return
           }