apply.vue 6.7 KB

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