ソースを参照

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
     }