Commit c2bd387e authored by jingnan's avatar jingnan 👀

生产准备工确认修改

parent 800d25df
...@@ -148,6 +148,7 @@ export default { ...@@ -148,6 +148,7 @@ export default {
} }
}) })
this.requests.find(item => item.name === '配套出库').lists = data this.requests.find(item => item.name === '配套出库').lists = data
this.currentAoClick(data[0], 0)
}).catch(err => console.log(err)).finally(() => { }).catch(err => console.log(err)).finally(() => {
this.loading = false this.loading = false
}) })
......
<template> <template>
<div class="proPreConfirmRight"> <div class="proPreConfirmRight">
<dee-as-com <dee-as-com
:basic-data=" {...currentAo.joExecutePlan[0]}" :basic-data=" {...(currentAo&&currentAo.joExecutePlan&&currentAo.joExecutePlan[0]||{})}"
:lay-config="{ typeName: 'JoExecutePlan', layKey: 'batchSign_proPreConfirm_aoInfo'}" :lay-config="{ typeName: 'JoExecutePlan', layKey: 'batchSign_proPreConfirm_aoInfo'}"
/> />
<dee-as-com <dee-as-com
...@@ -55,8 +55,10 @@ export default { ...@@ -55,8 +55,10 @@ export default {
this.selectionRows = val this.selectionRows = val
}, },
init(currentAo) { init(currentAo) {
setTimeout(() => {
this.$refs.outStorageMatch && this.$refs.outStorageMatch.$refs.asCom.getData(currentAo && currentAo.id || 0) this.$refs.outStorageMatch && this.$refs.outStorageMatch.$refs.asCom.getData(currentAo && currentAo.id || 0)
this.$refs.outStorageMatchItem && this.$refs.outStorageMatchItem.$refs.asCom.getData(currentAo && currentAo.id || 0) this.$refs.outStorageMatchItem && this.$refs.outStorageMatchItem.$refs.asCom.getData(currentAo && currentAo.id || 0)
}, 100)
} }
} }
} }
......
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