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
c2e447c1
Commit
c2e447c1
authored
Apr 27, 2025
by
许珑标
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
开票人信息、开票申请
parent
0d2a1dc9
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
685 additions
and
121 deletions
+685
-121
src/api/business/invoiceApply.js
src/api/business/invoiceApply.js
+9
-0
src/api/business/taxUser.js
src/api/business/taxUser.js
+53
-0
src/views/business/companyInfo/merchant.vue
src/views/business/companyInfo/merchant.vue
+1
-0
src/views/business/invoiceApply/index.vue
src/views/business/invoiceApply/index.vue
+39
-2
src/views/business/invoiceApply/ready.vue
src/views/business/invoiceApply/ready.vue
+217
-117
src/views/business/taxUnit/index.vue
src/views/business/taxUnit/index.vue
+6
-2
src/views/business/taxUser/index.vue
src/views/business/taxUser/index.vue
+360
-0
No files found.
src/api/business/invoiceApply.js
View file @
c2e447c1
...
@@ -83,3 +83,12 @@ export function updateInvoiceStatus(data) {
...
@@ -83,3 +83,12 @@ export function updateInvoiceStatus(data) {
data
:
data
data
:
data
})
})
}
}
// 通过外部付款卡号获取销售方开票信息
export
function
getSellerInvoiceInfo
(
cardNo
)
{
return
request
({
url
:
`/business/laborSign/getSellerInvoiceInfo/
${
cardNo
}
`
,
method
:
'
get
'
,
})
}
src/api/business/taxUser.js
0 → 100644
View file @
c2e447c1
import
request
from
'
@/utils/request
'
// 查询办税人信息列表
export
function
listLoginUser
(
query
)
{
return
request
({
url
:
'
/business/loginUser/list
'
,
method
:
'
get
'
,
params
:
query
})
}
// 查询办税人信息所有列表
export
function
listAllLoginUser
(
query
)
{
return
request
({
url
:
'
/business/loginUser/listAll
'
,
method
:
'
get
'
,
params
:
query
})
}
// 查询办税人信息详细
export
function
getLoginUser
(
id
)
{
return
request
({
url
:
'
/business/loginUser/getInfo/
'
+
id
,
method
:
'
get
'
})
}
// 新增办税人信息
export
function
addLoginUser
(
data
)
{
return
request
({
url
:
'
/business/loginUser/add
'
,
method
:
'
post
'
,
data
:
data
})
}
// 修改办税人信息
export
function
updateLoginUser
(
data
)
{
return
request
({
url
:
'
/business/loginUser/edit
'
,
method
:
'
post
'
,
data
:
data
})
}
// 删除办税人信息
export
function
delLoginUser
(
id
)
{
return
request
({
url
:
'
/business/loginUser/remove/
'
+
id
,
method
:
'
get
'
})
}
src/views/business/companyInfo/merchant.vue
View file @
c2e447c1
...
@@ -201,6 +201,7 @@ export default {
...
@@ -201,6 +201,7 @@ export default {
/** 查询付款主体信息列表 */
/** 查询付款主体信息列表 */
getList
()
{
getList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
queryParams
.
bindType
=
1
listCompanyInfo
(
this
.
queryParams
).
then
(
response
=>
{
listCompanyInfo
(
this
.
queryParams
).
then
(
response
=>
{
this
.
companyInfoList
=
response
.
rows
;
this
.
companyInfoList
=
response
.
rows
;
this
.
total
=
response
.
total
;
this
.
total
=
response
.
total
;
...
...
src/views/business/invoiceApply/index.vue
View file @
c2e447c1
...
@@ -155,6 +155,13 @@
...
@@ -155,6 +155,13 @@
v-hasPermi=
"['business:invoiceApply:uploadInvoiceFile']"
v-hasPermi=
"['business:invoiceApply:uploadInvoiceFile']"
@
click=
"uploadInvoiceDailog(scope.row)"
@
click=
"uploadInvoiceDailog(scope.row)"
>
上传发票
</el-button>
>
上传发票
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-s-help"
v-hasPermi=
"['business:invoiceApply:uploadInvoiceFile']"
@
click=
"onlineInvoice(scope.row)"
>
一键开票
</el-button>
<el-button
<el-button
size=
"mini"
size=
"mini"
type=
"text"
type=
"text"
...
@@ -426,7 +433,18 @@
...
@@ -426,7 +433,18 @@
<el-button
@
click=
"uploadInvoiceOpen = false"
>
取 消
</el-button>
<el-button
@
click=
"uploadInvoiceOpen = false"
>
取 消
</el-button>
</span>
</span>
</el-dialog>
</el-dialog>
<!-- 一键发票对话框 -->
<el-dialog
title=
"上传发票"
:visible.sync=
"onlineInvoiceForm.panel"
>
<el-form
:model=
"onlineInvoiceForm"
ref=
"onlineInvoiceForm"
size=
"small"
label-width=
"100px"
>
<el-select
v-model=
"onlineInvoiceForm.taxpayerId"
placeholder=
"请选择开票员"
clearable
>
<el-option
v-for=
"item in taxpayerList"
:key=
"item.loginUserIdCard"
:label=
"item.loginName"
:value=
"item.id"
/>
</el-select>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"uploadInvoiceFile"
>
确 定
</el-button>
<el-button
@
click=
"onlineInvoiceForm.panel = false"
>
取 消
</el-button>
</span>
</el-dialog>
</div>
</div>
</template>
</template>
...
@@ -442,6 +460,7 @@ import {
...
@@ -442,6 +460,7 @@ import {
import
{
listCompanyInfo
}
from
'
@/api/business/companyInfo
'
import
{
listCompanyInfo
}
from
'
@/api/business/companyInfo
'
import
fa
from
'
element-ui/src/locale/lang/fa
'
import
fa
from
'
element-ui/src/locale/lang/fa
'
import
{
laborSign
,
querySignList
}
from
'
@/api/business/unitInfo
'
import
{
laborSign
,
querySignList
}
from
'
@/api/business/unitInfo
'
import
{
listAllLoginUser
}
from
'
@/api/business/taxUser
'
export
default
{
export
default
{
name
:
"
InvoiceApply
"
,
name
:
"
InvoiceApply
"
,
...
@@ -453,6 +472,11 @@ export default {
...
@@ -453,6 +472,11 @@ export default {
dicts
:
[
'
invoice_status
'
,
'
tax_invoice_type
'
],
dicts
:
[
'
invoice_status
'
,
'
tax_invoice_type
'
],
data
()
{
data
()
{
return
{
return
{
// 一键开票
onlineInvoiceForm
:
{
panel
:
false
,
taxpayerId
:
''
},
//上传发票
//上传发票
applyInvoiceId
:
null
,
applyInvoiceId
:
null
,
viewInvoiceFileOpen
:
false
,
viewInvoiceFileOpen
:
false
,
...
@@ -586,7 +610,8 @@ export default {
...
@@ -586,7 +610,8 @@ export default {
invocieUrl
:
[
invocieUrl
:
[
{
required
:
true
,
message
:
"
发票文件地址不能为空
"
,
trigger
:
"
blur
"
}
{
required
:
true
,
message
:
"
发票文件地址不能为空
"
,
trigger
:
"
blur
"
}
],
],
}
},
taxpayerList
:
[],
};
};
},
},
created
()
{
created
()
{
...
@@ -816,6 +841,18 @@ export default {
...
@@ -816,6 +841,18 @@ export default {
this
.
form
=
response
.
data
;
this
.
form
=
response
.
data
;
});
});
},
},
onlineInvoice
(
row
)
{
let
taxpayerQuery
=
{
// companyType: 2,
// companyId: row.taxCompanyId
}
listAllLoginUser
(
taxpayerQuery
).
then
(
resp
=>
{
if
(
200
===
resp
.
code
)
{
this
.
taxpayerList
=
resp
.
data
}
})
this
.
onlineInvoiceForm
.
panel
=
true
},
},
},
};
};
</
script
>
</
script
>
...
...
src/views/business/invoiceApply/ready.vue
View file @
c2e447c1
This diff is collapsed.
Click to expand it.
src/views/business/taxUnit/index.vue
View file @
c2e447c1
...
@@ -61,7 +61,11 @@
...
@@ -61,7 +61,11 @@
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"企业名称"
align=
"center"
prop=
"unitName"
fixed
/>
<el-table-column
label=
"企业名称"
align=
"center"
prop=
"unitName"
fixed
/>
<el-table-column
label=
"信用代码"
align=
"center"
prop=
"unitCode"
fixed
/>
<el-table-column
label=
"信用代码"
align=
"center"
prop=
"unitCode"
fixed
/>
<el-table-column
label=
"所属行业"
align=
"center"
prop=
"sectorDictDataVal"
/>
<el-table-column
label=
"所属行业"
align=
"center"
prop=
"sectorDictDataVal"
>
<template
slot-scope=
"scope"
>
<dict-tag
:options=
"dict.type.unit_business_type"
:value=
"scope.row.sectorDictDataVal"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"法人姓名"
align=
"center"
prop=
"legalPersonName"
/>
<el-table-column
label=
"法人姓名"
align=
"center"
prop=
"legalPersonName"
/>
<el-table-column
label=
"法人联系电话"
align=
"center"
prop=
"legalPersonMobile"
/>
<el-table-column
label=
"法人联系电话"
align=
"center"
prop=
"legalPersonMobile"
/>
<el-table-column
label=
"所属地址"
align=
"center"
prop=
"address"
/>
<el-table-column
label=
"所属地址"
align=
"center"
prop=
"address"
/>
...
@@ -162,7 +166,7 @@ import { listUnitInfo, delUnitInfo, getUnitTaxCategories, updateUnitInfo } from
...
@@ -162,7 +166,7 @@ import { listUnitInfo, delUnitInfo, getUnitTaxCategories, updateUnitInfo } from
export
default
{
export
default
{
name
:
'
UnitInfo
'
,
name
:
'
UnitInfo
'
,
dicts
:
[
'
tax_invoice_status
'
,
'
tax_invoice_type
'
],
dicts
:
[
'
tax_invoice_status
'
,
'
tax_invoice_type
'
,
'
unit_business_type
'
],
data
()
{
data
()
{
return
{
return
{
taxCategoryPanel
:
{
taxCategoryPanel
:
{
...
...
src/views/business/taxUser/index.vue
0 → 100644
View file @
c2e447c1
This diff is collapsed.
Click to expand it.
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