Browse Source

0427lhj1628

liuhj 1 year ago
parent
commit
f1f91e2de7
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/components/statistics/Reportstbale.vue

+ 4 - 1
src/components/statistics/Reportstbale.vue

@@ -1091,9 +1091,12 @@ export default {
         TableRowStyle({ row, rowIndex }) {
             // 注意,这里返回的是一个对象
             let rowBackground = {};
-            if (row.isPay==0) {
+            if (row.isPay==1) {
                 rowBackground.background = "#f0f9ff";
                 return rowBackground;
+            }else{
+                rowBackground.background = "#FFFFFF";
+                return rowBackground;
             }
         },
         // 为了计算距离顶部的高度,当高度大于60显示回顶部图标,小于60则隐藏