소스 검색

开方: 处方保存时保留 preId

cc12458 5 달 전
부모
커밋
dc3041ed7c
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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: []
       };