1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-07 18:25:45 +08:00

Fix error when closing popover of amount to be converted (#895)

* fixe Point of Sales

* fix error when closing popover of amount to be converted

Co-authored-by: elsiosanchez <elsiossanches@gmail.com>
This commit is contained in:
Elsio Sanchez 2021-06-02 21:36:28 -04:00 committed by GitHub
parent cd308aa485
commit ff8bef0b41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 2 deletions

View File

@ -26,7 +26,7 @@ export default [
size: 24,
handleActionKeyPerformed: true,
handleActionPerformed: true,
validationCode: 'C_Currency.C_Currency_ID = 100',
validationCode: 'C_Currency.C_Currency_ID = 100 OR C_Currency.C_Currency_ID = 50001',
isActiveLogics: true,
isMandatory: true
}

View File

@ -89,7 +89,7 @@ export default {
data() {
return {
fieldsList: fieldsListConvertAmountCollection,
amountConvertionTotal: 0
amountConvertionTotal: this.amount
}
},
computed: {

View File

@ -243,6 +243,8 @@
<el-popover
:v-model="seeConversion"
placement="top-start"
trigger="click"
@hide="closeConvertion"
>
<convert-amount
v-show="seeConversion"
@ -516,6 +518,9 @@ export default {
formatDate,
formatPrice,
formatQuantity,
closeConvertion() {
this.seeConversion = false
},
openCollectionPanel() {
this.isShowedPOSKeyLayout = this.isMobile ? !this.isShowedPOSKeyLayout : true
this.$store.commit('setShowPOSCollection', true)