mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-10 20:39:48 +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:
parent
cd308aa485
commit
ff8bef0b41
@ -26,7 +26,7 @@ export default [
|
|||||||
size: 24,
|
size: 24,
|
||||||
handleActionKeyPerformed: true,
|
handleActionKeyPerformed: true,
|
||||||
handleActionPerformed: 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,
|
isActiveLogics: true,
|
||||||
isMandatory: true
|
isMandatory: true
|
||||||
}
|
}
|
||||||
|
@ -89,7 +89,7 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
fieldsList: fieldsListConvertAmountCollection,
|
fieldsList: fieldsListConvertAmountCollection,
|
||||||
amountConvertionTotal: 0
|
amountConvertionTotal: this.amount
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
@ -243,6 +243,8 @@
|
|||||||
<el-popover
|
<el-popover
|
||||||
:v-model="seeConversion"
|
:v-model="seeConversion"
|
||||||
placement="top-start"
|
placement="top-start"
|
||||||
|
trigger="click"
|
||||||
|
@hide="closeConvertion"
|
||||||
>
|
>
|
||||||
<convert-amount
|
<convert-amount
|
||||||
v-show="seeConversion"
|
v-show="seeConversion"
|
||||||
@ -516,6 +518,9 @@ export default {
|
|||||||
formatDate,
|
formatDate,
|
||||||
formatPrice,
|
formatPrice,
|
||||||
formatQuantity,
|
formatQuantity,
|
||||||
|
closeConvertion() {
|
||||||
|
this.seeConversion = false
|
||||||
|
},
|
||||||
openCollectionPanel() {
|
openCollectionPanel() {
|
||||||
this.isShowedPOSKeyLayout = this.isMobile ? !this.isShowedPOSKeyLayout : true
|
this.isShowedPOSKeyLayout = this.isMobile ? !this.isShowedPOSKeyLayout : true
|
||||||
this.$store.commit('setShowPOSCollection', true)
|
this.$store.commit('setShowPOSCollection', true)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user