123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209 |
- <template>
- <view>
- <view class="content">
- <view class="info">
- <view class="info_title">
- <view class="info_title_icon"></view>
- <view class="info_title_name">增值税开票信息</view>
- </view>
- <view class="info_inner">
- <view class="info_inner_item">
- <view class="item_label">
- <text>名称:</text>
- </view>
- <view class="item_text">
- <text>{{Info.name}}</text>
- </view>
- </view>
- <view class="info_inner_item">
- <view class="item_label">
- <text>税号: </text>
- </view>
- <view class="item_text">
- <text>{{Info.identification}}</text>
- </view>
- </view>
- <view class="info_inner_item">
- <view class="item_label">
- <text>地址:</text>
- </view>
- <view class="item_text">
- <text>{{Info.address}}</text>
- </view>
- </view>
- <view class="info_inner_item">
- <view class="item_label">
- <text>电话:</text>
- </view>
- <view class="item_text">
- <text>{{Info.tel}}</text>
- </view>
- </view>
- <view class="info_inner_item">
- <view class="item_label">
- <text>开户行:</text>
- </view>
- <view class="item_text">
- <text>{{Info.bank}}</text>
- </view>
- </view>
- <view class="info_inner_item">
- <view class="item_label">
- <text>账号:</text>
- </view>
- <view class="item_text">
- <text>{{Info.account}}</text>
- </view>
- </view>
- </view>
- </view>
-
- <view class="info">
- <view class="info_title">
- <view class="info_title_name">交款信息</view>
- </view>
- <view class="info_inner">
- <view class="info_inner_item">
- <view class="item_label">
- <text>账户名称:</text>
- </view>
- <view class="item_text">
- <text>{{Payment.name}}</text>
- </view>
- </view>
- <view class="info_inner_item">
- <view class="item_label">
- <text>开户行: </text>
- </view>
- <view class="item_text">
- <text>{{Payment.bank}}</text>
- </view>
- </view>
- <view class="info_inner_item">
- <view class="item_label">
- <text>账户:</text>
- </view>
- <view class="item_text">
- <text>{{Payment.account}}</text>
- </view>
- </view>
-
- </view>
- </view>
-
- <view class="info">
- <view class="info_title">
- <view class="info_title_name">收据抬头</view>
- </view>
- <view class="info_inner">
- <view class="info_inner_item">
- <view class="item_label">
- <text>名称:</text>
- </view>
- <view class="item_text">
- <text>{{Title}}</text>
- </view>
- </view>
-
- </view>
- </view>
-
-
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- Info:{},
- Payment:{},
- Title:""
- };
- },
- onLoad() {
- this.getInvoice()
- },
- methods:{
- // 请求开票信息
- getInvoice(){
- this.$api.workbench_invoice_info({
-
- }).then((res)=>{
- console.log(res)
- const data = res.data.data
- console.log(data)
- this.Info = data.invoiceInfo
- this.Payment = data.invoicePayment
- this.Title = data.invoiceTitle
- })
-
- },
-
- }
- }
- </script>
- <style lang="scss">
- page{
- background-color: #009FE8;
- }
- .content{
- background-color: #009FE8;
- box-sizing: border-box;
- padding: 31rpx 36rpx 0;
- padding-bottom: 50rpx;
- .info{
- margin-bottom: 20rpx;
- box-sizing: border-box;
- padding-top: 19rpx;
- background: #FFFFFF;
- border-radius: 20rpx;
- .info_title{
- display: flex;
- justify-content: center;
- .info_title_icon{
- width: 52rpx;
- height: 52rpx;
- background-image: url(./icon/invoice.png);
- background-size: cover;
- background-repeat: no-repeat;
- }
- .info_title_name{
- margin-left: 12rpx;
- font-size: 38rpx;
- font-weight: 500;
- color: #232627;
- line-height: 52rpx;
- }
- }
- .info_inner{
- box-sizing: border-box;
- padding-left: 46rpx;
- padding-bottom: 40rpx;
- .info_inner_item{
- overflow: hidden;
- margin-top: 40rpx;
-
- font-size: 27rpx;
- font-weight: 500;
- color: #7D7C7C;
- line-height: 39rpx;
- .item_label{
- float: left;
- width: 140rpx;
- }
- .item_text{
- float: left;
- width: 440rpx;
- color: #2C3E50;
- }
- }
- }
- }
- }
- </style>
|