Commit fa181c41 authored by 李晓兵's avatar 李晓兵

''

parents 26f6ebec 4e9d1800
Pipeline #4330 canceled with stages
......@@ -10,6 +10,6 @@ module.exports = {
filePath: '"http://180.104.121.66:8088/r/api/app/fileViewSvc?sysName=XCMG_DEV&apiName=file_view&"',
ocrPath:'"http://180.104.121.66:8088/r/api"',
fileUploadSvcPath:'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_DEV&apiName="',
appId: '"com.xcmg.app"',
appId: '"com.xcmg.app.dev"',
currentVersion: '"1.2.1"'
}
......@@ -59,8 +59,8 @@ import Jpush from './scripts/jpushService'
import Jmessage from './scripts/jmessageService'
// if (process.env.CONFIG_ENV === 'uat') {
//const VConsole = require('vconsole')
// new VConsole() // eslint-disable-line
const VConsole = require('vconsole')
new VConsole() // eslint-disable-line
// }
Vue.use(componentInstall)
......
......@@ -49,43 +49,43 @@
</item>
<item>
<div slot="name">设备单价</div>
<CurrencyInput slot="content" v-model="saveInfo.equip_price" placeholder="暂无信息" />
<CurrencyInput slot="content" v-model="saveInfo.equip_price" placeholder="0" />
</item>
<item>
<div slot="name">融资金额</div>
<CurrencyInput slot="content" v-model="saveInfo.finance_amount" placeholder="暂无信息" />
<CurrencyInput slot="content" v-model="finance_amount" placeholder="0" />
</item>
<item>
<div slot="name">首付比例</div>
<input slot="content" v-model="saveInfo.down_payment_ratio_n" placeholder="暂无信息" >
<input slot="content" v-model="saveInfo.down_payment_ratio_n" placeholder="%" >
</item>
<item>
<div slot="name">首付款</div>
<CurrencyInput slot="content" v-model="saveInfo.down_payment" placeholder="暂无信息" />
<CurrencyInput slot="content" v-model="saveInfo.down_payment" placeholder="0" @input="changeRatio" />
</item>
<item>
<div slot="name">保证金比例</div>
<input slot="content" v-model="saveInfo.deposit_ratio_n" placeholder="暂无信息" >
<input slot="content" v-model="saveInfo.deposit_ratio_n" placeholder="%" >
</item>
<item>
<div slot="name">保证金</div>
<CurrencyInput slot="content" v-model="saveInfo.deposit" placeholder="暂无信息" />
<CurrencyInput slot="content" v-model="saveInfo.deposit" placeholder="0" @input="changeDeposit"/>
</item>
<item>
<div slot="name">手续费比例</div>
<input slot="content" v-model="saveInfo.lease_charge_ratio_n" placeholder="暂无信息" >
<input slot="content" v-model="saveInfo.lease_charge_ratio_n" placeholder="%" >
</item>
<item>
<div slot="name">手续费</div>
<CurrencyInput slot="content" v-model="saveInfo.lease_charge" placeholder="暂无信息" />
<CurrencyInput slot="content" v-model="saveInfo.lease_charge" placeholder="0" @input="changeLeaseCharge"/>
</item>
<item>
<div slot="name">GPS费用</div>
<CurrencyInput slot="content" v-model="saveInfo.gps_fee" placeholder="暂无信息" />
<CurrencyInput slot="content" v-model="saveInfo.gps_fee" placeholder="0" />
</item>
<item>
<div slot="name">保险押金</div>
<CurrencyInput slot="content" v-model="saveInfo.insurance_fee" placeholder="暂无信息" />
<CurrencyInput slot="content" v-model="saveInfo.insurance_fee" placeholder="0" />
</item>
<item class="date-check" @click.native="showTime('YYYY-MM-DD')">
<div slot="name">预计付款日</div>
......@@ -101,7 +101,7 @@
</item>
<item>
<div slot="name">年利率</div>
<input slot="content" v-model="saveInfo.int_rate_n" readonly placeholder="暂无信息" >
<input slot="content" v-model="saveInfo.int_rate_n" readonly placeholder="%" >
</item>
<item :showArrow="true" @click.native="selectPayWay">
<div slot="name">支付方式</div>
......@@ -109,7 +109,7 @@
</item>
<item>
<div slot="name">逾期日利率</div>
<input slot="content" v-model="saveInfo.penalty_rate_n" readonly placeholder="暂无信息" >
<input slot="content" v-model="saveInfo.penalty_rate_n" readonly placeholder="%" >
</item>
<item>
<div slot="name">留购价</div>
......@@ -270,6 +270,11 @@ export default {
},
}
},
computed: {
'finance_amount' () { // 融资金额
return parseFloat(this.saveInfo.equip_price - this.saveInfo.equip_price * this.saveInfo.down_payment_ratio_n.replace('%', '') / 100).toFixed(2)
},
},
watch: {
policyKeyWord (newVal, oldVal) {
this.searchBusinessPolicy()
......@@ -277,6 +282,20 @@ export default {
keyWordProduct (newVal, oldVal) {
this.searchProduct()
},
'saveInfo.equip_price' () {
this.saveInfo.down_payment = (this.saveInfo.equip_price * this.saveInfo.down_payment_ratio_n.replace('%', '') / 100).toFixed(2)
this.saveInfo.deposit = (this.saveInfo.equip_price * this.saveInfo.deposit_ratio_n.replace('%', '') / 100).toFixed(2)
this.saveInfo.lease_charge = parseFloat((this.saveInfo.equip_price - this.saveInfo.equip_price * this.saveInfo.down_payment_ratio_n.replace('%', '') / 100) * (this.saveInfo.lease_charge_ratio_n.replace('%', '') / 100)).toFixed(2)
},
'saveInfo.deposit_ratio_n' (newVal, oldVal) {
this.saveInfo.deposit = (this.saveInfo.equip_price * newVal.replace('%', '') / 100).toFixed(2)
},
'saveInfo.down_payment_ratio_n' (newVal, oldVal) {
this.saveInfo.down_payment = (this.saveInfo.equip_price * newVal.replace('%', '') / 100).toFixed(2)
},
'saveInfo.lease_charge_ratio_n' (newVal, oldVal) {
this.saveInfo.lease_charge = parseFloat((this.saveInfo.equip_price - this.saveInfo.equip_price * this.saveInfo.down_payment_ratio_n.replace('%', '') / 100) * (this.saveInfo.lease_charge_ratio_n.replace('%', '') / 100)).toFixed(2)
},
},
beforeRouteEnter (to, from, next) {
next(vm => {
......@@ -285,18 +304,41 @@ export default {
vm.pagenumSearch = 1
vm.pagenumSearchPolicy = 1
vm.policyKeyWord = ''
vm.keyWordProduct = ''
vm.businessLists = []
vm.divisionLists = []
vm.pagenum = 1
vm.pagenumPolicy = 1
if (from.name === 'CreateBaseInfo') {
vm.businessLists = []
vm.pagenum = 1
vm.pagenumPolicy = 1
vm.isComputed = false
vm.getProductLine() // 产品线查询
vm.repayPeriod()// 还款周期查询
vm.getPayWay()// 支付方式查询
Object.keys(vm.saveInfo).forEach(i => {
if (i !== 'project_id') {
vm.saveInfo[i] = ''
}
})
Object.keys(vm.productInfo).forEach(i => {
if (i !== 'project_id') {
vm.saveInfo[i] = ''
}
})
setTimeout(() => {
vm.getProductLine() // 产品线查询
vm.repayPeriod()// 还款周期查询
vm.getPayWay()// 支付方式查询
}, 0)
}
})
},
methods: {
changeRatio () {
this.saveInfo.down_payment_ratio_n = `${(this.saveInfo.down_payment / this.saveInfo.equip_price).toFixed(2) * 100}%`
},
changeDeposit () {
this.saveInfo.deposit_ratio_n = `${(this.saveInfo.deposit / this.saveInfo.equip_price).toFixed(2) * 100}%`
},
changeLeaseCharge () {
this.saveInfo.lease_charge_ratio_n = `${(this.saveInfo.lease_charge / (this.saveInfo.equip_price - this.saveInfo.equip_price * this.saveInfo.down_payment_ratio_n.replace('%', '') / 100)).toFixed(2) * 100}%`
},
selectBusinessPolicy (e) {
let vm = this
vm.saveInfo.product_plan_id = e.product_plan_id
......@@ -308,6 +350,7 @@ export default {
vm.saveInfo.int_rate = e.int_rate
vm.saveInfo.int_rate_n = e.int_rate_n
vm.saveInfo.penalty_rate_n = e.penalty_rate_n
vm.saveInfo.penalty_rate = e.penalty_rate
vm.saveInfo.deposit_ratio = e.deposit_ratio
vm.saveInfo.deposit_ratio_n = e.deposit_ratio_n
setTimeout(() => {
......@@ -316,7 +359,14 @@ export default {
},
save () {
let vm = this
vm.$router.push({
name: 'CreateEnclosureInfo',
})
let url = process.env.basePath + 'prj_lease_info_save'
vm.saveInfo.down_payment_ratio = (vm.saveInfo.down_payment_ratio_n.replace('%', '') / 100).toFixed(2)
vm.saveInfo.lease_charge_ratio = (vm.saveInfo.lease_charge_ratio_n.replace('%', '') / 100).toFixed(2)
vm.saveInfo.deposit_ratio = (vm.saveInfo.deposit_ratio_n.replace('%', '') / 100).toFixed(2)
vm.saveInfo.finance_amount = vm.finance_amount
let param = {
master: vm.saveInfo,
}
......@@ -646,7 +696,7 @@ export default {
name: 'ContractRepayPlan',
params: {
product_num: this.productInfo.product_num,
project_id: this.project_id,
project_id: window.localStorage.project_id,
},
})
},
......
......@@ -281,6 +281,7 @@ export default {
bp_agent_id: '',
pageNum: 1,
pageNumSearch: 1,
status: window.localStorage.contractReadonly,
BussinessSituationList: [], // 行业情况
jobSituationList: [], // 职业情况
houseInfonList: [], // 房产信息
......@@ -293,7 +294,7 @@ export default {
ORGBaseInfo: {}, // 企业基本信息
saveInfo: {// 需要保存的信息
project_id: window.localStorage.project_id,
bp_id: window.localStorage.bp_id,
bp_id: window.localStorage.bp_id_tenant,
bp_class: window.localStorage.bp_class,
equip_num: '',
equip_num_n: '',
......@@ -344,8 +345,21 @@ export default {
vm.showModalValue = false
vm.pageNum = 1
vm.pageNumSearch = 1
vm.undertakeList = []
vm.bp_class = window.localStorage.bp_class
if (from.name === 'SalesInfo') {
Object.keys(vm.saveInfo).forEach(i => {
if (i !== 'project_id' && i !== 'bp_id' && i !== 'bp_class' && i !== 'abc_deduction_flag' && i !== 'special_flag') {
vm.saveInfo[i] = ''
} else if (i === 'abc_deduction_flag' && i === 'special_flag') {
vm.saveInfo[i] = 'N'
}
})
vm.selectUdertake = []
setTimeout(() => {
vm.getBaseInfo()
}, 0)
} else if (from.name === 'SalesInfo' && !this.status) {
vm.getBaseInfo()
}
})
......@@ -447,7 +461,7 @@ export default {
let randomString = Math.floor(Math.random() * 21)
let url =
process.env.basePath +
'car_confirm_list_query' +
'prj_bp_guta_query' +
'&index' +
`'${randomString}'`
let param = {
......@@ -487,7 +501,7 @@ export default {
let randomString = Math.floor(Math.random() * 21)
let url =
process.env.basePath +
'car_confirm_list_query' +
'prj_bp_guta_query' +
'&index' +
`'${randomString}'`
let param = {
......@@ -526,7 +540,7 @@ export default {
let vm = this
let url = process.env.basePath + 'bp_np_info_query'
let param = {
bp_id: window.localStorage.getItem('bp_id'),
bp_id: window.localStorage.getItem('bp_id_tenant'),
}
hlsPopup.showLoading('请稍候')
vm.$post(url, param).then(function (res) {
......@@ -542,7 +556,7 @@ export default {
let vm = this
let url = process.env.basePath + 'bp_org_info_query'
let param = {
bp_id: window.localStorage.bp_id,
bp_id: window.localStorage.bp_id_tenant,
}
hlsPopup.showLoading('请稍候')
vm.$post(url, param).then(function (res) {
......
<!--
* @Author: your name
* @Date: 2019-09-29 10:02:11
* @LastEditTime : 2019-12-23 16:14:57
* @LastEditTime : 2019-12-26 12:05:03
* @LastEditors : Please set LastEditors
* @Description: In User Settings Edit
-->
......@@ -74,15 +74,15 @@
</item>
<item v-if="user_bp_type === 'AGENT'">
<div slot="name" class="font-color">授信额度</div>
<input slot="content" placeholder="授信额度">
<input slot="content" v-model="inflow_line" readonly placeholder="授信额度">
</item>
<item v-if="user_bp_type === 'AGENT'">
<div slot="name" class="font-color">已使用授信额度</div>
<input slot="content" placeholder="已使用授信额度">
<input slot="content" v-model="inflow_used" readonly placeholder="已使用授信额度">
</item>
<item v-if="user_bp_type === 'AGENT'">
<div slot="name" class="font-color">剩余授信额度</div>
<input slot="content" placeholder="剩余授信额度">
<input slot="content" v-model="inflow_reset" readonly placeholder="剩余授信额度">
</item>
<item @click.native="showTime('YYYY-MM-DD')">
<div slot="name" class="font-color">签约日期</div>
......@@ -280,7 +280,13 @@ export default {
if (res.result === 'S') {
vm.bp_agent_name = res.info.bp_agent_name
vm.bp_agent_id = res.info.bp_agent_id
vm.salesInfo.bp_id_agent = res.info.bp_agent_id
if (window.localStorage.bp_type === 'OFFICE') {
vm.office_name = res.info.bp_agent_name
vm.salesInfo.office_id = res.info.bp_agent_id
vm.salesInfo.bp_id_agent = ''
} else {
vm.salesInfo.bp_id_agent = res.info.bp_agent_id
}
vm.salesInfo.bp_user_id = res.info.bp_user_id
vm.lesseeQuery()
vm.salesQuery()
......@@ -420,6 +426,7 @@ export default {
this.lessee = item.bp_name
this.salesInfo.bp_id_tenant = item.bp_id
this.showModal = false
window.localStorage.setItem('bp_id_tenant', this.salesInfo.bp_id_tenant)
},
hideModal () {
this.showModal = false
......
<!--
* @Author: your name
* @Date: 2019-10-31 09:49:57
* @LastEditTime : 2019-12-24 18:28:09
* @LastEditTime : 2019-12-24 18:34:37
* @LastEditors : Please set LastEditors
* @Description: 还款
* @FilePath:
......@@ -58,10 +58,8 @@
</div>
</div>
<div class="name">
<!-- <span>款项</span>
<span>租金</span> -->
<p>利息</p>
<p>{{ item.interest }}</p>
<span>利息</span>
<span>{{ item.interest | currency }}</span>
</div>
<img v-if="statu === 'black'" src="@/assets/contractInquire/done.png" alt="" class="status">
<img v-if="statu === 'orange'" src="@/assets/contractInquire/prompt.png" alt="" class="status">
......@@ -376,6 +374,7 @@ export default {
color: #4B4A4B;
//padding-top: 20px;
margin-left: 40px;
margin-top: -16px;
span:nth-of-type(2) {
margin-left: 8px;
}
......
This diff is collapsed.
<!--
* @Author: your name
* @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-12-19 10:38:35
* @LastEditors: Please set LastEditors
* @LastEditTime : 2019-12-26 12:08:25
* @LastEditors : Please set LastEditors
* @Description: In User Settings Edit
-->
<template>
......@@ -241,7 +241,7 @@
</div>
<list-item :item-height="44" class="second-part">
<item>
<div slot="name" class="font-color">参数项</div>
<div slot="name" class="font-color">设备识别号</div>
<input slot="content" v-model="info.product_code" readonly >
</item>
<item>
......@@ -301,6 +301,8 @@
</bottom-tab>
</h-view>
</h-modal>
<!--活体检测-->
<body-check ref="body" :check_id="$route.params.check_id" :confirm_id="confirm_id"></body-check>
</h-view>
</template>
......@@ -314,11 +316,13 @@ import unCheck2 from '@/assets/constractSigning/unconstract.png'
import unCheck3 from '@/assets/constractSigning/unLease.png'
import LegalPerson from '@/pages/distributorSign/legal-person'
import Personal from '@/pages/distributorSign/personal'
import bodyCheck from './body-check'
export default {
name: 'ContractDetail',
components: {
Personal,
LegalPerson,
bodyCheck,
},
data () {
return {
......@@ -473,13 +477,14 @@ export default {
})
},
goBodyCheck (confirm_id) { // 活体检测
this.$router.push({
this.$refs.body.show()
/* this.$router.push({
name: 'BodyCheck',
params: {
check_id: this.$route.params.check_id,
confirm_id: confirm_id,
},
})
})*/
},
/* goElectronicSign () { // 电子签
let vm = this
......@@ -615,7 +620,6 @@ export default {
hlsPopup.showLongCenter('比对失败,请保证和绑定时是同一个人')
}
})
/* vm.save_picture(vm.faceListUpload)
let identifyScore = 90
hlsPopup.showPopup({
......@@ -625,7 +629,7 @@ export default {
// 进入活体检测页面
vm.goBodyCheck(vm.confirm_id)
},
}) */
})*/
},
// 确认签约逻辑
doConfirm (status) {
......
<!--
* @Author: your name
* @Date: 2019-10-30 19:29:24
* @LastEditTime: 2019-11-15 09:14:47
* @LastEditors: Please set LastEditors
* @LastEditTime : 2019-12-24 18:38:21
* @LastEditors : Please set LastEditors
* @Description: In User Settings Edit
-->
<template>
......@@ -47,13 +47,19 @@
<p>{{ item.due_date.substr(0,4) }}</p>
<span>{{ dateConverse(item.due_date).substr(5,10) }}</span>
</div>
<div class="name">
<span>款项</span>
<span>租金</span>
</div>
<div class="number">
<span>应还金额</span>
<span :class="{'orang':statu==='orange','blu':statu==='blue','gree':statu==='green'}">{{ item.rental * product_num |currency }}</span>
<div>
<span>本金</span>
<span>{{ item.principal |currency }}</span>
</div>
<div>
<span>租金</span>
<span :class="{'orang':statu==='orange','blu':statu==='blue','gree':statu==='green'}">{{ item.rental |currency }}</span>
</div>
</div>
<div class="name">
<span>利息</span>
<span>{{ item.interest | currency }}</span>
</div>
<img v-if="statu === 'black'" src="@/assets/contractInquire/done.png" alt="" class="status">
<img v-if="statu === 'orange'" src="@/assets/contractInquire/prompt.png" alt="" class="status">
......@@ -384,7 +390,7 @@ export default {
font-family: PingFangSC-Regular;
font-size: 13px;
color: #4B4A4B;
padding-top: 20px;
//padding-top: 20px;
margin-left: 22px;
span:nth-of-type(2) {
margin-left: 8px;
......@@ -396,11 +402,15 @@ export default {
.number {
// flex: 9;
display: flex;
flex-direction: column;
justify-content: space-evenly;
font-family: PingFangSC-Regular;
font-size: 13px;
color: #4B4A4B;
padding-top: 20px;
//padding-top: 20px;
margin-left: 40px;
margin-top: -16px;
span:nth-of-type(2) {
margin-left: 8px;
}
......
<!--
* @Author: your name
* @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-12-19 11:11:37
* @LastEditors: Please set LastEditors
* @LastEditTime : 2019-12-26 13:39:32
* @LastEditors : Please set LastEditors
* @Description: In User Settings Edit
-->
<template>
......@@ -80,7 +80,7 @@ export default {
watch: {
'num': {
handler (newVal, oldVal) {
this.$refs.scroll.update(false)
// this.$refs.scroll.update(false)
if (newVal === 2) {
if (!this.approvedFlag) {
this.contractList()
......@@ -467,12 +467,14 @@ export default {
}
}
.box {
height: 156px;
margin-left: 50px;
margin-right: 19px;
div {
width: 100%;
height: 32px;
padding: 8px 0;
line-height: 18px;
display: flex;
justify-content: space-between;
position: relative;
.money {
font-family: Verdana-Bold;
......@@ -482,14 +484,15 @@ export default {
font-weight: 600;
}
p {
height: 32px;
line-height: 32px;
position: absolute;
word-break: break-all;
word-wrap: break-word;
white-space: normal;
font-family: PingFangSC-Regular;
font-size: 14px;
letter-spacing: 0;
}
p:nth-of-type(1){
width: 32%;
left: 0;
color: rgba(75,74,75,0.60);
}
......
This diff is collapsed.
......@@ -2,8 +2,8 @@
* @Description: 合同详情
* @Author: your name
* @Date: 2019-09-25 15:38:21
* @LastEditTime: 2019-12-20 15:36:19
* @LastEditors: Please set LastEditors
* @LastEditTime : 2019-12-26 12:08:42
* @LastEditors : Please set LastEditors
-->
<template>
<h-view id="details" class="public-style" title="经销商签约">
......@@ -127,7 +127,7 @@
<p>设备清单</p></div>
<list-item :item-height="44" class="second-part">
<item>
<div slot="name" class="font-color">参数项</div>
<div slot="name" class="font-color">设备识别号</div>
<input slot="content" v-model="info.product_code" readonly>
</item>
<item>
......@@ -175,6 +175,8 @@
<img src="@/assets/intoApproval/approve.png" >确认签约
</tab-button>
</bottom-tab>
<!--活体检测-->
<body-check ref="body" :check_id="$route.params.check_id" :confirm_id="confirm_id"></body-check>
</h-view>
</template>
......@@ -182,12 +184,14 @@
import Tab from '@/pages/distributorSign/details-tab'
import LegalPerson from '@/pages/distributorSign/legal-person'
import Personal from '@/pages/distributorSign/personal'
import bodyCheck from './body-check'
export default {
name: 'ContractDetails',
components: {
Tab,
Personal,
LegalPerson,
bodyCheck,
},
data () {
return {
......@@ -273,13 +277,14 @@ export default {
})
},
goBodyCheck (confirm_id) { // 活体检测
this.$router.push({
this.$refs.body.show()
/* this.$router.push({
name: 'BodyCheck',
params: {
check_id: this.$route.params.check_id,
confirm_id: confirm_id,
},
})
})*/
},
/* goElectronicSign () { // 电子签
let vm = this
......@@ -820,7 +825,7 @@ export default {
}
}
.footer-button:nth-of-type(1) {
bottom: 92px;
//bottom: 92px;
.approve {
width: 358.6px;
height: 44px;
......
......@@ -444,12 +444,14 @@ export default {
}
}
.box {
height: 156px;
margin-left: 50px;
margin-right: 19px;
div {
width: 100%;
height: 32px;
padding: 8px 0;
line-height: 18px;
display: flex;
justify-content: space-between;
position: relative;
.money {
font-family: Verdana-Bold;
......@@ -459,14 +461,15 @@ export default {
font-weight: 600;
}
p {
height: 32px;
line-height: 32px;
position: absolute;
font-family: PingFangSC-Regular;
font-size: 14px;
letter-spacing: 0;
word-break: break-all;
word-wrap: break-word;
white-space: normal;
}
p:nth-of-type(1){
width: 32%;
left: 0;
color: rgba(75,74,75,0.60);
}
......
<!--
* @Author: your name
* @Date: 2019-10-30 19:29:24
* @LastEditTime: 2019-11-13 16:36:01
* @LastEditors: Please set LastEditors
* @LastEditTime : 2019-12-24 18:39:52
* @LastEditors : Please set LastEditors
* @Description: In User Settings Edit
-->
<template>
......@@ -45,13 +45,19 @@
<p>{{ item.due_date.substr(0,4) }}</p>
<span>{{ dateConverse(item.due_date).substr(5,10) }}</span>
</div>
<div class="name">
<span>款项</span>
<span>租金</span>
</div>
<div class="number">
<span>应还金额</span>
<span :class="{'orang':statu==='orange','blu':statu==='blue','gree':statu==='green'}">{{ item.rental*product_num |currency }}</span>
<div>
<span>本金</span>
<span>{{ item.principal |currency }}</span>
</div>
<div>
<span>租金</span>
<span :class="{'orang':statu==='orange','blu':statu==='blue','gree':statu==='green'}">{{ item.rental |currency }}</span>
</div>
</div>
<div class="name">
<span>利息</span>
<span>{{ item.interest | currency }}</span>
</div>
<img v-if="statu === 'black'" src="@/assets/contractInquire/done.png" alt="" class="status">
<img v-if="statu === 'orange'" src="@/assets/contractInquire/prompt.png" alt="" class="status">
......@@ -348,7 +354,7 @@ export default {
font-family: PingFangSC-Regular;
font-size: 13px;
color: #4B4A4B;
padding-top: 20px;
//padding-top: 20px;
margin-left: 22px;
span:nth-of-type(2) {
margin-left: 8px;
......@@ -360,11 +366,15 @@ export default {
.number {
// flex: 9;
display: flex;
flex-direction: column;
justify-content: space-evenly;
font-family: PingFangSC-Regular;
font-size: 13px;
color: #4B4A4B;
padding-top: 20px;
//padding-top: 20px;
margin-left: 40px;
margin-top: -16px;
span:nth-of-type(2) {
margin-left: 8px;
}
......
......@@ -72,7 +72,7 @@
<span v-if="equip_price" slot="content">{{ parseFloat(equip_price*info.down_payment_ratio_n.replace("%","")/100 + equip_price*info.deposit_ratio_n.replace("%","")/100 + (equip_price - equip_price*info.down_payment_ratio_n.replace("%","")/100)*(info.lease_charge_ratio_n.replace("%","")/100) + Number(gps_fee) + Number(insurance_fee)).toFixed(2) | currency }}</span>
</item>
<item @click.native="showTime('YYYY-MM-DD')">
<div slot="name" class="font-color">预计付款日</div>
<div slot="name" class="fo nt-color">预计付款日</div>
<div slot="content" class="autoColor">{{ price_date_to }}</div>
<img src="@/assets/trial/date.png" alt="" class="date-pic">
</item>
......
<!--
* @Author: your name
* @Date: 2019-10-30 19:29:24
* @LastEditTime: 2019-11-13 10:34:23
* @LastEditors: Please set LastEditors
* @LastEditTime : 2019-12-24 18:41:37
* @LastEditors : Please set LastEditors
* @Description: In User Settings Edit
-->
<template>
......@@ -45,13 +45,19 @@
<p>{{ item.due_date.substr(0,4) }}</p>
<span>{{ dateConverse(item.due_date).substr(5,10) }}</span>
</div>
<div class="name">
<span>款项</span>
<span>租金</span>
</div>
<div class="number">
<span>应还金额</span>
<span :class="{'orang':statu==='orange','blu':statu==='blue','gree':statu==='green'}">{{ item.rental |currency }}</span>
<div>
<span>本金</span>
<span>{{ item.principal |currency }}</span>
</div>
<div>
<span>租金</span>
<span :class="{'orang':statu==='orange','blu':statu==='blue','gree':statu==='green'}">{{ item.rental |currency }}</span>
</div>
</div>
<div class="name">
<span>利息</span>
<span>{{ item.interest | currency }}</span>
</div>
<img v-if="statu === 'black'" src="@/assets/contractInquire/done.png" alt="" class="status">
<img v-if="statu === 'orange'" src="@/assets/contractInquire/prompt.png" alt="" class="status">
......@@ -366,7 +372,7 @@ export default {
font-family: PingFangSC-Regular;
font-size: 13px;
color: #4B4A4B;
padding-top: 20px;
//padding-top: 20px;
margin-left: 22px;
span:nth-of-type(2) {
margin-left: 8px;
......@@ -378,11 +384,15 @@ export default {
.number {
// flex: 9;
display: flex;
flex-direction: column;
justify-content: space-evenly;
font-family: PingFangSC-Regular;
font-size: 13px;
color: #4B4A4B;
padding-top: 20px;
//padding-top: 20px;
margin-left: 40px;
margin-top: -16px;
span:nth-of-type(2) {
margin-left: 8px;
}
......
......@@ -57,7 +57,7 @@ import ContractDetail from '@/pages/ContractSigning/contract-detail'
import ContractContent from '@/pages/ContractSigning/contract-content'
import EntryInfo from '@/pages/ContractSigning/entry-info'
import ElectronicSign from '@/pages/ContractSigning/electronic-sign'
import BodyCheck from '@/pages/ContractSigning/body-check'
/*import BodyCheck from '@/pages/ContractSigning/body-check'*/
import ContractRepayPlan from '@/pages/ContractSigning/contract-repay-plan'
// 首付款支付
......@@ -233,7 +233,7 @@ export default new Router({
{path: '/entry-info', component: EntryInfo, name: 'EntryInfo', meta: {keepAlive: true}},
{path: '/contract-repay-plan', component: ContractRepayPlan, name: 'ContractRepayPlan', meta: {keepAlive: true}},
{path: '/electronic-sign', component: ElectronicSign, name: 'ElectronicSign', meta: {keepAlive: true}},
{path: '/body-check', component: BodyCheck, name: 'BodyCheck', meta: {keepAlive: true}},
/* {path: '/body-check', component: BodyCheck, name: 'BodyCheck', meta: {keepAlive: true}},*/
// 首付款支付
{path: '/first-pay', component: FirstPay, name: 'FirstPay', meta: {keepAlive: true}},
......
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,width=device-width,viewport-fit=cover"><meta name=format-detection content="telephone=no"><meta name=format-detection content="email=no"><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=black><script type=text/javascript src=./static/vuePlatform.js></script><script type=text/javascript src=./static/prototype.js></script><script type=text/javascript src=cordova.js></script><script type=text/javascript src="http://api.map.baidu.com/api?v=2.0&ak=o7fTnpVAGzXKN7SirV8xGU2xzWQS2NrI"></script><title>徐工融租</title><link href=./static/css/app.6319497a7aca33cba9994809c1a48057.css rel=stylesheet></head><body><div id=app-box></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.efd596b798e6119ce4a4.js></script><script type=text/javascript src=./static/js/app.e855d3033d30dd9c7a5e.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,width=device-width,viewport-fit=cover"><meta name=format-detection content="telephone=no"><meta name=format-detection content="email=no"><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=black><script type=text/javascript src=./static/vuePlatform.js></script><script type=text/javascript src=./static/prototype.js></script><script type=text/javascript src=cordova.js></script><script type=text/javascript src="http://api.map.baidu.com/api?v=2.0&ak=o7fTnpVAGzXKN7SirV8xGU2xzWQS2NrI"></script><title>徐工融租</title><link href=./static/css/app.d8b40c2ca4c1ada083d556818fb9edcb.css rel=stylesheet></head><body><div id=app-box></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.efd596b798e6119ce4a4.js></script><script type=text/javascript src=./static/js/app.3aa55f0f2ea9e3dec22c.js></script></body></html>
\ No newline at end of file
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