Commit 26270090 authored by jingnan's avatar jingnan 👀

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

parent cd0fcb26
...@@ -357,7 +357,7 @@ export default { ...@@ -357,7 +357,7 @@ export default {
this.$api.recursion('JobResponseInTest', params).then(res => { this.$api.recursion('JobResponseInTest', params).then(res => {
this.$utils.showMessageSuccess('保存成功!') this.$utils.showMessageSuccess('保存成功!')
const subTypeName = this.basicData && this.basicData.subTypeName || '' 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') this.$bus.$emit('refreshBackItem')
} }
resolve(true) resolve(true)
......
...@@ -942,7 +942,7 @@ export default { ...@@ -942,7 +942,7 @@ export default {
this.$api.recursion('JobResponseInTest', params).then(res => { this.$api.recursion('JobResponseInTest', params).then(res => {
this.$utils.showMessageSuccess('保存成功!') this.$utils.showMessageSuccess('保存成功!')
const subTypeName = this.basicData && this.basicData.subTypeName || '' 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') this.$bus.$emit('refreshBackItem')
} }
resolve(true) resolve(true)
......
...@@ -327,7 +327,7 @@ export default { ...@@ -327,7 +327,7 @@ export default {
this.$api.recursion('JobResponseInTest', params).then(res => { this.$api.recursion('JobResponseInTest', params).then(res => {
this.$utils.showMessageSuccess('保存成功!') this.$utils.showMessageSuccess('保存成功!')
const subTypeName = this.basicData && this.basicData.subTypeName || '' 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') this.$bus.$emit('refreshBackItem')
} }
resolve(true) resolve(true)
......
...@@ -168,6 +168,13 @@ export default { ...@@ -168,6 +168,13 @@ export default {
this.$nextTick(() => { this.$nextTick(() => {
this.searchInStorageRequestItem() 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: { methods: {
// 编辑采购入库明细查询InStorageRequestItem/search // 编辑采购入库明细查询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