|
@@ -462,10 +462,6 @@ export default {
|
|
|
item.showSign = true;
|
|
item.showSign = true;
|
|
|
item.recipeType = 1;
|
|
item.recipeType = 1;
|
|
|
this.recipes.push(item);
|
|
this.recipes.push(item);
|
|
|
-
|
|
|
|
|
- if (index == 0) {
|
|
|
|
|
- this.getSvaeMed(item);
|
|
|
|
|
- }
|
|
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
// 中药制剂
|
|
// 中药制剂
|
|
@@ -536,34 +532,6 @@ export default {
|
|
|
this.recipeItem = item;
|
|
this.recipeItem = item;
|
|
|
|
|
|
|
|
this.$refs.chineseM.showSign = !item.showSign;
|
|
this.$refs.chineseM.showSign = !item.showSign;
|
|
|
-
|
|
|
|
|
- this.getSvaeMed(item);
|
|
|
|
|
- },
|
|
|
|
|
-
|
|
|
|
|
- // 获取安全合理用药信息
|
|
|
|
|
- getSvaeMed(data) {
|
|
|
|
|
- let father = this.$parent;
|
|
|
|
|
- data.prescriptiondetails.forEach(item1 => {
|
|
|
|
|
- if (item1.drugid.indexOf("-") != -1) {
|
|
|
|
|
- father.getRationalMed(item1.drugid);
|
|
|
|
|
- } else {
|
|
|
|
|
- father.getRationalMedForPlat(item1.drugid);
|
|
|
|
|
- }
|
|
|
|
|
- });
|
|
|
|
|
-
|
|
|
|
|
- setTimeout(() => {
|
|
|
|
|
- this.rationalMed = this.$parent.rationalMed;
|
|
|
|
|
- this.rationalMed1 = this.$parent.rationalMed1;
|
|
|
|
|
- this.rationalMed2 = this.$parent.rationalMed2;
|
|
|
|
|
- this.rationalMed3 = this.$parent.rationalMed3;
|
|
|
|
|
- this.rationalMed4 = this.$parent.rationalMed4;
|
|
|
|
|
- this.rationalMed5 = this.$parent.rationalMed5;
|
|
|
|
|
- this.rationalMed6 = this.$parent.rationalMed6;
|
|
|
|
|
- this.rationalMed7 = this.$parent.rationalMed7;
|
|
|
|
|
- this.rationalMed8 = this.$parent.rationalMed8;
|
|
|
|
|
- this.rationalMed9 = this.$parent.rationalMed9;
|
|
|
|
|
- this.rationalMed10 = this.$parent.rationalMed10;
|
|
|
|
|
- }, 200);
|
|
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
// 同时删除 缓存内保存的 提交数据
|
|
// 同时删除 缓存内保存的 提交数据
|