Commit 627a7b61 by crushh

Merge branch 'feature/2月迭代' into dev

parents 01a49e7f 2bff20bf
......@@ -123,6 +123,9 @@ a:hover {
.ml30{
margin-left: 30px!important;
}
.ml58{
margin-left: 58px!important;
}
.ml80{
margin-left: 80px!important;
}
......
......@@ -158,7 +158,8 @@ export default {
default: 0
},
useQfxx: Boolean,
showDeleteTooltip: Boolean
showDeleteTooltip: Boolean,
consumType: 1 // 1 单笔订单金额触发,2 累计订单金额触发
},
data() {
return {
......@@ -183,6 +184,20 @@ export default {
},
computed: {
showOptionList() {
if (this.consumType == 2 && this.effectType == 0) {
const arr = ['card', 'integral'];
this.options.forEach(item => {
if (arr.includes(item.value)) {
item.show = true;
} else {
item.show = false;
}
});
} else {
this.options.forEach(item => {
item.show = true;
});
}
if (this.useStored) {
this.options.forEach(item => {
if (item.value == 'grade') {
......@@ -230,7 +245,6 @@ export default {
// 触点切换成单次或重复,清空已选择的图文;
// 单次和重复间切换时,不需要清空操作;
// 单次切换触点或者重复切换触点,清空已选择的图文;
// 0:触点 1:重复 2:单次
if (oldType == 0 || newType == 0) {
this.list.forEach(el => {
......@@ -249,6 +263,12 @@ export default {
});
}
},
consumType(val) {
this.list.forEach(el => {
this.delItem(el);
});
},
// useStored: {
// handler() {
// console.log('useStored');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment