Commit 58fc0ffc authored by jingnan's avatar jingnan 👀

入库确认,批量签审填写完库位,不要按照页面全部刷新

parent f41112e6
......@@ -162,7 +162,8 @@ export default {
},
saveWorkUnit(params) {
this.$api.recursion('JobResponseInStorage', params).then(res => {
this.$bus.$emit('reloadModuleList')
// this.$bus.$emit('reloadModuleList')
this.$bus.$emit('refreshBatchSignDetails')
})
}
}
......
......@@ -40,7 +40,7 @@ export default {
created() {
this.$bus.$on('reloadModuleList', (hasFlag) => {
this.$nextTick(() => {
this.$refs.moduleTaskList.loadData(hasFlag)
this.$refs.moduleTaskList && this.$refs.moduleTaskList.loadData(hasFlag)
})
})
},
......
......@@ -33,8 +33,15 @@ export default {
},
computed: {},
watch: {},
created() {},
mounted() {},
created() {
},
mounted() {
this.$bus.$on('refreshBatchSignDetails', () => {
this.$nextTick(() => {
this.$refs.applyTable && this.$refs.applyTable.$refs.asCom.getData()
})
})
},
// 组件方法
methods: {
selectionChange(val) {
......
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