Commit 107f4793 by 周子尧

Merge branch 'v1.2.0' of http://192.168.3.233:8090/saas/scrm-micro-marketing into v1.2.0

2 parents 252136a6 df4ce0c5
......@@ -205,8 +205,17 @@ export default {
item.tagChecked.splice(idx, 1)
this.labelTreeRets.forEach(item => {
this.labelTreeRetSelect.forEach(itm => {
// if (item.labelGroup.id == itm.labelGroup.id) {
// item.tagChecked = utils.deepClone(itm.tagChecked)
// }
if (item.labelGroup.id == itm.labelGroup.id) {
item.tagChecked = utils.deepClone(itm.tagChecked)
let tagChecked = []
itm.tagChecked.forEach(x => {
tagChecked.push(x.id)
})
this.$nextTick(() => {
item.tagChecked = item.labelList.filter(i => tagChecked.includes(i.id))
})
}
if (item.tagChecked.length == 0) {
this.$nextTick(() => {
......
......@@ -36,7 +36,10 @@
</div>
<div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }">
<el-button type="default" @click="handleCancel">返回</el-button>
<el-button v-show="editForm.receivedFlag == 1" type="primary" @click="handleEdit">编辑</el-button>
<!-- <span v-show="editForm.receivedFlag == 1"> -->
<!-- <el-button type="primary" @click="handleEdit">编辑</el-button> -->
<!-- <GLButton type="primary" fn="编辑" @click="handleEdit">编辑</GLButton> -->
<!-- </span> -->
</div>
</div>
</template>
......
......@@ -2,8 +2,8 @@
<template>
<div class="marketing p-t-20">
<div class="m-b-10">
<el-button :size="size" type="primary" class="el-icon-plus" @click="handleEdit('add')">新增礼包</el-button>
<!-- <GLButton :size="size" type="primary" fn="新增礼包" class="el-icon-plus" @click="handleEdit('add')">新增礼包</GLButton> -->
<!-- <el-button :size="size" type="primary" class="el-icon-plus" @click="handleEdit('add')">新增礼包</el-button> -->
<GLButton :size="size" type="primary" fn="新增礼包" class="el-icon-plus" @click="handleEdit('add')">新增礼包</GLButton>
</div>
<div class="list-tips m-b-10">
<img class="tips-img" src="@/assets/icon-info.png" />
......@@ -21,7 +21,8 @@
</glsx-combi-form>
<glsx-combi-form ref="showSearch">
<span slot="footer" class="footer-btns">
<el-button :size="size" type="default" @click="handleExport">导出</el-button>
<!-- <el-button :size="size" type="default" @click="handleExport">导出</el-button> -->
<GLButton :size="size" type="default" fn="导出" @click="handleExport">导出</GLButton>
</span>
</glsx-combi-form>
</div>
......@@ -42,6 +43,8 @@
</div>
<div class="table-btns" slot="auth-button" slot-scope="scope">
<!-- <el-button type="text" @click="handleDelete(scope.scope)">删除</el-button> -->
<!-- <el-button type="text" @click="handleEdit('edit', scope.scope)">编辑</el-button> -->
<GLButton type="text" fn="编辑" @click="handleEdit('edit', scope.scope)">编辑</GLButton>
<GLButton type="text" fn="删除" @click="handleDelete(scope.scope)">删除</GLButton>
</div>
</GLTable>
......
......@@ -12,7 +12,8 @@
</glsx-combi-form>
<glsx-combi-form ref="showSearch">
<span slot="footer" class="footer-btns">
<el-button :size="size" type="default" @click="handleExport">导出</el-button>
<!-- <el-button :size="size" type="default" @click="handleExport">导出</el-button> -->
<GLButton :size="size" type="default" fn="已领取导出" @click="handleExport">导出</GLButton>
</span>
</glsx-combi-form>
</div>
......
......@@ -258,11 +258,11 @@ export default {
},
toCashRestrictLabelText(row) {
switch (row.useType) {
switch (row.useBarriers) {
case 1:
return '无限制'
case 2:
return '订单满' + row.useAmount + '元可用'
return '订单满' + row.full + '元可用'
}
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!