mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-13 23:20:12 +08:00
Popover List Product Info (#679)
* Popover List Product Info * icon close * remove icon close
This commit is contained in:
parent
8b0a1d10f2
commit
3e315de138
@ -235,13 +235,11 @@
|
|||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-card shadow="hover">
|
<el-card shadow="hover">
|
||||||
<el-popover
|
<el-popover
|
||||||
v-model="isShowProductsPriceList"
|
|
||||||
placement="right"
|
placement="right"
|
||||||
|
trigger="click"
|
||||||
width="800"
|
width="800"
|
||||||
trigger="manual"
|
|
||||||
>
|
>
|
||||||
<list-product-price
|
<list-product-price
|
||||||
v-if="isShowProductsPriceList"
|
|
||||||
:is-selectable="false"
|
:is-selectable="false"
|
||||||
popover-name="isShowPopoverMenu"
|
popover-name="isShowPopoverMenu"
|
||||||
/>
|
/>
|
||||||
|
@ -1,23 +1,21 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<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>
|
<el-form-item>
|
||||||
<template slot="label">
|
<template slot="label">
|
||||||
{{ $t('form.productInfo.codeProduct') }}
|
{{ $t('form.productInfo.codeProduct') }}
|
||||||
|
<el-popover
|
||||||
|
placement="right"
|
||||||
|
trigger="click"
|
||||||
|
width="800"
|
||||||
|
>
|
||||||
|
<product-info-list />
|
||||||
<el-button
|
<el-button
|
||||||
v-popover:productsList
|
slot="reference"
|
||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-search"
|
icon="el-icon-search"
|
||||||
style="color: black"
|
style="color: black"
|
||||||
@click="isShowProductsPriceList = !isShowProductsPriceList"
|
|
||||||
/>
|
/>
|
||||||
|
</el-popover>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<el-autocomplete
|
<el-autocomplete
|
||||||
|
Loading…
x
Reference in New Issue
Block a user