|
@@ -2701,6 +2701,8 @@ export default {
|
|
|
let res = await getSelectType(data);
|
|
let res = await getSelectType(data);
|
|
|
|
|
|
|
|
if (data == "中药药品用法") {
|
|
if (data == "中药药品用法") {
|
|
|
|
|
+ this.usageList = res.Data;
|
|
|
|
|
+ if (!this.recipe_tabs[this.recipe_tabs_c].totalTableD[index]) return;
|
|
|
if (this.recipe_tabs[this.recipe_tabs_c].totalTableD[index]["usage"]) {
|
|
if (this.recipe_tabs[this.recipe_tabs_c].totalTableD[index]["usage"]) {
|
|
|
// res.Data.forEach(item => {
|
|
// res.Data.forEach(item => {
|
|
|
// if (
|
|
// if (
|
|
@@ -2717,7 +2719,6 @@ export default {
|
|
|
}
|
|
}
|
|
|
this.recipe_tabs[this.recipe_tabs_c].totalTableD[index].usageList =
|
|
this.recipe_tabs[this.recipe_tabs_c].totalTableD[index].usageList =
|
|
|
res.Data;
|
|
res.Data;
|
|
|
- this.usageList = res.Data;
|
|
|
|
|
} else if (data == "剂型") {
|
|
} else if (data == "剂型") {
|
|
|
this.recipe_tabs[this.recipe_tabs_c].bottom_form.doseTypeList =
|
|
this.recipe_tabs[this.recipe_tabs_c].bottom_form.doseTypeList =
|
|
|
res.Data;
|
|
res.Data;
|