Ver código fonte

开方: 处方保存时保留 preId

cc12458 5 meses atrás
pai
commit
dc3041ed7c
1 arquivos alterados com 3 adições e 3 exclusões
  1. 3 3
      src/views/diagnosis/Prescribing.vue

+ 3 - 3
src/views/diagnosis/Prescribing.vue

@@ -1874,7 +1874,7 @@ export default {
           usestr: item.bottom_form.usege, //处方用法
           zhongdetail: [], // 中药明细 表格内部数据
           // preId: this.$route.query.recipeID ? this.$route.query.recipeID : ""
-          preId: item.preId ? item.pageId : ""
+          preId: item.preId || "",
         };
         console.log("保存值", obj.isdelivery)
         item.totalTableD.forEach(item1 => {
@@ -1978,7 +1978,7 @@ export default {
         type: 1,
         chengDetail: [],
         // preId: this.$route.query.recipeID ? this.$route.query.recipeID : ""
-        preId: data1.preId ? data1.pageId : ""
+        preId: data1.preId || "",
       };
 
       data1.tableData3.forEach(item => {
@@ -2062,7 +2062,7 @@ export default {
         type: 2,
         useexplain: data1.bottom_form.caozuo,
         // preId: this.$route.query.recipeID ? this.$route.query.recipeID : "",
-        preId: data1.preId ? data1.pageId : "",
+        preId: data1.preId || "",
         detail: []
       };