Commit d3500f4d authored by jingnan's avatar jingnan 👀

入库申请节点编辑修改

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