Browse Source

2024.11.02 - 添加商家对兑换专区的商品是否核销功能

GuYun-D 5 months ago
parent
commit
67ccf14446
1 changed files with 12 additions and 0 deletions
  1. 12 0
      src/views/business/businessList/components/EditModal.vue

+ 12 - 0
src/views/business/businessList/components/EditModal.vue

@@ -158,6 +158,16 @@
                     </el-radio>
                   </el-radio-group>
                 </el-form-item>
+                <el-form-item label="兑换商品是否需要核销" prop="exchangeIsNeedVerification">
+                  <el-radio-group v-model="formData.exchangeIsNeedVerification">
+                    <el-radio :label="1">
+                      是
+                    </el-radio>
+                    <el-radio :label="0">
+                      否
+                    </el-radio>
+                  </el-radio-group>
+                </el-form-item>
 
                 <el-form-item class="b-shop-rate" prop="score" label="评分">
                   <el-rate v-model="formData.score"></el-rate>
@@ -268,6 +278,7 @@ export default {
         contractState: 1, // 合同状态 1-有效 0-无效
         auditLive: 1,
         auditLiveProduct: 1,
+        exchangeIsNeedVerification: 0,
         shopPhone: '', // 账号
         shopPassword: '', // 密码
         perCapita: '', // 人均
@@ -301,6 +312,7 @@ export default {
         isVoucher: [ { required: true, message: '请选择是否允许使用代金卷', trigger: 'change' } ],
         auditLive: [ { required: true, message: '请选择状态', trigger: 'change' } ],
         auditLiveProduct: [ { required: true, message: '请选择状态', trigger: 'change' } ],
+        exchangeIsNeedVerification: [ { required: true, message: '请选择状态', trigger: 'change' } ],
         score: [ { required: true, message: '请选择商家评分', trigger: 'change' } ],
         monthlySales: [ { required: true, message: '请输入商家月售额', trigger: 'blur' } ],
         // advertisement: [ { required: true, message: '请上传广告图', trigger: 'trigger' } ],