Commit b1450ec2 authored by 786817560's avatar 786817560

Merge branch 'ren' into develop

parents c7e2f22b 86480687
......@@ -2,7 +2,7 @@
* @Description: 合同详情
* @Author: your name
* @Date: 2019-09-25 15:38:21
* @LastEditTime: 2019-09-27 14:38:47
* @LastEditTime: 2019-09-29 10:47:02
* @LastEditors: Please set LastEditors
-->
<template>
......@@ -83,51 +83,51 @@
<list-item :item-height="44" class="second-part">
<item>
<div slot="name" class="font-color">商务政策</div>
<input slot="content" placeholder="零手续费产品" >
<input slot="content" v-model="info.product_plan_id_n" >
</item>
<item>
<div slot="name" class="font-color">设备总价</div>
<input slot="content" placeholder="150,000.00" >
<input slot="content" v-model="info.equip_price" >
</item>
<item>
<div slot="name" class="font-color">融资金额</div>
<input slot="content" placeholder="100,000.00" >
<input slot="content" v-model="info.finance_amount" >
</item>
<item>
<div slot="name" class="font-color">首付款</div>
<input slot="content" placeholder="50,000.00" >
<input slot="content" v-model="info.down_payment" >
</item>
<item>
<div slot="name" class="font-color">保证金比例</div>
<input slot="content" placeholder="10%" >
<input slot="content" v-model="info.deposit_ratio" >
</item>
<item>
<div slot="name" class="font-color">保证金</div>
<input slot="content" placeholder="150,000.00" >
<input slot="content" v-model="info.deposit" >
</item>
<item>
<div slot="name" class="font-color">手续费比例</div>
<input slot="content" placeholder="5%" >
<input slot="content" v-model="info.lease_charge_ratio">
</item>
<item>
<div slot="name" class="font-color">手续费</div>
<input slot="content" placeholder="7,500.00" >
<input slot="content" v-model="info.lease_charge" >
</item>
<item>
<div slot="name" class="font-color">预计付款日</div>
<input slot="content" placeholder="2019-08-01" >
<input slot="content" v-model="info.pre_pay_date" >
</item>
<item>
<div slot="name" class="font-color">还款周期</div>
<input slot="content" placeholder="月" >
<input slot="content" v-model="info.annual_pay_times" >
</item>
<item>
<div slot="name" class="font-color">租赁期数</div>
<input slot="content" placeholder="6" >
<input slot="content" v-model="info.lease_times" >
</item>
<item>
<div slot="name" class="font-color">年利率</div>
<input slot="content" placeholder="6.5%" >
<input slot="content" v-model="info.int_rate" >
</item>
</list-item>
<div class="repay-plan">
......@@ -137,15 +137,15 @@
<list-item :item-height="44" class="second-part">
<item>
<div slot="name" class="font-color">参数项</div>
<input slot="content" placeholder="GTZ226" >
<input slot="content" v-model="info.product_id" >
</item>
<item>
<div slot="name" class="font-color">产品线</div>
<input slot="content" placeholder="起重机" >
<input slot="content" v-model="info.division" >
</item>
<item>
<div slot="name" class="font-color">产品数量</div>
<input slot="content" placeholder="10" >
<input slot="content" v-model="info.product_num" >
</item>
</list-item>
......@@ -209,12 +209,29 @@ export default {
},
data () {
return {
info: {},
tabNum: 0,
bp_flag: false,
}
},
computed: {},
watch: {},
watch: {
tabNum () {
if (this.tabNum === 1) {
let vm = this
let url = $config.basePath + 'prj_lease_query'
let param = {
project_id: '503',
}
vm.hlsHttp.post(url, param).then(function (res) {
console.log('result', res)
if (res.result === 'S') {
vm.info = res.info
}
})
}
},
},
methods:
{
getTabNum (i) {
......
......@@ -20,25 +20,25 @@
<img src="@/assets/distributorSign/search.png" alt="">
</div>
</div>
<div v-for="(item,index) in contractMsg" :key="index" class="contract-list">
<div v-for="(item,index) in lists" :key="index" class="contract-list">
<div class="item">
<img src="@/assets/distributorSign/icon-进件合同.png" alt="">
<p class="incoming-num">进件号</p>
<p class="code">{{ item.code }}</p>
<p class="code">{{ item.project_number }}</p>
</div>
<div class="details" @click="goDetails(index)">
<div class="option">
<p class="name">承租人</p>
<p class="full-name normal">{{ item.name }}</p>
<p class="full-name normal">{{ item.bp_name }}</p>
</div>
<div class="option">
<p class="name">合同租金</p>
<p class="normal money">{{ item.money }}</p>
<img src="@/assets/distributorSign/goDetails.png" alt="" @click="goDetails(index)">
<p class="normal money">{{ item.finance_amount }}</p>
<img src="@/assets/distributorSign/goDetails.png" alt="" @click="goDetails(item)">
</div>
<div class="option">
<p class="name">申请时间</p>
<p class="normal">{{ item.date }}</p>
<p class="normal">{{ item.confirm_start_date }}</p>
</div>
</div>
</div>
......@@ -56,31 +56,20 @@ export default {
data () {
return {
tabNum: 0,
contractMsg: [
{name: '张三', money: 9000000, date: '2019-03-1', code: '201903022001'},
{name: '李四', money: 9000000, date: '2019-03-1', code: '201903022002'},
{name: '王五', money: 9000000, date: '2019-03-1', code: '201903022003'},
{name: '赵六', money: 9000000, date: '2019-03-1', code: '201903022004'},
{name: '张三', money: 9000000, date: '2019-03-1', code: '201903022001'},
{name: '李四', money: 9000000, date: '2019-03-1', code: '201903022002'},
{name: '王五', money: 9000000, date: '2019-03-1', code: '201903022003'},
{name: '赵六', money: 9000000, date: '2019-03-1', code: '201903022004'},
],
lists: [],
}
},
created () {
// let url = $config.basePath + 'bp_org_bind_save'
// let param = {
// 'master': vm.saveInfo,
// }
// vm.hlsHttp.post(url, param).then(function (res) {
let vm = this
let url = $config.basePath + 'prj_confirm_list_query'
let param = {
user_phone: '18945220871',
user_phone: '18507155349',
}
vm.hlsHttp.post(url, param).then(function (res) {
console.log(res.result)
if (res.result === 'S') {
vm.lists = res.lists
}
})
},
methods: {
......
......@@ -2,7 +2,7 @@
* @Description: In User Settings Edit
* @Author: your name
* @Date: 2019-09-19 09:31:19
* @LastEditTime: 2019-09-29 09:25:38
* @LastEditTime: 2019-09-29 11:38:23
* @LastEditors: Please set LastEditors
-->
<template>
......@@ -494,9 +494,9 @@ export default {
// }
// 校验基本信息
if (this.bpClass_flag) {
delete this.lastInfo.business_license_num
for (var key in vm.lastInfo) {
if (!vm.lastInfo[key]) {
delete this.baseInfo.business_license_num
for (var key in vm.baseInfo) {
if (!vm.baseInfo[key]) {
console.log('key', key, vm.bpClass)
switch (key) {
case 'bp_type':
......@@ -558,11 +558,11 @@ export default {
vm.msg_flag = true
}
}
this.lastInfo.business_license_num = ''
this.baseInfo.business_license_num = ''
} else {
delete this.lastInfo.agent_username
for (var key1 in vm.lastInfo) {
if (!vm.lastInfo[key1]) {
delete this.baseInfo.agent_username
for (var key1 in vm.baseInfo) {
if (!vm.baseInfo[key1]) {
console.log('key', key1)
switch (key1) {
case 'bp_type':
......@@ -624,7 +624,7 @@ export default {
vm.msg_flag = true
}
}
this.lastInfo.agent_username = ''
this.baseInfo.agent_username = ''
}
// if (!vm.bp_type_flag) {
......
......@@ -2,7 +2,7 @@
* @Description: In User Settings Edit
* @Author: your name
* @Date: 2019-09-20 09:35:11
* @LastEditTime: 2019-09-29 09:25:50
* @LastEditTime: 2019-09-29 11:25:28
* @LastEditors: Please set LastEditors
-->
<template>
......@@ -50,7 +50,7 @@
<div slot="name" class="font-color">纳税人识别号</div>
<input
slot="content"
v-model="invoiceInfo.organization_code" :placeholder="orgCode" type="text"
v-model="invoiceInfo.organization_code" :placeholder="orgCode" type="text" readonly
>
</item>
<!-- <p>{{ organization_code }}</p> -->
......
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