companyMsg.vue
4.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<template>
<view>
<view class=" bg-white uni-text margin-bottom-5" style="padding-left: 15px">
<view class="jy-fix-height34">
<text class="color-black">抬头类型:</text>
<text class="color-black">{{titleIfo.invoiceType==0?'个人':'企业'}}</text>
</view>
</view>
<uni-section title="发票详情" type="line">
<view class="uni-list">
<view class="uni-list-cell jy-fix-height34">
<view class="uni-list-cell-left">
<text class="is-required">*</text>
发票抬头:
</view>
<view class="uni-list-cell-db">
{{titleIfo.name}}
</view>
</view>
<view class="uni-list-cell jy-fix-height34" v-if="titleIfo.invoiceType==1">
<view class="uni-list-cell-left">
<text class="is-required">*</text>
纳税人识别号:
</view>
<view class="uni-list-cell-db">
{{titleIfo.taxid}}
</view>
</view>
<view class="uni-list-cell" v-if="titleIfo.invoiceType==1">
<view class="uni-list-cell-left jy-fix-height34" >
注册地址:
</view>
<view class="uni-list-cell-db uni-ellipsis-2">
{{titleIfo.address}}
</view>
</view>
<view class="uni-list-cell jy-fix-height34" v-if="titleIfo.invoiceType==1">
<view class="uni-list-cell-left">
注册电话:
</view>
<view class="uni-list-cell-db">
{{titleIfo.phone}}
</view>
</view>
<view class="uni-list-cell" v-if="titleIfo.invoiceType==1">
<view class="uni-list-cell-left jy-fix-height34">
开户行:
</view>
<view class="uni-list-cell-db uni-ellipsis-2">
{{titleIfo.bankName}}
</view>
</view>
<view class="uni-list-cell jy-fix-height34" v-if="titleIfo.invoiceType==1">
<view class="uni-list-cell-left">
开户账号:
</view>
<view class="uni-list-cell-db">
{{titleIfo.taxid}}
</view>
</view>
<view class="uni-list-cell jy-fix-height34">
<view class="uni-list-cell-left">
<text class="is-required">*</text>
手机号:
</view>
<view class="uni-list-cell-db">
{{titleIfo.phone}}
</view>
</view>
<view class="uni-list-cell jy-fix-height34" >
<view class="uni-list-cell-left">
<text class="is-required">*</text>
电子邮箱:
</view>
<view class="uni-list-cell-db">
{{titleIfo.email}}
</view>
</view>
<view class="uni-list-cell jy-fix-height34" >
<view class="uni-list-cell-left">
备注:
</view>
<view class="uni-list-cell-db">
{{titleIfo.remark}}
</view>
</view>
</view>
</uni-section>
</view>
</template>
<script>
export default {
data() {
return {
titleIfo:{}
};
},
onLoad(){
this.titleIfo = JSON.parse(uni.getStorageSync('companyMsg'))
console.log(this.titleIfo)
}
}
</script>
<style lang="scss">
</style>