瀏覽代碼

处方审核 医嘱字段修改 prescription.remark -> prescription.entrust

cc12458 1 年之前
父節點
當前提交
38788f8302
共有 1 個文件被更改,包括 7 次插入5 次删除
  1. 7 5
      src/views/rescription/prescriptionCore/edit.vue

+ 7 - 5
src/views/rescription/prescriptionCore/edit.vue

@@ -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>