Commit fdceb682 by 王志慧

commit

1 parent 43a2c982
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<el-radio :label="1">不赠送</el-radio> <el-radio :label="1">不赠送</el-radio>
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
<span class="give-tip">选择赠送,客户购买该套餐后即开通一年金卡会员权益</span> <span class="give-tip" v-if="showGh && accountLevel == 4">选择赠送,客户购买该套餐后即开通一年金卡会员权益</span>
<el-form-item size="small" label="套餐售价/元:" prop="packagePrice"> <el-form-item size="small" label="套餐售价/元:" prop="packagePrice">
<el-input size="small" v-model="ruleForm.packagePrice" placeholder="请输入套餐售价" <el-input size="small" v-model="ruleForm.packagePrice" placeholder="请输入套餐售价"
@keyup.native="ruleForm.packagePrice = oninput(ruleForm.packagePrice)"> @keyup.native="ruleForm.packagePrice = oninput(ruleForm.packagePrice)">
...@@ -176,7 +176,7 @@ export default { ...@@ -176,7 +176,7 @@ export default {
copyTotalPrice: 0, //用于检查页面信息是否改动 copyTotalPrice: 0, //用于检查页面信息是否改动
id: this.$route.query.id || 0, id: this.$route.query.id || 0,
accountLevel: 0, //1,2,3,4工厂,省代,市代,门店 accountLevel: 0, //1,2,3,4工厂,省代,市代,门店
showGh: false showGh: true
} }
}, },
computed: { computed: {
...@@ -199,7 +199,7 @@ export default { ...@@ -199,7 +199,7 @@ export default {
this.merchantName = this.$globalState.session.merchantName this.merchantName = this.$globalState.session.merchantName
this.accountLevel = this.$globalState.session.accountLevel this.accountLevel = this.$globalState.session.accountLevel
} }
this.showGh = window.location.host.indexOf('cgacar')!= -1 // this.showGh = window.location.host.indexOf('cgacar')!= -1
if (this.showGh) { if (this.showGh) {
this.getCardContentFun() this.getCardContentFun()
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!