|
|
@@ -124,6 +124,7 @@ import {
|
|
|
} from '@/api/index';
|
|
|
import axios from 'axios';
|
|
|
import { saveVisitsParams, getOrderUrlByStoreId } from '@/api/inventory';
|
|
|
+import store from '@/store';
|
|
|
export default {
|
|
|
name: 'suishenbangOutstoreVisit',
|
|
|
data() {
|
|
|
@@ -564,6 +565,8 @@ export default {
|
|
|
if (this.$route.query.urltype == 1) {
|
|
|
window.location.replace(window.location.origin + '/mobile/home');
|
|
|
} else {
|
|
|
+ store.dispatch('setDeviceOutsidePage', true);
|
|
|
+ // 返回上一页不会刷新页面
|
|
|
this.$router.go(-1);
|
|
|
}
|
|
|
},
|