Browse Source

病案提交打印排版

‘chenzhilei’ 1 week ago
parent
commit
c2f1b37fec
1 changed files with 2 additions and 2 deletions
  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 = () => {
 const surgeryListLength = () => {
   for (let index = 0; index < props.patient.surgeryList.length; index++) {
   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) {
       if (index < 5) {
         return 5
         return 5
       } else {
       } else {
-        return index+1
+        return index
       }
       }
     }
     }