Fixed bug edit delivery
This commit is contained in:
@@ -526,7 +526,7 @@ export default defineComponent({
|
||||
.then(() => {
|
||||
notify({ type: 'success', title: 'Success!', text: 'Delivery updated.' });
|
||||
if (paymentType === 1) {
|
||||
this.$router.push({ name: 'PayOil', params: { id: this.deliveryOrder.id } });
|
||||
this.$router.push({ name: 'payOil', params: { id: this.deliveryOrder.id } });
|
||||
} else {
|
||||
this.$router.push({ name: 'deliveryOrder', params: { id: this.deliveryOrder.id } });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user