lilei 2 년 전
부모
커밋
a40d846f4a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/purchasingManagement/purchaseReturn/list.vue

+ 1 - 1
src/views/purchasingManagement/purchaseReturn/list.vue

@@ -212,7 +212,7 @@ export default {
         { title: '审核状态', dataIndex: 'stateDictValue', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: '9%', align: 'center' }
       ]
-      if (this.$hasPermissions('B_isShowPrice')) { //  售价权限
+      if (this.$hasPermissions('B_isShowCost')) { //  售价权限
         arr.splice(6, 0, { title: '退货金额', dataIndex: 'totalCost', width: '8%', align: 'center', customRender: function (text) { return ((text || text == 0) ? toFixedDecimal(text, 2) : '--') } })
       }
       return arr