Commit 4e28425c authored by 786817560's avatar 786817560

'修改冲突'

parents 130469bd 5c5bf89d
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Description: 合同详情 * @Description: 合同详情
* @Author: your name * @Author: your name
* @Date: 2019-09-25 15:38:21 * @Date: 2019-09-25 15:38:21
* @LastEditTime: 2019-09-27 11:13:31 * @LastEditTime: 2019-09-27 14:38:47
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
--> -->
<template> <template>
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
</item> </item>
</list-item> </list-item>
<div class="repay-plan"> <div class="repay-plan">
<p>查看还款计划</p> <p @click="repayPlan">查看还款计划</p>
</div> </div>
<div class="equipment-list">设备清单</div> <div class="equipment-list">设备清单</div>
<list-item :item-height="44" class="second-part"> <list-item :item-height="44" class="second-part">
...@@ -224,6 +224,11 @@ export default { ...@@ -224,6 +224,11 @@ export default {
judgeBp () { judgeBp () {
this.bp_flag = !this.bp_flag this.bp_flag = !this.bp_flag
}, },
repayPlan () {
this.$router.push({
name: 'FinancDetails',
})
},
}, },
} }
</script> </script>
......
...@@ -100,12 +100,13 @@ export default { ...@@ -100,12 +100,13 @@ export default {
.hinput { .hinput {
width: 100%; width: 100%;
height: 68px; height: 68px;
border-bottom:1px solid #ccc; border-bottom:1px solid #cccccc70;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
margin-top: 3px; margin-top: 3px;
background: #fff; background: #fff;
margin-bottom: 9px;
.search-box { .search-box {
width: 93.6%; width: 93.6%;
height: 36px; height: 36px;
...@@ -131,7 +132,7 @@ export default { ...@@ -131,7 +132,7 @@ export default {
height: 120px; height: 120px;
// border: 1px solid #ccc; // border: 1px solid #ccc;
background: #fff; background: #fff;
// margin-bottom: 18px; margin-bottom: 8px;
.item { .item {
width: 100%; width: 100%;
height: 34px; height: 34px;
...@@ -172,7 +173,7 @@ export default { ...@@ -172,7 +173,7 @@ export default {
width: 100%; width: 100%;
height: 18px; height: 18px;
display: flex; display: flex;
flex-basis: row; flex-direction: row;
.name { .name {
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 13px; font-size: 13px;
......
<!--
* @Description: 融资明细
* @Author: your name
* @Date: 2019-09-27 14:25:25
* @LastEditTime: 2019-09-27 14:40:18
* @LastEditors: Please set LastEditors
-->
<template>
<h-view>
<h-view id="financ" class="public-style">
<h-header :proportion="[5,1,1]" class="bar-custom">
<div slot="left" class="h-header-btn">
<img src="@/assets/userBind/arrow.png" @click="$routeGo()">
<span>融资明细</span>
</div>
</h-header>
</h-view>
</h-view></template>
<script>
export default {
name: 'FinancDetails',
data () {
return {
}
},
computed: {},
watch: {},
methods:
{
},
}
</script>
<style lang='less' scoped>
#financ {
.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;
}
}
}
</style>
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @Author: your name * @Author: your name
* @Date: 2019-09-19 09:31:19 * @Date: 2019-09-19 09:31:19
* @LastEditTime: 2019-09-27 12:41:35 * @LastEditTime: 2019-09-27 18:11:48
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
--> -->
<template> <template>
...@@ -30,7 +30,8 @@ ...@@ -30,7 +30,8 @@
</item> </item>
<item v-if="bp_type_flag"> <item v-if="bp_type_flag">
<div slot="name">{{ typeName }}</div> <div slot="name">{{ typeName }}</div>
<input slot="content" :placeholder="type" v-model="baseInfo.agent_username"> <input v-if="bpClass_flag" slot="content" :placeholder="type" v-model="baseInfo.agent_username" >
<input v-if="!bpClass_flag" slot="content" :placeholder="type" v-model="baseInfo.business_license_num" >
</item> </item>
</list-item> </list-item>
<div class="userInfo martop">企业信息</div> <div class="userInfo martop">企业信息</div>
...@@ -60,16 +61,18 @@ ...@@ -60,16 +61,18 @@
> >
</item> </item>
<item> <item>
<div slot="name" class="font-color required">统一社会信用代码</div> <div slot="name" class="font-color">统一社会信用代码</div>
<input slot="content" v-model="baseInfo.organization_code" placeholder="上传营业执照自动填充"> <input slot="content" v-model="baseInfo.organization_code" placeholder="上传营业执照自动填充" class="auto">
</item> </item>
<item> <item>
<div slot="name" class="font-color required">注册资本</div> <div slot="name" class="font-color">注册资本</div>
<input slot="content" v-model="baseInfo.registered_capital" type="number" placeholder="上传营业执照自动填充"> <input
slot="content" v-model="baseInfo.registered_capital" type="number" placeholder="上传营业执照自动填充"
class="auto">
</item> </item>
<item> <item>
<div slot="name" class="font-color required">法定代表人</div> <div slot="name" class="font-color">法定代表人</div>
<input slot="content" v-model="baseInfo.legal_person" placeholder="上传营业执照自动填充"> <input slot="content" v-model="baseInfo.legal_person" placeholder="上传营业执照自动填充" class="auto">
</item> </item>
<item> <item>
<div slot="name" class="font-color required">注册地址</div> <div slot="name" class="font-color required">注册地址</div>
...@@ -118,6 +121,7 @@ ...@@ -118,6 +121,7 @@
slot="content" slot="content"
v-model="authMsg.auth_person_name" v-model="authMsg.auth_person_name"
placeholder="上传身份证自动填充" placeholder="上传身份证自动填充"
class="auto"
> >
</item> </item>
<item> <item>
...@@ -126,6 +130,7 @@ ...@@ -126,6 +130,7 @@
slot="content" slot="content"
v-model="authMsg.auth_person_id_card" v-model="authMsg.auth_person_id_card"
placeholder="上传身份证自动填充" placeholder="上传身份证自动填充"
class="auto"
> >
</item> </item>
<item> <item>
...@@ -142,12 +147,12 @@ ...@@ -142,12 +147,12 @@
<list-item v-if="flag" :item-height="44" class="second-part"> <list-item v-if="flag" :item-height="44" class="second-part">
<item> <item>
<div slot="name" class="font-color required">姓名</div> <div slot="name" class="font-color">姓名</div>
<input slot="content" v-model="legal_personMsg.id_card_name" placeholder="上传身份证自动填充"> <input slot="content" v-model="legal_personMsg.id_card_name" placeholder="上传身份证自动填充" class="auto">
</item> </item>
<item> <item>
<div slot="name" class="font-color required">身份证号</div> <div slot="name" class="font-color">身份证号</div>
<input slot="content" v-model="legal_personMsg.id_card_no" placeholder="上传身份证自动填充"> <input slot="content" v-model="legal_personMsg.id_card_no" placeholder="上传身份证自动填充" class="auto">
</item> </item>
<item> <item>
<div slot="name" class="font-color required">手机号</div> <div slot="name" class="font-color required">手机号</div>
...@@ -271,6 +276,7 @@ export default { ...@@ -271,6 +276,7 @@ export default {
tabNum: 0, tabNum: 0,
bp_id: '', bp_id: '',
flag: true, flag: true,
bpClass: '',
img_url: {}, img_url: {},
typeList: [], typeList: [],
backList: [], backList: [],
...@@ -282,9 +288,10 @@ export default { ...@@ -282,9 +288,10 @@ export default {
maritalList: [], maritalList: [],
getBankList: [], getBankList: [],
academic_bg_n: '', academic_bg_n: '',
bpClass_flag: false,
text: '法人代表信息', text: '法人代表信息',
bp_type_flag: false, bp_type_flag: false,
typeName: '业务经办', typeName: '',
marital_status_n: '', marital_status_n: '',
bank_card_flag: false, bank_card_flag: false,
showModalValue: false, showModalValue: false,
...@@ -300,13 +307,15 @@ export default { ...@@ -300,13 +307,15 @@ export default {
bp_name: '', bp_name: '',
phone: null, phone: null,
auth_flag: '', auth_flag: '',
business_address: '', user_phone: '18507155349',
legal_person: '', legal_person: '',
enterprise_type: '',
agent_username: '', agent_username: '',
enterprise_type: '',
business_address: '',
registered_place: '', registered_place: '',
organization_code: null, organization_code: null,
registered_capital: null, registered_capital: null,
business_license_num: '',
bp_class: this.$route.params.bp_class, bp_class: this.$route.params.bp_class,
}, },
bank_lists: { bank_lists: {
...@@ -331,16 +340,16 @@ export default { ...@@ -331,16 +340,16 @@ export default {
let vm = this let vm = this
if (vm.baseInfo.bp_type === 'TENANT' || vm.baseInfo.bp_type === 'GUTA') { if (vm.baseInfo.bp_type === 'TENANT' || vm.baseInfo.bp_type === 'GUTA') {
vm.type = '请输入业务经办员工代码' vm.type = '请输入业务经办员工代码'
vm.typeName = '业务经办' vm.typeName = '业务经办人'
vm.bp_type_flag = true
vm.baseInfo.agent_username = 'BP003020' vm.baseInfo.agent_username = 'BP003020'
} else if ( } else if (
vm.baseInfo.bp_type === 'AGENT' || vm.baseInfo.bp_type === 'AGENT' ||
vm.baseInfo.bp_type === 'OFFICE' || vm.baseInfo.bp_type === 'OFFICE' ||
vm.baseInfo.bp_type === 'FACTORY' vm.baseInfo.bp_type === 'FACTORY'
) { ) {
vm.bp_type_flag = false vm.typeName = '营业执照'
delete vm.baseInfo.agent_username vm.type = '请输入营业执照号'
vm.baseInfo.agent_username = ''
} }
}, },
flag () { flag () {
...@@ -350,6 +359,15 @@ export default { ...@@ -350,6 +359,15 @@ export default {
this.text = '授权信息' this.text = '授权信息'
} }
}, },
typeName () {
if (this.typeName === '业务经办人') {
this.bpClass = this.baseInfo.agent_username
this.bpClass_flag = true
} else {
this.bpClass = this.baseInfo.business_license_num
this.bpClass_flag = false
}
},
'tabNum': function (newVal, oldVal) { 'tabNum': function (newVal, oldVal) {
// if ((newVal === 1 && !window.sessionStorage.user_id) || (newVal === 2 && !window.sessionStorage.user_id)) { // if ((newVal === 1 && !window.sessionStorage.user_id) || (newVal === 2 && !window.sessionStorage.user_id)) {
// this.hlsPopup.showError('清先保存基本信息') // this.hlsPopup.showError('清先保存基本信息')
...@@ -394,6 +412,9 @@ export default { ...@@ -394,6 +412,9 @@ export default {
console.log('企业信息提交', res) console.log('企业信息提交', res)
if (res.result === 'S') { if (res.result === 'S') {
vm.hlsPopup.showSuccess('提交成功') vm.hlsPopup.showSuccess('提交成功')
vm.$router.push({
name: 'Home',
})
} }
}) })
}, },
...@@ -470,9 +491,11 @@ export default { ...@@ -470,9 +491,11 @@ export default {
// vm.msg_flag = true // vm.msg_flag = true
// } // }
// 校验基本信息 // 校验基本信息
if (this.bpClass_flag) {
delete this.lastInfo.business_license_num
for (var key in vm.lastInfo) { for (var key in vm.lastInfo) {
if (!vm.lastInfo[key]) { if (!vm.lastInfo[key]) {
console.log('key', key) console.log('key', key, vm.bpClass)
switch (key) { switch (key) {
case 'bp_type': case 'bp_type':
vm.hlsPopup.showLongCenter('客户类型未填写') vm.hlsPopup.showLongCenter('客户类型未填写')
...@@ -516,6 +539,75 @@ export default { ...@@ -516,6 +539,75 @@ export default {
case 'auth_person_id_card': case 'auth_person_id_card':
vm.hlsPopup.showLongCenter('身份证号未填写') vm.hlsPopup.showLongCenter('身份证号未填写')
break break
case 'user_phone':
vm.hlsPopup.showLongCenter('您还未登录')
break
case 'auth_person_position':
vm.hlsPopup.showLongCenter('公司职务未填写')
break
case 'auth_person_matter':
vm.hlsPopup.showLongCenter('授权事项未填写')
break
}
// vm.hlsPopup.showLongCenter('基本信息不完整!')
vm.msg_flag = false
return
} else {
vm.msg_flag = true
}
}
this.lastInfo.business_license_num = ''
} else {
delete this.lastInfo.agent_username
for (var key1 in vm.lastInfo) {
if (!vm.lastInfo[key1]) {
console.log('key', key1)
switch (key1) {
case 'bp_type':
vm.hlsPopup.showLongCenter('客户类型未填写')
break
case 'bp_name':
vm.hlsPopup.showLongCenter('公司名称未填写')
break
case 'enterprise_type':
vm.hlsPopup.showLongCenter('企业类型未填写')
break
case 'organization_code':
vm.hlsPopup.showLongCenter('统一社会信用代码未填写')
break
case 'registered_capital':
vm.hlsPopup.showLongCenter('注册资本未填写')
break
case 'legal_person':
vm.hlsPopup.showLongCenter('法定代表人未填写')
break
case 'registered_place':
vm.hlsPopup.showLongCenter('注册地址未填写')
break
case 'business_address':
vm.hlsPopup.showLongCenter('经营地址未填写')
break
case 'phone':
vm.hlsPopup.showLongCenter('固定电话未填写')
break
case 'id_card_no':
vm.hlsPopup.showLongCenter('身份证未填写')
break
case 'cell_phone':
vm.hlsPopup.showLongCenter('手机号未填写')
break
case 'living_address':
vm.hlsPopup.showLongCenter('居住地址未填写')
break
case 'auth_person_name':
vm.hlsPopup.showLongCenter('授权人姓名未填写')
break
case 'auth_person_id_card':
vm.hlsPopup.showLongCenter('身份证号未填写')
break
case 'user_phone':
vm.hlsPopup.showLongCenter('您还未登录')
break
case 'auth_person_position': case 'auth_person_position':
vm.hlsPopup.showLongCenter('公司职务未填写') vm.hlsPopup.showLongCenter('公司职务未填写')
break break
...@@ -530,10 +622,13 @@ export default { ...@@ -530,10 +622,13 @@ export default {
vm.msg_flag = true vm.msg_flag = true
} }
} }
if (!vm.bp_type_flag) { this.lastInfo.agent_username = ''
}
// if (!vm.bp_type_flag) {
// vm.baseInfo.agent_username = '' // vm.baseInfo.agent_username = ''
// vm.saveInfo.agent_username = '' // vm.saveInfo.agent_username = ''
} // }
// 校验电话号 // 校验电话号
let re = this.hlsUtil.phoneNumber(this.saveInfo.cell_phone) let re = this.hlsUtil.phoneNumber(this.saveInfo.cell_phone)
if (!re && this.baseInfo.auth_flag === 'N') { if (!re && this.baseInfo.auth_flag === 'N') {
...@@ -600,6 +695,7 @@ export default { ...@@ -600,6 +695,7 @@ export default {
returnItem: function (index, obj) { returnItem: function (index, obj) {
vm.baseInfo.bp_type = obj.bp_type vm.baseInfo.bp_type = obj.bp_type
vm.bp_type_n = obj.bp_type_n vm.bp_type_n = obj.bp_type_n
vm.bp_type_flag = true
}, },
}) })
}, },
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @Author: your name * @Author: your name
* @Date: 2019-09-24 12:34:06 * @Date: 2019-09-24 12:34:06
* @LastEditTime: 2019-09-25 21:10:20 * @LastEditTime: 2019-09-27 14:36:20
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
*/ */
import Vue from 'vue' import Vue from 'vue'
...@@ -33,6 +33,7 @@ import IntoList from '@/pages/intoApproval/intoList' ...@@ -33,6 +33,7 @@ import IntoList from '@/pages/intoApproval/intoList'
// 经销商签约 // 经销商签约
import ContractList from '@/pages/distributorSign/contract-list' import ContractList from '@/pages/distributorSign/contract-list'
import ContractDetails from '@/pages/distributorSign/contract-details' import ContractDetails from '@/pages/distributorSign/contract-details'
import FinancDetails from '@/pages/distributorSign/financ-details'
Vue.use(Router) Vue.use(Router)
...@@ -103,6 +104,7 @@ export default new Router({ ...@@ -103,6 +104,7 @@ export default new Router({
// 经销商签约 // 经销商签约
{path: '/contract-list', component: ContractList, name: 'ContractList', meta: {keepAlive: true}}, {path: '/contract-list', component: ContractList, name: 'ContractList', meta: {keepAlive: true}},
{path: '/contract-details', component: ContractDetails, name: 'ContractDetails', meta: {keepAlive: true}}, {path: '/contract-details', component: ContractDetails, name: 'ContractDetails', meta: {keepAlive: true}},
{path: '/financ-details', component: FinancDetails, name: 'FinancDetails', meta: {keepAlive: true}},
], ],
scrollBehavior (to, from, savedPosition) { scrollBehavior (to, from, savedPosition) {
if (to.hash) { if (to.hash) {
......
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