companyMsg.vue 4.03 KB
<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>