ezhizao_zx před 1 rokem
rodič
revize
d88b827fe0
1 změnil soubory, kde provedl 12 přidání a 12 odebrání
  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) {