Commit 1bb7646b authored by jingnan's avatar jingnan 👀

采购入库新增完成后主界面未刷新bug修改

parent b68b9da2
......@@ -89,7 +89,6 @@ export default {
if ((!query || query.length < 3) && !id) return
if (this.remoteFlag) {
this.remoteFlag = false
const requestUrl = 'ExtDxProductWorkUnit'
const params = {
'pageFrom': 1,
'pageSize': 10,
......@@ -107,7 +106,7 @@ export default {
}
this.loading = true
this.options = []
this.$api.searchApi(requestUrl, params).then(res => {
this.$api.searchApi('ExtDxProductWorkUnit', params).then(res => {
if (res.items && res.items.content.length) {
this.options = res.items.content.map((item) => {
return {
......
......@@ -488,6 +488,7 @@ export default {
// query: { title: '采购入库', menuRootAppId: '1626781924331' }
// })
this.$emit('cancel')
this.$bus.$emit('refreshPurchaseData')
},
initData() {
this.getInventoryRequest()
......
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