1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-10 20:39:48 +08:00

Popover List Product Info (#679)

* Popover List Product Info

* icon close

* remove icon close
This commit is contained in:
Elsio Sanchez 2021-03-22 13:36:57 -04:00 committed by GitHub
parent 8b0a1d10f2
commit 3e315de138
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 18 deletions

View File

@ -235,13 +235,11 @@
<el-col :span="8">
<el-card shadow="hover">
<el-popover
v-model="isShowProductsPriceList"
placement="right"
trigger="click"
width="800"
trigger="manual"
>
<list-product-price
v-if="isShowProductsPriceList"
:is-selectable="false"
popover-name="isShowPopoverMenu"
/>

View File

@ -1,23 +1,21 @@
<template>
<div>
<el-collapse-transition name="el-fade-in">
<el-card
v-show="isShowProductsPriceList"
class="transition-box"
>
<product-info-list />
</el-card>
</el-collapse-transition>
<el-form-item>
<template slot="label">
{{ $t('form.productInfo.codeProduct') }}
<el-button
v-popover:productsList
type="text"
icon="el-icon-search"
style="color: black"
@click="isShowProductsPriceList = !isShowProductsPriceList"
/>
<el-popover
placement="right"
trigger="click"
width="800"
>
<product-info-list />
<el-button
slot="reference"
type="text"
icon="el-icon-search"
style="color: black"
/>
</el-popover>
</template>
<el-autocomplete