浏览代码

bug修复

chenrui 3 年之前
父节点
当前提交
c5868e37bc
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 6 6
      src/views/productManagement/productPricing/list.vue

+ 6 - 6
src/views/productManagement/productPricing/list.vue

@@ -197,24 +197,24 @@ export default {
       ]
       if (this.$hasPermissions('B_isShowCost')) {
         arr.splice(9, 0, { title: '成本价', scopedSlots: { customRender: 'sterminaldsdPrice' }, width: '7%', align: 'center' })
-        if (this.$hasPermissions('B_isProvincePrice')) {
+        if (this.$hasPermissions('B_isShowProvincePrice')) {
           arr.splice(10, 0, { title: '省级价', dataIndex: 'provincePrice', width: '5%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } })
-          if (this.$hasPermissions('B_isCityPrice')) {
+          if (this.$hasPermissions('B_isShowCityPrice')) {
             arr.splice(11, 0, { title: '市级价', dataIndex: 'cityPrice', width: '5%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } })
           }
         } else {
-          if (this.$hasPermissions('B_isCityPrice')) {
+          if (this.$hasPermissions('B_isShowCityPrice')) {
             arr.splice(10, 0, { title: '市级价', dataIndex: 'cityPrice', width: '5%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } })
           }
         }
       } else {
-        if (this.$hasPermissions('B_isProvincePrice')) {
+        if (this.$hasPermissions('B_isShowProvincePrice')) {
           arr.splice(9, 0, { title: '省级价', dataIndex: 'provincePrice', width: '5%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } })
-          if (this.$hasPermissions('B_isCityPrice')) {
+          if (this.$hasPermissions('B_isShowCityPrice')) {
             arr.splice(10, 0, { title: '市级价', dataIndex: 'cityPrice', width: '5%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } })
           }
         } else {
-          if (this.$hasPermissions('B_isCityPrice')) {
+          if (this.$hasPermissions('B_isShowCityPrice')) {
             arr.splice(9, 0, { title: '市级价', dataIndex: 'cityPrice', width: '5%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } })
           }
         }