|
@@ -62,6 +62,7 @@
|
|
|
<script>
|
|
|
import selectAgent from '@/template/selectAgent/index'
|
|
|
import selectOrder from './selectOrder'
|
|
|
+import { log } from '@antv/g2plot/lib/utils'
|
|
|
export default {
|
|
|
name: "add",
|
|
|
components:{selectAgent,selectOrder},
|
|
@@ -120,6 +121,8 @@ export default {
|
|
|
this.tool.showMessage(res,()=>{
|
|
|
this.$emit('onSuccess')
|
|
|
this.dialogFormVisible = false
|
|
|
+ this.$store.dispatch('changeDetailDrawer',true)
|
|
|
+ this.$router.push({path:'/afterSalesmagDetail',query:{id:res.data.sa_aftersalesmagid,rowindex:res.data.rowindex,type:'退货单'}})
|
|
|
})
|
|
|
})
|
|
|
},
|