[update] 修改企标计划立项/变更流程

This commit is contained in:
lideqin
2023-10-08 16:51:17 +08:00
parent 893e1450af
commit 526f0629bc
15 changed files with 1873 additions and 651 deletions
+11
View File
@@ -135,6 +135,11 @@ export default {
disabledUpload: {
type: Boolean,
default: false
},
fileMaxSize: {
type: Number,
required: false,
default: 500
}
},
data () {
@@ -342,6 +347,12 @@ export default {
file.uploadGoOn = false
return false
}
if (this.fileMaxSize && fileSize > 1024 * 1024 * this.fileMaxSize) {
this.$message.error(this.$t('uploadFile.pleaseUpload') + this.fileMaxSize + this.$t('uploadFile.theFollowingDocuments'))
this.uploadGoOn = false
file.uploadGoOn = false
return false
}
if (fileSize > 1024 * 1024 * 500) {
this.$message.error(this.$t('uploadFile.maxSize'))
this.uploadGoOn = false