chenrui 3 anni fa
parent
commit
c5868e37bc
1 ha cambiato i file con 6 aggiunte e 6 eliminazioni
  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 : '--') } })
           }
         }