apply.vue 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. <template>
  2. <view class="text-color-333">
  3. <view class="content p-30 sys-background-fff r-30 size-26 apply">
  4. <view class="">
  5. <view class="row-c">
  6. <view class="dot"></view>
  7. <text class="sys-weight-600 m-l10">基本信息</text>
  8. </view>
  9. <view class="sys-from-background-color r-30 p-20 m-t30 row">
  10. <view style="width: 50%;">
  11. <view class="m-tb16" v-if="applyFor.out_total>0">
  12. <text class="text-color-666">批复额度</text>
  13. <text class="m-l16">{{applyFor.out_total}}万元</text>
  14. </view>
  15. <view class="m-tb16" v-if="applyFor.returned_total>0">
  16. <text class="text-color-666">回款额度</text>
  17. <text class="m-l16">{{applyFor.returned_total}}万元</text>
  18. </view>
  19. <view class="m-tb16" v-if="verifyKey('is_farming')">
  20. <text class="text-color-666">是否涉农</text>
  21. <text class="m-l16">{{applyFor.is_farming===1?'是':'否'}}</text>
  22. </view>
  23. <view class="row m-tb16" v-if="verifyKey('loan_form')">
  24. <text class="text-color-666">贷款类型</text>
  25. <text class="m-l16 flex">{{applyFor.loan_form_name}}</text>
  26. </view>
  27. <view class="row" v-if="verifyKey('loan_industry')">
  28. <text class="text-color-666">投向行业</text>
  29. <text class="m-l16 flex">{{applyFor.loan_industry_name}}</text>
  30. </view>
  31. </view>
  32. <view class="m-l40" style="width: 50%;">
  33. <view class="m-tb16" v-if="verifyKey('loan_type')">
  34. <text class="text-color-666">贷款类别</text>
  35. <text class="m-l16">{{applyFor.loan_type_name}}</text>
  36. </view>
  37. <view class="m-b16" v-if="verifyKey('pay_status')">
  38. <text class="text-color-666">支付状态</text>
  39. <text class="m-l16">{{applyFor.pay_status===1?'已缴纳':'未缴纳'}}</text>
  40. </view>
  41. <view class="row" v-if="verifyKey('enterprise_type')">
  42. <text class="text-color-666">企业类型</text>
  43. <text class="m-l16 flex">{{applyFor.enterprise_type_name}}</text>
  44. </view>
  45. </view>
  46. </view>
  47. </view>
  48. <!-- 抵押申请 -->
  49. <view class="m-t30 color-4A2600" v-for="(applyItem,applyKey) in applyFor.apply_data">
  50. <view class="row-c">
  51. <view class="dot"></view>
  52. <text class="sys-weight-600 m-l10 text-color-333">抵押申请</text>
  53. </view>
  54. <view class="apply-box p-20 r-20 m-t30">
  55. <view class="">
  56. <text>申请类型:</text>
  57. <text class="sys-weight-600">{{(applyItem.apply_type*1===1?'抵押':'买卖')}}</text>
  58. </view>
  59. <view class="sys-background-fff row-justify-sb center r-20 p-30 p-lr40 m-tb20" v-if="applyItem.apply_type*1===2">
  60. <view class="column-c color-653400" v-if="verifyKey('transaction')">
  61. <text class="sys-weight-600">{{applyItem.transaction}}</text>
  62. <text class="size-24">成交价</text>
  63. </view>
  64. <view class="column-c color-653400" v-if="verifyKey('pricing')">
  65. <text class="sys-weight-600">{{applyItem.pricing}}</text>
  66. <text class="size-24">定金</text>
  67. </view>
  68. <view class="column-c color-653400" v-if="verifyKey('supervise')">
  69. <text class="sys-weight-600">{{applyItem.supervise}}</text>
  70. <text class="size-24">资金监管</text>
  71. </view>
  72. <view class="column-c color-653400" v-if="verifyKey('reply_type')">
  73. <text class="sys-weight-600">{{applyItem.reply_type===1?'商业':'组合'}}</text>
  74. <text class="size-24">批复类型</text>
  75. </view>
  76. <view class="column-c color-653400" v-if="verifyKey('intermediary')">
  77. <text class="sys-weight-600">{{applyItem.intermediary?applyItem.intermediary:'无'}}</text>
  78. <text class="size-24">成交中介</text>
  79. </view>
  80. </view>
  81. <view class="m-b10">
  82. <text>绑定资产:</text>
  83. <text class="capsule sys-weight-600">{{applyItem.propertyName}}</text>
  84. </view>
  85. <view class="message-box r-20 p-20 m-t20"
  86. v-for="(repayment,repaymentKey) in applyItem.repayment_data" :key="repaymentKey">
  87. <view class="">
  88. <text
  89. class="sys-weight-600">{{(applyItem.apply_type*1===1?'还款信息':'监管银行卡信息')+'('+(repaymentKey+1)+')'}}</text>
  90. <text class="m-l20" v-if="applyItem.apply_type*1===1">还款金额 {{repayment.money}}万元</text>
  91. </view>
  92. <view class="row-c m-t16">
  93. <image class="wh-60" src="https://wealfavor-1257406827.cos.ap-beijing.myqcloud.com/new-xcx/task/task-put.png" mode=""></image>
  94. <view class="m-l30">
  95. <text class="size-24 text-color-333">{{repayment.bank_name}}</text>
  96. <view class="size-28 sys-weight-600 m-t10">{{repayment.bank_num}}</view>
  97. </view>
  98. </view>
  99. </view>
  100. <view class="message-box r-20 p-20 m-t20" v-for="(loan,loanKey) in applyItem.loan_data">
  101. <view class="">
  102. <text class="sys-weight-600">{{'放款银行卡信息('+(loanKey+1)+')'}}</text>
  103. <text class="m-l20">批复金额 {{loan.money}}万</text>
  104. </view>
  105. <view class="row-c m-t16">
  106. <image class="wh-60" src="https://wealfavor-1257406827.cos.ap-beijing.myqcloud.com/new-xcx/task/task-put.png" mode=""></image>
  107. <view class="m-l30">
  108. <text class="size-24 text-color-333">{{loan.bank_name}}</text>
  109. <view class="size-28 sys-weight-600 m-t10">{{loan.bank_num}}</view>
  110. </view>
  111. </view>
  112. </view>
  113. </view>
  114. </view>
  115. </view>
  116. </view>
  117. </template>
  118. <script>
  119. export default {
  120. props: {
  121. applyFor: {
  122. default: {}
  123. },
  124. appliesKey:{
  125. default: []
  126. }
  127. },
  128. data() {
  129. return {
  130. list: [{
  131. num: '89万',
  132. name: '成交价'
  133. }, {
  134. num: '30万',
  135. name: '定金'
  136. }, {
  137. num: '29万',
  138. name: '资金监管'
  139. }, {
  140. num: '商业',
  141. name: '批复类型'
  142. }]
  143. }
  144. },
  145. methods: {
  146. verifyKey(key){
  147. return this.appliesKey.indexOf(key)>=0
  148. }
  149. },
  150. }
  151. </script>
  152. <style lang="scss" scoped>
  153. .apply {
  154. padding-top: 90rpx;
  155. background-image: url('/page_task/staic/img/task-details/bg-two.png');
  156. background-repeat: no-repeat;
  157. background-size: 100% auto;
  158. .bg-box {
  159. width: 710rpx;
  160. height: 80rpx;
  161. }
  162. .dot {
  163. width: 12rpx;
  164. height: 12rpx;
  165. border-radius: 50%;
  166. background: #0FB160;
  167. }
  168. }
  169. .apply-box {
  170. background: linear-gradient(163deg, #EDC397 0%, #F3DBBC 100%);
  171. .capsule {
  172. display: inline-block;
  173. background: #FFE6C8;
  174. width: 185rpx;
  175. height: 42rpx;
  176. line-height: 42rpx;
  177. border-radius: 99rpx;
  178. text-align: center;
  179. }
  180. }
  181. .message-box {
  182. background: linear-gradient(180deg, #FFEEE4 0%, #FFFFFF 100%);
  183. }
  184. </style>