Commit 2f593111 authored by jingnan's avatar jingnan 👀

试验维护记录修改

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