Browse Source

修改bug

chenrui 2 năm trước cách đây
mục cha
commit
25e6eccae4

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