|
|
@@ -141,8 +141,10 @@ export default {
|
|
|
getSchemeList().then((response) => {this.schemeOptions = response.rows;});
|
|
|
},
|
|
|
mounted() {
|
|
|
- const rect = this.$el.getBoundingClientRect();
|
|
|
- this.tableHeight = rect.height - /* 内边距 */ 12 * 2 - /* 协定方 */ 32 - /* 表尾 */ (20 + 12 * 2) - /* 拒绝原因 */ (this.isCheck ? 54 + 12 : 0) - /* 底部按钮 */ (36 + 12);
|
|
|
+ setTimeout(() => {
|
|
|
+ const rect = this.$el.getBoundingClientRect();
|
|
|
+ this.tableHeight = rect.height - /* 内边距 */ 12 * 2 - /* 协定方 */ 32 - /* 表尾 */ (20 + 12 * 2) - /* 拒绝原因 */ (this.isCheck ? 54 + 12 : 0) - /* 底部按钮 */ (36 + 12);
|
|
|
+ }, 200);
|
|
|
},
|
|
|
methods: {
|
|
|
async load() {
|
|
|
@@ -191,7 +193,7 @@ export default {
|
|
|
/* 20 浓煎量 */ prescription_concentration: '',
|
|
|
/* 21 服药频次 */ prescription_frequency: '',
|
|
|
/* 22 服药时间 */ prescription_medicationTime: '',
|
|
|
- /* 23 医嘱 */ prescription_remark: '',
|
|
|
+ /* 23 医嘱 */ prescription_entrust: '',
|
|
|
/* 24 代煎 */ isBehalf: '',
|
|
|
/* 24 配送 */ takingMethod: '',
|
|
|
|
|
|
@@ -556,8 +558,8 @@ export default {
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="showPharmacy ? 16 : 24">
|
|
|
- <el-form-item label-width="3em" label="医嘱" prop="prescription_remark">
|
|
|
- <el-input v-model="model.prescription_remark" placeholder="请输入医嘱"/>
|
|
|
+ <el-form-item label-width="3em" label="医嘱" prop="prescription_entrust">
|
|
|
+ <el-input v-model="model.prescription_entrust" placeholder="请输入医嘱"/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|