Commit 769e17b4 authored by 786817560's avatar 786817560

Merge branch 'ren' into develop

parents ae60dc78 94d24df4
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2019-09-29 10:02:11 * @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-10-24 19:45:11 * @LastEditTime: 2019-10-25 17:47:29
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
--> -->
...@@ -258,6 +258,7 @@ export default { ...@@ -258,6 +258,7 @@ export default {
}, },
inSure () { inSure () {
// console.log(typeof window.sessionStorage.getItem('add_status')) // console.log(typeof window.sessionStorage.getItem('add_status'))
console.log(this.bank_flag)
if (this.bank_flag) { if (this.bank_flag) {
// this.entry_info_flag = true // this.entry_info_flag = true
let vm = this let vm = this
...@@ -265,7 +266,7 @@ export default { ...@@ -265,7 +266,7 @@ export default {
let param = { let param = {
master: { master: {
confirm_id: vm.confirm_id, confirm_id: vm.confirm_id,
con_confirm_status: 'APPROVED', confirm_status: 'APPROVED',
}, },
} }
vm.hlsHttp.post(url, param).then(function (res) { vm.hlsHttp.post(url, param).then(function (res) {
...@@ -294,21 +295,34 @@ export default { ...@@ -294,21 +295,34 @@ export default {
vm.hlsHttp.post(url, param).then(function (res) { vm.hlsHttp.post(url, param).then(function (res) {
console.log('bankcardinfo。。。。。。。。。。。。', res) console.log('bankcardinfo。。。。。。。。。。。。', res)
if (res.result === 'S') { if (res.result === 'S') {
if ('info' in res && Object.keys(res.info).length !== 0) { // if ('info' in res && Object.keys(res.info).length !== 0) {
// vm.bank_lists = [res.info] // for (var key1 in res.info) {
// console.log(vm.bank_lists[0]) // if (!res.info[key1]) {
// vm.bank_flag = false
// return
// } else {
// vm.bank_flag = true
// }
// }
if (res.info.bank_full_name === '') {
console.log(typeof res.info.bank_full_name)
vm.bank_flag = true vm.bank_flag = true
} else { } else {
vm.bank_flag = false vm.bank_flag = false
// this.bank_lists = [
// {
// bank_full_name: '', // 银行名称
// bank_account_num: '', // 卡号
// bank_account_name: '',
// bank_branch_name: '',
// },
// ]
} }
// vm.bank_lists = [res.info]
// console.log(vm.bank_lists[0])
// } else {
// vm.bank_flag = false
// this.bank_lists = [
// {
// bank_full_name: '', // 银行名称
// bank_account_num: '', // 卡号
// bank_account_name: '',
// bank_branch_name: '',
// },
// ]
// }
} else { } else {
hlsPopup.showLongCenter(res.message) hlsPopup.showLongCenter(res.message)
} }
......
...@@ -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-10-25 10:49:37 * @LastEditTime: 2019-10-25 16:43:13
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
--> -->
<template> <template>
...@@ -235,6 +235,7 @@ export default { ...@@ -235,6 +235,7 @@ export default {
let url = $config.basePath + 'prd_product_info' let url = $config.basePath + 'prd_product_info'
let param = { let param = {
product_id: vm.$route.params.product_id, product_id: vm.$route.params.product_id,
bp_id: vm.bp_id,
} }
vm.$post(url, param).then(function (res) { vm.$post(url, param).then(function (res) {
console.log('基本信息', res) console.log('基本信息', res)
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
</div> </div>
<div slot="content" class="item-content"> <div slot="content" class="item-content">
<div class="centers"> <div class="centers">
<p class="firsts1">经销商</p> <p class="firsts1">{{ item.bp_type_n }}</p>
<p class="seconds1">{{ item.bp_name }}</p> <p class="seconds1">{{ item.bp_name }}</p>
</div> </div>
<div class="centers"> <div class="centers">
......
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