lilei 3 weeks ago
parent
commit
a92a56e471

+ 4 - 4
src/views/salesManagement/salesQueryNew/comps/activeStatisticsList.vue

@@ -120,13 +120,13 @@ export default {
             return 'table-header-cell-blue'
             return 'table-header-cell-blue'
           }
           }
           if (column.key >= 9 && column.key < 12) {
           if (column.key >= 9 && column.key < 12) {
-            return 'table-header-cell-red'
+            return 'table-header-cell-org'
           }
           }
           if (column.key >= 12 && column.key <= 15) {
           if (column.key >= 12 && column.key <= 15) {
-            return 'table-header-cell-green'
+            return 'table-header-cell-red'
           }
           }
           if (column.key >= 16 && column.key <= 18) {
           if (column.key >= 16 && column.key <= 18) {
-            return 'table-header-cell-org'
+            return 'table-header-cell-green'
           }
           }
           if (column.key >= 19 && column.key <= 21) {
           if (column.key >= 19 && column.key <= 21) {
             return 'table-header-cell-zs'
             return 'table-header-cell-zs'
@@ -589,7 +589,7 @@ export default {
         const gateSelected = isYuan ? item.gateTotalAmount : item.gateQty // 已选
         const gateSelected = isYuan ? item.gateTotalAmount : item.gateQty // 已选
         const gateTotal = isYuan ? item.gateBorrowAmount : item.gateBorrowQty // 累计
         const gateTotal = isYuan ? item.gateBorrowAmount : item.gateBorrowQty // 累计
         const gateQuota = isYuan ? item.gateQuotaAmount : item.gateQuotaQty // 配额
         const gateQuota = isYuan ? item.gateQuotaAmount : item.gateQuotaQty // 配额
-        const unUseGateQuota = isYuan ? item.unUseAmount : item.unUseQty // 未用配额
+        const unUseGateQuota = isYuan ? Number(item.unUseAmount) : item.unUseAmount // 未用配额
         const geteBalance = item.gateShortfallValue // 差额
         const geteBalance = item.gateShortfallValue // 差额
         // 特价产品
         // 特价产品
         const isYuan2 = item.gateRuleUnit == 'YUAN'
         const isYuan2 = item.gateRuleUnit == 'YUAN'