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
6370ba7f
Commit
6370ba7f
authored
Oct 13, 2019
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
453306f3
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
159 additions
and
31 deletions
+159
-31
my-info.vue
src/pages/myInfo/my-info.vue
+21
-5
invoiceInfoWrite.vue
src/pages/personalCenter/npReadWrite/invoiceInfoWrite.vue
+1
-0
naturePerson.vue
src/pages/userBind/np/naturePerson.vue
+8
-1
enterprise.vue
src/pages/userBind/org/enterprise.vue
+106
-21
invoiceInfo.vue
src/pages/userBind/org/invoiceInfo.vue
+23
-4
No files found.
src/pages/myInfo/my-info.vue
View file @
6370ba7f
...
...
@@ -18,6 +18,8 @@
<div
slot=
"name"
>
退出登录
</div>
</item>
</list-item>
<button
v-if=
"flag"
@
click=
"changePageHead"
>
用户绑定
</button>
<button
v-if=
"!flag"
>
解除绑定
</button>
</h-content>
</section>
</
template
>
...
...
@@ -26,6 +28,7 @@
export
default
{
data
()
{
return
{
flag
:
true
,
user_bp_status
:
''
,
user_bp_class
:
''
,
bp_id
:
''
,
...
...
@@ -75,6 +78,7 @@ export default {
let
vm
=
this
if
(
vm
.
bp_id
)
{
if
(
vm
.
user_bp_status
===
'NEW'
||
vm
.
user_bp_status
===
'REJECT'
)
{
vm
.
flag
=
true
if
(
vm
.
user_bp_class
===
'NP'
)
{
vm
.
$router
.
push
({
name
:
'NaturePerson'
,
...
...
@@ -84,32 +88,37 @@ export default {
})
}
else
{
this
.
$router
.
push
({
name
:
'
Enterprise'
,
name
:
'Enterprise'
,
params
:
{
'bp_id'
:
this
.
bp_id
,
},
})
}
}
else
if
(
vm
.
user_bp_status
===
'APPROVED'
)
{
vm
.
flag
=
false
if
(
vm
.
user_bp_class
===
'NP'
)
{
vm
.
$router
.
push
({
name
:
'NaturePerson
ReadOnly
'
,
name
:
'NaturePerson'
,
params
:
{
'bp_id'
:
this
.
bp_id
,
'status'
:
'APPROVED'
,
},
})
}
else
{
this
.
$router
.
push
({
name
:
'Enterprise
ReadOnly
'
,
name
:
'Enterprise'
,
params
:
{
'bp_id'
:
this
.
bp_id
,
'status'
:
'APPROVED'
,
},
})
}
}
else
if
(
vm
.
user_bp_status
===
'APPROVING'
)
{
vm
.
flag
=
true
this
.
hlsPopup
.
showLongCenter
(
'您的绑定申请还在流程中'
)
}
}
else
{
vm
.
flag
=
true
this
.
hlsPopup
.
showLongCenter
(
'请先进行用户绑定'
)
}
},
...
...
@@ -131,6 +140,13 @@ export default {
}
</
script
>
<
style
lang=
"less"
type=
"text/less"
>
<
style
lang=
"less"
scoped
>
button{
margin-top:50px;
margin-left:100px;
width: 150px;
height: 50px;
color: #fff;
background-color: navy;
}
</
style
>
src/pages/personalCenter/npReadWrite/invoiceInfoWrite.vue
View file @
6370ba7f
...
...
@@ -13,6 +13,7 @@
>
</item>
<item
:showArrow=
"true"
>
<div
slot=
"name"
>
发票类型
</div>
<input
slot=
"content"
...
...
src/pages/userBind/np/naturePerson.vue
View file @
6370ba7f
...
...
@@ -55,12 +55,15 @@
<list-item
:item-height=
"44"
class=
"second-part"
>
<item>
<div
slot=
"name"
class=
"required"
>
姓名
</div>
<input
slot=
"content"
v-model=
"baseInfo.bp_name"
placeholder=
"上传身份证自动填充"
class=
"auto"
>
<input
slot=
"content"
:readonly=
"isApproved"
v-model=
"baseInfo.bp_name"
placeholder=
"上传身份证自动填充"
class=
"auto"
>
</item>
<item>
<div
slot=
"name"
class=
"required"
>
身份证号码
</div>
<input
slot=
"content"
:readonly=
"isApproved"
v-model=
"baseInfo.id_card_no"
placeholder=
"上传身份证自动填充"
class=
"auto"
...
...
@@ -210,6 +213,7 @@ export default {
isPaople
:
false
,
isEnter
:
false
,
showModalValue
:
false
,
isApproved
:
false
,
isSave
:
false
,
isSelected
:
false
,
tabNum
:
0
,
...
...
@@ -296,6 +300,9 @@ export default {
this
.
getEducationBackground
()
this
.
getMarital
()
this
.
getBankInfo
()
if
(
this
.
$route
.
params
.
status
===
'APPROVED'
)
{
this
.
isApproved
=
true
}
},
beforeRouteEnter
(
to
,
from
,
next
)
{
if
(
from
.
fullPath
===
'/tab/my-info'
)
{
...
...
src/pages/userBind/org/enterprise.vue
View file @
6370ba7f
This diff is collapsed.
Click to expand it.
src/pages/userBind/org/invoiceInfo.vue
View file @
6370ba7f
...
...
@@ -11,7 +11,7 @@
<div
slot=
"name"
class=
"font-color"
>
纳税人类型
</div>
<input
slot=
"content"
v-model=
"taxpayer_type_n"
v-model=
"
invoiceInfo.
taxpayer_type_n"
type=
"text"
readonly
placeholder=
"请选择"
...
...
@@ -64,17 +64,25 @@ export default {
type
:
String
,
default
:
''
,
},
'baseInfo'
:
{
type
:
Object
,
default
:
{},
},
'tabNum'
:
{
type
:
Number
,
default
:
0
,
},
},
data
()
{
return
{
invoicList
:
[],
taxpayerList
:
[],
invoice_kind_n
:
''
,
taxpayer_type_n
:
''
,
invoiceInfo
:
{
invoice_kind
:
''
,
invoice_kind
:
1
,
taxpayer_type
:
''
,
invoice_title
:
''
,
taxpayer_type_n
:
''
,
organization_code
:
this
.
orgCode
,
invoice_bp_bank_account
:
''
,
invoice_bp_address_phone_num
:
''
,
...
...
@@ -85,6 +93,17 @@ export default {
orgCode
()
{
this
.
invoiceInfo
.
organization_code
=
this
.
orgCode
},
'tabNum'
(
newVal
,
oulVal
)
{
if
(
newVal
===
2
)
{
Object
.
assign
(
this
.
invoiceInfo
,
this
.
baseInfo
)
this
.
invoice_kind_n
=
''
if
(
this
.
invoiceInfo
.
invoice_kind
==
0
)
{
this
.
invoice_kind_n
=
'增值税专用发票'
}
else
if
(
this
.
invoiceInfo
.
invoice_kind
==
2
)
{
this
.
invoice_kind_n
=
'增值税普通发票'
}
}
},
},
created
()
{
console
.
log
(
'orgCode'
,
this
.
orgCode
)
...
...
@@ -149,7 +168,7 @@ export default {
object
:
{},
returnItem
:
function
(
index
,
obj
)
{
vm
.
invoiceInfo
.
taxpayer_type
=
obj
.
bp_type
vm
.
taxpayer_type_n
=
obj
.
bp_type_n
vm
.
invoiceInfo
.
taxpayer_type_n
=
obj
.
bp_type_n
},
})
},
...
...
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