Commit 825c3cd4 by crushh

update: ui

parent 4b8aff65
<template>
<el-dialog
title=""
title="上架规则列表"
:key="updateDialog"
:visible.sync="dialogTableVisible"
:before-close="closePop"
width="1000px"
:width="$store.state.product.ruleMemberFilterClose==0?'1200px':'900px'"
>
<el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane label="上架规则" name="list">
......@@ -51,26 +51,9 @@
</div>
</template>
</el-table-column>
<el-table-column label="可见条件">
<el-table-column label="可见条件" show-overflow-tooltip min-width="180">
<template slot-scope="{row}">
<p v-if="row.memberType==1">
全部顾客
</p>
<div v-else>
<el-tooltip
effect="dark"
placement="top-start"
v-if="(row.showBack&&row.showBack.length>20)"
>
<div slot="content" style="line-height:18px; max-width:500px;">
{{ row.showBack }}
</div>
<div>{{ row.showBack.slice(0,20)+'...' }}</div>
</el-tooltip>
<div v-else>
{{ row.showBack }}
</div>
</div>
{{ row.memberType==1?'全部顾客':row.showBack }}
</template>
</el-table-column>
</el-table>
......@@ -88,7 +71,7 @@
</div>
</el-tab-pane>
<el-tab-pane label="新建规则" name="form">
<div class="tab-pane-container">
<div class="tab-pane-container" style="max-height: 500px;overflow-y: auto;overflow-x: hidden;">
<ruleInfo
:isDialog="true"
ref="ruleInfo"
......
......@@ -332,9 +332,9 @@
<div>
<el-button
type="text"
@click="goAdd(scope.row,'couponCopy')"
:limit-code="$buttonCode.couponCopy"
v-if="$getButtonLimit($buttonCode.couponCopy)"
@click="goAdd(scope.row,'couponCopy')"
>
复制
</el-button>
......
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