Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
薪
薪瑞通-前端
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
许珑标
薪瑞通-前端
Commits
4c4c2423
Commit
4c4c2423
authored
Apr 29, 2025
by
许珑标
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
电子发票去掉测试代码
parent
c21f1419
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
22 deletions
+15
-22
src/views/business/invoiceApply/index.vue
src/views/business/invoiceApply/index.vue
+15
-21
src/views/business/taxUser/index.vue
src/views/business/taxUser/index.vue
+0
-1
No files found.
src/views/business/invoiceApply/index.vue
View file @
4c4c2423
...
@@ -881,8 +881,8 @@ export default {
...
@@ -881,8 +881,8 @@ export default {
},
},
onlineInvoice
(
row
)
{
onlineInvoice
(
row
)
{
let
taxpayerQuery
=
{
let
taxpayerQuery
=
{
//
companyType: 2,
companyType
:
2
,
//
companyId: row.taxCompanyId
companyId
:
row
.
taxCompanyId
}
}
listAllLoginUser
(
taxpayerQuery
).
then
(
resp
=>
{
listAllLoginUser
(
taxpayerQuery
).
then
(
resp
=>
{
if
(
200
===
resp
.
code
)
{
if
(
200
===
resp
.
code
)
{
...
@@ -898,20 +898,20 @@ export default {
...
@@ -898,20 +898,20 @@ export default {
}
}
},
},
onlineGen
()
{
onlineGen
()
{
this
.
$prompt
(
'
请输入返回值
'
,
'
操作提示
'
,
{
// this.$prompt('请输入返回值', '操作提示', {
confirmButtonText
:
'
确定
'
,
// confirmButtonText: '确定',
cancelButtonText
:
'
取消
'
,
// cancelButtonText: '取消',
}).
then
(({
value
})
=>
{
// }).then(({ value }) => {
let
testData
=
{
// let testData = {
code
:
value
// code: value
}
this
.
invoicingAfter
(
testData
)
})
// onlineInvoicing(this.onlineInvoiceForm).then(resp => {
// if (200 === resp.code) {
// this.invoicingAfter(resp.data)
// }
// }
// this.invoicingAfter(testData)
// })
// })
onlineInvoicing
(
this
.
onlineInvoiceForm
).
then
(
resp
=>
{
if
(
200
===
resp
.
code
)
{
this
.
invoicingAfter
(
resp
.
data
)
}
})
},
},
invoicingAfter
(
data
)
{
invoicingAfter
(
data
)
{
let
code
=
data
.
code
let
code
=
data
.
code
...
@@ -930,14 +930,8 @@ export default {
...
@@ -930,14 +930,8 @@ export default {
confirmButtonText
:
'
确定
'
,
confirmButtonText
:
'
确定
'
,
cancelButtonText
:
'
取消
'
,
cancelButtonText
:
'
取消
'
,
}).
then
(({
value
})
=>
{
}).
then
(({
value
})
=>
{
// todo 重新发起
this
.
onlineInvoiceForm
.
smsCode
=
value
this
.
onlineInvoiceForm
.
smsCode
=
value
// this.onlineGen()
this
.
onlineGen
()
this
.
$message
({
type
:
'
success
'
,
message
:
'
你输入的短信验证码是:
'
+
value
});
console
.
log
(
'
一键开票请求参数:
'
,
this
.
onlineInvoiceForm
)
})
})
}
else
if
(
code
==
500
)
{
}
else
if
(
code
==
500
)
{
this
.
$modal
.
msgError
(
data
.
msg
)
this
.
$modal
.
msgError
(
data
.
msg
)
...
...
src/views/business/taxUser/index.vue
View file @
4c4c2423
...
@@ -293,7 +293,6 @@ export default {
...
@@ -293,7 +293,6 @@ export default {
this
.
title
=
"
添加办税人信息
"
;
this
.
title
=
"
添加办税人信息
"
;
},
},
getAllUnit
()
{
getAllUnit
()
{
console
.
log
(
this
.
unitList
)
if
(
!
this
.
unitList
||
this
.
unitList
.
length
<
1
)
{
if
(
!
this
.
unitList
||
this
.
unitList
.
length
<
1
)
{
listAllUnitInfo
().
then
(
resp
=>
{
listAllUnitInfo
().
then
(
resp
=>
{
if
(
200
===
resp
.
code
)
{
if
(
200
===
resp
.
code
)
{
...
...
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