瀏覽代碼

修改bug

chenrui 2 月之前
父節點
當前提交
0dc2493cd8
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/views/reportData/productRebateReport/detailList.vue

+ 3 - 0
src/views/reportData/productRebateReport/detailList.vue

@@ -217,6 +217,9 @@ export default {
         { title: '原总开单金额', dataIndex: 'totalAmountOrig', width: '90px', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
         { title: '原总实售金额', dataIndex: 'totalRealAmountOrig', width: '90px', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } }
       ]
+      if(_this.$hasPermissions('M_productRebateReportList_costPrice')){
+        arr.push({ title: '实际总成本', dataIndex: 'totalCost', width: '90px', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } })
+      }
       return arr
     }
   },