|
@@ -301,8 +301,13 @@ export default {
|
|
|
methods: {
|
|
|
// 返回
|
|
|
handleBack () {
|
|
|
- this.$router.push({ path: '/salesManagement/salesQuery/list', query: { closeLastOldTab: true } }) // 为解决,销售列表=>销售详情=>其他页=>销售详情 时,点击返回列表,此时返回的是其他页的问题
|
|
|
- // this.$router.go(-1)
|
|
|
+ if (this.$route.params.type == 'pushOrder') { // 下推
|
|
|
+ this.$router.push({ path: '/salesManagement/pushOrderManagement/list', query: { closeLastOldTab: true } })
|
|
|
+ } else if (this.$route.params.type == 'financialCollection') { // 财务收款
|
|
|
+ this.$router.push({ path: '/financialManagement/financialCollection/list', query: { closeLastOldTab: true } })
|
|
|
+ } else {
|
|
|
+ this.$router.push({ path: '/salesManagement/salesQuery/list', query: { closeLastOldTab: true } })
|
|
|
+ }
|
|
|
},
|
|
|
// 编辑
|
|
|
handleEdit () {
|