Commit 93cf409a authored by 李晓兵's avatar 李晓兵

Merge branch 'develop' of https://hel.hand-china.com/xugong/hls-xcmg-vue-app into develop

parents 88a76fb9 93254b5f
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2019-10-31 09:49:57 * @Date: 2019-10-31 09:49:57
* @LastEditTime: 2019-11-11 16:58:14 * @LastEditTime: 2019-11-13 10:07:57
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: 合同查询--记录 * @Description: 合同查询--记录
* @FilePath: * @FilePath:
...@@ -14,6 +14,13 @@ ...@@ -14,6 +14,13 @@
<span>合同记录</span> <span>合同记录</span>
</div> </div>
</h-header> </h-header>
<h-content v-if="data===null" class="null">
<div class="display">
<img src="@/assets/contractRepayment/null.png" alt="">
<p>暂时没有还款记录</p>
<div @click="$routeGo()">返回</div>
</div>
</h-content>
<div v-if="data!==null"> <div v-if="data!==null">
<div class="tab"> <div class="tab">
<p><span :class="{'selected':selected === 'all'}" @click="isSelected('all')">全部</span></p> <p><span :class="{'selected':selected === 'all'}" @click="isSelected('all')">全部</span></p>
...@@ -178,13 +185,7 @@ ...@@ -178,13 +185,7 @@
</div> </div>
</div> </div>
</scroll> </scroll>
<h-content v-if="data===null" class="null">
<div class="display">
<img src="@/assets/contractRepayment/null.png" alt="">
<p>暂时没有还款记录</p>
<div @click="$routeGo()">返回</div>
</div>
</h-content>
</h-view> </h-view>
</template> </template>
...@@ -496,7 +497,7 @@ export default { ...@@ -496,7 +497,7 @@ export default {
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
top: 100px; top: 100px;
z-index: 999;
img { img {
width:150px; width:150px;
} }
......
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2019-10-31 09:49:57 * @Date: 2019-10-31 09:49:57
* @LastEditTime: 2019-11-07 19:38:49 * @LastEditTime: 2019-11-13 10:38:46
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: 还款 * @Description: 还款
* @FilePath: * @FilePath:
...@@ -48,10 +48,10 @@ ...@@ -48,10 +48,10 @@
</div> </div>
<div class="name"> <div class="name">
<p>款项</p> <p>款项</p>
<p>应还金额</p> <p>租金</p>
</div> </div>
<div class="number"> <div class="number">
<p>租金</p> <p>应还金额</p>
<span :class="{'orang':statu==='orange','blu':statu==='blue','gree':statu==='green'}">{{ item.rental |currency }}</span> <span :class="{'orang':statu==='orange','blu':statu==='blue','gree':statu==='green'}">{{ item.rental |currency }}</span>
</div> </div>
<img v-if="statu === 'black'" src="@/assets/contractInquire/done.png" alt="" class="status"> <img v-if="statu === 'black'" src="@/assets/contractInquire/done.png" alt="" class="status">
...@@ -325,7 +325,6 @@ export default { ...@@ -325,7 +325,6 @@ export default {
} }
.time { .time {
flex: 5;
p { p {
font-family: DIN-Regular; font-family: DIN-Regular;
...@@ -344,28 +343,30 @@ export default { ...@@ -344,28 +343,30 @@ export default {
} }
.name { .name {
flex: 9; // flex: 9;
opacity: 0.6;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 13px; font-size: 13px;
color: #4B4A4B; color: #4B4A4B;
padding-top: 20px;
p { margin-left: 22px;
margin-bottom: 17px; span:nth-of-type(2) {
margin-left: 8px;
}
span:nth-of-type(1) {
opacity: 0.6;
} }
} }
.number { .number {
flex: 9; // flex: 9;
text-align: right;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 13px; font-size: 13px;
color: #4B4A4B; color: #4B4A4B;
padding-top: 20px;
p { margin-left: 40px;
margin-bottom: 17px; span:nth-of-type(2) {
margin-left: 8px;
} }
span.orang { span.orang {
color: rgb(253, 182, 47); color: rgb(253, 182, 47);
font-weight: 700; font-weight: 700;
......
...@@ -66,18 +66,23 @@ ...@@ -66,18 +66,23 @@
<span>{{ selectMonth(item.repayment_date) }}</span> <span>{{ selectMonth(item.repayment_date) }}</span>
</div> </div>
<div class="message"> <div class="message">
<p class="top"> <div class="name">
款项 <p>
<span>{{ item.cf_item_name }}</span>&nbsp; &nbsp; 付款方式 现金流项目
<span>支付方式</span>
</p>
<p>
{{ item.cf_item_name }}
<span>{{ item.pay_method }}</span> <span>{{ item.pay_method }}</span>
</p> </p>
</div>
<div class="name"> <div class="name">
<p> <p>
应还金额 应还金额
<span>已还金额</span> <span>已还金额</span>
</p> </p>
<p> <p>
{{ item.due_amount|currency }} {{ parseFloat(item.due_amount).toFixed(2)|currency }}
<span <span
:class="{'orang':statu==='orange','blu':statu==='blue','gree':statu==='green'}" :class="{'orang':statu==='orange','blu':statu==='blue','gree':statu==='green'}"
>{{ item.received_amount|currency }}</span> >{{ item.received_amount|currency }}</span>
...@@ -255,6 +260,8 @@ export default { ...@@ -255,6 +260,8 @@ export default {
.message { .message {
flex: 12; flex: 12;
//height: 85%; //height: 85%;
display: flex;
justify-content: space-between;
} }
.left { .left {
height: 30px; height: 30px;
...@@ -297,21 +304,21 @@ export default { ...@@ -297,21 +304,21 @@ export default {
.green { .green {
background-color: rgba(27, 162, 97, 0.5); background-color: rgba(27, 162, 97, 0.5);
} }
.top { // .top {
font-family: PingFangSC-Regular; // font-family: PingFangSC-Regular;
font-size: 13px; // font-size: 13px;
color: rgba(56, 63, 69, 0.6); // color: rgba(56, 63, 69, 0.6);
letter-spacing: 0; // letter-spacing: 0;
display: flex; // display: flex;
justify-content: space-between; // justify-content: space-between;
span { // span {
// margin-left: 20px; // // margin-left: 20px;
font-family: PingFangSC-Regular; // font-family: PingFangSC-Regular;
font-size: 13px; // font-size: 13px;
color: #4b4a4b; // color: #4b4a4b;
letter-spacing: 0; // letter-spacing: 0;
} // }
} // }
.time { .time {
flex: 3; flex: 3;
height: 85%; height: 85%;
...@@ -338,8 +345,10 @@ export default { ...@@ -338,8 +345,10 @@ export default {
color: #4b4a4b; color: #4b4a4b;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
p:nth-of-type(2){
padding-left:10px;
}
p { p {
margin-top: 17px;
span { span {
display: block; display: block;
margin-top: 18px; margin-top: 18px;
......
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2019-09-29 10:02:11 * @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-11-11 13:58:43 * @LastEditTime: 2019-11-13 09:37:51
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
--> -->
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<span>合同详情</span> <span>合同详情</span>
</div> </div>
</h-header> </h-header>
<div v-if="!isConfirm&&con_confirm_status!=='APPROVED'" v-once class="myModal"> <div v-if="!isConfirm&&con_confirm_status!=='APPROVED'&&auth_credit_flag!=='Y'" v-once class="myModal">
<div class="box"> <div class="box">
<span class="title-box">征信授权书</span> <span class="title-box">征信授权书</span>
<div class="content-box"> <div class="content-box">
...@@ -313,7 +313,8 @@ export default { ...@@ -313,7 +313,8 @@ export default {
uncheck3: unCheck3, uncheck3: unCheck3,
con_confirm_status: this.$route.params.item.confirm_status, con_confirm_status: this.$route.params.item.confirm_status,
entry_info_flag: false, entry_info_flag: false,
faceListUpload: [],//自拍照上传 faceListUpload: [], // 自拍照上传
auth_credit_flag: 'N', // 征信授权书确认状态
} }
}, },
computed: {}, computed: {},
...@@ -343,6 +344,7 @@ export default { ...@@ -343,6 +344,7 @@ export default {
vm.ischecked = false vm.ischecked = false
vm.bp_name = vm.$route.params.item.bp_name vm.bp_name = vm.$route.params.item.bp_name
vm.user_bp_type = vm.$route.params.user_bp_type vm.user_bp_type = vm.$route.params.user_bp_type
vm.auth_credit_flag = vm.$route.params.item.auth_credit_flag // 征信授权书确认状态
vm.project_id = vm.$route.params.item.project_id vm.project_id = vm.$route.params.item.project_id
vm.confirm_id = vm.$route.params.item.confirm_id vm.confirm_id = vm.$route.params.item.confirm_id
vm.con_confirm_status = vm.$route.params.item.confirm_status vm.con_confirm_status = vm.$route.params.item.confirm_status
...@@ -413,8 +415,8 @@ export default { ...@@ -413,8 +415,8 @@ export default {
} }
let success = function (imgdata) { let success = function (imgdata) {
obj.filePath = imgdata obj.filePath = imgdata
//obj.filePath = 'http://hlsapp.hand-china.com/file/XCMG/2.jpg' // obj.filePath = 'http://hlsapp.hand-china.com/file/XCMG/2.jpg'
vm.confirmContractSign(imgdata,status) vm.confirmContractSign(imgdata, status)
vm.faceListUpload.push(obj) vm.faceListUpload.push(obj)
} }
let error = function () { let error = function () {
...@@ -423,9 +425,9 @@ export default { ...@@ -423,9 +425,9 @@ export default {
hlsUtil.openCamera(cameraoptions, success, error) hlsUtil.openCamera(cameraoptions, success, error)
}, },
// 执行同意的逻辑(查询对应的身份证正面图片->人脸识别->确认签约) // 执行同意的逻辑(查询对应的身份证正面图片->人脸识别->确认签约)
async confirmContractSign (faceImg,status) { async confirmContractSign (faceImg, status) {
let idCardImgUrl = await this.idCardImgUrlGet() let idCardImgUrl = await this.idCardImgUrlGet()
this.faceIdentify(faceImg, idCardImgUrl,status) this.faceIdentify(faceImg, idCardImgUrl, status)
}, },
// 获取身份证照片 // 获取身份证照片
async idCardImgUrlGet () { async idCardImgUrlGet () {
...@@ -446,7 +448,7 @@ export default { ...@@ -446,7 +448,7 @@ export default {
} }
}, },
// 人脸比对 // 人脸比对
faceIdentify (faceImg, idCardImgUrl,status) { faceIdentify (faceImg, idCardImgUrl, status) {
let vm = this let vm = this
let obj = { let obj = {
'fileUrl': faceImg, 'fileUrl': faceImg,
...@@ -464,7 +466,7 @@ export default { ...@@ -464,7 +466,7 @@ export default {
onConfirm: (data) => { onConfirm: (data) => {
if (data) { if (data) {
vm.doConfirm(status) vm.doConfirm(status)
} else{ } else {
} }
}, },
...@@ -555,6 +557,22 @@ export default { ...@@ -555,6 +557,22 @@ export default {
// 授权书同意 // 授权书同意
confirm () { confirm () {
this.ischecked ? (this.isConfirm = true) : (this.isConfirm = false) this.ischecked ? (this.isConfirm = true) : (this.isConfirm = false)
let vm = this
let url = $config.basePath + 'prj_auth_credit_upd'
let param = {
master: {
confirm_id: vm.confirm_id,
auth_credit_flag: 'Y',
},
}
// vm.hlsPopup.showLoading('数据加载中')
vm.hlsHttp.post(url, param).then(function (res) {
// vm.hlsPopup.hideLoading()
if (res.result === 'S') {
// vm.guarantorInfo = res.lists
console.log('同意')
}
})
}, },
// 担保人 // 担保人
getGuarantor () { getGuarantor () {
......
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2019-10-30 19:29:24 * @Date: 2019-10-30 19:29:24
* @LastEditTime: 2019-11-08 09:13:12 * @LastEditTime: 2019-11-13 10:38:32
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
--> -->
...@@ -49,10 +49,10 @@ ...@@ -49,10 +49,10 @@
</div> </div>
<div class="name"> <div class="name">
<p>款项</p> <p>款项</p>
<p>应还金额</p> <p>租金</p>
</div> </div>
<div class="number"> <div class="number">
<p>租金</p> <p>应还金额</p>
<span :class="{'orang':statu==='orange','blu':statu==='blue','gree':statu==='green'}">{{ item.rental * product_num |currency }}</span> <span :class="{'orang':statu==='orange','blu':statu==='blue','gree':statu==='green'}">{{ item.rental * product_num |currency }}</span>
</div> </div>
<img v-if="statu === 'black'" src="@/assets/contractInquire/done.png" alt="" class="status"> <img v-if="statu === 'black'" src="@/assets/contractInquire/done.png" alt="" class="status">
...@@ -362,7 +362,6 @@ export default { ...@@ -362,7 +362,6 @@ export default {
} }
.time { .time {
flex: 5;
p { p {
font-family: DIN-Regular; font-family: DIN-Regular;
...@@ -381,28 +380,30 @@ export default { ...@@ -381,28 +380,30 @@ export default {
} }
.name { .name {
flex: 9; // flex: 9;
opacity: 0.6;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 13px; font-size: 13px;
color: #4B4A4B; color: #4B4A4B;
padding-top: 20px;
p { margin-left: 22px;
margin-bottom: 17px; span:nth-of-type(2) {
margin-left: 8px;
}
span:nth-of-type(1) {
opacity: 0.6;
} }
} }
.number { .number {
flex: 9; // flex: 9;
text-align: right;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 13px; font-size: 13px;
color: #4B4A4B; color: #4B4A4B;
padding-top: 20px;
p { margin-left: 40px;
margin-bottom: 17px; span:nth-of-type(2) {
margin-left: 8px;
} }
span.orang { span.orang {
color: rgb(253, 182, 47); color: rgb(253, 182, 47);
font-weight: 700; font-weight: 700;
......
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2019-10-30 19:29:24 * @Date: 2019-10-30 19:29:24
* @LastEditTime: 2019-11-08 15:44:27 * @LastEditTime: 2019-11-13 10:39:56
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
--> -->
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<div class="total"> <div class="total">
<div class="sum"> <div class="sum">
<div>融资额</div> <div>融资额</div>
<p>{{info.total_rental_sum | currency}}</p> <p>{{ info.total_rental_sum | currency }}</p>
<img src="@/assets/contractInquire/num.png" alt=""> <img src="@/assets/contractInquire/num.png" alt="">
<h3><span>{{ info.lease_times }}</span></h3> <h3><span>{{ info.lease_times }}</span></h3>
</div> </div>
...@@ -47,10 +47,10 @@ ...@@ -47,10 +47,10 @@
</div> </div>
<div class="name"> <div class="name">
<p>款项</p> <p>款项</p>
<p>应还金额</p> <p>租金</p>
</div> </div>
<div class="number"> <div class="number">
<p>租金</p> <p>应还金额</p>
<span :class="{'orang':statu==='orange','blu':statu==='blue','gree':statu==='green'}">{{ item.rental*product_num |currency }}</span> <span :class="{'orang':statu==='orange','blu':statu==='blue','gree':statu==='green'}">{{ item.rental*product_num |currency }}</span>
</div> </div>
<img v-if="statu === 'black'" src="@/assets/contractInquire/done.png" alt="" class="status"> <img v-if="statu === 'black'" src="@/assets/contractInquire/done.png" alt="" class="status">
...@@ -138,7 +138,6 @@ export default { ...@@ -138,7 +138,6 @@ export default {
if (res.result === 'S') { if (res.result === 'S') {
vm.info = res.info vm.info = res.info
vm.repayLists = res.lists.sort(vm.arrSort('times')) // 根据还款期排序 vm.repayLists = res.lists.sort(vm.arrSort('times')) // 根据还款期排序
} else { } else {
hlsPopup.showLongCenter(res.message) hlsPopup.showLongCenter(res.message)
} }
...@@ -327,7 +326,6 @@ export default { ...@@ -327,7 +326,6 @@ export default {
} }
.time { .time {
flex: 5;
p { p {
font-family: DIN-Regular; font-family: DIN-Regular;
...@@ -346,28 +344,30 @@ export default { ...@@ -346,28 +344,30 @@ export default {
} }
.name { .name {
flex: 9; // flex: 9;
opacity: 0.6;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 13px; font-size: 13px;
color: #4B4A4B; color: #4B4A4B;
padding-top: 20px;
p { margin-left: 22px;
margin-bottom: 17px; span:nth-of-type(2) {
margin-left: 8px;
}
span:nth-of-type(1) {
opacity: 0.6;
} }
} }
.number { .number {
flex: 9; // flex: 9;
text-align: right;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 13px; font-size: 13px;
color: #4B4A4B; color: #4B4A4B;
padding-top: 20px;
p { margin-left: 40px;
margin-bottom: 17px; span:nth-of-type(2) {
margin-left: 8px;
} }
span.orang { span.orang {
color: rgb(253, 182, 47); color: rgb(253, 182, 47);
font-weight: 700; font-weight: 700;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Description: 法人信息 * @Description: 法人信息
* @Author: your name * @Author: your name
* @Date: 2019-09-26 15:09:24 * @Date: 2019-09-26 15:09:24
* @LastEditTime: 2019-11-11 14:00:00 * @LastEditTime: 2019-11-13 09:21:26
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
--> -->
<template> <template>
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
<input slot="content" v-model="baseInfo.auth_flag" readonly> <input slot="content" v-model="baseInfo.auth_flag" readonly>
</item> </item>
</list-item> </list-item>
<div class="equipment-list" v-if="baseInfo.auth_flag === '是'">{{ '法定授权人' }}</div> <div v-if="baseInfo.auth_flag === '是'" class="equipment-list">{{ '法定授权人' }}</div>
<!-- 授权人 --> <!-- 授权人 -->
<list-item v-show="baseInfo.auth_flag === '是'" :item-height="44" class="second-part"> <list-item v-show="baseInfo.auth_flag === '是'" :item-height="44" class="second-part">
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
<input slot="content" v-model="baseInfo.cell_phone" readonly> <input slot="content" v-model="baseInfo.cell_phone" readonly>
</item> </item>
<item> <item>
<div slot="name" class="font-color">居住地址</div> <div slot="name" class="font-color">联系地址</div>
<input slot="content" v-model="baseInfo.living_address" readonly> <input slot="content" v-model="baseInfo.living_address" readonly>
</item> </item>
</list-item> </list-item>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Descrip:个人信息 * @Descrip:个人信息
* @Author: your name * @Author: your name
* @Date: 2019-09-26 15:47:45 * @Date: 2019-09-26 15:47:45
* @LastEditTime: 2019-09-30 09:46:08 * @LastEditTime: 2019-11-13 09:21:48
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
--> -->
<template> <template>
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<input slot="content" v-model="baseInfo.cell_phone" readonly> <input slot="content" v-model="baseInfo.cell_phone" readonly>
</item> </item>
<item> <item>
<div slot="name" class="font-color">居住地址</div> <div slot="name" class="font-color">联系地址</div>
<input slot="content" v-model="baseInfo.living_address" readonly> <input slot="content" v-model="baseInfo.living_address" readonly>
</item> </item>
<item> <item>
...@@ -48,8 +48,8 @@ ...@@ -48,8 +48,8 @@
<input slot="content" v-model="baseInfo.marital_status_n" readonly> <input slot="content" v-model="baseInfo.marital_status_n" readonly>
</item> </item>
</list-item> </list-item>
<div class="equipment-list" v-if="baseInfo.marital_status == 'MARRIED'">配偶信息</div> <div v-if="baseInfo.marital_status == 'MARRIED'" class="equipment-list">配偶信息</div>
<list-item :item-height="44" class="second-part" v-if="baseInfo.marital_status == 'MARRIED'"> <list-item :item-height="44" v-if="baseInfo.marital_status == 'MARRIED'" class="second-part">
<item> <item>
<div slot="name" class="font-color">姓名</div> <div slot="name" class="font-color">姓名</div>
<input slot="content" v-model="baseInfo.bp_name_sp" readonly> <input slot="content" v-model="baseInfo.bp_name_sp" readonly>
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
<input slot="content" v-model="baseInfo.working_place_sp" readonly> <input slot="content" v-model="baseInfo.working_place_sp" readonly>
</item> </item>
<item> <item>
<div slot="name" class="font-color">居住地址</div> <div slot="name" class="font-color">联系地址</div>
<input slot="content" v-model="baseInfo.address_sp" readonly> <input slot="content" v-model="baseInfo.address_sp" readonly>
</item> </item>
</list-item> </list-item>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Descrip""/>User Settings Edit * @Descrip""/>User Settings Edit
* @Author: your name * @Author: your name
* @Date: 2019-09-29 20:31:00 * @Date: 2019-09-29 20:31:00
* @LastEditTime: 2019-11-11 11:30:04 * @LastEditTime: 2019-11-13 09:31:10
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
--> -->
<template> <template>
...@@ -144,14 +144,15 @@ export default { ...@@ -144,14 +144,15 @@ export default {
next(vm => { next(vm => {
if (from.name === 'FinancingTrial') { if (from.name === 'FinancingTrial') {
vm.equip_price = vm.$route.params.plan_price // 参考价 vm.equip_price = vm.$route.params.plan_price // 参考价
if (vm.product_plan_id !== vm.$route.params.product_plan_id) { // if (vm.product_plan_id !== vm.$route.params.product_plan_id) {
// 重置产品id、试算返回id、试算状态、保险押金、gps费用、预计还款日
vm.product_plan_id = vm.$route.params.product_plan_id vm.product_plan_id = vm.$route.params.product_plan_id
vm.quotation_id = '' vm.quotation_id = ''
vm.trial_flag = false vm.trial_flag = false
vm.insurance_fee = '' vm.insurance_fee = ''
vm.gps_fee = '' vm.gps_fee = ''
vm.price_date_to = '请选择时间' vm.price_date_to = '请选择时间'
} // }
vm.detailsQuery() vm.detailsQuery()
vm.repayPeriod() vm.repayPeriod()
} }
......
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2019-10-30 19:29:24 * @Date: 2019-10-30 19:29:24
* @LastEditTime: 2019-11-08 09:36:20 * @LastEditTime: 2019-11-13 10:34:23
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
--> -->
...@@ -46,11 +46,11 @@ ...@@ -46,11 +46,11 @@
<span>{{ dateConverse(item.due_date).substr(5,10) }}</span> <span>{{ dateConverse(item.due_date).substr(5,10) }}</span>
</div> </div>
<div class="name"> <div class="name">
<p>款项</p> <span>款项</span>
<p>应还金额</p> <span>租金</span>
</div> </div>
<div class="number"> <div class="number">
<p>租金</p> <span>应还金额</span>
<span :class="{'orang':statu==='orange','blu':statu==='blue','gree':statu==='green'}">{{ item.rental |currency }}</span> <span :class="{'orang':statu==='orange','blu':statu==='blue','gree':statu==='green'}">{{ item.rental |currency }}</span>
</div> </div>
<img v-if="statu === 'black'" src="@/assets/contractInquire/done.png" alt="" class="status"> <img v-if="statu === 'black'" src="@/assets/contractInquire/done.png" alt="" class="status">
...@@ -343,7 +343,7 @@ export default { ...@@ -343,7 +343,7 @@ export default {
} }
.time { .time {
flex: 5; // flex: 5;
p { p {
font-family: DIN-Regular; font-family: DIN-Regular;
...@@ -362,28 +362,30 @@ export default { ...@@ -362,28 +362,30 @@ export default {
} }
.name { .name {
flex: 9; // flex: 9;
opacity: 0.6;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 13px; font-size: 13px;
color: #4B4A4B; color: #4B4A4B;
padding-top: 20px;
p { margin-left: 22px;
margin-bottom: 17px; span:nth-of-type(2) {
margin-left: 8px;
}
span:nth-of-type(1) {
opacity: 0.6;
} }
} }
.number { .number {
flex: 9; // flex: 9;
text-align: right;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 13px; font-size: 13px;
color: #4B4A4B; color: #4B4A4B;
padding-top: 20px;
p { margin-left: 40px;
margin-bottom: 17px; span:nth-of-type(2) {
margin-left: 8px;
} }
span.orang { span.orang {
color: rgb(253, 182, 47); color: rgb(253, 182, 47);
font-weight: 700; font-weight: 700;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Descrip: 主页 * @Descrip: 主页
* @Author: your name * @Author: your name
* @Date: 2019-10-10 14:25:15 * @Date: 2019-10-10 14:25:15
* @LastEditTime: 2019-10-29 09:50:16 * @LastEditTime: 2019-11-13 11:04:08
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
--> -->
<template> <template>
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
<img src="@/assets/homePage/hot.png" class="hot"> <img src="@/assets/homePage/hot.png" class="hot">
<div class="center"><span class="firsts">经销商</span> <span class="seconds">{{ list.bp_name }}</span></div> <div class="center"><span class="firsts">经销商</span> <span class="seconds">{{ list.bp_name }}</span></div>
<div class="center"><span class="firsts">参数项</span> <span class="seconds">{{ list.product_code }}</span></div> <div class="center"><span class="firsts">参数项</span> <span class="seconds">{{ list.product_code }}</span></div>
<div class="center"><span class="firsts">地址</span> <span class="seconds">{{ list.province_id_n + list.city_id_n + list.district_id_n}}</span></div> <div class="center"><span class="firsts">地址</span> <span class="seconds">{{ list.province_id_n + list.city_id_n + list.district_id_n }}</span></div>
</div> </div>
</item> </item>
</list-item> </list-item>
...@@ -168,13 +168,12 @@ export default { ...@@ -168,13 +168,12 @@ export default {
}) })
}, },
// 进入产品明细 // 进入产品明细
goProductDetail(list){ goProductDetail (list) {
let vm = this
this.$router.push({ this.$router.push({
name: 'ProDetailed', name: 'ProDetailed',
params: { params: {
product_id: list.product_id, product_id: list.product_id,
bp_id: vm.bp_id bp_id: list.bp_id,
}, },
}) })
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment