companyIdentityLook.vue 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. <template>
  2. <view class="center">
  3. <view>
  4. <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>
  5. <text>公司</text>
  6. <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>
  7. <text>个人</text>
  8. <!-- <label class="radio" v-model="radios">
  9. <radio value="1" name="radios" /><text>公司</text>
  10. <radio value="2" name="radios" /><text>个人</text>
  11. </label> -->
  12. </view>
  13. <view v-if="consentStatus == true">
  14. <view>
  15. <button type="default" @click="license">营业执照</button>
  16. </view>
  17. <view class="c-row b-b">
  18. <text class="tit">公司名称</text>
  19. <view class="con-list">
  20. {{deptList.compName}}
  21. </view>
  22. </view>
  23. <view class="c-row b-b">
  24. <text class="tit">纳税人识别号</text>
  25. <view class="con-list">
  26. {{deptList.payTaxesCard}}
  27. </view>
  28. </view>
  29. <view>
  30. <button type="default">身份证正面</button>
  31. <button type="default">身份证反面</button>
  32. </view>
  33. <view class="c-row b-b">
  34. <text class="tit">姓名</text>
  35. <view class="con-list">
  36. {{deptList.customerName}}
  37. </view>
  38. </view>
  39. <view class="c-row b-b">
  40. <text class="tit">身份证号</text>
  41. <view class="con-list">
  42. {{deptList.customerNumberCard}}
  43. </view>
  44. </view>
  45. <view>
  46. <button type="default">银行卡正面</button>
  47. <button type="default">银行卡反面</button>
  48. </view>
  49. <view class="c-row b-b">
  50. <text class="tit">银行卡号</text>
  51. <view class="con-list">
  52. {{deptList.bankCard}}
  53. </view>
  54. </view>
  55. <view class="c-row b-b">
  56. <text class="tit">开户行</text>
  57. <view class="con-list">
  58. {{deptList.bankDeposit}}
  59. </view>
  60. </view>
  61. <view class="c-row b-b">
  62. <text class="tit">开户支行</text>
  63. <view class="con-list">
  64. {{deptList.bankDepositBranch}}
  65. </view>
  66. </view>
  67. <view class="c-row b-b">
  68. <text class="tit">手机号</text>
  69. <view class="con-list">
  70. {{deptList.customerPhone}}
  71. </view>
  72. </view>
  73. <view class="c-row b-b">
  74. <text class="tit">公司地址</text>
  75. <view class="con-list">
  76. {{deptList.compAddress}}
  77. </view>
  78. </view>
  79. </view>
  80. <view v-else>
  81. <view>
  82. <button type="default">上传身份证正面</button>
  83. <button type="default">上传身份证反面</button>
  84. </view>
  85. <view class="c-row b-b">
  86. <text class="tit">姓名</text>
  87. <view class="con-list">
  88. {{deptList.customerName}}
  89. </view>
  90. </view>
  91. <view class="c-row b-b">
  92. <text class="tit">身份证号</text>
  93. <view class="con-list">
  94. {{deptList.customerNumberCard}}
  95. </view>
  96. </view>
  97. <view>
  98. <button type="default">上传银行卡正面</button>
  99. <button type="default">上传银行卡反面</button>
  100. </view>
  101. <view class="c-row b-b">
  102. <text class="tit">银行卡号</text>
  103. <view class="con-list">
  104. {{deptList.bankCard}}
  105. </view>
  106. </view>
  107. <view class="c-row b-b">
  108. <text class="tit">开户行</text>
  109. <view class="con-list">
  110. {{deptList.bankDeposit}}
  111. </view>
  112. </view>
  113. <view class="c-row b-b">
  114. <text class="tit">开户支行</text>
  115. <view class="con-list">
  116. {{deptList.bankDepositBranch}}
  117. </view>
  118. </view>
  119. <view class="c-row b-b">
  120. <text class="tit">收款人姓名</text>
  121. <view class="con-list">
  122. {{ deptList.payeeName}}
  123. </view>
  124. </view>
  125. <view class="c-row b-b">
  126. <text class="tit">收款人身份证号</text>
  127. <view class="con-list">
  128. {{deptList.payeeNumberCard}}
  129. </view>
  130. </view>
  131. <view class="c-row b-b">
  132. <text class="tit">手机号</text>
  133. <view class="con-list">
  134. {{deptList.customerPhone}}
  135. </view>
  136. </view>
  137. <view class="c-row b-b">
  138. <text class="tit">联系地址</text>
  139. <view class="con-list">
  140. {{deptList.compAddress}}
  141. </view>
  142. </view>
  143. </view>
  144. </view>
  145. </template>
  146. <script>
  147. import {
  148. mapState
  149. } from 'vuex';
  150. export default {
  151. name: "buy",
  152. data() {
  153. return {
  154. radios: 2,
  155. deptList:{},
  156. id:"2c4b2845e9dc47ca95c05ad471881be0",
  157. consentStatus:true,
  158. consentStatus1:false,
  159. };
  160. },
  161. onLoad() {
  162. this.getList()
  163. },
  164. computed: {
  165. ...mapState(['hasLogin','userInfo'])
  166. },
  167. methods: {
  168. getList() {
  169. this.$api.doRequest('get', '/identityAuthenticationInfo/api/getIdentityAuthenticationInfo', {id:this.id}, 'application/json;').then(res => {
  170. console.log("成功连接")
  171. this.procurementPlanInfos = res.data.data
  172. })
  173. .catch(res => {
  174. uni.showToast({
  175. title: res.errmsg,
  176. icon: 'none',
  177. duration: 2000
  178. })
  179. });
  180. },
  181. consent(){
  182. if(this.consentStatus == false && this.consentStatus1 == true){
  183. this.consentStatus = true
  184. this.consentStatus1 = false
  185. }else if(this.consentStatus == true && this.consentStatus1 == false){
  186. this.consentStatus = false
  187. this.consentStatus1 = true
  188. }
  189. },
  190. }
  191. }
  192. </script>
  193. <style>
  194. .center {
  195. padding: 10px 20px;
  196. }
  197. .c-row {
  198. display: -webkit-box;
  199. display: -webkit-flex;
  200. display: flex;
  201. -webkit-box-align: center;
  202. -webkit-align-items: center;
  203. align-items: center;
  204. padding: 20rpx 30rpx;
  205. position: relative;
  206. }
  207. .con-list {
  208. -webkit-box-flex: 1;
  209. -webkit-flex: 1;
  210. flex: 1;
  211. display: -webkit-box;
  212. display: -webkit-flex;
  213. display: flex;
  214. -webkit-box-orient: vertical;
  215. -webkit-box-direction: normal;
  216. -webkit-flex-direction: column;
  217. flex-direction: column;
  218. color: #303133;
  219. line-height: 40rpx;
  220. text-align: right;
  221. padding-right: 20rpx;
  222. font-size: 14px;
  223. }
  224. </style>