Ver código fonte

签到管理 签到配置 区分积分奖品 和 其他奖品的传参

DESKTOP-O04BTUJ\muzen 2 anos atrás
pai
commit
f2946765ed
1 arquivos alterados com 6 adições e 2 exclusões
  1. 6 2
      src/views/registration/lottery/detail.vue

+ 6 - 2
src/views/registration/lottery/detail.vue

@@ -40,9 +40,13 @@
               </el-select>
             </template>
           </el-table-column>
-          <el-table-column label="奖品名称" align="center">
+          <el-table-column label="奖品" align="center">
             <template slot-scope="scope">
-              <el-input v-model="scope.row.name" :disabled="form.id ? true : false" />
+              <el-input v-if="scope.row.type === 4" v-model="scope.row.rewardPoint"
+                :disabled="form.id ? true : false">
+                <span slot="suffix" style="line-height: 36px">积分</span>
+              </el-input>
+              <el-input v-else v-model="scope.row.name" :disabled="form.id ? true : false" />
             </template>
           </el-table-column>
           <el-table-column label="奖品数量" align="center">