[update] 修改企标制修订流程
This commit is contained in:
+3
-3
@@ -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(',')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user