Pārlūkot izejas kodu

病案提交打印排版

‘chenzhilei’ 1 nedēļu atpakaļ
vecāks
revīzija
c2f1b37fec

+ 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
       }
     }