Commit a6efbafe authored by 786817560's avatar 786817560

''

parent 702a83b1
/* /*
* @Author: your name * @Author: your name
* @Date: 2019-11-11 16:28:43 * @Date: 2019-11-11 16:28:43
* @LastEditTime: 2019-12-05 20:01:03 * @LastEditTime: 2019-12-06 11:17:29
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
*/ */
......
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2019-09-29 10:02:11 * @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-12-03 09:50:57 * @LastEditTime: 2019-12-06 10:54:14
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
--> -->
...@@ -119,6 +119,8 @@ export default { ...@@ -119,6 +119,8 @@ export default {
vm.submitLists = [] vm.submitLists = []
vm.approvedLists = [] vm.approvedLists = []
vm.user_bp_type = vm.$route.params.user_bp_type vm.user_bp_type = vm.$route.params.user_bp_type
vm.$refs.scroll.update(false)
vm.$refs.scroll.scrollToTop()
vm.contractList() vm.contractList()
} else if (from.name === 'ContractDetail') { } else if (from.name === 'ContractDetail') {
if (window.localStorage.backFlag === 'true') { if (window.localStorage.backFlag === 'true') {
......
...@@ -111,6 +111,8 @@ export default { ...@@ -111,6 +111,8 @@ export default {
vm.approvedFlag = false vm.approvedFlag = false
vm.submitLists = [] vm.submitLists = []
vm.approvedLists = [] vm.approvedLists = []
vm.$refs.scroll.update(false)
vm.$refs.scroll.scrollToTop()
vm.getLists() vm.getLists()
} else if (from.name === 'ContractDetails') { } else if (from.name === 'ContractDetails') {
if (window.localStorage.backflag === 'true') { if (window.localStorage.backflag === 'true') {
......
...@@ -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-12-03 18:02:46 * @LastEditTime: 2019-12-06 11:16:12
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
--> -->
<template> <template>
...@@ -298,6 +298,9 @@ export default { ...@@ -298,6 +298,9 @@ export default {
</script> </script>
<style lang='less' scoped> <style lang='less' scoped>
#details1 { #details1 {
.content {
padding-bottom: 200px;
}
.date-pic { .date-pic {
height: 17px; height: 17px;
width: 17px; width: 17px;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Descrip 融资试算 * @Descrip 融资试算
* @Author: your name * @Author: your name
* @Date: 2019-09-29 17:09:49 * @Date: 2019-09-29 17:09:49
* @LastEditTime: 2019-11-22 09:28:00 * @LastEditTime: 2019-12-06 11:33:14
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
--> -->
<template> <template>
...@@ -92,6 +92,8 @@ export default { ...@@ -92,6 +92,8 @@ export default {
next(vm => { next(vm => {
vm.searchInput = '' vm.searchInput = ''
vm.pagenum = 1 vm.pagenum = 1
vm.$refs.scroll.scrollToTop()
vm.$refs.scroll.update(false)
if (from.name === 'ProDetailed') { if (from.name === 'ProDetailed') {
vm.price_date_to = vm.$route.params.price_date_to // 有效日期 vm.price_date_to = vm.$route.params.price_date_to // 有效日期
vm.plan_price = vm.$route.params.plan_price // 参考价 vm.plan_price = vm.$route.params.plan_price // 参考价
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Descrip: 产品明细 * @Descrip: 产品明细
* @Author: your name * @Author: your name
* @Date: 2019-10-15 14:30:00 * @Date: 2019-10-15 14:30:00
* @LastEditTime: 2019-12-03 15:36:03 * @LastEditTime: 2019-12-06 11:24:24
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
--> -->
<template> <template>
...@@ -315,6 +315,7 @@ export default { ...@@ -315,6 +315,7 @@ export default {
plan_price: price, plan_price: price,
price_date_to: date, price_date_to: date,
division: this.baseInfo.division, division: this.baseInfo.division,
bp_id: this.baseInfo.bp_id,
}, },
}) })
}, },
......
...@@ -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-12-05 14:39:47 * @LastEditTime: 2019-12-06 10:48:38
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
--> -->
<template> <template>
...@@ -535,7 +535,7 @@ export default { ...@@ -535,7 +535,7 @@ export default {
return { return {
tabNum: 0, tabNum: 0,
bp_id: '', bp_id: '',
flag: true, flag: true, // 显示未授权框
bpClass: '', bpClass: '',
from: false, from: false,
isApproved: false, isApproved: false,
...@@ -576,6 +576,7 @@ export default { ...@@ -576,6 +576,7 @@ export default {
id_card_date_to: '', // 法定代表人身份证有效期到 id_card_date_to: '', // 法定代表人身份证有效期到
}, },
baseInfo: { baseInfo: {
agent_username: '',
district_id: '', district_id: '',
district_name: '', district_name: '',
province_name: '', province_name: '',
...@@ -589,7 +590,6 @@ export default { ...@@ -589,7 +590,6 @@ export default {
auth_flag: 'N', auth_flag: 'N',
user_phone: window.localStorage.user_phone, user_phone: window.localStorage.user_phone,
legal_person: '', legal_person: '',
agent_username: '',
enterprise_type: '', enterprise_type: '',
business_address: '', business_address: '',
registered_place: '', registered_place: '',
...@@ -658,9 +658,9 @@ export default { ...@@ -658,9 +658,9 @@ export default {
computed: {}, computed: {},
watch: { watch: {
'baseInfo.auth_flag' (newVal, oldVal) { 'baseInfo.auth_flag' (newVal, oldVal) {
if (newVal === 'Y') { if (newVal === '') {
this.flag = false this.flag = false
} else if (newVal === 'N') { } else if (newVal === '') {
this.flag = true this.flag = true
} }
}, },
...@@ -677,6 +677,7 @@ export default { ...@@ -677,6 +677,7 @@ export default {
vm.baseInfo.bp_type === 'FACTORY' vm.baseInfo.bp_type === 'FACTORY'
) { ) {
vm.bp_type_flag = false vm.bp_type_flag = false
vm.typeName = ''
} }
}, },
/* flag () { /* flag () {
...@@ -942,7 +943,8 @@ export default { ...@@ -942,7 +943,8 @@ export default {
}, },
verified () { verified () {
debugger console.log(this.bpClass_flag)
// debugger
/* if (this.flag) { // 未授权 /* if (this.flag) { // 未授权
// this.flag = false // this.flag = false
for (let i in this.authMsg) { for (let i in this.authMsg) {
...@@ -964,13 +966,14 @@ export default { ...@@ -964,13 +966,14 @@ export default {
this.legal_personMsg[i] = '' this.legal_personMsg[i] = ''
} */ } */
this.baseInfo.auth_flag = 'N' this.baseInfo.auth_flag = 'Y'
this.lastInfo = {...this.baseInfo, ...this.legal_personMsg, ...this.authMsg} this.lastInfo = {...this.baseInfo, ...this.legal_personMsg, ...this.authMsg}
this.saveInfo = { this.saveInfo = {
...this.lastInfo, ...this.lastInfo,
...this.invoiceInfo, ...this.invoiceInfo,
} }
} else { // 未授权 } else { // 未授权
this.baseInfo.auth_flag = 'N'
this.lastInfo = {...this.baseInfo, ...this.legal_personMsg} this.lastInfo = {...this.baseInfo, ...this.legal_personMsg}
this.saveInfo = { this.saveInfo = {
...this.lastInfo, ...this.lastInfo,
...@@ -982,11 +985,21 @@ export default { ...@@ -982,11 +985,21 @@ export default {
// 校验基本信息 // 校验基本信息
if (this.bpClass_flag) { // 业务经办人 if (this.bpClass_flag) { // 业务经办人
console.log(this.lastInfo)
delete this.lastInfo.business_license_num delete this.lastInfo.business_license_num
delete this.lastInfo.id_card_name delete this.lastInfo.id_card_name
for (var key in vm.lastInfo) { for (var key in vm.lastInfo) {
if (!vm.lastInfo[key]) { if (!vm.lastInfo[key]) {
switch (key) { switch (key) {
case 'province_id':
vm.hlsPopup.showLongCenter('请选择省份')
break
case 'city_id':
vm.hlsPopup.showLongCenter('请选择城市')
break
case 'district_id':
vm.hlsPopup.showLongCenter('请选择区县')
break
case 'bp_type': case 'bp_type':
vm.hlsPopup.showLongCenter('客户类型未填写') vm.hlsPopup.showLongCenter('客户类型未填写')
break break
...@@ -1072,11 +1085,20 @@ export default { ...@@ -1072,11 +1085,20 @@ export default {
for (var key1 in vm.lastInfo) { for (var key1 in vm.lastInfo) {
if (!vm.lastInfo[key1]) { if (!vm.lastInfo[key1]) {
console.log('key', key1) console.log('key', key1)
debugger // debugger
switch (key1) { switch (key1) {
case 'bp_type': case 'bp_type':
vm.hlsPopup.showLongCenter('客户类型未填写') vm.hlsPopup.showLongCenter('客户类型未填写')
break break
case 'province_id':
vm.hlsPopup.showLongCenter('请选择省份')
break
case 'city_id':
vm.hlsPopup.showLongCenter('请选择城市')
break
case 'district_id':
vm.hlsPopup.showLongCenter('请选择区县')
break
case 'bp_name': case 'bp_name':
vm.hlsPopup.showLongCenter('公司名称未填写') vm.hlsPopup.showLongCenter('公司名称未填写')
break break
...@@ -1409,9 +1431,9 @@ export default { ...@@ -1409,9 +1431,9 @@ export default {
Object.assign(vm.saveInfo, res.info) Object.assign(vm.saveInfo, res.info)
vm.addRows(vm.baseInfo.registered_place) vm.addRows(vm.baseInfo.registered_place)
vm.addRowsLive(vm.baseInfo.business_address) vm.addRowsLive(vm.baseInfo.business_address)
if (vm.baseInfo.auth_flag === 'Y') { if (vm.baseInfo.auth_flag === '') {
vm.flag = false vm.flag = false
} else if (vm.baseInfo.auth_flag === 'N') { } else if (vm.baseInfo.auth_flag === '') {
vm.flag = true vm.flag = true
} }
vm.loadItemList()// 附件查询 vm.loadItemList()// 附件查询
......
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