mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-10 20:39:48 +08:00
Error creating order (#1063)
* fixe new orden * delete comment Co-authored-by: elsiosanchez <elsiossanches@gmail.com>
This commit is contained in:
parent
a6197f67b2
commit
3e22f12a1c
@ -180,11 +180,6 @@ export default {
|
|||||||
},
|
},
|
||||||
customFocusGained(event) {
|
customFocusGained(event) {
|
||||||
this.isFocus = true
|
this.isFocus = true
|
||||||
// this.focusGained(event)
|
|
||||||
|
|
||||||
this.$nextTick(() => {
|
|
||||||
this.$refs[this.metadata.columnName].focus()
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
customFocusLost(event) {
|
customFocusLost(event) {
|
||||||
this.isFocus = false
|
this.isFocus = false
|
||||||
|
@ -679,6 +679,7 @@ export default {
|
|||||||
action: response.uuid
|
action: response.uuid
|
||||||
}
|
}
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
|
this.$store.commit('setShowPOSCollection', false)
|
||||||
this.$store.dispatch('listOrdersFromServer', {
|
this.$store.dispatch('listOrdersFromServer', {
|
||||||
posUuid: this.currentPointOfSales.uuid
|
posUuid: this.currentPointOfSales.uuid
|
||||||
})
|
})
|
||||||
|
@ -749,6 +749,7 @@ export default {
|
|||||||
return this.formatPrice(this.currentOrder.grandTotal - this.currentOrder.totalLines, currency)
|
return this.formatPrice(this.currentOrder.grandTotal - this.currentOrder.totalLines, currency)
|
||||||
},
|
},
|
||||||
newOrder() {
|
newOrder() {
|
||||||
|
this.$store.commit('setShowPOSCollection', false)
|
||||||
this.createOrder({ withLine: false, newOrder: true })
|
this.createOrder({ withLine: false, newOrder: true })
|
||||||
},
|
},
|
||||||
changePos(pointOfSales) {
|
changePos(pointOfSales) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user