52326 标准入库流程,上传附件限制为8个,跟国内库保持一致
This commit is contained in:
@@ -1059,6 +1059,8 @@
|
||||
<el-upload
|
||||
multiple
|
||||
drag
|
||||
:limit="8"
|
||||
:on-exceed="handleExceed"
|
||||
:file-list="fileList"
|
||||
:action="fileUrl"
|
||||
ref="importfile"
|
||||
@@ -1921,6 +1923,10 @@ export default {
|
||||
// },
|
||||
},
|
||||
methods: {
|
||||
//限制上传文件个数
|
||||
handleExceed (files, fileList) {
|
||||
this.$message.warning(`当前限制选择 8 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`)
|
||||
},
|
||||
// 标准来源改变事件
|
||||
standInChange(val) {
|
||||
this.verifySarStandard = false
|
||||
|
||||
@@ -1375,6 +1375,8 @@
|
||||
<el-upload
|
||||
multiple
|
||||
drag
|
||||
:limit="8"
|
||||
:on-exceed="handleExceed"
|
||||
:file-list="fileList"
|
||||
:action="fileUrl"
|
||||
ref="importfile"
|
||||
@@ -1837,6 +1839,10 @@ export default {
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
//限制上传文件个数
|
||||
handleExceed (files, fileList) {
|
||||
this.$message.warning(`当前限制选择 8 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`)
|
||||
},
|
||||
// 标准来源改变事件
|
||||
standInChange(val) {
|
||||
this.verifySarStandard = false
|
||||
|
||||
Reference in New Issue
Block a user