Commit 8cb5a104 authored by 李晓兵's avatar 李晓兵

'测试附件'

parent d915faa3
...@@ -442,6 +442,9 @@ export default { ...@@ -442,6 +442,9 @@ export default {
if (res.result === 'S') { if (res.result === 'S') {
let cardUrl = process.env.filePath + 'attachment_id=' + res.info.attachment_id + '&access_token=' + window.localStorage.access_token let cardUrl = process.env.filePath + 'attachment_id=' + res.info.attachment_id + '&access_token=' + window.localStorage.access_token
return cardUrl return cardUrl
} else if(res.result === 'S' && !res.info.attachment_id){
hlsPopup.showLongCenter('未找到身份证照片')
return null
} else { } else {
hlsPopup.showLongCenter(res.message) hlsPopup.showLongCenter(res.message)
return null return null
......
...@@ -369,20 +369,15 @@ ...@@ -369,20 +369,15 @@
<list-item :item-height="44" class="card-Info"> <list-item :item-height="44" class="card-Info">
<item> <item>
<div slot="name">银行卡卡号</div> <div slot="name">银行卡卡号</div>
<input <input slot="content" readonly v-model="bank.bank_account_num" placeholder="识别银行卡自动填充">
slot="content"
v-model="bank.bank_account_num"
placeholder="识别银行卡自动填充"
>
</item> </item>
<item> <item>
<div slot="name">账户姓名</div> <div slot="name">账户姓名</div>
<input slot="content" v-model="bank.bank_account_name" placeholder="请输入账户名称" > <input slot="content" readonly v-model="bank.bank_account_name" placeholder="请输入账户名称" >
</item> </item>
<item> <item>
<div slot="name">银行名称</div> <div slot="name">银行名称</div>
<input slot="content" v-model="bank.bank_full_name" placeholder="识别银行卡自动填充" > <input slot="content" readonly v-model="bank.bank_full_name" placeholder="识别银行卡自动填充" >
</item> </item>
<item> <item>
<div slot="name">支行名称</div> <div slot="name">支行名称</div>
...@@ -700,7 +695,7 @@ export default { ...@@ -700,7 +695,7 @@ export default {
list.push(obj) list.push(obj)
vm.save_picture(list) vm.save_picture(list)
} }
if (vm.idCardBackEditFlag) { // 配偶身份证正面图片已修改,重新上传 if (vm.idCardFrontSpEditFlag) { // 配偶身份证正面图片已修改,重新上传
var list = [] var list = []
let obj = { let obj = {
'pkvalue': vm.idCardFrontSpCheck_id, 'pkvalue': vm.idCardFrontSpCheck_id,
...@@ -715,7 +710,7 @@ export default { ...@@ -715,7 +710,7 @@ export default {
list.push(obj) list.push(obj)
vm.save_picture(list) vm.save_picture(list)
} }
if (vm.idCardBackEditFlag) { // 配偶身份证背面图片已修改,重新上传 if (vm.idCardBackSpEditFlag) { // 配偶身份证背面图片已修改,重新上传
var list = [] var list = []
let obj = { let obj = {
'pkvalue': vm.idCardBackSpCheck_id, 'pkvalue': vm.idCardBackSpCheck_id,
...@@ -881,6 +876,7 @@ export default { ...@@ -881,6 +876,7 @@ export default {
}, },
// 图片保存 // 图片保存
save_picture (list) { save_picture (list) {
alert(JSON.stringify(list))
let vm = this let vm = this
if (list.length) { if (list.length) {
// hlsPopup.showLoading('图片上传请稍候') // hlsPopup.showLoading('图片上传请稍候')
...@@ -1204,7 +1200,7 @@ export default { ...@@ -1204,7 +1200,7 @@ export default {
if (isClear) { if (isClear) {
// this.bank = {} // this.bank = {}
this.bank.bank_account_num = '' this.bank.bank_account_num = ''
this.bank.bank_account_name = '' this.bank.bank_account_name = this.baseInfo.bp_name
this.bank.bank_card_type = '' this.bank.bank_card_type = ''
this.bank.bank_full_name = '' this.bank.bank_full_name = ''
this.bank.bank_branch_name = '' this.bank.bank_branch_name = ''
......
...@@ -158,7 +158,7 @@ ...@@ -158,7 +158,7 @@
@click="selectDistrict()" @click="selectDistrict()"
> >
</item> </item>
<item> <item :proportion="[2,2]">
<div slot="name" class="font-color required">经营地址</div> <div slot="name" class="font-color required">经营地址</div>
<textarea <textarea
slot="content" slot="content"
......
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