浏览代码

病案提交打印排版

‘chenzhilei’ 2 月之前
父节点
当前提交
c2f1b37fec
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/components/inpatient/frontsheet-printpage/TailPage.vue

+ 2 - 2
src/components/inpatient/frontsheet-printpage/TailPage.vue

@@ -839,11 +839,11 @@ const initIcuInfoListName = (n) => {
 };
 const surgeryListLength = () => {
   for (let index = 0; index < props.patient.surgeryList.length; index++) {
-    if (props.patient.surgeryList.name == null || props.patient.surgeryList.name == "-") {
+    if (props.patient.surgeryList[index].name == null || props.patient.surgeryList[index].name == "-") {
       if (index < 5) {
         return 5
       } else {
-        return index+1
+        return index
       }
     }