companyIdentityLook.vue 6.2 KB

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