diff --git a/src/views/modules/project/projectInfo/com_project_info_part.vue b/src/views/modules/project/projectInfo/com_project_info_part.vue index 27ee78b..05b408b 100644 --- a/src/views/modules/project/projectInfo/com_project_info_part.vue +++ b/src/views/modules/project/projectInfo/com_project_info_part.vue @@ -899,6 +899,26 @@ + +
+
+ {{ message }} +
+
+ + 确 定 + +
+ @@ -986,11 +1006,20 @@ import {downLoadFile, queryFileId, readPartFromFile} from "../../../../api/part/ if (newVal === false){ this.refreshDetailList(); } + }, + 'uploadMessageDialogVisible': { + deep: true, + handler: (val, oldVal) => { + if (val === false) { + this.messages = [] + } + } } }, data() { return { dataList: [], + messages: [], searchData: { site: '', username: this.$store.state.user.name, @@ -1729,6 +1758,7 @@ import {downLoadFile, queryFileId, readPartFromFile} from "../../../../api/part/ ], characteristicSelections: [], saveItemModelFlag: false, + uploadMessageDialogVisible: false, partItemList: [], columnUnitCostList: [ { @@ -3603,12 +3633,8 @@ import {downLoadFile, queryFileId, readPartFromFile} from "../../../../api/part/ if (data && data.code === 0) { if (data.rows.list.length > 0) { if(typeof data.rows.list[0] ==='string'){ - let exceptionString = data.rows.list.join("") - this.$message({ - message: exceptionString, - type: 'warning', - dangerouslyUseHTMLString: true - }); + this.messages = data.rows.list + this.uploadMessageDialogVisible = true } else { data.rows.list.forEach(item => { item.partNo = item.plmPartNo