Commit a699f0f8 authored by 786817560's avatar 786817560

'[ADD]经销商签约'

parent 3ec420b5
......@@ -2,7 +2,7 @@
* @Description: In User Settings Edit
* @Author: your name
* @Date: 2019-09-19 09:31:19
* @LastEditTime: 2019-09-24 21:39:33
* @LastEditTime: 2019-09-25 09:39:13
* @LastEditors: Please set LastEditors
-->
<template>
......@@ -265,6 +265,7 @@ export default {
data () {
return {
tabNum: 0,
bp_id: '',
flag: true,
img_url: {},
typeList: [],
......@@ -349,7 +350,16 @@ export default {
},
methods: {
handSubmit () {
// let url = $config.basePath + 'bp_bind_submit'
let url = $config.basePath + 'bp_bind_submit'
let param = {
'master': {
'bp_id': this.bp_id,
'company_id': '2145',
},
}
this.hlsHttp.post(url, param).then(function (res) {
console.log('企业信息提交', res)
})
},
addBankInfo () {
for (var key in this.bank_lists) {
......@@ -377,15 +387,23 @@ export default {
let param = {
'master': {
'bp_id': '7738',
'bp_id': this.bp_id,
'bank_lists': [this.bank_lists],
},
}
let vm = this
this.hlsHttp.post(url, param).then(function (res) {
vm.hlsHttp.post(url, param).then(function (res) {
console.log(res)
if (res.result === 'S') {
vm.hlsPopup.hideLoading()
let url = $config.basePath + 'bp_bank_query'
let param = {
'bp_id': vm.bp_id,
}
vm.hlsHttp.post(url, param).then(function (res) {
console.log('银行卡查询', res)
})
}
})
}
......@@ -454,15 +472,8 @@ export default {
console.log(res)
if (res.result === 'S') {
vm.hlsPopup.hideLoading()
vm.bp_id = res.bp_id
}
// if (res.result === 'S') {
// vm.typeList = res.lists.map(item => {
// return {
// code: item.bp_type,
// code_name: item.bp_type_n,
// }
// })
// }
})
}
},
......@@ -563,6 +574,7 @@ export default {
.content {
margin-top: 3px;
height: 76%;
.font-color {
color: #656464;
}
......@@ -762,9 +774,9 @@ export default {
background-color: #00469c;
}
.footer-button {
height: 88px;
padding-top: 10px;
padding-bottom: 41px;
//height: 88px;
padding-top: 15px;
padding-bottom: 15px;
}
.front,
.photo,
......
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