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
linweijiong
jinfa-platform
Commits
d7bc10f3
Commit
d7bc10f3
authored
Jun 18, 2021
by
alwayOnlie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改选中请款单据没有回显问题
parent
da2c9b57
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
15 deletions
+19
-15
info.tsx
src/pages/contract/funds/addbill/components/info.tsx
+19
-15
No files found.
src/pages/contract/funds/addbill/components/info.tsx
View file @
d7bc10f3
...
...
@@ -125,23 +125,27 @@ const AddInfo = (props: any) => {
/* 查询银行卡新 */
const
getAmountOrder
=
(
selectRow
)
=>
{
PublicApi
.
getContractManageGetContractInfoByApplyAmountOrder
({
contractId
:
selectRow
.
id
}).
then
(
res
=>
{
const
basicsData
=
basics
;
const
info
=
Info
;
if
(
res
.
code
==
1000
)
{
const
expectPayTime
=
new
Date
(
res
.
data
.
payPlanList
[
0
].
expectPayTime
).
getTime
();
const
basicsData
=
basics
;
const
info
=
Info
;
basicsData
.
payeeName
=
res
.
data
.
corporateAccountConfig
.
name
;
basicsData
.
bankAccount
=
res
.
data
.
corporateAccountConfig
.
bankAccount
;
basicsData
.
bankDeposit
=
res
.
data
.
corporateAccountConfig
.
bankDeposit
;
basicsData
.
payPlanId
=
res
.
data
.
payPlanList
[
0
].
id
;
basicsData
.
payRatio
=
res
.
data
.
payPlanList
[
0
].
payRatio
;
basicsData
.
expectPayTime
=
moment
(
expectPayTime
),
basicsData
.
payWay
=
res
.
data
.
payPlanList
[
0
].
payWay
if
(
res
.
data
.
payPlanList
.
length
!=
0
)
{
const
expectPayTime
=
new
Date
(
res
.
data
.
payPlanList
[
0
].
expectPayTime
).
getTime
();
basicsData
.
payPlanId
=
res
.
data
.
payPlanList
[
0
].
id
;
basicsData
.
payRatio
=
res
.
data
.
payPlanList
[
0
].
payRatio
;
basicsData
.
expectPayTime
=
moment
(
expectPayTime
);
basicsData
.
payWay
=
res
.
data
.
payPlanList
[
0
].
payWay
;
basicsData
.
payParam
=
res
.
data
.
payPlanList
[
0
].
payParam
;
basicsData
.
applyAmount
=
res
.
data
.
payPlanList
[
0
].
payAmount
;
setapplyAmount
(
res
.
data
.
payPlanList
[
0
].
payAmount
)
}
basicsData
.
contractNo
=
selectRow
.
contractNo
;
basicsData
.
contractId
=
selectRow
.
id
;
basicsData
.
payParam
=
res
.
data
.
payPlanList
[
0
].
payParam
info
.
startTime
=
selectRow
.
startTime
;
basicsData
.
applyAmount
=
res
.
data
.
payPlanList
[
0
].
payAmount
;
setapplyAmount
(
res
.
data
.
payPlanList
[
0
].
payAmount
)
basicsData
.
payeeName
=
res
.
data
.
corporateAccountConfig
.
name
;
basicsData
.
bankAccount
=
res
.
data
.
corporateAccountConfig
.
bankAccount
;
basicsData
.
bankDeposit
=
res
.
data
.
corporateAccountConfig
.
bankDeposit
;
info
.
status
=
"同意签订合同"
;
setpayPlanList
(
res
.
data
.
payPlanList
)
setInfo
(
info
)
...
...
@@ -447,10 +451,10 @@ const AddInfo = (props: any) => {
>
<
Button
onClick=
{
()
=>
setvisible
(
!
visible
)
}
style=
{
{
marginRight
:
8
}
}
>
取消
</
Button
>
</
Button
>
<
Button
type=
"primary"
onClick=
{
()
=>
Confirm
()
}
>
确定
</
Button
>
</
Button
>
</
div
>
}
destroyOnClose
...
...
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