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
shenshaokai
jinfa-platform
Commits
78960ee6
Commit
78960ee6
authored
Mar 05, 2022
by
前端-许佳敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改请款单逻辑
parent
94213803
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
19 deletions
+7
-19
add.tsx
src/pages/balance/businessRequestFunds/admin/add.tsx
+7
-19
No files found.
src/pages/balance/businessRequestFunds/admin/add.tsx
View file @
78960ee6
...
@@ -291,25 +291,13 @@ const Add = () => {
...
@@ -291,25 +291,13 @@ const Add = () => {
}
}
const
_handleMemberOk
=
(
record
:
any
)
=>
{
const
_handleMemberOk
=
(
record
:
any
)
=>
{
const
_params
=
{
const
_dataSource
=
{
...
dataSource
};
memberId
:
record
.
memberId
,
_dataSource
.
payee
=
record
.
name
;
memberRoleId
:
record
.
roleId
_dataSource
.
vendorMemberId
=
record
.
memberId
;
}
_dataSource
.
vendorRoleId
=
record
.
roleId
;
getSettleAccountsCorporateAccountConfig
(
_params
).
then
((
res
)
=>
{
form
.
setFieldsValue
({
payee
:
record
.
name
})
if
(
res
.
code
===
1000
)
{
setDataSource
(
_dataSource
)
const
data
=
res
.
data
;
setMemberDrawerVisible
(
false
)
const
_dataSource
=
{
...
dataSource
};
_dataSource
.
payee
=
record
.
name
;
_dataSource
.
vendorMemberId
=
record
.
memberId
;
_dataSource
.
vendorRoleId
=
record
.
roleId
;
_dataSource
.
accountName
=
data
.
name
;
_dataSource
.
bankDeposit
=
data
.
bankDeposit
;
_dataSource
.
bankAccount
=
data
.
bankAccount
;
form
.
setFieldsValue
({
payee
:
record
.
name
})
setDataSource
(
_dataSource
)
setMemberDrawerVisible
(
false
)
}
})
}
}
...
...
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