123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253 |
- <template>
- <view class="center">
- <view v-if="deptList.customerTypeFlag == 2">
- <view class="fujians" v-if="license1 != ''">
- <view class="c-row b-b">
- <text class="picturebiaoti">营业执照</text>
- </view>
- <image v-bind:src="license1" class="picture"></image>
- </view>
- <view class="personalcss">
- <view class="c-row b-b">
- <text class="tit">公司名称</text>
- <view class="con-list">
- {{deptList.compName}}
- </view>
- </view>
- <view class="c-row ">
- <text class="tit">纳税人识别号</text>
- <view class="con-list">
- {{deptList.payTaxesCard}}
- </view>
- </view>
- </view>
- </view>
- <view class="fujians" v-if="idup != ''">
- <view class="c-row b-b">
- <text class="picturebiaoti">身份证正面</text>
- </view>
- <image v-bind:src="idup" class="picture"></image>
- </view>
- <view class="fujians" v-if="idlow != ''">
- <view class="c-row b-b">
- <text class="picturebiaoti">身份证反面</text>
- </view>
- <image v-bind:src="idlow" class="picture"></image>
- </view>
- <view class="personalcss">
- <view class="c-row b-b">
- <text class="tit">姓名</text>
- <view class="con-list">
- {{deptList.customerName}}
- </view>
- </view>
- <view class="c-row ">
- <text class="tit">身份证号</text>
- <view class="con-list">
- {{deptList.customerNumberCard}}
- </view>
- </view>
- </view>
- <view class="fujians" v-if="bank1 != ''">
- <view class="c-row b-b">
- <text class="picturebiaoti">银行卡正面</text>
- </view>
- <image v-bind:src="bank1" class="picture"></image>
- </view>
- <view class="fujians" v-if="bank2 != ''">
- <view class="c-row b-b">
- <text class="picturebiaoti">银行卡反面</text>
- </view>
- <image v-bind:src="bank2" class="picture"></image>
- </view>
- <view class="personalcss">
- <view class="c-row b-b">
- <text class="tit">银行卡号</text>
- <view class="con-list">
- {{deptList.bankCard}}
- </view>
- </view>
- <view class="c-row b-b">
- <text class="tit">开户行</text>
- <view class="con-list">
- {{deptList.bankDeposit}}
- </view>
- </view>
- <view class="c-row b-b">
- <text class="tit">开户支行</text>
- <view class="con-list">
- {{deptList.bankDepositBranch}}
- </view>
- </view>
- <view class="c-row b-b">
- <text class="tit">手机号</text>
- <view class="con-list">
- {{deptList.customerPhone}}
- </view>
- </view>
- <view class="c-row " v-if="deptList.customerTypeFlag == 2">
- <text class="tit">公司地址</text>
- <view class="con-list">
- {{deptList.compAddress}}
- </view>
- </view>
- <view class="c-row b-b" v-if="deptList.customerTypeFlag == 1">
- <text class="tit">联系地址</text>
- <view class="con-list">
- {{deptList.compAddress}}
- </view>
- </view>
- <view class="c-row b-b">
- <text class="tit">供应商姓名</text>
- <view class="con-list">
- {{deptList.supplier}}
- </view>
- </view>
- <view class="c-row ">
- <text class="tit">供应商电话</text>
- <view class="con-list">
- {{deptList.supplierPhone}}
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- import {
- mapState
- } from 'vuex';
- export default {
- name: "buy",
- data() {
- return {
- radios: 2,
- deptList:{},
- consentStatus:true,
- consentStatus1:false,
- parameter:{},
- businessman:{},
- id:[],
- idup:"",
- idlow:"",
- license1:"",
- bank1:"",
- bank2:"",
- bankid:[],
- payeeAddress:[],
- };
- },
- onLoad(option) {
- this.parameter.id = option.id,
- this.getList()
- },
- computed: {
- ...mapState(['hasLogin','userInfo'])
- },
- methods: {
- getList(ids) {
- this.$api.doRequest('get', '/identityAuthenticationInfo/api/getIdentityAuthenticationInfo', this.parameter, 'application/json;charset=UTF-8').then(res => {
- this.deptList = res.data.data
-
- if(this.deptList.businessLicenseAddressUrl != ""){
- this.license1 = this.deptList.businessLicenseAddressUrl
- }
- if(this.deptList.cardAddressUrl != ""){
- this.id = this.deptList.cardAddressUrl.split(",")
- this.idup = this.id[0]
- this.idlow = this.id[1]
- }
- if(this.deptList.payeeAddressUrl != ""){
- this.payeeAddress = this.deptList.payeeAddressUrl.split(","),
- this.bank1 = this.payeeAddress[0]
- this.bank2 = this.payeeAddress[1]
- }
- })
- .catch(res => {
- if(res.errmsg){
- uni.showToast({
- title: res.errmsg,
- icon: 'none',
- duration: 2000
- })
- }
- else{
- uni.showToast({
- title: "系统异常,请联系管理员",
- icon: 'none',
- duration: 2000
- })
- }
- });
- },
- consent(){
- if(this.consentStatus == false && this.consentStatus1 == true){
- this.consentStatus = true
- this.consentStatus1 = false
- }else if(this.consentStatus == true && this.consentStatus1 == false){
- this.consentStatus = false
- this.consentStatus1 = true
- }
-
- },
-
- }
- }
- </script>
- <style>
- .center {
- padding: 10px 20px;
- }
- .c-row {
- display: -webkit-box;
- display: -webkit-flex;
- display: flex;
- -webkit-box-align: center;
- -webkit-align-items: center;
- align-items: center;
- padding: 20rpx 30rpx;
- position: relative;
- }
- .con-list {
- -webkit-box-flex: 1;
- -webkit-flex: 1;
- flex: 1;
- display: -webkit-box;
- display: -webkit-flex;
- display: flex;
- -webkit-box-orient: vertical;
- -webkit-box-direction: normal;
- -webkit-flex-direction: column;
- flex-direction: column;
- color: #303133;
- line-height: 40rpx;
- text-align: right;
- padding-right: 20rpx;
- font-size: 14px;
- }
- .picture {
- width: 100%;
- height: 220px;
- text-align: center;
- margin-top: 10px;
- }
- .fujians{
- margin: 0 auto;
- background-color: #FFFFFF;
- margin-top: 30px;
- border-radius: 20px;
- padding: 10px 10px;
- }
- .picturebiaoti{
- font-size: 17px;
- font-weight: 700;
- }
- .personalcss{
- background-color: #FFFFFF;
- border-radius: 20px;
- margin-top: 10px;
- }
- </style>
|