mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-07 18:25:45 +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) {
|
||||
this.isFocus = true
|
||||
// this.focusGained(event)
|
||||
|
||||
this.$nextTick(() => {
|
||||
this.$refs[this.metadata.columnName].focus()
|
||||
})
|
||||
},
|
||||
customFocusLost(event) {
|
||||
this.isFocus = false
|
||||
|
@ -679,6 +679,7 @@ export default {
|
||||
action: response.uuid
|
||||
}
|
||||
}).then(() => {
|
||||
this.$store.commit('setShowPOSCollection', false)
|
||||
this.$store.dispatch('listOrdersFromServer', {
|
||||
posUuid: this.currentPointOfSales.uuid
|
||||
})
|
||||
|
@ -749,6 +749,7 @@ export default {
|
||||
return this.formatPrice(this.currentOrder.grandTotal - this.currentOrder.totalLines, currency)
|
||||
},
|
||||
newOrder() {
|
||||
this.$store.commit('setShowPOSCollection', false)
|
||||
this.createOrder({ withLine: false, newOrder: true })
|
||||
},
|
||||
changePos(pointOfSales) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user