From 5394194396290aa232910a571d6f4ef463a92a6b Mon Sep 17 00:00:00 2001 From: jyy <935090232@qq.com> Date: Wed, 07 Apr 2021 11:23:14 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/score_shop' into score_shop --- zq-erp/src/main/resources/templates/views/admin/hive-erp/score/score-setting.html | 21 ++++++++++++++++++--- 1 files changed, 18 insertions(+), 3 deletions(-) diff --git a/zq-erp/src/main/resources/templates/views/admin/hive-erp/score/score-setting.html b/zq-erp/src/main/resources/templates/views/admin/hive-erp/score/score-setting.html index 1df9d0b..da44764 100644 --- a/zq-erp/src/main/resources/templates/views/admin/hive-erp/score/score-setting.html +++ b/zq-erp/src/main/resources/templates/views/admin/hive-erp/score/score-setting.html @@ -158,15 +158,30 @@ <el-col :span="3"> <el-input v-model="paramSettingShop.paramValue" oninput ="value=value.replace(/[^0-9.]/g,'')"></el-input> </el-col> - <el-col class="line" :span="4" style="margin-left: 10px">元/积分</el-col> + <div v-show="paramSettingShop.paramName !== '现金消费'"> + <el-col class="line" :span="4" style="margin-left: 10px">积分/次</el-col> + </div> + <div v-show="paramSettingShop.paramName === '现金消费'"> + <el-col class="line" :span="4" style="margin-left: 10px">元/积分</el-col> + </div> <el-col :span="3"> <el-input v-model="paramSettingShop.paramValue1" oninput ="value=value.replace(/[^0-9.]/g,'')"></el-input> </el-col> - <el-col class="line" :span="4" style="margin-left: 10px">元/积分</el-col> + <div v-show="paramSettingShop.paramName !== '现金消费'"> + <el-col class="line" :span="4" style="margin-left: 10px">积分/次</el-col> + </div> + <div v-show="paramSettingShop.paramName === '现金消费'"> + <el-col class="line" :span="4" style="margin-left: 10px">元/积分</el-col> + </div> <el-col :span="3"> <el-input v-model="paramSettingShop.paramValue2" oninput ="value=value.replace(/[^0-9.]/g,'')"></el-input> </el-col> - <el-col class="line" :span="4" style="margin-left: 10px">元/积分</el-col> + <div v-show="paramSettingShop.paramName !== '现金消费'"> + <el-col class="line" :span="4" style="margin-left: 10px">积分/次</el-col> + </div> + <div v-show="paramSettingShop.paramName === '现金消费'"> + <el-col class="line" :span="4" style="margin-left: 10px">元/积分</el-col> + </div> </el-form-item> </template> </el-col> -- Gitblit v1.9.1