|
@@ -97,6 +97,7 @@
|
|
|
'settingsVisibility',
|
|
|
'settings',
|
|
|
'stores',
|
|
|
+ 'initialPayment',
|
|
|
'selectedStore',
|
|
|
'showStoreSelector',
|
|
|
'isManager',
|
|
@@ -106,11 +107,15 @@
|
|
|
methods: {
|
|
|
goNext() {
|
|
|
this.$refs.wizard.nextTab()
|
|
|
+
|
|
|
+ if (this.$refs.wizard.activeTabIndex >= 1) {
|
|
|
+ this.changeInitialPayment(this.initialPayment)
|
|
|
+ }
|
|
|
},
|
|
|
goBack() {
|
|
|
- if (this.$refs.wizard.isLastStep) {
|
|
|
- this.changeInitialPayment(0)
|
|
|
- }
|
|
|
+ // if (this.$refs.wizard.activeTabIndex === 2) {
|
|
|
+ // this.changeInitialPayment(0)
|
|
|
+ // }
|
|
|
|
|
|
this.$refs.wizard.prevTab()
|
|
|
},
|