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
35d60547
Commit
35d60547
authored
Jan 10, 2020
by
linxin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'liuxin' into develop
parents
8994ebeb
d53fcd80
Pipeline
#4579
canceled with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
10 deletions
+33
-10
bankInfo.vue
src/pages/userBindNew/org/bankInfo.vue
+1
-1
baseInfo.vue
src/pages/userBindNew/org/baseInfo.vue
+32
-9
No files found.
src/pages/userBindNew/org/bankInfo.vue
View file @
35d60547
...
...
@@ -57,7 +57,7 @@
</div>
</div>
<bottom-tab
class=
"footer-button"
>
<tab-button
class=
"save"
@
click
.
native=
"
putData
"
>
提交
</tab-button>
<tab-button
class=
"save"
@
click
.
native=
"
handSubmit
"
>
提交
</tab-button>
</bottom-tab>
<h-modal
ref=
"modal"
v-model=
"showModalValue"
position=
"bottom"
>
<h-view>
...
...
src/pages/userBindNew/org/baseInfo.vue
View file @
35d60547
...
...
@@ -856,6 +856,37 @@ export default {
this
.
hlsPopup
.
showLongCenter
(
'请先保存!'
)
}
},
// 基本信息保存前校验
bindCheck
()
{
let
vm
=
this
var
business_num
=
''
if
(
vm
.
baseInfo
.
bp_type
===
'TENANT'
||
vm
.
baseInfo
.
bp_type
===
'GUTA'
)
{
business_num
=
vm
.
baseInfo
.
agent_username
}
let
url
=
process
.
env
.
basePath
+
'bp_bind_check'
let
param
=
{
bp_class
:
'ORG'
,
bp_type
:
vm
.
baseInfo
.
bp_type
,
business_num
:
business_num
,
}
vm
.
hlsPopup
.
showLoading
(
'正在校验数据有效性'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
$router
.
push
({
name
:
'Invoice'
,
params
:
{
bp_id
:
vm
.
bp_id
,
organization_code
:
vm
.
baseInfo
.
organization_code
,
from
:
vm
.
from
,
bp_name
:
vm
.
baseInfo
.
bp_name
,
},
})
}
else
{
hlsPopup
.
showError
(
res
.
message
)
}
})
},
// 校验手机号
phoneCheck
(
phone
)
{
if
(
!
hlsUtil
.
phoneNumber
(
phone
)
&&
!
hlsUtil
.
phoneNumber86
(
phone
))
{
...
...
@@ -1102,15 +1133,7 @@ export default {
if
(
res
.
result
===
'S'
)
{
// vm.hlsPopup.showSuccess('保存成功,请去维护附件信息')
vm
.
bp_id
=
res
.
bp_id
vm
.
$router
.
push
({
name
:
'Invoice'
,
params
:
{
bp_id
:
vm
.
bp_id
,
organization_code
:
vm
.
baseInfo
.
organization_code
,
from
:
vm
.
from
,
bp_name
:
vm
.
baseInfo
.
bp_name
,
},
})
vm
.
bindCheck
()
// 查询资料清单
vm
.
loadItemList
()
}
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