chenrui 2 mesiacov pred
rodič
commit
0dc2493cd8

+ 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
     }
   },