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

sopporte a reversar transsaccion (#979)

Co-authored-by: elsiosanchez <elsiossanches@gmail.com>
This commit is contained in:
Elsio Sanchez 2021-07-12 19:56:55 -04:00 committed by GitHub
parent 427469e12f
commit 3b4765e40d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -354,7 +354,8 @@ export default {
return {
activeName: '',
processPos: '',
showFieldListOrder: false
showFieldListOrder: false,
posProcess
}
},
computed: {
@ -393,7 +394,7 @@ export default {
}
},
created() {
this.findProcess()
this.findProcess(this.posProcess)
},
methods: {
notSubmitForm(event) {
@ -473,7 +474,7 @@ export default {
},
{
columnName: 'C_DocTypeRMA_ID',
value: 'VO'
value: this.currentOrder.documentType.id
}
]
this.$store.dispatch('addParametersProcessPos', parametersList)
@ -510,8 +511,7 @@ export default {
this.$store.dispatch('addParametersProcessPos', parametersList)
createOrder({
posUuid,
customerUuid: this.currentOrder.businessPartner.uuid,
warehouseUuid: this.$store.getters.currentWarehouse.uuid
customerUuid: this.currentOrder.businessPartner.uuid
})
.then(order => {
this.$store.dispatch('currentOrder', order)
@ -538,13 +538,12 @@ export default {
})
})
.finally(() => {
const process = this.$store.getters.getProcess(posProcess[1].uuid)
const process = this.$store.getters.getProcess(this.posProcess[1].uuid)
this.showModal(process)
})
},
copyLineOrder() {
this.processPos = posProcess[1].uuid
const process = this.$store.getters.getProcess(posProcess[1].uuid)
const process = this.$store.getters.getProcess(this.posProcess[1].uuid)
this.showModal(process)
},
cashClosing() {