Browse Source

2024.06.18
- 组合活动配置页增加可选数据删除选中功能;

zweiqin 9 months ago
parent
commit
86d7d8feef

+ 5 - 5
src/views/active/combinationActivityConfiguration/components/EditModal.vue

@@ -22,7 +22,7 @@
         </el-select>
       </el-form-item>
       <el-form-item label="活动配置类型" prop="configType">
-        <el-select v-model="formData.configType" size="mini" placeholder="请选择活动类型">
+        <el-select v-model="formData.configType" clearable size="mini" placeholder="请选择活动类型">
           <el-option label="升级角色" :value="1" />
           <el-option label="分佣" :value="2" />
           <el-option label="社区服务" :value="3" />
@@ -31,19 +31,19 @@
         </el-select>
       </el-form-item>
       <el-form-item label="是否参与" prop="joinRole">
-        <el-select v-model="formData.joinRole" size="mini" placeholder="请选择是否参与">
+        <el-select v-model="formData.joinRole" clearable size="mini" placeholder="请选择是否参与">
           <el-option label="是" :value="1" />
           <el-option label="否" :value="2" />
         </el-select>
       </el-form-item>
       <el-form-item label="规则" prop="joinRule">
-        <el-select v-model="formData.joinRule" size="mini" placeholder="请选择规则">
+        <el-select v-model="formData.joinRule" clearable size="mini" placeholder="请选择规则">
           <el-option label="金额" :value="1" />
           <el-option label="比例" :value="2" />
         </el-select>
       </el-form-item>
       <el-form-item label="升级类型" prop="roleType">
-        <el-select v-model="formData.roleType" size="mini" placeholder="请选择升级类型">
+        <el-select v-model="formData.roleType" clearable size="mini" placeholder="请选择升级类型">
           <el-option label="团长" :value="1" />
           <el-option label="合伙人" :value="2" />
         </el-select>
@@ -58,7 +58,7 @@
       </el-form-item>
       <el-form-item label="关联佣金配置" prop="ruleId">
         <el-select
-          v-model="formData.ruleId" size="mini" placeholder="请选择关联佣金配置" filterable
+          v-model="formData.ruleId" clearable size="mini" placeholder="请选择关联佣金配置" filterable
         >
           <el-option
             v-for="(item, index) in ruleList" :key="item.ruleId"