chenrui %!s(int64=2) %!d(string=hai) anos
pai
achega
89c8fe1a20
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
     }