forked from adempiere/adempiere-vue
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: Assign Seller (Transcoding) (adempiere#1582)
- Loading branch information
1 parent
c1ce17e
commit 138b4db
Showing
11 changed files
with
481 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
80 changes: 80 additions & 0 deletions
80
src/components/ADempiere/Form/VPOS2/Options/cashManagement/seller/index.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
<!-- | ||
ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution | ||
Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A. | ||
Contributor(s): Elsio Sanchez [email protected] https://github.com/elsiosanchez | ||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <https:www.gnu.org/licenses/>. | ||
--> | ||
|
||
<template> | ||
<el-row :gutter="10"> | ||
<el-col :span="8" style="width: 100% !important;"> | ||
<div @click="openSeller"> | ||
<el-card | ||
shadow="never" | ||
class="custom-card-options" | ||
:body-style="{ padding: '10px' }" | ||
> | ||
<p | ||
class="card-options-buttons" | ||
> | ||
<svg-icon icon-class="peoples" /> | ||
<i class="el-icon-bottom-right" /> | ||
<br> | ||
{{ $t('form.pos.optionsPoinSales.cashManagement.assignSeller') }} | ||
</p> | ||
</el-card> | ||
</div> | ||
</el-col> | ||
</el-row> | ||
</template> | ||
|
||
<script> | ||
import { defineComponent } from '@vue/composition-api' | ||
import lang from '@/lang' | ||
import store from '@/store' | ||
export default defineComponent({ | ||
name: 'Seller', | ||
setup() { | ||
function openSeller() { | ||
store.dispatch('listAvailableSellers') | ||
store.dispatch('setModalDialogVPOS', { | ||
title: lang.t('form.pos.optionsPoinSales.cashManagement.assignSeller'), | ||
doneMethod: () => { | ||
store.dispatch('allocateSeller') | ||
}, | ||
componentPath: () => import('@/components/ADempiere/Form/VPOS2/Options/cashManagement/seller/panel.vue'), | ||
isShowed: true | ||
}) | ||
} | ||
return { | ||
openSeller | ||
} | ||
} | ||
}) | ||
</script> | ||
|
||
<style lang="scss" scoped> | ||
.card-options-buttons { | ||
cursor: pointer; | ||
text-align: center !important; | ||
color: black; | ||
min-height: 50px; | ||
} | ||
.custom-card-options { | ||
margin: 1px; | ||
cursor: pointer; | ||
} | ||
.custom-card-options:hover { | ||
background-color: #eaf5fe; | ||
border: 1px solid #36a3f7; | ||
} | ||
</style> |
Oops, something went wrong.