|
@@ -12,12 +12,14 @@
|
|
|
<div class="stitle">发票图片(不超过2MB)</div>
|
|
<div class="stitle">发票图片(不超过2MB)</div>
|
|
|
<div class="uploadInfo">
|
|
<div class="uploadInfo">
|
|
|
<el-upload
|
|
<el-upload
|
|
|
|
|
+ v-loading="uploading"
|
|
|
class="avatar-uploader"
|
|
class="avatar-uploader"
|
|
|
action="#"
|
|
action="#"
|
|
|
:show-file-list="false"
|
|
:show-file-list="false"
|
|
|
:multiple="false"
|
|
:multiple="false"
|
|
|
|
|
+ :limit="1"
|
|
|
accept="image/png, image/jpeg"
|
|
accept="image/png, image/jpeg"
|
|
|
- :before-upload="(file) => handleFileChange(file, 'invoiceImg')"
|
|
|
|
|
|
|
+ :before-upload="handleFileChange"
|
|
|
>
|
|
>
|
|
|
<i v-if="invoiceImg" class="el-icon-delete avatar-uploader-icon"
|
|
<i v-if="invoiceImg" class="el-icon-delete avatar-uploader-icon"
|
|
|
@click.stop="() => handleDeleteFile('invoiceImg') "></i>
|
|
@click.stop="() => handleDeleteFile('invoiceImg') "></i>
|
|
@@ -95,6 +97,7 @@
|
|
|
this.uploading = false;
|
|
this.uploading = false;
|
|
|
console.log('upload end')
|
|
console.log('upload end')
|
|
|
});
|
|
});
|
|
|
|
|
+ return false
|
|
|
},
|
|
},
|
|
|
/** 删除问及爱你 **/
|
|
/** 删除问及爱你 **/
|
|
|
handleDeleteFile() {
|
|
handleDeleteFile() {
|