Commit 26270090 authored by jingnan's avatar jingnan 👀

验收入库检验流程点击保存无反应bug修改

parent cd0fcb26
......@@ -357,7 +357,7 @@ export default {
this.$api.recursion('JobResponseInTest', params).then(res => {
this.$utils.showMessageSuccess('保存成功!')
const subTypeName = this.basicData && this.basicData.subTypeName || ''
if (subTypeName === 'InStorageUseBackItem' || subTypeName === 'InStorageOutBackItem' || subTypeName === 'InStorageMatchBackItem') {
if (subTypeName === 'InStorageUseBackItem' || subTypeName === 'InStorageOutBackItem' || subTypeName === 'InStorageMatchBackItem' || subTypeName === 'InStoragePurchaseItem') {
this.$bus.$emit('refreshBackItem')
}
resolve(true)
......
......@@ -942,7 +942,7 @@ export default {
this.$api.recursion('JobResponseInTest', params).then(res => {
this.$utils.showMessageSuccess('保存成功!')
const subTypeName = this.basicData && this.basicData.subTypeName || ''
if (subTypeName === 'InStorageUseBackItem' || subTypeName === 'InStorageOutBackItem' || subTypeName === 'InStorageMatchBackItem') {
if (subTypeName === 'InStorageUseBackItem' || subTypeName === 'InStorageOutBackItem' || subTypeName === 'InStorageMatchBackItem' || subTypeName === 'InStoragePurchaseItem') {
this.$bus.$emit('refreshBackItem')
}
resolve(true)
......
......@@ -327,7 +327,7 @@ export default {
this.$api.recursion('JobResponseInTest', params).then(res => {
this.$utils.showMessageSuccess('保存成功!')
const subTypeName = this.basicData && this.basicData.subTypeName || ''
if (subTypeName === 'InStorageUseBackItem' || subTypeName === 'InStorageOutBackItem' || subTypeName === 'InStorageMatchBackItem') {
if (subTypeName === 'InStorageUseBackItem' || subTypeName === 'InStorageOutBackItem' || subTypeName === 'InStorageMatchBackItem' || subTypeName === 'InStoragePurchaseItem') {
this.$bus.$emit('refreshBackItem')
}
resolve(true)
......
......@@ -168,6 +168,13 @@ export default {
this.$nextTick(() => {
this.searchInStorageRequestItem()
})
this.$bus.$on('refreshBackItem', (data) => {
this.$refs.editDrawer && this.$refs.editDrawer.onClose()
this.searchInStorageRequestItem()
})
this.$bus.$on('cancleEditDrawer', (data) => {
this.$refs.editDrawer && this.$refs.editDrawer.onClose()
})
},
methods: {
// 编辑采购入库明细查询InStorageRequestItem/search
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment