contract-details.vue 25.6 KB
Newer Older
1
<!--
786817560's avatar
786817560 committed
2 3
 * @Description: 合同详情
 * @Author: your name
4
 * @Date: 2019-09-25 15:38:21
786817560's avatar
786817560 committed
5 6
 * @LastEditTime : 2019-12-26 12:08:42
 * @LastEditors  : Please set LastEditors
7 8
 -->
<template>
9
  <h-view id="details" class="public-style" title="经销商签约">
10 11 12
    <h-header :proportion="[5,1,1]" class="bar-custom">
      <div slot="left" class="h-header-btn">
        <img src="@/assets/userBind/arrow.png" @click="$routeGo()">
13
        <span>签约详情</span>
14 15
      </div>
    </h-header>
16
    <Tab :tabNums="tabNum" @getTabNum="getTabNum" />
786817560's avatar
786817560 committed
17
    <!-- 基本信息 -->
786817560's avatar
786817560 committed
18
    <h-content v-if="tabNum === 0">
786817560's avatar
786817560 committed
19 20

      <!-- 法人信息 -->
786817560's avatar
786817560 committed
21
      <LegalPerson v-if="bp_flag" :baseInfo="baseInfo"/>
786817560's avatar
786817560 committed
22 23

      <!-- 个人信息(自然人) -->
786817560's avatar
786817560 committed
24
      <Personal v-if="!bp_flag" :baseInfo="baseInfo"/>
786817560's avatar
786817560 committed
25

786817560's avatar
786817560 committed
26
      <div class="equipment-list">担保人信息<span v-if="guarantorInfo.length === 0">(无)</span></div>
27
      <list-item v-if="guarantorInfo.length" :item-height="76">
786817560's avatar
786817560 committed
28 29 30 31 32 33 34 35 36 37
        <item v-for="(item,index) in guarantorInfo" :key="index">
          <div slot="name">
            <span class="name-box">{{ index+1 }}</span>
            <span class="name">担保人{{ index+1 }}姓名</span>
            <span class="card-num">证件号</span>
          </div>
          <div slot="content" class="right">
            <img src="@/assets/intoApproval/introduce.png" >
            <span :title="item.bp_name">{{ item.bp_name }}</span>
            <br >
38
            <span>{{ item.bp_class==='NP'? item.id_card_no: item.organization_code }}</span>
786817560's avatar
786817560 committed
39 40 41
          </div>
        </item>
      </list-item>
42

786817560's avatar
786817560 committed
43
      <!-- 联系人 -->
李晓兵's avatar
李晓兵 committed
44 45 46 47 48 49 50 51 52 53 54 55
      <div class="bottom-call-wrap">
        <div class="bottom-call">
          <div class="left">
            <img src="@/assets/distributorSign/call.png" alt="">
          </div>
          <div class="center">
            <p>业务经办:{{ baseInfo.bp_user_id_n }}</p>
            <p>联系电话:{{ baseInfo.agent_phone }}</p>
          </div>
          <div class="right1" @click="callUp(baseInfo.agent_phone)">
            <img src="@/assets/distributorSign/calls.png" alt="">
          </div>
786817560's avatar
786817560 committed
56 57 58 59
        </div>
      </div>
    </h-content>
    <h-content v-if="tabNum === 1">
60 61 62
      <list-item :item-height="44" class="second-part">
        <item>
          <div slot="name" class="font-color">商务政策</div>
786817560's avatar
786817560 committed
63
          <input slot="content" v-model="info.product_plan_id_n" readonly>
64 65 66
        </item>
        <item>
          <div slot="name" class="font-color">设备总价</div>
786817560's avatar
786817560 committed
67
          <span slot="content">{{ info.equip_price * info.product_num | currency }}</span>
68 69 70
        </item>
        <item>
          <div slot="name" class="font-color">融资金额</div>
786817560's avatar
786817560 committed
71
          <span slot="content">{{ info.finance_amount * info.product_num | currency }}</span>
72 73 74
        </item>
        <item>
          <div slot="name" class="font-color">首付款</div>
786817560's avatar
786817560 committed
75
          <span slot="content">{{ info.down_payment * info.product_num | currency }}</span>
76 77 78
        </item>
        <item>
          <div slot="name" class="font-color">保证金比例</div>
786817560's avatar
786817560 committed
79
          <span slot="content">{{ info.deposit_ratio_n }}</span>
80 81 82
        </item>
        <item>
          <div slot="name" class="font-color">保证金</div>
786817560's avatar
786817560 committed
83
          <span slot="content">{{ info.deposit * info.product_num | currency }}</span>
84 85 86
        </item>
        <item>
          <div slot="name" class="font-color">手续费比例</div>
linxin's avatar
linxin committed
87
          <input slot="content" v-model="info.lease_charge_ratio_n" readonly>
88 89 90
        </item>
        <item>
          <div slot="name" class="font-color">手续费</div>
linxin's avatar
linxin committed
91
          <span slot="content">{{ parseFloat(info.lease_charge * info.product_num).toFixed(2) | currency }}</span>
李晓兵's avatar
李晓兵 committed
92 93 94
        </item>
        <item>
          <div slot="name" class="font-color">保险押金</div>
786817560's avatar
786817560 committed
95
          <span slot="content">{{ info.insurance_fee * info.product_num | currency }}</span>
李晓兵's avatar
李晓兵 committed
96 97 98
        </item>
        <item>
          <div slot="name" class="font-color">GPS费用</div>
786817560's avatar
786817560 committed
99
          <span slot="content">{{ info.gps_fee * info.product_num | currency }}</span>
100
        </item>
linxin's avatar
linxin committed
101 102
        <item>
          <div slot="name">首次付款合计</div>
linxin's avatar
linxin committed
103
          <span slot="content">{{ parseFloat(info.first_pay).toFixed(2) | currency }}</span>
linxin's avatar
linxin committed
104
        </item>
105 106
        <item>
          <div slot="name" class="font-color">预计付款日</div>
786817560's avatar
786817560 committed
107
          <span slot="content">{{ dateConverse(info.lease_start_date) }}</span>
108 109 110
        </item>
        <item>
          <div slot="name" class="font-color">还款周期</div>
111
          <input slot="content" v-model="info.annual_pay_times_n" readonly>
112 113 114
        </item>
        <item>
          <div slot="name" class="font-color">租赁期数</div>
786817560's avatar
786817560 committed
115
          <input slot="content" v-model="info.lease_times" readonly>
116 117 118
        </item>
        <item>
          <div slot="name" class="font-color">年利率</div>
786817560's avatar
786817560 committed
119
          <input slot="content" v-model="info.int_rate_n" readonly>
120 121 122
        </item>
      </list-item>
      <div class="repay-plan">
786817560's avatar
786817560 committed
123
        <p @click="repayPlan">查看还款计划</p>
124
      </div>
李晓兵's avatar
李晓兵 committed
125
      <div class="equipment-list-fund">
李晓兵's avatar
李晓兵 committed
126 127
        <span/>
      <p>设备清单</p></div>
128 129
      <list-item :item-height="44" class="second-part">
        <item>
786817560's avatar
786817560 committed
130
          <div slot="name" class="font-color">设备识别号</div>
131
          <input slot="content" v-model="info.product_code" readonly>
132 133
        </item>
        <item>
786817560's avatar
786817560 committed
134
          <div slot="name" class="font-color">产品名称</div>
135
          <input slot="content" v-model="info.product_name" readonly>
136 137 138
        </item>
        <item>
          <div slot="name" class="font-color">产品数量</div>
786817560's avatar
786817560 committed
139
          <input slot="content" v-model="info.product_num" readonly>
140 141
        </item>
      </list-item>
李晓兵's avatar
李晓兵 committed
142 143 144 145 146 147 148 149 150 151 152 153
      <div class="bottom-call-wrap">
        <div class="bottom-call">
          <div class="left">
            <img src="@/assets/distributorSign/call.png" alt="">
          </div>
          <div class="center">
            <p>业务经办:{{ baseInfo.bp_user_id_n }}</p>
            <p>联系电话:{{ baseInfo.agent_phone }}</p>
          </div>
          <div class="right1" @click="callUp(baseInfo.agent_phone)">
            <img src="@/assets/distributorSign/calls.png" alt="">
          </div>
154 155 156
        </div>
      </div>
    </h-content>
786817560's avatar
786817560 committed
157
    <h-content v-if="tabNum === 2">
158
      <list-item :item-height="56">
李晓兵's avatar
李晓兵 committed
159
        <item :proportion="[7,1]">
160
          <div slot="name" class="aguremrnt-list">
786817560's avatar
786817560 committed
161
            <img src="@/assets/distributorSign/gray.png" alt="" class="pics">
162
            <p class="second">经销商担保协议</p>
786817560's avatar
786817560 committed
163
            <img :src="agentPic" alt="" class="read">
164
          </div>
786817560's avatar
786817560 committed
165
          <div slot="content" class="in-detail" @click="goContractContent('经销商担保协议')"><img src="@/assets/constractSigning/detail.png" alt=""></div>
166 167
        </item>
      </list-item>
786817560's avatar
786817560 committed
168

169
    </h-content>
李晓兵's avatar
李晓兵 committed
170 171 172
    <bottom-tab v-if="confirm_status!=='APPROVED'" class="add-box">
      <tab-button class="before" @click.native="takePhonto">
        <img src="@/assets/constractSigning/certification.png" >认证
786817560's avatar
786817560 committed
173
      </tab-button>
李晓兵's avatar
李晓兵 committed
174 175
      <tab-button class="next" @click.native="contractConfirm()">
        <img src="@/assets/intoApproval/approve.png" >确认签约
176 177
      </tab-button>
    </bottom-tab>
李晓兵's avatar
李晓兵 committed
178 179
    <!--活体检测-->
    <body-check ref="body" :check_id="$route.params.check_id" :confirm_id="confirm_id"></body-check>
180 181 182 183
  </h-view>
</template>

<script>
786817560's avatar
786817560 committed
184
import Tab from '@/pages/distributorSign/details-tab'
786817560's avatar
786817560 committed
185 186
import LegalPerson from '@/pages/distributorSign/legal-person'
import Personal from '@/pages/distributorSign/personal'
李晓兵's avatar
李晓兵 committed
187
import bodyCheck from './body-check'
188 189 190 191
export default {
  name: 'ContractDetails',
  components: {
    Tab,
786817560's avatar
786817560 committed
192 193
    Personal,
    LegalPerson,
李晓兵's avatar
李晓兵 committed
194
    bodyCheck,
195 196 197
  },
  data () {
    return {
198
      showModalValue: false,
199
      info: {}, // 租赁信息
200
      tabNum: 0,
201 202
      baseInfo: {}, // 基本信息
      project_id: '',
786817560's avatar
786817560 committed
203
      bp_flag: false,
204 205 206
      guarantorInfo: [], // 担保人信息
      bp_class: '', // 商业伙伴类型
      confirm_status: '', // 签约状态
786817560's avatar
786817560 committed
207
      faceListUpload: [], // 自拍照上传
208 209
      confirm_note: '', // 审批意见
      confirm_id: '',
786817560's avatar
786817560 committed
210 211 212
      agentPic: '', // 经销商担保协议图片
      readed: require('@/assets/constractSigning/read.png'), // 已读
      unRead: require('@/assets/constractSigning/unread.png'), // 未读
李晓兵's avatar
李晓兵 committed
213
      signCheckFlag: false, // 签约校验,为true已认证通过可进行签约,否则不可签约
214 215 216
    }
  },
  computed: {},
217
  watch: {
李晓兵's avatar
李晓兵 committed
218 219 220
    $route (to, from) {
      hlsPopup.hideConfirm()
    },
786817560's avatar
786817560 committed
221 222 223
    bp_class () {
      if (this.bp_class === 'NP') {
        this.bp_flag = false
786817560's avatar
786817560 committed
224
        // this.getBseMsg()
786817560's avatar
786817560 committed
225 226 227 228
      } else {
        this.bp_flag = true
      }
    },
229
  },
786817560's avatar
786817560 committed
230 231
  beforeRouteEnter (to, from, next) {
    next(vm => {
232 233 234 235 236
      if (from.name === 'ContractList') {
        vm.tabNum = 0
        vm.baseInfo = {}
        vm.info = {}
        vm.bp_flag = false
李晓兵's avatar
李晓兵 committed
237
        vm.signCheckFlag = false
238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256
        vm.guarantorInfo = []
        vm.faceListUpload = []
        vm.confirm_note = ''
        vm.bp_class = vm.$route.params.item.bp_class
        vm.project_id = vm.$route.params.item.project_id
        vm.confirm_id = vm.$route.params.item.confirm_id
        vm.confirm_status = vm.$route.params.item.confirm_status
        vm.agentPic = vm.unRead
        if (vm.bp_class === 'NP') {
          vm.bp_flag = false
          vm.getBseMsg()
          vm.getGuarantor()
        } else {
          vm.bp_flag = true
          vm.getBseMsg()
          vm.getGuarantor()
        }
        vm.getLease()
      } else if (from.name === 'ContractContent') {
786817560's avatar
786817560 committed
257 258 259 260 261
        vm.tabNum = 2
        vm.agentPic = vm.readed
      }
    })
  },
262
  created () {},
李晓兵's avatar
李晓兵 committed
263 264
  methods: {
    // 签约校验
李晓兵's avatar
李晓兵 committed
265
    async signCheck () {
李晓兵's avatar
李晓兵 committed
266 267 268 269
      let vm = this
      let url = process.env.basePath + 'sign_check'
      let param = {
        confirm_id: vm.confirm_id,
李晓兵's avatar
李晓兵 committed
270 271 272
        data_class: 'PRJ_PROJECT',
      }
      vm.hlsPopup.showLoading('请稍后!')
李晓兵's avatar
李晓兵 committed
273
      let res = await vm.hlsHttp.post(url, param)
李晓兵's avatar
李晓兵 committed
274 275 276 277 278
      vm.hlsPopup.hideLoading()
      if (res.result === 'S') {
        return true
      } else {
        // vm.hlsPopup.showLongCenter(res.message)
李晓兵's avatar
李晓兵 committed
279 280 281
      }
    },
    goBodyCheck (confirm_id) { // 活体检测
李晓兵's avatar
李晓兵 committed
282 283
      this.$refs.body.show()
     /* this.$router.push({
李晓兵's avatar
李晓兵 committed
284 285 286 287 288
        name: 'BodyCheck',
        params: {
          check_id: this.$route.params.check_id,
          confirm_id: confirm_id,
        },
李晓兵's avatar
李晓兵 committed
289
      })*/
李晓兵's avatar
李晓兵 committed
290 291
    },
    /*  goElectronicSign () { // 电子签
786817560's avatar
786817560 committed
292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311
     let vm = this
     let url = process.env.basePath + 'get_sign_url'
     let param = {
       confirm_id: vm.confirm_id,
       data_class: 'PRJ_PROJECT',
     }
     vm.hlsPopup.showLoading('请稍后')
     vm.hlsHttp.post(url, param).then(function (res) {
       vm.hlsPopup.hideLoading()
       if (res.info.msg === 'success') {
         vm.$router.push({
           name: 'ElectronicSign',
           params: {
             url: res.info.data.url,
           },
         })
       } else {
         vm.hlsPopup.showLongCenter(res.info.msg)
       }
     })
李晓兵's avatar
李晓兵 committed
312 313
   }, */
    // 签约确认
李晓兵's avatar
李晓兵 committed
314
    async contractConfirm () {
李晓兵's avatar
李晓兵 committed
315
      let vm = this
李晓兵's avatar
李晓兵 committed
316 317
      let flag = await this.signCheck()
      if (flag) { // 只有认证通过后方可进行签约操作
李晓兵's avatar
李晓兵 committed
318 319 320 321 322 323 324 325 326 327 328
        this.hlsPopup.showConfirm({
          title: '提示',
          content: '您确认签约吗?',
          onConfirm: (data) => {
            if (data) {
              vm.issure('APPROVED')
            }
          },
        })
      }
    },
786817560's avatar
786817560 committed
329

李晓兵's avatar
李晓兵 committed
330 331
    takePhonto () {
      let vm = this
李晓兵's avatar
李晓兵 committed
332
      hlsPopup.showConfirm({
李晓兵's avatar
李晓兵 committed
333
        title: '提示',
李晓兵's avatar
李晓兵 committed
334 335 336 337 338 339 340
        content: '请自拍一张',
        onConfirm: function (index) {
          if (index === 1) {
            vm.takePhontoOpenCamera()
          } else {

          }
李晓兵's avatar
李晓兵 committed
341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426
        },
      })
    },
    // 打开相机自拍
    takePhontoOpenCamera () {
      let vm = this
      vm.faceListUpload = []
      let obj = {
        'pkvalue': vm.$route.params.check_id,
        'source_type': 'PRJ_CDD_ITEM_CHECK',
        'picture': '',
        'filePath': '',
        'attachment_id': '',
        'user_id': 1,
        'fileName': 'face',
      }
      let cameraoptions = {
        quality: 100,
        cameraDirection: 1,
      }
      let success = function (imgdata) {
        obj.filePath = imgdata
        // obj.filePath = 'http://hlsapp.hand-china.com/file/XCMG/2.jpg'
        vm.confirmContractSign(imgdata)
        vm.faceListUpload.push(obj)
      }
      let error = function () {
        hlsPopup.showLongCenter('请拍照')
      }
      hlsUtil.openCamera(cameraoptions, success, error)
    },
    // 执行同意的逻辑(查询对应的身份证正面图片->人脸识别->确认签约)
    async confirmContractSign (faceImg) {
      let idCardImgUrl = await this.idCardImgUrlGet()
      if (idCardImgUrl) {
        this.faceIdentify(faceImg, idCardImgUrl)
      }
    },
    // 获取身份证照片
    async idCardImgUrlGet () {
      let vm = this
      let url = $config.basePath + 'prj_id_card_query'
      let param = {
        confirm_id: vm.confirm_id,
      }
      hlsPopup.showLoading('请稍候')
      let res = await vm.$post(url, param)
      hlsPopup.hideLoading()
      if (res.result === 'S' && res.info) {
        let cardUrl = process.env.filePath + 'attachment_id=' + res.info.attachment_id + '&access_token=' + window.localStorage.access_token
        return cardUrl
      } else if (res.result === 'S' && !res.info) {
        hlsPopup.showLongCenter('未找到身份证照片')
        return null
      } else {
        hlsPopup.showLongCenter(res.message)
        return null
      }
    },
    // 人脸比对
    faceIdentify (faceImg, idCardImgUrl) {
      let vm = this
      let obj = {
        'fileUrl': faceImg,
        'idCardImgUrl': idCardImgUrl,
      }
      hlsPopup.showLoading('正在比对')
      let url = process.env.ocrPath + '/baidu/ocr/face'
      hlsUtil.baiduOcrFace(obj, url, function (res) {
        hlsPopup.hideLoading()
        if (res.success) {
          vm.save_picture(vm.faceListUpload)
          let identifyScore = res.result.result.score.toFixed(0)
          hlsPopup.showPopup({
            title: '提示',
            content: `识别分数为${identifyScore},请进行活体检测`,
            onConfirm: () => {
              // 进入活体检测页面
              vm.goBodyCheck(vm.confirm_id)
            },
          })
        } else {
          hlsPopup.showLongCenter('比对失败,请保证和绑定时是同一个人')
        }
      })
    },
786817560's avatar
786817560 committed
427

李晓兵's avatar
李晓兵 committed
428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463
    // 确认逻辑
    issure (status) {
      let vm = this
      let url = process.env.basePath + 'do_confrim_bp'
      let param = {
        'master': {
          confirm_id: vm.confirm_id,
          confirm_status: status,
          confirm_note: vm.confirm_note,
        },
      }
      vm.hlsPopup.showLoading('提交数据中!')
      vm.hlsHttp.post(url, param).then(function (res) {
        vm.hlsPopup.hideLoading()
        if (res.result === 'S') {
          vm.save_picture(vm.faceListUpload)
          vm.hlsPopup.showSuccess('签约成功')
          window.localStorage.setItem('backflag', true)
          vm.$routeGo()
        } else {
          vm.hlsPopup.showSuccess(res.message)
        }
      })
    },
    // 图片保存
    save_picture (list) {
      // alert('list' + JSON.stringify(list))
      let vm = this
      if (list.length) {
        // hlsPopup.showLoading('图片上传请稍候')
        var alreadyUploadNum = 0
        var attLength = 0
        var recordUploadInterval = setInterval(function () {
          if (alreadyUploadNum === attLength) {
            clearInterval(recordUploadInterval)
            /* hlsPopup.hideLoading()
786817560's avatar
786817560 committed
464
            hlsPopup.showLongCenter('图片上传成功') */
李晓兵's avatar
李晓兵 committed
465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513
          }
        }, 500)
        for (var i = 0; i < list.length; i++) {
          let uploadSuccess = function (res) {
            if (res.result === 'S') {
              alreadyUploadNum++
              for (var j = 0; j < list.length; j++) {
                if (list[j].filePath === res.response.filePath) {
                  list[j].attachment_id = res.response.attachment_id
                  vm.faceListUpload.push(list[j])
                  // alert('faceListUpload' + JSON.stringify(vm.faceListUpload))
                  break
                }
              }
            } else {
              hlsPopup.hideLoading()
            }
          }
          if (!list[i].attachment_id) {
            attLength++
            hlsUtil.fileUploadSvc(list[i], uploadSuccess)
          }
        }
      } else {
        hlsPopup.hideLoading()
      }
    },
    // 基本信息
    getBseMsg () {
      let vm = this
      let url = ''
      let url1 = $config.basePath + 'prj_np_info_query'
      let url2 = $config.basePath + 'prj_org_info_query'
      vm.bp_class === 'NP' ? url = url1 : url = url2
      let param = {
        project_id: vm.project_id,
      }
      vm.hlsPopup.showLoading('数据加载中')
      vm.hlsHttp.post(url, param).then(function (res) {
        vm.hlsPopup.hideLoading()
        if (res.result === 'S') {
          //  vm.lists = res.lists
          vm.baseInfo = res.info
          if (res.info.auth_flag) {
            window.localStorage.setItem('auth_flag', res.info.auth_flag)
          }
        }
      })
    },
786817560's avatar
786817560 committed
514

李晓兵's avatar
李晓兵 committed
515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572
    // 担保人
    getGuarantor () {
      let vm = this
      let url = $config.basePath + 'prj_guarantor_list_query'
      let param = {
        project_id: vm.project_id,
      }
      vm.hlsPopup.showLoading('数据加载中')
      vm.hlsHttp.post(url, param).then(function (res) {
        vm.hlsPopup.hideLoading()
        if (res.result === 'S') {
          vm.guarantorInfo = res.lists
        }
      })
    },
    getLease () {
      let vm = this
      let url = $config.basePath + 'prj_lease_query'
      let param = {
        project_id: vm.project_id,
      }
      // 租赁信息
      vm.hlsPopup.showLoading('数据加载中')
      vm.hlsHttp.post(url, param).then(function (res) {
        vm.hlsPopup.hideLoading()
        if (res.result === 'S') {
          vm.info = res.info
        }
      })
    },
    getTabNum (i) {
      this.tabNum = i
    },
    dateConverse (date) {
      return date.replace(/\//g, '-')
    },
    callUp (phonenumber) {
      window.open('tel:' + phonenumber)
    },
    // 跳转合同详情
    goContractContent (name) {
      this.$router.push({
        name: 'ContractContent',
        params: {
          name,
        },
      })
    },
    repayPlan () {
      this.$router.push({
        name: 'FinancDetails',
        params: {
          project_id: this.project_id,
          product_num: this.info.product_num,
        },
      })
    },
  },
573 574
}
</script>
575
<style lang='less'>
576 577 578 579 580 581 582 583 584 585 586 587 588 589 590
#details {
    .h-header-btn {
      img {
        width: 16px;
        height: 16px;
        margin-left: 4px;
      }
      span {
        font-family: PingFangSC-Semibold;
        margin-left: 16px;
        font-size: 17px;
        letter-spacing: 0.61px;
        line-height: 24px;
      }
}
786817560's avatar
786817560 committed
591 592 593 594 595 596 597 598 599 600 601
.in-detail{
          background-color: rgba(0,70,156,0.08);
          width: 48px;
          height: 56px;
          text-align: center;
          line-height: 65px;

          img{
              width: 16px;
          }
      }
786817560's avatar
786817560 committed
602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632
.name-box {
      display: inline-block;
      text-align: center;
      line-height: 16px;
      color: #00469c;
      width: 16px;
      height: 16px;
      background: #cddbec;
      border-radius: 4px;
    }
    .name {
      font-family: PingFangSC-Regular;
      font-size: 14px;
      color: #383f45;
      letter-spacing: 0;
      margin-left: 10px;
    }
    .card-num {
      font-family: PingFangSC-Regular;
      font-size: 14px;
      color: #383f45;
      letter-spacing: 0;
      display: block;
      margin-left: 31px;
      margin-top: 7px;
    }
    .right {
      position: relative;
    }
    .right span {
      float: right;
786817560's avatar
786817560 committed
633 634
      margin-right: 48px;
      display: block;
786817560's avatar
786817560 committed
635 636 637 638 639
      font-family: PingFangSC-Regular;
      font-size: 14px;
      color: rgba(56, 63, 69, 0.6);
      letter-spacing: 0;
      line-height: 18px;
786817560's avatar
786817560 committed
640 641 642 643 644
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      width: 150px;
      margin-top: -10px;
645
      text-align: right
786817560's avatar
786817560 committed
646 647 648 649 650 651 652
    }
    .right span:last-child {
      margin-top: 7px;
    }
    .right img {
      position: absolute;
      top: 30%;
786817560's avatar
786817560 committed
653
      left: 88%;
786817560's avatar
786817560 committed
654 655 656
      width: 14px;
      height: 16px;
    }
657 658 659 660 661 662 663 664 665
.font-color {
    font-family: PingFangSC-Regular;
    font-size: 14px;
    color: #656464;
    letter-spacing: 0;
}
.repay-plan {
    height: 44px;
    width: 100%;
李晓兵's avatar
李晓兵 committed
666
  margin-top: -10px;
李晓兵's avatar
李晓兵 committed
667 668
   // background: rgba(0,70,156,0.03);
  background: #F2F2F2;
669 670 671 672 673 674 675 676 677 678 679 680 681
    p {
        font-family: PingFangSC-Semibold;
        font-size: 14px;
        color: #00469C;
        letter-spacing: 0;
        height: 44px;
        width: 84px;
        line-height: 44px;
        font-weight: bold;
        text-decoration: underline;
        margin-left: 16px;
    }
}
李晓兵's avatar
李晓兵 committed
682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701
  .equipment-list-fund{
    height: 40px;
    line-height: 40px;
    background-color: #fafafa;
    display: flex;
    align-items: center;
    color: #00469c;
    font-size: 15px;
    //margin-left: 16px;
    position: relative;
    margin-top: -10px;
    span{
      width: 4px;
      height: 20px;
      background: #00469c;
    }
    p{
      padding-left: 10px;
    }
  }
702 703 704 705
.equipment-list {
      height: 40px;
      line-height: 40px;
      background-color: #fafafa;
李晓兵's avatar
李晓兵 committed
706 707
      display: flex;
      align-items: center;
708 709 710 711
      color: #00469c;
      font-size: 15px;
      margin-left: 16px;
      position: relative;
786817560's avatar
786817560 committed
712
      margin-top: -10px;
713 714 715 716 717 718 719 720 721 722
}
.equipment-list::before {
      content: "";
      display: block;
      width: 4px;
      height: 20px;
      background-color: #00469c;
      position: absolute;
      left: -15px;
      top: 10px;
786817560's avatar
786817560 committed
723 724 725
}
.equipment-list:nth-of-type(3) {
  margin-top: 0
726 727 728 729 730 731 732 733 734 735
}
    // .left {
    //     width: 60px;
    //     height: 60px;
    //     background: rgba(0,70,156,0.03);
    //     margin-left: -15px;
    //     display: flex;
    //     justify-content: center;
    //     align-items: center
    // }
李晓兵's avatar
李晓兵 committed
736 737 738 739 740 741 742 743 744
.bottom-call-wrap{
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: #ffffff;
  margin-top: -10px;
  .bottom-call {
李晓兵's avatar
李晓兵 committed
745
    margin-top: 10px;
李晓兵's avatar
李晓兵 committed
746
   width: 100%;
李晓兵's avatar
李晓兵 committed
747
    height: 58%;
李晓兵's avatar
李晓兵 committed
748 749 750
    display: flex;
    justify-content: center;
    align-items: center;
751
    .left {
李晓兵's avatar
李晓兵 committed
752 753 754
      width: 16%;
      height: 60px;
      // background: rgba(0,70,156,0.03);
李晓兵's avatar
李晓兵 committed
755
      background: #F2F2F2;
李晓兵's avatar
李晓兵 committed
756 757 758
      display: flex;
      justify-content: center;
      align-items: center
759 760
    }
    .center {
李晓兵's avatar
李晓兵 committed
761 762 763 764
      height: 100%;
      width: 66%;
      margin-left: 2px;
      // background: rgba(0,70,156,0.03);
李晓兵's avatar
李晓兵 committed
765
      background: #F2F2F2;
李晓兵's avatar
李晓兵 committed
766 767 768 769 770 771 772 773 774
      p {
        height: 30px;
        line-height: 30px;
        margin-left: 10px;
        font-family: PingFangSC-Regular;
        font-size: 14px;
        color: #656464;
        letter-spacing: 0.43px;
      }
775
    }
786817560's avatar
786817560 committed
776
    .right1 {
李晓兵's avatar
李晓兵 committed
777 778 779
      height: 100%;
      width: 16%;
      //background: rgba(0,70,156,0.20);
李晓兵's avatar
李晓兵 committed
780
      background: #CCCCCC;
李晓兵's avatar
李晓兵 committed
781 782 783
      display: flex;
      justify-content: center;
      align-items: center
784
    }
李晓兵's avatar
李晓兵 committed
785
  }
786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814
}
.aguremrnt-list {
    display: flex;
    flex-direction: row;
    .pic {
        margin-left: -3px;
    }
    .pics {
        //    width: 21px;
           height: 30px;
           }
    .read {
        height: 16px;
        margin-top: 8px;
        margin-left: 12.5px;
    }
    .second {
        height: 32px;
        line-height: 32px;
        font-family: PingFangSC-Regular;
        font-size: 14px;
        margin-left: 21px;
        color: #383F45;
        letter-spacing: 0.43px;
    }
    .first {
        margin-left: 13px;
    }
}
815 816 817 818
  .footer-button {
    .approve {
      width: 358.6px;
      height: 44px;
819
      background: @headerColor;
820 821 822 823 824
      border-radius: 4px;
      color: #fff;
      font-family: PingFangSC-Semibold;
      font-size: 15px;
      line-height: 20px;
786817560's avatar
786817560 committed
825
      //letter-spacing: 10px;
826 827 828 829 830 831
      img {
        width: 16.8px;
        height: 16.8px;
      }
    }
  }
786817560's avatar
786817560 committed
832
  .footer-button:nth-of-type(1) {
李晓兵's avatar
李晓兵 committed
833
    //bottom: 92px;
786817560's avatar
786817560 committed
834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857
    .approve {
      width: 358.6px;
      height: 44px;
      background: @headerColor;
      border-radius: 4px;
      color: #fff;
      font-family: PingFangSC-Semibold;
      font-size: 15px;
      line-height: 20px;
    }
  }
  .footer-button:nth-of-type(2) {
    bottom: 46px;
    .approve {
      width: 358.6px;
      height: 44px;
      background: @headerColor;
      border-radius: 4px;
      color: #fff;
      font-family: PingFangSC-Semibold;
      font-size: 15px;
      line-height: 20px;
    }
  }
858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918
  .approveContent {
    position: absolute;
    top: 50%;
    background-color: #fafafa;
    overflow-y: scroll;
  }
  .approveBottom {
    width: 343px;
    margin: 0 auto;
    span {
      display: block;
      width: 100%;
      font-family: PingFangSC-Semibold;
      font-size: 15px;
      color: #00469c;
      height: 21px;
      line-height: 21px;
      margin: 16px 0;
      img {
        float: right;
      }
    }
    textarea {
      width: 343px;
      height: 178px;
      border-radius: 2px;
      padding: 10px;
    }
    span::after {
      content: "";
      display: block;
      position: relative;
      left: 70px;
      top: -17px;
      width: 14px;
      height: 14px;
      background: url("../../assets/intoApproval/approv.png");
      background-size: 14px 14px;
    }
  }
  .reject,
  .same {
    width: 175px;
    height: 40px;
    border-radius: 4px;
    font-family: PingFangSC-Semibold;
    font-size: 15px;
    img {
      width: 13px;
      height: 13px;
    }
  }
  .reject {
    color: #656464;
    border: 1px solid #656464;
  }
  .same {
    color: #ffffff;
    background: #00469c;
    border: 1px solid #00469c;
  }
李晓兵's avatar
李晓兵 committed
919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936
  .add-box {
    .before {
      border: 1px solid #fdb62f;
      border-radius: 4px;
      color: #fdb62f;
      img{
        width: 18px;
      }
    }
    .next {
      background: #1d3fff;
      border-radius: 4px;
      color: #fff;
      img{
        width: 18px;
      }
    }
  }
937 938 939
}
.modal {
  background-color: rgba(0, 0, 0, 0) !important;
940 941
}
</style>