Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
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
黄庭坚
jinfa-platform
Commits
957e3e40
Commit
957e3e40
authored
Jan 04, 2022
by
卢均锐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 去除多余代码
-跳转对账单请款
parent
8a7af3d6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
40 deletions
+38
-40
index.tsx
src/pages/balance/businessReconciliation/detail/index.tsx
+33
-35
add.tsx
src/pages/balance/businessReconciliation/readyAdd/add.tsx
+2
-2
index.tsx
...ance/businessReconciliationCollaboration/detail/index.tsx
+3
-3
No files found.
src/pages/balance/businessReconciliation/detail/index.tsx
View file @
957e3e40
...
...
@@ -209,41 +209,39 @@ const SearchDetail = () => {
}
return
(
<
div
style=
{
{
margin
:
'-24px -24px 0'
}
}
>
<
PeripheralLayout
no=
{
dataSource
?.
reconciliationNo
}
detail=
{
dataSource
?.
reconciliationAbstract
}
tabLink=
{
_tabs
}
components=
{
<
Fragment
>
<
ProgressLayout
effect=
{
[{
title
:
'外部流转'
,
state
:
1
,
logs
:
dataSource
?.
externalLogStates
}]
}
/>
<
CommonLayout
layoutId=
"basicLayout"
title=
{
intl
.
formatMessage
({
id
:
'balance.jibenxinxi'
})
}
effect=
{
basicEffect
}
commonSpan=
{
12
}
/>
<
Card
id=
'billLayout'
title=
{
intl
.
formatMessage
({
id
:
'balance.duizhangdanmingxi'
})
}
>
<
StandardTable
keepAlive=
{
false
}
currentRef=
{
currentRef
}
columns=
{
columns
}
tableProps=
{
{
rowKey
:
'reconciliationRowId'
,
scroll
:
{
x
:
2600
}
}
}
fetchTableData=
{
(
params
:
any
)
=>
loadingTableData
(
params
)
}
/>
</
Card
>
<
BusinessFileLayout
fetchdata=
{
dataSource
?.
files
}
editAble=
{
false
}
/>
<
Card
id=
'invoiceLayout'
title=
{
intl
.
formatMessage
({
id
:
'balance.fapiaoxinxi'
})
}
>
{
dataSource
?.
invoiceMessages
?.
numbers
.
length
>
0
?
(
<
Row
gutter=
{
[
8
,
8
]
}
>
{
dataSource
?.
invoiceMessages
?.
numbers
.
map
((
item
,
index
)
=>
(
<
Col
span=
{
6
}
key=
{
`BusinessInvoiceCard_${index}`
}
>
<
BusinessInvoiceCard
data=
{
item
}
/>
</
Col
>
))
}
</
Row
>
)
:
'-'
}
</
Card
>
<
RecordCommonLayout
effect=
{
{
externalLogs
:
dataSource
?.
records
??
[]
}
}
/>
</
Fragment
>
}
/>
</
div
>
<
PeripheralLayout
no=
{
dataSource
?.
reconciliationNo
}
detail=
{
dataSource
?.
reconciliationAbstract
}
tabLink=
{
_tabs
}
components=
{
<
Fragment
>
<
ProgressLayout
effect=
{
[{
title
:
'外部流转'
,
state
:
1
,
logs
:
dataSource
?.
externalLogStates
}]
}
/>
<
CommonLayout
layoutId=
"basicLayout"
title=
{
intl
.
formatMessage
({
id
:
'balance.jibenxinxi'
})
}
effect=
{
basicEffect
}
commonSpan=
{
12
}
/>
<
Card
id=
'billLayout'
title=
{
intl
.
formatMessage
({
id
:
'balance.duizhangdanmingxi'
})
}
>
<
StandardTable
keepAlive=
{
false
}
currentRef=
{
currentRef
}
columns=
{
columns
}
tableProps=
{
{
rowKey
:
'reconciliationRowId'
,
scroll
:
{
x
:
2600
}
}
}
fetchTableData=
{
(
params
:
any
)
=>
loadingTableData
(
params
)
}
/>
</
Card
>
<
BusinessFileLayout
fetchdata=
{
dataSource
?.
files
}
editAble=
{
false
}
/>
<
Card
id=
'invoiceLayout'
title=
{
intl
.
formatMessage
({
id
:
'balance.fapiaoxinxi'
})
}
>
{
dataSource
?.
invoiceMessages
?.
numbers
.
length
>
0
?
(
<
Row
gutter=
{
[
8
,
8
]
}
>
{
dataSource
?.
invoiceMessages
?.
numbers
.
map
((
item
,
index
)
=>
(
<
Col
span=
{
6
}
key=
{
`BusinessInvoiceCard_${index}`
}
>
<
BusinessInvoiceCard
data=
{
item
}
/>
</
Col
>
))
}
</
Row
>
)
:
'-'
}
</
Card
>
<
RecordCommonLayout
effect=
{
{
externalLogs
:
dataSource
?.
records
??
[]
}
}
/>
</
Fragment
>
}
/>
)
}
export
default
SearchDetail
;
src/pages/balance/businessReconciliation/readyAdd/add.tsx
View file @
957e3e40
...
...
@@ -345,7 +345,7 @@ const Add = () => {
}
return
(
<
div
style=
{
{
margin
:
'-24px -24px 0'
}
}
>
<>
<
PeripheralLayout
no=
{
_title
}
tabLink=
{
_tabs
}
...
...
@@ -418,7 +418,7 @@ const Add = () => {
}
/>
<
Prompt
when=
{
unsaved
}
message=
{
intl
.
formatMessage
({
id
:
'common.tip.save.confirm'
},
{
default
:
'您还有未保存的内容,是否确定要离开?'
})
}
/>
</
div
>
</>
)
}
export
default
Add
;
src/pages/balance/businessReconciliationCollaboration/detail/index.tsx
View file @
957e3e40
...
...
@@ -229,7 +229,7 @@ const SearchDetail = () => {
const
_params
:
any
=
{
reconciliationId
:
id
}
postSettleAccountsBusinessReconciliationTeamworkGenerateApplyMount
(
_params
).
then
((
res
)
=>
{
if
(
res
.
code
===
1000
)
{
history
.
push
(
'/memberCenter/balance/businessRe
conciliation/readyAdd
/funds'
,
{
data
:
res
.
data
})
history
.
push
(
'/memberCenter/balance/businessRe
questFunds/admin
/funds'
,
{
data
:
res
.
data
})
}
})
}
...
...
@@ -253,7 +253,7 @@ const SearchDetail = () => {
return
(
<
div
style=
{
{
margin
:
'-24px -24px 0'
}
}
>
<>
<
PeripheralLayout
no=
{
dataSource
?.
reconciliationNo
}
detail=
{
dataSource
?.
reconciliationAbstract
}
...
...
@@ -289,7 +289,7 @@ const SearchDetail = () => {
}
/>
<
ModalOperate
title=
'对账单确认'
visible=
{
modalVisible
}
id=
{
id
}
fetch=
{
postSettleAccountsBusinessReconciliationTeamworkConfirmReconciliation
}
onOk=
{
_modalOk
}
onCancel=
{
_modalCancle
}
/>
</
div
>
</>
)
}
export
default
SearchDetail
;
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