Browse Source

12.17 Part Export

dev
yuejiayang 1 year ago
parent
commit
404f7590a9
  1. 9
      src/views/modules/part/external.vue

9
src/views/modules/part/external.vue

@ -1315,8 +1315,11 @@ export default {
}, },
// //
onChange (file) {
this.fileList.push(file)
onRemove(file, fileList){
this.fileList = fileList
},
onChange(file, fileList){
this.fileList = fileList
}, },
// //
@ -1666,7 +1669,7 @@ export default {
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<el-upload class="customer-upload" drag action="javascript:void(0);" ref="uploadFile" :limit="1" accept=".xlsx,.xls" <el-upload class="customer-upload" drag action="javascript:void(0);" ref="uploadFile" :limit="1" accept=".xlsx,.xls"
:before-upload="beforeUploadHandle" :on-change="onChange" :auto-upload="false" style="text-align: left;">
:before-upload="beforeUploadHandle" :on-remove="onRemove" :on-change="onChange" :auto-upload="false" style="text-align: left;">
<i class="el-icon-upload"></i> <i class="el-icon-upload"></i>
<div class="el-upload__text">Drag the file hereor<em> click to upload</em></div> <div class="el-upload__text">Drag the file hereor<em> click to upload</em></div>
</el-upload> </el-upload>

Loading…
Cancel
Save