| | |
| | | <el-option |
| | | v-for="item in partcodeArr" |
| | | :key="item.partcode" |
| | | :label="item.partname" |
| | | :label="item.partname+' / '+item.partcode" |
| | | :value="item.partcode" |
| | | /> |
| | | </el-select> |
| | |
| | | :on-exceed="handleExceed" |
| | | :auto-upload="false" |
| | | :multiple="false" |
| | | accept=".mp4,.pdf,.png,.jpeg,.svg,.txt,.xlsx,.xls" |
| | | > |
| | | <!-- accept=".mp4,.pdf"--> |
| | | <el-button |
| | |
| | | this.$message.info('请选择文件上传!') |
| | | } |
| | | |
| | | const isLt100M = this.$refs.uploadFileRef.uploadFiles[0].size / 1024 / 1024 <= 1024 |
| | | if (!isLt100M) { |
| | | return this.$message.info('请检查,上传文件大小不能超过1024MB!') |
| | | } |
| | | |
| | | this.$refs.dialogForm.validate(valid => { |
| | | if (valid) { |
| | | const formData = new FormData() |