@@ -257,7 +257,7 @@ export default {
},
// 详情
handleDetail (row) {
- this.$router.push({ name: 'salesDetail', params: { sn: row.bizSn } })
+ this.$router.push({ name: 'salesDetail', params: { sn: row.bizSn, type: 'financialCollection' } })
handleBhDetail (row) {
this.$router.push({ name: 'pushOrderDetail', params: { sn: row.dispatchBillSn, type: 'financialCollection' } })
@@ -181,7 +181,7 @@ export default {
handleDetail (row, type) {
if (type == 0) {
- this.$router.push({ name: 'salesDetail', params: { sn: row.salesBillSn } })
+ this.$router.push({ name: 'salesDetail', params: { sn: row.salesBillSn, type: 'pushOrder' } })
} else {
this.$router.push({ name: 'pushOrderDetail', params: { sn: row.dispatchBillSn, type: 'pushOrder' } })
}
@@ -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 () {
@@ -286,7 +286,7 @@ export default {
+ this.$router.push({ name: 'salesDetail', params: { sn: row.salesBillSn, type: 'shortageStatisticsC' } })
// 导出
handleExport () {