|
@@ -245,6 +245,9 @@ export default {
|
|
|
this.queryParam.settleState = undefined
|
|
|
this.queryParam.returnTargetSn = undefined
|
|
|
this.queryParam.grabFlag = undefined
|
|
|
+ if (!flag) {
|
|
|
+ this.setIsHomeNav(this.$route.name, null)
|
|
|
+ }
|
|
|
},
|
|
|
// 获取供应商数据
|
|
|
setPurchaseTragetType (data) {
|
|
@@ -276,7 +279,6 @@ export default {
|
|
|
// 新增后跳转到编辑页,非列表点击的编辑,重置查询条件
|
|
|
if (!flag) {
|
|
|
this.resetData()
|
|
|
- this.setIsHomeNav(this.$route.name, null)
|
|
|
}
|
|
|
this.$router.push({ name: row.grabFlag == 1 ? 'purchaseReturnOutSyncGrapEdit' : 'purchaseReturnOutSyncEdit', params: { sn: row.purchaseReturnSn, returnTargetType: row.returnTargetType } })
|
|
|
},
|
|
@@ -347,7 +349,6 @@ export default {
|
|
|
if (isHomeNav.type == 'new') {
|
|
|
this.resetSearchForm()
|
|
|
this.openModal = true
|
|
|
- this.setIsHomeNav(this.$route.name, null)
|
|
|
}
|
|
|
// 待办
|
|
|
if (isHomeNav.type == 'todo') {
|