diff --git a/src/views/modules/common/uploadFileList1.vue b/src/views/modules/common/uploadFileList1.vue
index 31ea968..2c3e687 100644
--- a/src/views/modules/common/uploadFileList1.vue
+++ b/src/views/modules/common/uploadFileList1.vue
@@ -221,6 +221,16 @@ export default {
}
})
},
+ getCombinedDocumentType(row) {
+ // 根据您的需求,组合或拼接需要显示的字段
+ if (row.documentType === null || row.documentType === undefined) {
+ return row.documentDesc
+ }
+ if (row.documentDesc === null || row.documentDesc === undefined) {
+ return row.documentType
+ }
+ return `${row.documentType}${row.documentDesc}`;
+ },
// getDocumentList() {
// getDocumentList(this.modalData).then(({data}) => {
// if (data && data.code === 0) {
@@ -272,10 +282,10 @@ export default {
-
+
-
+
@@ -284,6 +294,12 @@ export default {
点击选择文件
+
+
+
+
+
+
上传
-
+ @current-change="changeCurrentRow1">
+
- 删除
+ {{ getCombinedDocumentType(scope.row) }}
+
+
+ 删除
+
+
diff --git a/src/views/modules/eam/com_project_proof_record.vue b/src/views/modules/eam/com_project_proof_record.vue
index 83d4349..f924495 100644
--- a/src/views/modules/eam/com_project_proof_record.vue
+++ b/src/views/modules/eam/com_project_proof_record.vue
@@ -69,6 +69,11 @@
+
+
+ {{ getCombinedDocumentType(scope.row) }}
+
+
{
@@ -844,6 +841,7 @@
})
this.visible = false
//刷新表格
+ this.getProofingInformation()
this.refreshCurrentTabTable()
} else {
this.$message({
@@ -855,7 +853,13 @@
this.newProofingDocument()
},
getProofingInformation() {
- let tempData = this.modalData
+ let tempData = {
+ site: this.$store.state.user.site,
+ username: this.$store.state.user.name,
+ projectId: this.searchProofData.projectId,
+ page: 1,
+ limit: 1000
+ }
proofingInformationSearch(tempData).then(({data}) => {
//区分请求成功和失败的状况
if (data && data.code === 0) {
@@ -887,7 +891,6 @@
for (let i = 0; i < this.proofDocumentList.length; i++) {
this.proofDocumentList[i].buNo = this.proofDocumenCurrentRow.buNo
}
- console.log(this.proofDocumentList)
if (this.totalPage > 0) {
// 设置选中行
this.$refs.proofDocumentTable.setCurrentRow(this.proofDocumentList[0])
@@ -900,6 +903,16 @@
}
})
},
+ getCombinedDocumentType(row) {
+ // 根据您的需求,组合或拼接需要显示的字段
+ if (row.documentType === null || row.documentType === undefined) {
+ return row.documentDesc
+ }
+ if (row.documentDesc === null || row.documentDesc === undefined) {
+ return row.documentType
+ }
+ return `${row.documentType}${row.documentDesc}`;
+ },
addDocumentList(row) {
this.documentListVisible = true
row.bu = row.site + "-" + row.buNo
@@ -998,11 +1011,13 @@
})
},
saveSelectionDocumentType() {
+ this.getProofDocument()
if (this.documentSelection.length === 0) {
this.$message({
message: '请选择文档类型',
type: 'error'
})
+ this.extraDocumentList = []
return
}
this.documentSelection.forEach((item) => {
@@ -1111,6 +1126,9 @@
if (this.activeName === 'proofDocument') {
this.getProofDocument()
}
+ if (this.activeName === 'proofingTable') {
+ this.getProofingInformation()
+ }
},
createExportData() {
diff --git a/src/views/modules/eam/eamProjectInfo.vue b/src/views/modules/eam/eamProjectInfo.vue
index 3c1552b..72f9f15 100644
--- a/src/views/modules/eam/eamProjectInfo.vue
+++ b/src/views/modules/eam/eamProjectInfo.vue
@@ -1758,7 +1758,6 @@
createBy: this.$store.state.user.name,
}
this.$refs.proofRecord.init1(inData1)
- this.getDataList()
},
updateModal (row) {
this.modalData = {