dcf54a32
刘淇
扬名微信公众号
|
1
2
3
|
<template>
<div>
<group title="开票历史">
|
fe11c22e
刘淇
开票
|
4
5
6
|
<cell title="发票预览" :link="$route.query.invoiceUrl"></cell>
<cell title="收件信息" :inline-desc="'电子邮箱:'+ $route.query.custEmail"></cell>
<cell title="发票包含内容" :inline-desc="'该发票包含'+$route.query.len+'笔交易'" :link="{path:'exchange'}"></cell>
|
dcf54a32
刘淇
扬名微信公众号
|
7
8
9
10
|
</group>
<group title="">
<div style="padding: 40px 20px;">
|
fe11c22e
刘淇
开票
|
11
12
13
|
<div >
<x-button :gradients="['#1D62F0', '#19D5FD']" @click.native="sentEmail">重发电子邮箱</x-button>
</div>
|
dcf54a32
刘淇
扬名微信公众号
|
14
15
16
17
18
19
20
21
22
|
<div style="text-align: center;padding-top: 20px;">客服电话: 0714-6212345</div>
</div>
</group>
</div>
</template>
<script>
import {
|
fe11c22e
刘淇
开票
|
23
|
resendInvoiceMail
|
dcf54a32
刘淇
扬名微信公众号
|
24
25
26
|
} from "@/api/invoice/invoice.js";
export default {
name: "invoiceDetail",
|
fe11c22e
刘淇
开票
|
27
|
|
dcf54a32
刘淇
扬名微信公众号
|
28
29
30
31
32
33
34
|
data() {
return {
list: []
};
},
mounted() {
},
|
fe11c22e
刘淇
开票
|
35
36
37
38
39
40
41
42
43
44
45
|
methods: {
sentEmail: function() {
let obj = {
invoiceId:this.$route.query.invoiceId,
orgId:this.$utils.myOrgId
}
let jsondata = Object.assign(obj, this.$utils.commonParams());
jsondata.sign = this.$utils.signObject(jsondata);
console.log(JSON.stringify(jsondata));
resendInvoiceMail(jsondata).then(response => {
console.log(response);
|
7f049c3f
刘淇
开票
|
46
|
this.$vux.toast.text(response. message, 'top')
|
fe11c22e
刘淇
开票
|
47
48
49
|
});
}
}
|
dcf54a32
刘淇
扬名微信公众号
|
50
51
52
53
54
55
56
57
58
59
60
61
|
};
</script>
<style scoped lang="scss">
.noDada {
text-align: center;
img {
margin: 20px auto;
}
}
</style>
|