|
@@ -1,77 +1,81 @@
|
|
<template>
|
|
<template>
|
|
<view class="center">
|
|
<view class="center">
|
|
<view>
|
|
<view>
|
|
- <label class="radio" v-model="radios">
|
|
|
|
|
|
+ <image @click='consent' style='width:14px;height:14px;position:relative;top:2px;margin-right:5px;' :src="consentStatus==true?'../../static/img/login/select@2x.png':'../../static/img/login/selected2.png'" alt=""></image>
|
|
|
|
+ <text>公司</text>
|
|
|
|
+ <image @click='consent' style='width:14px;height:14px;position:relative;top:2px;margin-right:5px;' :src="consentStatus1==true?'../../static/img/login/select@2x.png':'../../static/img/login/selected2.png'" alt=""></image>
|
|
|
|
+ <text>个人</text>
|
|
|
|
+ <!-- <label class="radio" v-model="radios">
|
|
<radio value="1" name="radios" /><text>公司</text>
|
|
<radio value="1" name="radios" /><text>公司</text>
|
|
<radio value="2" name="radios" /><text>个人</text>
|
|
<radio value="2" name="radios" /><text>个人</text>
|
|
- </label>
|
|
|
|
|
|
+ </label> -->
|
|
</view>
|
|
</view>
|
|
- <view v-if="radios == 1">
|
|
|
|
- <view>
|
|
|
|
- <button type="default">上传营业执照</button>
|
|
|
|
- </view>
|
|
|
|
- <view class="c-row b-b">
|
|
|
|
- <text class="tit">公司名称</text>
|
|
|
|
- <view class="con-list">
|
|
|
|
- <input placeholder="请填写公司名称" name="input" @input="addressInput"></input>
|
|
|
|
|
|
+ <view v-if="consentStatus == true">
|
|
|
|
+ <view>
|
|
|
|
+ <button type="default">营业执照</button>
|
|
</view>
|
|
</view>
|
|
- </view>
|
|
|
|
- <view class="c-row b-b">
|
|
|
|
- <text class="tit">纳税人识别号</text>
|
|
|
|
- <view class="con-list">
|
|
|
|
- <input placeholder="请填写纳税人识别号" name="input" @input="addressInput"></input>
|
|
|
|
|
|
+ <view class="c-row b-b">
|
|
|
|
+ <text class="tit">公司名称</text>
|
|
|
|
+ <view class="con-list">
|
|
|
|
+ {{deptList.compName}}
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
- </view>
|
|
|
|
- <view>
|
|
|
|
- <button type="default">上传身份证正面</button>
|
|
|
|
- <button type="default">上传身份证反面</button>
|
|
|
|
- </view>
|
|
|
|
- <view class="c-row b-b">
|
|
|
|
- <text class="tit">姓名</text>
|
|
|
|
- <view class="con-list">
|
|
|
|
- <input placeholder="请填写姓名" name="input" @input="addressInput"></input>
|
|
|
|
|
|
+ <view class="c-row b-b">
|
|
|
|
+ <text class="tit">纳税人识别号</text>
|
|
|
|
+ <view class="con-list">
|
|
|
|
+ {{deptList.payTaxesCard}}
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
- </view>
|
|
|
|
- <view class="c-row b-b">
|
|
|
|
- <text class="tit">身份证号</text>
|
|
|
|
- <view class="con-list">
|
|
|
|
- <input placeholder="请填写身份证号" name="input" @input="addressInput"></input>
|
|
|
|
|
|
+ <view>
|
|
|
|
+ <button type="default">身份证正面</button>
|
|
|
|
+ <button type="default">身份证反面</button>
|
|
</view>
|
|
</view>
|
|
- </view>
|
|
|
|
- <view>
|
|
|
|
- <button type="default">上传银行卡正面</button>
|
|
|
|
- <button type="default">上传银行卡反面</button>
|
|
|
|
- </view>
|
|
|
|
- <view class="c-row b-b">
|
|
|
|
- <text class="tit">银行卡号</text>
|
|
|
|
- <view class="con-list">
|
|
|
|
- <input placeholder="请填写银行卡号" name="input" @input="addressInput"></input>
|
|
|
|
|
|
+ <view class="c-row b-b">
|
|
|
|
+ <text class="tit">姓名</text>
|
|
|
|
+ <view class="con-list">
|
|
|
|
+ {{deptList.customerName}}
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
- </view>
|
|
|
|
- <view class="c-row b-b">
|
|
|
|
- <text class="tit">开户行</text>
|
|
|
|
- <view class="con-list">
|
|
|
|
- <input placeholder="请填写开户行" name="input" @input="addressInput"></input>
|
|
|
|
|
|
+ <view class="c-row b-b">
|
|
|
|
+ <text class="tit">身份证号</text>
|
|
|
|
+ <view class="con-list">
|
|
|
|
+ {{deptList.customerNumberCard}}
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
- </view>
|
|
|
|
- <view class="c-row b-b">
|
|
|
|
- <text class="tit">开户支行</text>
|
|
|
|
- <view class="con-list">
|
|
|
|
- <input placeholder="请填写开户支行" name="input" @input="addressInput"></input>
|
|
|
|
|
|
+ <view>
|
|
|
|
+ <button type="default">银行卡正面</button>
|
|
|
|
+ <button type="default">银行卡反面</button>
|
|
</view>
|
|
</view>
|
|
- </view>
|
|
|
|
- <view class="c-row b-b">
|
|
|
|
- <text class="tit">手机号</text>
|
|
|
|
- <view class="con-list">
|
|
|
|
- <input placeholder="请填写手机号" name="input" @input="addressInput"></input>
|
|
|
|
|
|
+ <view class="c-row b-b">
|
|
|
|
+ <text class="tit">银行卡号</text>
|
|
|
|
+ <view class="con-list">
|
|
|
|
+ {{deptList.bankCard}}
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
- </view>
|
|
|
|
- <view class="c-row b-b">
|
|
|
|
- <text class="tit">公司地址</text>
|
|
|
|
- <view class="con-list">
|
|
|
|
- <input placeholder="请填写公司地址" name="input" @input="addressInput"></input>
|
|
|
|
|
|
+ <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 b-b">
|
|
|
|
+ <text class="tit">公司地址</text>
|
|
|
|
+ <view class="con-list">
|
|
|
|
+ {{deptList.compAddress}}
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
- </view>
|
|
|
|
</view>
|
|
</view>
|
|
<view v-else>
|
|
<view v-else>
|
|
<view>
|
|
<view>
|
|
@@ -81,13 +85,13 @@
|
|
<view class="c-row b-b">
|
|
<view class="c-row b-b">
|
|
<text class="tit">姓名</text>
|
|
<text class="tit">姓名</text>
|
|
<view class="con-list">
|
|
<view class="con-list">
|
|
- <input placeholder="请填写姓名" name="input" @input="addressInput"></input>
|
|
|
|
|
|
+ {{deptList.customerName}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="c-row b-b">
|
|
<view class="c-row b-b">
|
|
<text class="tit">身份证号</text>
|
|
<text class="tit">身份证号</text>
|
|
<view class="con-list">
|
|
<view class="con-list">
|
|
- <input placeholder="请填写身份证号" name="input" @input="addressInput"></input>
|
|
|
|
|
|
+ {{deptList.customerNumberCard}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view>
|
|
<view>
|
|
@@ -97,43 +101,43 @@
|
|
<view class="c-row b-b">
|
|
<view class="c-row b-b">
|
|
<text class="tit">银行卡号</text>
|
|
<text class="tit">银行卡号</text>
|
|
<view class="con-list">
|
|
<view class="con-list">
|
|
- <input placeholder="请填写银行卡号" name="input" @input="addressInput"></input>
|
|
|
|
|
|
+ {{deptList.bankCard}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="c-row b-b">
|
|
<view class="c-row b-b">
|
|
<text class="tit">开户行</text>
|
|
<text class="tit">开户行</text>
|
|
<view class="con-list">
|
|
<view class="con-list">
|
|
- <input placeholder="请填写开户行" name="input" @input="addressInput"></input>
|
|
|
|
|
|
+ {{deptList.bankDeposit}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="c-row b-b">
|
|
<view class="c-row b-b">
|
|
<text class="tit">开户支行</text>
|
|
<text class="tit">开户支行</text>
|
|
<view class="con-list">
|
|
<view class="con-list">
|
|
- <input placeholder="请填写开户支行" name="input" @input="addressInput"></input>
|
|
|
|
|
|
+ {{deptList.bankDepositBranch}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="c-row b-b">
|
|
<view class="c-row b-b">
|
|
<text class="tit">收款人姓名</text>
|
|
<text class="tit">收款人姓名</text>
|
|
<view class="con-list">
|
|
<view class="con-list">
|
|
- <input placeholder="请填写收款人姓名" name="input" @input="addressInput"></input>
|
|
|
|
|
|
+ {{ deptList.payeeName}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="c-row b-b">
|
|
<view class="c-row b-b">
|
|
<text class="tit">收款人身份证号</text>
|
|
<text class="tit">收款人身份证号</text>
|
|
<view class="con-list">
|
|
<view class="con-list">
|
|
- <input placeholder="请填写收款身份证号" name="input" @input="addressInput"></input>
|
|
|
|
|
|
+ {{deptList.payeeNumberCard}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="c-row b-b">
|
|
<view class="c-row b-b">
|
|
<text class="tit">手机号</text>
|
|
<text class="tit">手机号</text>
|
|
<view class="con-list">
|
|
<view class="con-list">
|
|
- <input placeholder="请填写手机号" name="input" @input="addressInput"></input>
|
|
|
|
|
|
+ {{deptList.customerPhone}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="c-row b-b">
|
|
<view class="c-row b-b">
|
|
<text class="tit">联系地址</text>
|
|
<text class="tit">联系地址</text>
|
|
<view class="con-list">
|
|
<view class="con-list">
|
|
- <input placeholder="请填写联系地址" name="input" @input="addressInput"></input>
|
|
|
|
|
|
+ {{deptList.compAddress}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -141,16 +145,52 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
|
+ import {
|
|
|
|
+ mapState
|
|
|
|
+ } from 'vuex';
|
|
export default {
|
|
export default {
|
|
name: "buy",
|
|
name: "buy",
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
radios: 2,
|
|
radios: 2,
|
|
-
|
|
|
|
|
|
+ deptList:{},
|
|
|
|
+ id:"2c4b2845e9dc47ca95c05ad471881be0",
|
|
|
|
+ consentStatus:true,
|
|
|
|
+ consentStatus1:false,
|
|
|
|
+
|
|
};
|
|
};
|
|
},
|
|
},
|
|
|
|
+ onLoad() {
|
|
|
|
+ this.getList()
|
|
|
|
+ },
|
|
|
|
+ computed: {
|
|
|
|
+ ...mapState(['hasLogin','userInfo'])
|
|
|
|
+ },
|
|
methods: {
|
|
methods: {
|
|
-
|
|
|
|
|
|
+ getList() {
|
|
|
|
+
|
|
|
|
+ this.$api.doRequest('get', '/identityAuthenticationInfo/api/getIdentityAuthenticationInfo', {id:this.id}, 'application/json;').then(res => {
|
|
|
|
+ console.log("成功连接")
|
|
|
|
+ this.procurementPlanInfos = res.data.data
|
|
|
|
+ })
|
|
|
|
+ .catch(res => {
|
|
|
|
+ uni.showToast({
|
|
|
|
+ title: res.errmsg,
|
|
|
|
+ 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>
|
|
</script>
|
|
@@ -159,7 +199,7 @@
|
|
.center {
|
|
.center {
|
|
padding: 10px 20px;
|
|
padding: 10px 20px;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
.c-row {
|
|
.c-row {
|
|
display: -webkit-box;
|
|
display: -webkit-box;
|
|
display: -webkit-flex;
|
|
display: -webkit-flex;
|
|
@@ -170,7 +210,7 @@
|
|
padding: 20rpx 30rpx;
|
|
padding: 20rpx 30rpx;
|
|
position: relative;
|
|
position: relative;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
.con-list {
|
|
.con-list {
|
|
-webkit-box-flex: 1;
|
|
-webkit-box-flex: 1;
|
|
-webkit-flex: 1;
|
|
-webkit-flex: 1;
|