瀏覽代碼

修改bug

chenrui 1 年之前
父節點
當前提交
4160de4789
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/views/productManagement/productInfoJg/list.vue

+ 3 - 3
src/views/productManagement/productInfoJg/list.vue

@@ -91,7 +91,7 @@
                   自定义车主价
                 </a-checkbox>
               </a-menu-item>
-              <a-menu-item v-if="currentDealerInfo.dealerLevel && currentDealerInfo.dealerLevel == 'PROVINCE'">
+              <a-menu-item v-if="currentDealerInfo.dealerLevel && (currentDealerInfo.dealerLevel == 'CITY'||currentDealerInfo.dealerLevel == 'PROVINCE')">
                 <a-checkbox v-model="isProPrice">
                   省级价
                 </a-checkbox>
@@ -287,7 +287,7 @@ export default {
         { title: '操作', scopedSlots: { customRender: 'action' }, width: '12%', align: 'center' }
       ]
       if (_this.currentDealerInfo.dealerLevel && _this.currentDealerInfo.dealerLevel == 'PROVINCE') { //  省级
-        if(this.isProPrice){
+        if (this.isProPrice) {
           arr.push(
             { title: '省级价', dataIndex: 'provincePrice', width: '6%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } }
           )
@@ -302,7 +302,7 @@ export default {
           { title: '市级价', dataIndex: 'cityPrice', width: '6%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } }
         )
       }
-      if (_this.currentDealerInfo.isShowSpecialPrice && _this.currentDealerInfo.isShowSpecialPrice == '1'&&_this.isSpecialPrice) { //  是否展示特约价
+      if (_this.currentDealerInfo.isShowSpecialPrice && _this.currentDealerInfo.isShowSpecialPrice == '1' && _this.isSpecialPrice) { //  是否展示特约价
         arr.push({ title: '特约价', dataIndex: 'specialPrice', width: '6%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } })
       }