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>pull/3759/head
							parent
							
								
									cd308aa485
								
							
						
					
					
						commit
						ff8bef0b41
					
				| 
						 | 
				
			
			@ -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
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -89,7 +89,7 @@ export default {
 | 
			
		|||
  data() {
 | 
			
		||||
    return {
 | 
			
		||||
      fieldsList: fieldsListConvertAmountCollection,
 | 
			
		||||
      amountConvertionTotal: 0
 | 
			
		||||
      amountConvertionTotal: this.amount
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  computed: {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue