Ver Fonte

修改bug

chenrui há 1 ano atrás
pai
commit
6ce7f87eb9
1 ficheiros alterados com 5 adições e 0 exclusões
  1. 5 0
      src/views/reportData/productRebateReport/dealerList.vue

+ 5 - 0
src/views/reportData/productRebateReport/dealerList.vue

@@ -183,6 +183,11 @@ export default {
             const no = (data.pageNo - 1) * data.pageSize
             for (var i = 0; i < data.list.length; i++) {
               data.list[i].no = no + i + 1
+              if (data.list[i].rebateParentTypeDictValue && data.list[i].rebateParentTypeDictValue != '直接上级') {
+                data.list[i].totalAmount = undefined
+                data.list[i].totalRealAmount = undefined
+                data.list[i].directRebateAmount = undefined
+              }
             }
             this.disabled = false
           }