Преглед на файлове

Merge branch 'develop' into lmm

seimin преди 5 месеца
родител
ревизия
cfc0881dd3
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      src/app/components/configurationCenter/configuration-drug/configuration-drug.component.ts

+ 2 - 2
src/app/components/configurationCenter/configuration-drug/configuration-drug.component.ts

@@ -175,12 +175,12 @@ export class ConfigurationDrugComponent implements OnInit {
175 175
       return;
176 176
     }
177 177
 
178
-    if(this.activeDictionary.postData.drugsStartCheck[0].checked && !this.activeDictionary.postData.drugsStartCheckScanIds.length){
178
+    if(this.activeDictionary.postData.drugsStartCheck[0].checked && !this.activeDictionary.postData.drugsStartCheckScanIds.filter(v => v.checked).length){
179 179
       this.msg.create("warning", "请选择起点科室的核对方式!");
180 180
       return;
181 181
     }
182 182
 
183
-    if(this.activeDictionary.postData.drugsEndCheck[0].checked && !this.activeDictionary.postData.drugsEndCheckScanIds.length){
183
+    if(this.activeDictionary.postData.drugsEndCheck[0].checked && !this.activeDictionary.postData.drugsEndCheckScanIds.filter(v => v.checked).length){
184 184
       this.msg.create("warning", "请选择终点科室的核对方式!");
185 185
       return;
186 186
     }