|
@@ -705,14 +705,14 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
}
|
|
|
+ //判断护理非开单项里面的附加信息和关联静态知识是否填写
|
|
|
if(this.isStatic&&this.isRedMsg.length>0){
|
|
|
- this.isRedMsg.forEach(item=>{
|
|
|
- if(item){
|
|
|
- return
|
|
|
- }else{
|
|
|
- this.saveRule(paramsCopy);
|
|
|
- }
|
|
|
- })
|
|
|
+ let flag=this.isRedMsg.some(item=>{
|
|
|
+ return item
|
|
|
+ })
|
|
|
+ //都填写了
|
|
|
+ if(!flag) this.saveRule(paramsCopy);
|
|
|
+
|
|
|
}else{
|
|
|
this.saveRule(paramsCopy);
|
|
|
}
|