[update] 修改企标制修订流程

This commit is contained in:
lideqin
2023-12-25 10:37:33 +08:00
parent 3e024f91c6
commit f58c41bc74
4 changed files with 25 additions and 12 deletions
@@ -128,7 +128,7 @@ export default {
// 看能上传企标的行是否都上传了
let hasErr = false
for (const item of this.dataSource) {
if (item.drafter === this.userInfo.id && item.expirationDate < this.currentDate && !item.standardFile) {
if (item.operateType !== '1' && !item.fileId) {
// 需要上传企标,但是没有企标文件
hasErr = true
}
@@ -147,7 +147,7 @@ export default {
},
// 上传企标
handleUploadStandard (record, index) {
this.$refs.uploadFile.open(record.standardFile)
this.$refs.uploadFile.open(record.fileId)
this.uploadIndex = index
},
// 上传企标后的回调
@@ -159,7 +159,7 @@ export default {
})
}
/** 赋值给对应行的企标 */
this.dataSource[this.uploadIndex].standardFile = attIdList.join(',')
this.dataSource[this.uploadIndex].fileId = attIdList.join(',')
}
}
}