Commit dd91706d authored by jingnan's avatar jingnan 👀

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

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