|
@@ -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
|
}
|