From d15a5e849a865193686e539ef10273a501a521ed Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Thu, 01 Apr 2021 11:50:38 +0800
Subject: [PATCH] 积分设置修改

---
 zq-erp/src/main/resources/templates/views/admin/hive-erp/score/score-setting.html |   24 ++++++++++++++++++------
 1 files changed, 18 insertions(+), 6 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 5886e63..1df9d0b 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
@@ -114,15 +114,27 @@
                                 <el-col :span="3">
                                     <el-input v-model="paramSetting.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="paramSetting.paramName === '转介客户'">
+                                    <el-col class="line" :span="4" style="margin-left: 10px">积分/位</el-col>
+                                </div>
+                                <div v-show="paramSetting.paramName !== '转介客户'">
+                                    <el-col class="line" :span="4" style="margin-left: 10px">元/积分</el-col>
+                                </div>
                                 <el-col :span="3">
                                     <el-input v-model="paramSetting.paramValue1" oninput ="value=value.replace(/[^0-9.]/g,'')"></el-input>
                                 </el-col>
-                                <el-col class="line" :span="4" style="margin-left: 10px">元/积分</el-col>
-                                <el-col :span="3">
-                                    <el-input v-model="paramSetting.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="paramSetting.paramName === '转介客户'">
+                                    <el-col class="line" :span="4" style="margin-left: 10px">积分/位</el-col>
+                                </div>
+                                <div v-show="paramSetting.paramName !== '转介客户'">
+                                    <el-col class="line" :span="4" style="margin-left: 10px">元/积分</el-col>
+                                </div>
+                                <div v-show="paramSetting.paramName !== '转介客户'">
+                                    <el-col :span="3">
+                                        <el-input v-model="paramSetting.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>
                             </el-form-item>
                         </template>
                     </el-col>

--
Gitblit v1.9.1