|
|
@@ -157,7 +157,7 @@
|
|
|
<!-- 备注信息 -->
|
|
|
<RemarkInfo ref="remarkRefs" :form="remarkform" />
|
|
|
<!-- 关联信息 -->
|
|
|
- <linkMsg ref="linkMsgRef" :form="form" />
|
|
|
+ <linkMsg ref="linkMsgRef" :id="id" />
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -180,6 +180,7 @@
|
|
|
import { getDetails } from '@/api/classifyManage/itemInformation';
|
|
|
import { addMaterial } from '@/api/material/manage.js';
|
|
|
import { deepClone } from '@/utils/index';
|
|
|
+ import { finishPageTab , reloadPageTab } from '@/utils/page-tab-util';
|
|
|
export default {
|
|
|
name: 'ManageMaterial',
|
|
|
components: {
|
|
|
@@ -231,6 +232,7 @@
|
|
|
]
|
|
|
},
|
|
|
PathInfo:{},
|
|
|
+ id:null
|
|
|
};
|
|
|
},
|
|
|
created () {
|
|
|
@@ -238,6 +240,7 @@
|
|
|
},
|
|
|
methods: {
|
|
|
async _getDetails () {
|
|
|
+ this.id = this.$route.query.id
|
|
|
const data = await getDetails(this.$route.query.id);
|
|
|
const info = deepClone(data)
|
|
|
this.form = {
|
|
|
@@ -311,6 +314,7 @@
|
|
|
this.$refs.categoryRefs.open(this.form.categoryLevelGroupId);
|
|
|
},
|
|
|
cancel () {
|
|
|
+ finishPageTab()
|
|
|
this.$router.go(-1);
|
|
|
},
|
|
|
|