lilei 2 năm trước cách đây
mục cha
commit
7470e92333
2 tập tin đã thay đổi với 19 bổ sung5 xóa
  1. 1 1
      public/version.json
  2. 18 4
      src/views/productManagement/productInfoJg/list.vue

+ 1 - 1
public/version.json

@@ -1,5 +1,5 @@
 {
   "message": "发现有新版本发布,确定更新系统?",
   "vendorJsVersion": "",
-  "version": 1688436093187
+  "version": 1688458776700
 }

+ 18 - 4
src/views/productManagement/productInfoJg/list.vue

@@ -91,11 +91,21 @@
                   自定义车主价
                 </a-checkbox>
               </a-menu-item>
+              <a-menu-item v-if="currentDealerInfo.dealerLevel && currentDealerInfo.dealerLevel == 'PROVINCE'">
+                <a-checkbox v-model="isProPrice">
+                  省级价
+                </a-checkbox>
+              </a-menu-item>
               <a-menu-item>
                 <a-checkbox v-model="isCityPrice">
                   市级价
                 </a-checkbox>
               </a-menu-item>
+              <a-menu-item v-if="currentDealerInfo.isShowSpecialPrice && currentDealerInfo.isShowSpecialPrice == '1'">
+                <a-checkbox v-model="isSpecialPrice">
+                  特约价
+                </a-checkbox>
+              </a-menu-item>
               <a-menu-item>
                 <a-checkbox v-model="isZdPrice">
                   终端价
@@ -221,7 +231,9 @@ export default {
       openGuideModal: false,
       isTerminalPrice: true,
       isCarOwnersPrice: true,
+      isProPrice: true,
       isCityPrice: true,
+      isSpecialPrice: true,
       isZdPrice: true,
       isCzPrice: true,
       openEditPriceModal: false, // 自定义报价弹窗
@@ -275,9 +287,11 @@ export default {
         { title: '操作', scopedSlots: { customRender: 'action' }, width: '12%', align: 'center' }
       ]
       if (_this.currentDealerInfo.dealerLevel && _this.currentDealerInfo.dealerLevel == 'PROVINCE') { //  省级
-        arr.push(
-          { title: '省级价', dataIndex: 'provincePrice', width: '6%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } }
-        )
+        if(this.isProPrice){
+          arr.push(
+            { title: '省级价', dataIndex: 'provincePrice', width: '6%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } }
+          )
+        }
         if (_this.isCityPrice) {
           arr.push(
             { title: '市级价', dataIndex: 'cityPrice', width: '6%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } }
@@ -288,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') { //  是否展示特约价
+      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) : '--') } })
       }