chenrui il y a 2 ans
Parent
commit
89c8fe1a20
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/views/chainReportData/chainSalesDetailReport/list.vue

+ 1 - 1
src/views/chainReportData/chainSalesDetailReport/list.vue

@@ -278,7 +278,7 @@ export default {
       ]
       if (this.$hasPermissions('M_ShowAllCost')) {
         arr.splice(8, 0, { title: '成本', dataIndex: 'totalCost', width: '5%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } })
-        arr.splice(12, 0, { title: '毛利', dataIndex: 'totalProfit', width: '5%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } })
+        arr.splice(12, 0, { title: '毛利', dataIndex: 'grossProfit', width: '5%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } })
       }
       return arr
     }