Commit 2f593111 authored by jingnan's avatar jingnan 👀

试验维护记录修改

parent b3ff57e9
......@@ -13,7 +13,7 @@
ref="applyTable"
table-height="60vh"
class="list-table"
:basic-data=" { ...$parent.editor}"
:basic-data=" { ...$parent.editor,headerData}"
:lay-config="{ typeName: 'ExperimentRecord', layKey: 'ExperimentRecord_zhuangpei'}"
@on-deleteRow="deleteRow"
/>
......@@ -70,6 +70,13 @@
<script>
import { post } from '@/utils/http'
export default {
props: {
headerData: {
type: Object,
default: () => {}
}
},
data() {
return {
visible: false,
......
......@@ -534,7 +534,7 @@
<InspectionRejected ref="InspectionRejected" />
<AttachmentUpload ref="AttachmentUpload" />
<!-- 物料确认 -->
<RecordMaintenance ref="RecordMaintenance" @refreshPage="refreshPage" />
<RecordMaintenance ref="RecordMaintenance" :header-data="headerData" @refreshPage="refreshPage" />
<!-- 物料确认 -->
<!-- 试验申请创建 -->
<el-drawer
......@@ -701,6 +701,7 @@ export default {
})
this.$bus.$on('refreshAssemblyPerform', () => {
this.$nextTick(() => {
this.$refs.RecordMaintenance && (this.$refs.RecordMaintenance.visible = false)
this.closeDialog()
})
})
......
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