Commit a699f0f8 authored by 786817560's avatar 786817560

'[ADD]经销商签约'

parent 3ec420b5
...@@ -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-24 21:39:33 * @LastEditTime: 2019-09-25 09:39:13
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
--> -->
<template> <template>
...@@ -265,6 +265,7 @@ export default { ...@@ -265,6 +265,7 @@ export default {
data () { data () {
return { return {
tabNum: 0, tabNum: 0,
bp_id: '',
flag: true, flag: true,
img_url: {}, img_url: {},
typeList: [], typeList: [],
...@@ -349,7 +350,16 @@ export default { ...@@ -349,7 +350,16 @@ export default {
}, },
methods: { methods: {
handSubmit () { 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 () { addBankInfo () {
for (var key in this.bank_lists) { for (var key in this.bank_lists) {
...@@ -377,15 +387,23 @@ export default { ...@@ -377,15 +387,23 @@ export default {
let param = { let param = {
'master': { 'master': {
'bp_id': '7738', 'bp_id': this.bp_id,
'bank_lists': [this.bank_lists], 'bank_lists': [this.bank_lists],
}, },
} }
let vm = this let vm = this
this.hlsHttp.post(url, param).then(function (res) { vm.hlsHttp.post(url, param).then(function (res) {
console.log(res) console.log(res)
if (res.result === 'S') { if (res.result === 'S') {
vm.hlsPopup.hideLoading() 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 { ...@@ -454,15 +472,8 @@ export default {
console.log(res) console.log(res)
if (res.result === 'S') { if (res.result === 'S') {
vm.hlsPopup.hideLoading() 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 { ...@@ -563,6 +574,7 @@ export default {
.content { .content {
margin-top: 3px; margin-top: 3px;
height: 76%;
.font-color { .font-color {
color: #656464; color: #656464;
} }
...@@ -762,9 +774,9 @@ export default { ...@@ -762,9 +774,9 @@ export default {
background-color: #00469c; background-color: #00469c;
} }
.footer-button { .footer-button {
height: 88px; //height: 88px;
padding-top: 10px; padding-top: 15px;
padding-bottom: 41px; padding-bottom: 15px;
} }
.front, .front,
.photo, .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