浏览代码

Merge branch 'develop_yh39' of http://git.chelingzhu.com/jianguan-web/jg-ocs-html into develop_yh39

lilei 1 年之前
父节点
当前提交
f462cc45fb
共有 1 个文件被更改,包括 5 次插入0 次删除
  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
           }