Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Popover List Product Info #679

Merged
merged 3 commits into from Mar 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/components/ADempiere/Form/VPOS/Options/index.vue
Expand Up @@ -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"
/>
Expand Down
28 changes: 13 additions & 15 deletions src/components/ADempiere/Form/VPOS/ProductInfo/index.vue
@@ -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
Expand Down