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
f2930a8a
Commit
f2930a8a
authored
Oct 14, 2019
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
长字数换行
parent
1249fff2
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
504 additions
and
344 deletions
+504
-344
invoiceInfo.vue
src/pages/userBind/np/invoiceInfo.vue
+28
-3
enterprise.vue
src/pages/userBind/org/enterprise.vue
+452
-340
invoiceInfo.vue
src/pages/userBind/org/invoiceInfo.vue
+24
-1
No files found.
src/pages/userBind/np/invoiceInfo.vue
View file @
f2930a8a
...
...
@@ -30,16 +30,25 @@
</item>
<item>
<div
slot=
"name"
>
发票地址及电话
</div>
<input
slot=
"content"
v-model=
"invoiceInfo.invoice_bp_address_phone_num"
type=
"text"
placeholder=
"请输入发票地址及电话"
>
<textarea
slot=
"content"
ref=
"myTestarea"
v-model=
"invoiceInfo.invoice_bp_address_phone_num"
cols=
"30"
rows=
"1"
type=
"text"
placeholder=
"请输入发票地址及电话"
@
input=
"addRows(invoiceInfo.invoice_bp_address_phone_num)"
/>
</item>
<item>
<div
slot=
"name"
>
发票开户行及账号
</div>
<
input
<
textarea
slot=
"content"
ref=
"myTestareaLive"
v-model=
"invoiceInfo.invoice_bp_bank_account"
cols=
"30"
rows=
"1"
type=
"text"
placeholder=
"请输入发票开户行及账号"
>
@
input=
"addRowsLive(invoiceInfo.invoice_bp_bank_account)"
/>
</item>
</list-item>
</
template
>
...
...
@@ -85,6 +94,22 @@ export default {
this
.
sendList
()
},
methods
:
{
addRows
(
e
)
{
let
addNum
=
parseInt
(
e
.
length
/
25
)
if
(
addNum
===
0
)
{
this
.
$refs
.
myTestarea
.
rows
=
1
}
else
if
(
addNum
>=
addNum
-
1
&&
addNum
<
addNum
+
1
)
{
this
.
$refs
.
myTestarea
.
rows
=
addNum
+
1
}
},
addRowsLive
(
e
)
{
let
addNum
=
parseInt
(
e
.
length
/
25
)
if
(
addNum
===
0
)
{
this
.
$refs
.
myTestareaLive
.
rows
=
1
}
else
if
(
addNum
>=
addNum
-
1
&&
addNum
<
addNum
+
1
)
{
this
.
$refs
.
myTestareaLive
.
rows
=
addNum
+
1
}
},
getInvoiceType
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'bp_invoice_kind_query'
...
...
src/pages/userBind/org/enterprise.vue
View file @
f2930a8a
This diff is collapsed.
Click to expand it.
src/pages/userBind/org/invoiceInfo.vue
View file @
f2930a8a
...
...
@@ -35,15 +35,22 @@
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
发票地址及电话
</div>
<input
slot=
"content"
v-model=
"invoiceInfo.invoice_bp_address_phone_num"
type=
"text"
placeholder=
"请输入发票地址及电话"
>
<textarea
slot=
"content"
ref=
"myTestarea"
v-model=
"invoiceInfo.invoice_bp_address_phone_num"
cols=
"30"
rows=
"1"
type=
"text"
placeholder=
"请输入发票地址及电话"
@
input=
"addRows(invoiceInfo.invoice_bp_address_phone_num)"
/>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
发票开户行及账号
</div>
<input
slot=
"content"
ref=
"myTestareaLive"
v-model=
"invoiceInfo.invoice_bp_bank_account"
cols=
"30"
rows=
"1"
type=
"text"
placeholder=
"请输入发票开户行及账号"
@
input=
"addRowsLive(invoiceInfo.invoice_bp_bank_account)"
>
</item>
<item>
...
...
@@ -131,6 +138,22 @@ export default {
}
})
},
addRows
(
e
)
{
let
addNum
=
parseInt
(
e
.
length
/
25
)
if
(
addNum
===
0
)
{
this
.
$refs
.
myTestarea
.
rows
=
1
}
else
if
(
addNum
>=
addNum
-
1
&&
addNum
<
addNum
+
1
)
{
this
.
$refs
.
myTestarea
.
rows
=
addNum
+
1
}
},
addRowsLive
(
e
)
{
let
addNum
=
parseInt
(
e
.
length
/
25
)
if
(
addNum
===
0
)
{
this
.
$refs
.
myTestareaLive
.
rows
=
1
}
else
if
(
addNum
>=
addNum
-
1
&&
addNum
<
addNum
+
1
)
{
this
.
$refs
.
myTestareaLive
.
rows
=
addNum
+
1
}
},
getTaxpayer
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'bp_taxpayer_type_query'
...
...
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