소스 검색

bug 修复

lilei 2 년 전
부모
커밋
ecd04596c2
2개의 변경된 파일2개의 추가작업 그리고 20개의 파일을 삭제
  1. 1 10
      src/views/salesManagement/pushOrderManagement/detail.vue
  2. 1 10
      src/views/salesManagement/salesQuery/detail.vue

+ 1 - 10
src/views/salesManagement/pushOrderManagement/detail.vue

@@ -190,16 +190,7 @@ export default {
   methods: {
     //  返回
     handleBack () {
-      // if (this.$route.params.type == 'pushOrder') { // 下推
-      //   this.$router.push({ path: '/salesManagement/pushOrderManagement/list', query: { closeLastOldTab: true } })
-      // } else if (this.$route.params.type == 'examineVerify') { // 备货审核
-      //   this.$router.push({ path: '/salesManagement/examineVerify/list', query: { closeLastOldTab: true } })
-      // } else if (this.$route.params.type == 'financialCollection') { // 财务收款
-      //   this.$router.push({ path: '/financialManagement/financialCollection/list', query: { closeLastOldTab: true } })
-      // } else if (this.$route.params.type == 'salesCollection') { // 销售收款
-      //   this.$router.push({ path: '/salesManagement/salesCollection/list', query: { closeLastOldTab: true } })
-      // }
-      this.$router.push({ name: this.fromRouter ? this.fromRouter.name : 'pushOrderManagementList' })
+      this.$router.push({ name: 'pushOrderManagementList' })
     },
     //  详情
     getDetail () {

+ 1 - 10
src/views/salesManagement/salesQuery/detail.vue

@@ -318,16 +318,7 @@ export default {
   methods: {
     //  返回
     handleBack () {
-      // 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 if (this.$route.params.type == 'salesCollection') { // 销售收款
-      //   this.$router.push({ path: '/salesManagement/salesCollection/list', query: { closeLastOldTab: true } })
-      // } else {
-      //   this.$router.push({ path: '/salesManagement/salesQuery/list', query: { closeLastOldTab: true } })
-      // }
-      this.$router.push({ name: this.fromRouter.name ? this.fromRouter.name : 'salesQueryList' })
+      this.$router.push({ name: 'salesQueryList' })
     },
     // 编辑
     handleEdit () {