|
@@ -473,17 +473,19 @@ export default {
|
|
|
onGoContract(){
|
|
|
this.$store.dispatch('changeDetailDrawer',false)
|
|
|
this.$nextTick(()=>{
|
|
|
- let route = this.$route
|
|
|
- if (route.path !== 'orderdetail' || route.path !== 'saler_orderDetails') {
|
|
|
- this.oldRoute = {path:route.path,query:route.query}
|
|
|
- this.$store.dispatch('setHistoryRouter',this.oldRoute)
|
|
|
- }
|
|
|
- let type = this.editData.contract_type == '项目'?this.editData.contract_typemx == '直销'?'直销项目':'经销项目':this.editData.contract_type
|
|
|
- this.$router.push({
|
|
|
- path:'/contractDetail',
|
|
|
- query:{id:this.editData.sa_contractid,rowindex:this.editData.rowindex, type:type}
|
|
|
- })
|
|
|
- this.$store.dispatch('changeDetailDrawer',true)
|
|
|
+ setTimeout(()=>{
|
|
|
+ let route = this.$route
|
|
|
+ if (route.path !== 'orderdetail' || route.path !== 'saler_orderDetails') {
|
|
|
+ this.oldRoute = {path:route.path,query:route.query}
|
|
|
+ this.$store.dispatch('setHistoryRouter',this.oldRoute)
|
|
|
+ }
|
|
|
+ let type = this.editData.contract_type == '项目'?this.editData.contract_typemx == '直销'?'直销项目':'经销项目':this.editData.contract_type
|
|
|
+ this.$router.push({
|
|
|
+ path:'/contractDetail',
|
|
|
+ query:{id:this.editData.sa_contractid,rowindex:this.editData.rowindex, type:type}
|
|
|
+ })
|
|
|
+ this.$store.dispatch('changeDetailDrawer',true)
|
|
|
+ },500)
|
|
|
})
|
|
|
},
|
|
|
logSuccess(){
|