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

fix iSOcode pos (#912)

This commit is contained in:
Andojeda 2021-06-11 10:39:00 -04:00 committed by GitHub
parent 3c7d3e2669
commit c678fcb045
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,6 +31,7 @@
:ref="field.columnName"
:metadata-field="{
...field,
labelCurrency: currencyPointOfSales,
isReadOnly: !isModifyPrice
}"
/>
@ -156,8 +157,15 @@ export default {
},
validatePin() {
return this.$store.state['pointOfSales/orderLine/index'].validatePin
},
currencyPointOfSales() {
if (!this.isEmptyValue(this.currentPointOfSales)) {
return this.currentPointOfSales.priceList.currency
}
return {}
}
},
watch: {
showField(value) {
this.visible = false