|
@@ -404,7 +404,7 @@ export default {
|
|
},
|
|
},
|
|
name: 'ApplyReturnForm',
|
|
name: 'ApplyReturnForm',
|
|
componentName: 'ApplyReturnForm',
|
|
componentName: 'ApplyReturnForm',
|
|
- props: ['listItem'],
|
|
|
|
|
|
+ props: ['listItem', 'isShow'],
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
mainForm: {
|
|
mainForm: {
|
|
@@ -493,8 +493,7 @@ export default {
|
|
methods: {
|
|
methods: {
|
|
// 返回列表
|
|
// 返回列表
|
|
goBack() {
|
|
goBack() {
|
|
- console.log(45454)
|
|
|
|
- if (this.$parent.isShow == 'true') {
|
|
|
|
|
|
+ if (this.isShow == 'true') {
|
|
this.$router.replace('/supply/implement/sum_list')
|
|
this.$router.replace('/supply/implement/sum_list')
|
|
} else {
|
|
} else {
|
|
this.$emit('backListFormDetail')
|
|
this.$emit('backListFormDetail')
|
|
@@ -755,14 +754,12 @@ export default {
|
|
this.$emit('shuaxinlb')
|
|
this.$emit('shuaxinlb')
|
|
this.$successMsg('编辑成功')
|
|
this.$successMsg('编辑成功')
|
|
this.goBack()
|
|
this.goBack()
|
|
- this.$parent?.getList()
|
|
|
|
})
|
|
})
|
|
} else {
|
|
} else {
|
|
addApplyReturn(params).then(res => {
|
|
addApplyReturn(params).then(res => {
|
|
this.$emit('shuaxinlb')
|
|
this.$emit('shuaxinlb')
|
|
this.$successMsg('添加成功')
|
|
this.$successMsg('添加成功')
|
|
this.goBack()
|
|
this.goBack()
|
|
- this.$parent?.getList()
|
|
|
|
})
|
|
})
|
|
}
|
|
}
|
|
}
|
|
}
|