浏览代码

修改bug

chenrui 2 年之前
父节点
当前提交
25e6eccae4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/inventoryManagement/inventoryQuery/warehouseDetail.vue

+ 1 - 1
src/views/inventoryManagement/inventoryQuery/warehouseDetail.vue

@@ -215,7 +215,7 @@ export default {
         arr.splice(13, 0, { title: '总成本', dataIndex: 'totalCost', width: '4%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } })
       }
       if (this.$hasPermissions('B_isShowPrice')) { // 售价权限
-        arr.splice(arr.length, 0, { title: '总售价', dataIndex: 'totalPrice', width: '4%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } })
+        arr.splice(arr.length, 0, { title: '总售价', width: '4%', align: 'center', scopedSlots: { customRender: 'totalAmount' } })
       }
       return arr
     }