Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
Project
Project
Details
Activity
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
project
jinfa-admin
Commits
b9210054
Commit
b9210054
authored
Oct 08, 2021
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix(结算管理): 修改跳转链接
parent
cc55ad7e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
index.ts
config/routes/index.ts
+2
-2
index.tsx
...ges/settlementManage/platformSettlement/receipt/index.tsx
+2
-2
info.tsx
...ages/settlementManage/platformSettlement/receipt/info.tsx
+2
-2
No files found.
config/routes/index.ts
View file @
b9210054
...
...
@@ -118,8 +118,8 @@ const router = [
// platformCouponManageRoute,
// afterServiceRoutes,
// marketingManageRoutes,
//
...asyncRoutes,
...
refactorRoutes
,
...
asyncRoutes
,
//
...refactorRoutes,
// purchaseBidRoute,
{
path
:
'/noAuth'
,
...
...
src/pages/settlementManage/platformSettlement/receipt/index.tsx
View file @
b9210054
...
...
@@ -36,7 +36,7 @@ interface ItemIprops extends ReceiptProps {
const
ReceiptItem
:
React
.
FC
<
ItemIprops
>
=
(
props
:
ItemIprops
)
=>
{
const
{
id
,
kindName
,
typeName
,
invoiceTitle
,
taxNo
,
bankOfDeposit
,
account
,
address
,
tel
,
defaultName
}
=
props
;
const
handleRouterPush
=
()
=>
{
history
.
push
(
`/settlementManage/
platformSettlement/
balanced/receipt/detail?id=
${
id
}
`
);
history
.
push
(
`/settlementManage/balanced/receipt/detail?id=
${
id
}
`
);
}
const
handleDelete
=
(
id
:
number
|
string
)
=>
{
props
.
onRemove
(
id
);
...
...
@@ -113,7 +113,7 @@ const Receipt: React.FC<{}> = () => {
},
[])
const
handleRouterAdd
=
()
=>
{
history
.
push
(
'/settlementManage/
platformSettlement/
balanced/receipt/add'
)
history
.
push
(
'/settlementManage/balanced/receipt/add'
)
}
// 删除发票
...
...
src/pages/settlementManage/platformSettlement/receipt/info.tsx
View file @
b9210054
...
...
@@ -141,7 +141,7 @@ const Info: React.FC = () => {
serviceActions
(
postData
).
then
((
data
)
=>
{
setSubmitLoading
(
false
);
if
(
data
.
code
===
1000
)
{
history
.
push
(
'/settlementManage/
platformSettlement/
balanced/receipt'
)
history
.
push
(
'/settlementManage/balanced/receipt'
)
}
})
}
...
...
@@ -158,7 +158,7 @@ const Info: React.FC = () => {
},
[
id
])
const
handleCancel
=
()
=>
{
history
.
push
(
'/settlementManage/
platformSettlement/
balanced/receipt'
)
history
.
push
(
'/settlementManage/balanced/receipt'
)
}
return
(
...
...
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