companyIdentityLook.vue 6.1 KB

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