ezhizao_zx 1 gadu atpakaļ
vecāks
revīzija
d88b827fe0
1 mainītis faili ar 12 papildinājumiem un 12 dzēšanām
  1. 12 12
      src/views/business/production/keepAccount/index.vue

+ 12 - 12
src/views/business/production/keepAccount/index.vue

@@ -451,20 +451,20 @@ function nextYear() {
 function monthStatusStyle(row, month) {
   const index = row.details.findIndex((v) => v.month === month);
   if (index >= 0) {
-    pageSize: 20
-    backgroundColor: getStatusColor(row.details[index].status),
+    return {
+      backgroundColor: getStatusColor(row.details[index].status),
       verticalAlign: "middle",
-        width: "14px",
-          height: "14px",
+      width: "14px",
+      height: "14px",
     };
-} else {
-  return {
-    backgroundColor: getStatusColor(0),
-    verticalAlign: "middle",
-    width: "14px",
-    height: "14px",
-  };
-}
+  } else {
+    return {
+      backgroundColor: getStatusColor(0),
+      verticalAlign: "middle",
+      width: "14px",
+      height: "14px",
+    };
+  }
 }
 
 function getStatusColor(status) {