|
|
@@ -48,7 +48,7 @@
|
|
|
</el-alert>
|
|
|
|
|
|
<leo-uploader :requestRoute="'finance/prove-add?id='+auditId" :defaultImageUrl="defaultImageUrl" width="160px" height="160px"
|
|
|
- :uploaderSuccessCanChange="false" @on-success="handleSuccess"></leo-uploader>
|
|
|
+ :uploaderSuccessCanChange="true" @on-success="handleSuccess"></leo-uploader>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
|
|
|
@@ -75,7 +75,7 @@ import LeoUploader from '@/components/Uploader'
|
|
|
import Pagination from '@/components/Pagination'
|
|
|
export default {
|
|
|
name: 'recharge',
|
|
|
- components: {LeoFilter, LeoUploader,Pagination},
|
|
|
+ components: {LeoFilter, LeoUploader, Pagination},
|
|
|
mounted () {
|
|
|
this.getData();
|
|
|
},
|
|
|
@@ -134,7 +134,8 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
uploadAgain (auditId) {
|
|
|
- console.log(auditId)
|
|
|
+ this.dialogInvoiceVisible = false
|
|
|
+ // console.log(auditId)
|
|
|
let row = {
|
|
|
ID: auditId
|
|
|
}
|
|
|
@@ -166,6 +167,7 @@ export default {
|
|
|
handleAddInvoiceShow: function (row) {
|
|
|
this.dialogAddInvoiceLoading = true
|
|
|
this.auditId = row.ID
|
|
|
+ this.defaultImageUrl = row.BANK_PROVE
|
|
|
// console.log(this.auditId)
|
|
|
// this.requestRoute = 'finance/prove-add/' + this.auditId
|
|
|
this.dialogAddInvoiceVisible = true
|
|
|
@@ -177,6 +179,7 @@ export default {
|
|
|
// vueObj.invoiceUrl = response
|
|
|
vueObj.uploadToken = response;
|
|
|
})
|
|
|
+ this.getData()
|
|
|
},
|
|
|
handleSuccess (response, file) {
|
|
|
this.getData()
|
|
|
@@ -185,6 +188,7 @@ export default {
|
|
|
type: 'success'
|
|
|
})
|
|
|
// this.form.image = imageUrl;
|
|
|
+ this.getData()
|
|
|
},
|
|
|
handleInvoiceShow (row) {
|
|
|
this.dialogInvoiceLoading = true
|