mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-10 12:01:57 +08:00
fix point of sale not found (#606)
* fix point of sale not found * rename parameter
This commit is contained in:
parent
999ce3de0a
commit
34a6e3a2af
@ -427,7 +427,7 @@ export default {
|
||||
},
|
||||
watch: {
|
||||
currencyUuid(value) {
|
||||
if (!this.isEmptyValue(value)) {
|
||||
if (!this.isEmptyValue(value) && !this.isEmptyValue(this.currentPoint)) {
|
||||
this.$store.dispatch('conversionDivideRate', {
|
||||
conversionTypeUuid: this.$store.getters.getCurrentPOS.conversionTypeUuid,
|
||||
currencyFromUuid: this.currencyPoint.uuid,
|
||||
@ -436,7 +436,7 @@ export default {
|
||||
}
|
||||
},
|
||||
converCurrency(value) {
|
||||
if (!this.isEmptyValue(value)) {
|
||||
if (!this.isEmptyValue(value) && !this.isEmptyValue(this.currentPoint)) {
|
||||
this.$store.dispatch('conversionMultiplyRate', {
|
||||
containerUuid: 'Order',
|
||||
conversionTypeUuid: this.$store.getters.getCurrentPOS.conversionTypeUuid,
|
||||
|
@ -199,7 +199,7 @@ export default {
|
||||
},
|
||||
updateOrder(update) {
|
||||
// user session
|
||||
if (update.value !== this.getOrder.businessPartner.uuid) {
|
||||
if (update.value !== this.getOrder.businessPartner.uuid && !this.isEmptyValue(this.currentPoint)) {
|
||||
this.$store.dispatch('updateOrder', {
|
||||
orderUuid: this.$route.query.action,
|
||||
posUuid: this.currentPoint.uuid,
|
||||
|
Loading…
x
Reference in New Issue
Block a user