Commit dd91706d authored by jingnan's avatar jingnan 👀

三期入库申请流程编辑时弹窗无法关闭问题解决

parent 3e0c5d5b
...@@ -52,7 +52,7 @@ export default { ...@@ -52,7 +52,7 @@ export default {
case 'InStorageExpire': case 'InStorageExpire':
this.cmpOptions = { this.cmpOptions = {
typeName: 'InStorageExpire', // 三期入库 typeName: 'InStorageExpire', // 三期入库
layKey: 'basicInfo_edit_sanqiruku' layKey: 'approvalApply_edit_sanqiruku'
} }
break break
case 'InStoragePurchase': case 'InStoragePurchase':
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* @FilePath: applications/dee-mes/src/privateComponents/components/PurchasingWarehousingProcess/index.vue * @FilePath: applications/dee-mes/src/privateComponents/components/PurchasingWarehousingProcess/index.vue
*/ */
<template> <template>
<div class="purchasingwarehousing-process"> <div :key="refreshKey" class="purchasingwarehousing-process">
<dee-as-com <dee-as-com
:lay-config="{ typeName: 'InStoragePurchase', layKey: 'flowView_view' }" :lay-config="{ typeName: 'InStoragePurchase', layKey: 'flowView_view' }"
:basic-data="{ id: basicData.inventoryReqId }" :basic-data="{ id: basicData.inventoryReqId }"
...@@ -30,7 +30,7 @@ import { post } from '@/utils/http' ...@@ -30,7 +30,7 @@ import { post } from '@/utils/http'
export default { export default {
// componentName: '验收入库申请流程详情只读', // componentName: '验收入库申请流程详情只读',
name: 'PurchasingWarehousingProcessView', // name写在组件的最前方,自定义组件为必填 name: 'PurchasingWarehousingProcess', // name写在组件的最前方,自定义组件为必填
components: {}, // name写在组件的最前方,自定义组件为必填 components: {}, // name写在组件的最前方,自定义组件为必填
props: { props: {
basicData: { basicData: {
...@@ -41,6 +41,7 @@ export default { ...@@ -41,6 +41,7 @@ export default {
data() { data() {
return { return {
tableData: [], tableData: [],
refreshKey: 0,
columns: [ columns: [
{ title: '序号', key: 'parentIndex', align: 'center', headerAlign: 'center' }, { title: '序号', key: 'parentIndex', align: 'center', headerAlign: 'center' },
{ title: '单据编号', key: 'inventoryReq.reqNo', width: '120', align: 'center', headerAlign: 'center' }, { title: '单据编号', key: 'inventoryReq.reqNo', width: '120', align: 'center', headerAlign: 'center' },
...@@ -150,6 +151,9 @@ export default { ...@@ -150,6 +151,9 @@ export default {
this.$nextTick(() => { this.$nextTick(() => {
this.searchInStorageRequestItem() this.searchInStorageRequestItem()
}) })
this.$bus.$on('refreshDataAndClose', (data) => {
this.refreshKey++
})
}, },
methods: { methods: {
handleCustomEvent() { handleCustomEvent() {
...@@ -168,7 +172,7 @@ export default { ...@@ -168,7 +172,7 @@ export default {
{ {
'fieldName': 'id', 'fieldName': 'id',
'operator': 'EQ', 'operator': 'EQ',
'value': this.basicData.id 'value': this.basicData.id || ''
}, },
{ {
'fieldName': 'parentId', 'fieldName': 'parentId',
......
...@@ -155,7 +155,7 @@ export default { ...@@ -155,7 +155,7 @@ export default {
{ {
'fieldName': 'inventoryReqId', 'fieldName': 'inventoryReqId',
'operator': 'EQ', 'operator': 'EQ',
'value': this.basicData.id 'value': this.basicData.id || ''
}, },
{ {
'fieldName': 'parentId', 'fieldName': 'parentId',
......
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