Commit d3500f4d authored by jingnan's avatar jingnan 👀

入库申请节点编辑修改

parent c83b4b69
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
v-else v-else
style="border:none;" style="border:none;"
:lay-config="cmpOptions" :lay-config="cmpOptions"
:basic-data="basicData" :basic-data="{...basicData,InStorageApplyProcessId:InStorageApplyProcessInfo.id}"
/> />
</div> </div>
</template> </template>
...@@ -30,11 +30,18 @@ export default { ...@@ -30,11 +30,18 @@ export default {
return { return {
cmpOptions: { cmpOptions: {
typeName: 'InStorageRecall', typeName: 'InStorageRecall',
layKey: 'edit' layKey: 'edit_applyApproval'
}, },
purchaseVis: false purchaseVis: false
} }
}, },
inject: {
'InStorageApplyProcessInfo': {
default: () => {
return { InStorageApplyProcessInfo: null }
}
} // 流程basicData的id
},
computed: {}, computed: {},
watch: { watch: {
basicData: { basicData: {
...@@ -46,7 +53,7 @@ export default { ...@@ -46,7 +53,7 @@ export default {
case 'InStorageRecall': case 'InStorageRecall':
this.cmpOptions = { this.cmpOptions = {
typeName: 'InStorageRecall', // 返厂入库 typeName: 'InStorageRecall', // 返厂入库
layKey: 'edit' layKey: 'edit_applyApproval'
} }
break break
case 'InStorageExpire': case 'InStorageExpire':
......
...@@ -5,8 +5,9 @@ ...@@ -5,8 +5,9 @@
* @FilePath: applications/dee-mes/src/privateComponents/components/PurchasingWarehousingProcess/index.vue * @FilePath: applications/dee-mes/src/privateComponents/components/PurchasingWarehousingProcess/index.vue
*/ */
<template> <template>
<div :key="refreshKey" class="purchasingwarehousing-process"> <div class="purchasingwarehousing-process">
<dee-as-com <dee-as-com
:key="refreshKey"
:lay-config="topLayConfig" :lay-config="topLayConfig"
:basic-data="{ id: basicData.inventoryReqId }" :basic-data="{ id: basicData.inventoryReqId }"
/> />
...@@ -172,6 +173,7 @@ export default { ...@@ -172,6 +173,7 @@ export default {
}) })
this.$bus.$on('refreshDataAndClose', (data) => { this.$bus.$on('refreshDataAndClose', (data) => {
this.refreshKey++ this.refreshKey++
this.handleCustomEvent()
}) })
}, },
methods: { methods: {
......
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