|
@@ -153,6 +153,7 @@ export default {
|
|
|
this.openAddress()
|
|
this.openAddress()
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
|
|
+ setUpdateDp(){/* 将模态框的值同步到处方数据 bottom_form */},
|
|
|
openAddress() {
|
|
openAddress() {
|
|
|
clearTimeout(hack_openAddress_true);
|
|
clearTimeout(hack_openAddress_true);
|
|
|
if (!this.isShowPs) this.isPs = 1;
|
|
if (!this.isShowPs) this.isPs = 1;
|
|
@@ -175,11 +176,16 @@ export default {
|
|
|
const isPs = child.recipe_tabs[child.recipe_tabs_c].bottom_form.radio
|
|
const isPs = child.recipe_tabs[child.recipe_tabs_c].bottom_form.radio
|
|
|
if (isPs != null) this.isPs = isPs;
|
|
if (isPs != null) this.isPs = isPs;
|
|
|
if (isDaiJian != null) this.isDaiJian = isDaiJian;
|
|
if (isDaiJian != null) this.isDaiJian = isDaiJian;
|
|
|
|
|
+ this.setUpdateDp = (/* 模态框选择的值 */ model) => {
|
|
|
|
|
+ child.recipe_tabs[child.recipe_tabs_c].bottom_form.isDaiJian = model.isDaiJian
|
|
|
|
|
+ child.recipe_tabs[child.recipe_tabs_c].bottom_form.radio = model.iskD
|
|
|
|
|
+ }
|
|
|
}, 200)
|
|
}, 200)
|
|
|
} else {
|
|
} else {
|
|
|
this.showAddress = false;
|
|
this.showAddress = false;
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
+
|
|
|
// 提交地址信息
|
|
// 提交地址信息
|
|
|
submitAddress(cancel) {
|
|
submitAddress(cancel) {
|
|
|
this.showAddress = false;
|
|
this.showAddress = false;
|
|
@@ -187,6 +193,7 @@ export default {
|
|
|
const model = this.$refs.medAdress.form;
|
|
const model = this.$refs.medAdress.form;
|
|
|
this.psChange(model.iskD)
|
|
this.psChange(model.iskD)
|
|
|
this.djChange(model.isDaiJian)
|
|
this.djChange(model.isDaiJian)
|
|
|
|
|
+ this.setUpdateDp(model)
|
|
|
},
|
|
},
|
|
|
// 获取合理安全用药提醒配置
|
|
// 获取合理安全用药提醒配置
|
|
|
async getRationalSafeUse() {
|
|
async getRationalSafeUse() {
|