chenrui 2 سال پیش
والد
کامیت
87735099de
1فایلهای تغییر یافته به همراه20 افزوده شده و 1 حذف شده
  1. 20 1
      src/views/numsGoodsShelves/approveStore/authPass.vue

+ 20 - 1
src/views/numsGoodsShelves/approveStore/authPass.vue

@@ -143,6 +143,21 @@
                   placeholder="请输入大于100的数字(最多允许两位小数)"></a-input-number>
               </a-form-model-item>
             </a-col>
+            <a-col :span="24">
+              <a-form-model-item label="价格显示" :labelCol="{span: 3}">
+                <a-checkbox-group @change="onChangePriceType">
+                  <a-checkbox value="A">
+                    车主价(修理厂的建议销售价)
+                  </a-checkbox>
+                  <a-checkbox value="B">
+                    进货价(修理厂的进货价,即汽配商的销售价)
+                  </a-checkbox>
+                </a-checkbox-group>
+                <span v-show="val!=''">
+                  <a-switch checked-children="是" default-checked un-checked-children="否" v-model="form.showPrice" size="small"/><span class="switchSpan">非铺货产品显示价格</span>
+                </span>
+              </a-form-model-item>
+            </a-col>
           </a-row>
           <a-form-model-item :wrapper-col="{ span: 12, offset: 6 }" style="text-align: center;margin-top: 30px;">
             <a-button type="primary" @click="saveForm" size="large" id="authPass-btn-submit" style="padding: 0 60px;">审核通过</a-button>
@@ -205,7 +220,8 @@ export default {
       addrProvinceList: [], //  省下拉
       addrCityList: [], //  市下拉
       addrDistrictList: [], //  区下拉
-      settleStyleList: [] //  收款方式  下拉数据
+      settleStyleList: [], //  收款方式  下拉数据
+      val: ''
     }
   },
   methods: {
@@ -363,6 +379,9 @@ export default {
       if (this.$route.params.sn) {
         this.getDetail()
       }
+    },
+    onChangePriceType (val) {
+      this.val = val
     }
   },
   mounted () {