Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xugong
hls-xcmg-vue-app
Commits
8dd653ce
Commit
8dd653ce
authored
Sep 27, 2019
by
786817560
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ren' into develop
parents
0b515388
848073bf
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
89 additions
and
18 deletions
+89
-18
naturePerson.vue
src/pages/userBind/np/naturePerson.vue
+1
-1
bankInfo.vue
src/pages/userBind/org/bankInfo.vue
+2
-1
enterprise.vue
src/pages/userBind/org/enterprise.vue
+86
-16
No files found.
src/pages/userBind/np/naturePerson.vue
View file @
8dd653ce
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Description: In User Settings Edit
* @Description: In User Settings Edit
* @Author: liuxin
* @Author: liuxin
* @Date: 2019-09-19 09:18:14
* @Date: 2019-09-19 09:18:14
* @LastEditTime: 2019-09-26 1
1:30:03
* @LastEditTime: 2019-09-26 1
9:54:05
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
-->
-->
<
template
>
<
template
>
...
...
src/pages/userBind/org/bankInfo.vue
View file @
8dd653ce
...
@@ -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-24 21:29:35
* @Date: 2019-09-24 21:29:35
* @LastEditTime: 2019-09-2
6 17:41:15
* @LastEditTime: 2019-09-2
7 10:15:09
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
-->
-->
<
template
>
<
template
>
...
@@ -80,6 +80,7 @@ export default {
...
@@ -80,6 +80,7 @@ export default {
}
}
},
},
selectLast
(
item
)
{
selectLast
(
item
)
{
console
.
log
(
'item'
,
item
)
let
num
=
item
.
bank_account_num
let
num
=
item
.
bank_account_num
return
num
.
substring
(
num
.
length
-
4
)
return
num
.
substring
(
num
.
length
-
4
)
},
},
...
...
src/pages/userBind/org/enterprise.vue
View file @
8dd653ce
...
@@ -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-2
6 17:28:42
* @LastEditTime: 2019-09-2
7 10:33:31
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
-->
-->
<
template
>
<
template
>
...
@@ -195,7 +195,8 @@
...
@@ -195,7 +195,8 @@
</div>
</div>
</div>
</div>
</div>
</div>
<BankInfo
v-show=
"tabNum==1"
:bp_id=
"bp_id"
@
getInfo=
"getInfo"
/>
<!--
<BankInfo
v-show=
"tabNum==1"
:bp_id=
"bp_id"
@
getInfo=
"getInfo"
/>
-->
<BankInfo
v-show=
"tabNum==1"
:getBankList=
"getBankList"
@
getInfo=
"getInfo"
/>
<InvoiceInfo
v-show=
"tabNum==2"
@
getinvoiceList=
"getinvoiceList"
/>
<InvoiceInfo
v-show=
"tabNum==2"
@
getinvoiceList=
"getinvoiceList"
/>
</h-content>
</h-content>
<bottom-tab
class=
"footer-button"
>
<bottom-tab
class=
"footer-button"
>
...
@@ -276,6 +277,7 @@ export default {
...
@@ -276,6 +277,7 @@ export default {
msg_flag
:
false
,
msg_flag
:
false
,
invoiceInfo
:
{},
invoiceInfo
:
{},
maritalList
:
[],
maritalList
:
[],
getBankList
:
[],
academic_bg_n
:
''
,
academic_bg_n
:
''
,
text
:
'法人代表信息'
,
text
:
'法人代表信息'
,
bp_type_flag
:
false
,
bp_type_flag
:
false
,
...
@@ -307,7 +309,7 @@ export default {
...
@@ -307,7 +309,7 @@ export default {
bank_lists
:
{
bank_lists
:
{
bank_account_num
:
''
,
bank_account_num
:
''
,
bank_account_name
:
''
,
bank_account_name
:
''
,
bank_card_type
:
'
0
'
,
bank_card_type
:
'
储蓄卡
'
,
bank_full_name
:
''
,
bank_full_name
:
''
,
bank_branch_name
:
''
,
bank_branch_name
:
''
,
},
},
...
@@ -358,14 +360,30 @@ export default {
...
@@ -358,14 +360,30 @@ export default {
},
},
created
()
{
created
()
{
this
.
getBpType
()
this
.
getBpType
()
this
.
getBankInfo
()
},
},
methods
:
{
methods
:
{
getBankInfo
()
{
let
vm
=
this
let
bpId
=
window
.
localStorage
.
getItem
(
'user_id'
)
let
url
=
process
.
env
.
basePath
+
'bp_bank_query'
let
param
=
{
bp_id
:
bpId
,
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
getBankList
=
[...
vm
.
getBankList
,
...
res
.
lists
]
}
})
},
handSubmit
()
{
handSubmit
()
{
let
url
=
$config
.
basePath
+
'bp_bind_submit'
let
url
=
$config
.
basePath
+
'bp_bind_submit'
let
param
=
{
let
param
=
{
'master'
:
{
master
:
{
'bp_id'
:
this
.
bp_id
,
bp_id
:
window
.
localStorage
.
getItem
(
'user_id'
)
,
'company_id'
:
'2145'
,
company_id
:
'2145'
,
},
},
}
}
let
vm
=
this
let
vm
=
this
...
@@ -415,11 +433,12 @@ export default {
...
@@ -415,11 +433,12 @@ export default {
vm
.
hlsPopup
.
showSuccess
(
'添加成功'
)
vm
.
hlsPopup
.
showSuccess
(
'添加成功'
)
let
url
=
$config
.
basePath
+
'bp_bank_query'
let
url
=
$config
.
basePath
+
'bp_bank_query'
let
param
=
{
let
param
=
{
'bp_id'
:
vm
.
bp_id
,
bp_id
:
vm
.
bp_id
,
}
}
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
console
.
log
(
'银行卡查询'
,
res
)
console
.
log
(
'银行卡查询'
,
res
)
vm
.
getBankList
=
[...
vm
.
getBankList
,
...
res
.
lists
]
})
})
}
}
})
})
...
@@ -427,7 +446,7 @@ export default {
...
@@ -427,7 +446,7 @@ export default {
},
},
verified
()
{
verified
()
{
debugger
//
debugger
if
(
this
.
flag
)
{
if
(
this
.
flag
)
{
this
.
baseInfo
.
auth_flag
=
'N'
this
.
baseInfo
.
auth_flag
=
'N'
this
.
lastInfo
=
{
...
this
.
baseInfo
,
...
this
.
legal_personMsg
,
...
this
.
invoiceInfo
}
this
.
lastInfo
=
{
...
this
.
baseInfo
,
...
this
.
legal_personMsg
,
...
this
.
invoiceInfo
}
...
@@ -440,17 +459,68 @@ export default {
...
@@ -440,17 +459,68 @@ export default {
console
.
log
(
'last'
,
this
.
lastInfo
,
this
.
invoiceInfo
)
console
.
log
(
'last'
,
this
.
lastInfo
,
this
.
invoiceInfo
)
let
vm
=
this
let
vm
=
this
// 校验开票信息
// 校验开票信息
let
arr
=
Object
.
keys
(
vm
.
invoiceInfo
)
//
let arr = Object.keys(vm.invoiceInfo)
if
(
arr
.
length
!==
6
)
{
//
if (arr.length !== 6) {
vm
.
msg_flag
=
false
//
vm.msg_flag = false
vm
.
hlsPopup
.
showLongCenter
(
'开票信息不完整!'
)
//
vm.hlsPopup.showLongCenter('开票信息不完整!')
}
else
{
//
} else {
vm
.
msg_flag
=
true
//
vm.msg_flag = true
}
//
}
// 校验基本信息
// 校验基本信息
for
(
var
key
in
vm
.
lastInfo
)
{
for
(
var
key
in
vm
.
lastInfo
)
{
if
(
!
vm
.
lastInfo
[
key
])
{
if
(
!
vm
.
lastInfo
[
key
])
{
vm
.
hlsPopup
.
showLongCenter
(
'基本信息不完整!'
)
console
.
log
(
'key'
,
key
)
switch
(
key
)
{
case
'bp_type'
:
vm
.
hlsPopup
.
showLongCenter
(
'客户类型未填写'
)
break
case
'bp_name'
:
vm
.
hlsPopup
.
showLongCenter
(
'公司名称未填写'
)
break
case
'enterprise_type'
:
vm
.
hlsPopup
.
showLongCenter
(
'企业类型未填写'
)
break
case
'organization_code'
:
vm
.
hlsPopup
.
showLongCenter
(
'统一社会信用代码未填写'
)
break
case
'registered_capital'
:
vm
.
hlsPopup
.
showLongCenter
(
'注册资本未填写'
)
break
case
'legal_person'
:
vm
.
hlsPopup
.
showLongCenter
(
'法定代表人未填写'
)
break
case
'registered_place'
:
vm
.
hlsPopup
.
showLongCenter
(
'注册地址未填写'
)
break
case
'business_address'
:
vm
.
hlsPopup
.
showLongCenter
(
'经营地址未填写'
)
break
case
'phone'
:
vm
.
hlsPopup
.
showLongCenter
(
'固定电话未填写'
)
break
case
'id_card_no'
:
vm
.
hlsPopup
.
showLongCenter
(
'身份证未填写'
)
break
case
'cell_phone'
:
vm
.
hlsPopup
.
showLongCenter
(
'手机号未填写'
)
break
case
'living_address'
:
vm
.
hlsPopup
.
showLongCenter
(
'居住地址未填写'
)
break
case
'auth_person_name'
:
vm
.
hlsPopup
.
showLongCenter
(
'授权人姓名未填写'
)
break
case
'auth_person_id_card'
:
vm
.
hlsPopup
.
showLongCenter
(
'身份证号未填写'
)
break
case
'auth_person_position'
:
vm
.
hlsPopup
.
showLongCenter
(
'公司职务未填写'
)
break
case
'auth_person_matter'
:
vm
.
hlsPopup
.
showLongCenter
(
'授权事项未填写'
)
break
}
// vm.hlsPopup.showLongCenter('基本信息不完整!')
vm
.
msg_flag
=
false
vm
.
msg_flag
=
false
return
return
}
else
{
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment