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
3848739b
Commit
3848739b
authored
Jun 24, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 修改没有记录友好提示
parent
9290b0c7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
index.tsx
...tion/quotaMenage/detail/components/IntroduceRow/index.tsx
+4
-4
index.tsx
...nage/quotaMenage/detail/components/IntroduceRow/index.tsx
+3
-3
No files found.
src/pages/payandSettle/creditApplication/quotaMenage/detail/components/IntroduceRow/index.tsx
View file @
3848739b
...
...
@@ -116,7 +116,7 @@ interface IntroduceRowProps {
};
interface
IntroduceRowState
{
billId
:
number
;
billId
:
number
|
string
;
billInfo
:
BillDetailData
|
null
;
visibleRecord
:
boolean
;
visibleRepayment
:
boolean
;
...
...
@@ -141,7 +141,7 @@ class IntroduceRow extends React.Component<IntroduceRowProps, IntroduceRowState>
constructor
(
props
)
{
super
(
props
);
this
.
state
=
{
billId
:
0
,
billId
:
''
,
billInfo
:
null
,
visibleRecord
:
false
,
visibleRepayment
:
false
,
...
...
@@ -207,7 +207,7 @@ class IntroduceRow extends React.Component<IntroduceRowProps, IntroduceRowState>
handleRecordCheckboxChange
=
e
=>
{
if
(
!
this
.
state
.
billId
)
{
message
.
error
(
'请选择账单
记录'
);
message
.
warning
(
'暂无可查询
记录'
);
return
;
}
this
.
setState
({
visibleRecord
:
e
.
target
.
checked
});
...
...
@@ -316,7 +316,7 @@ class IntroduceRow extends React.Component<IntroduceRowProps, IntroduceRowState>
this
.
setState
({
uploadVoucherSubmitLoading
:
true
});
PublicApi
.
postPayCreditApplyCreditRepay
({
billId
,
billId
:
+
billId
,
...
repaymentValues
,
payProveList
:
payProveList
.
map
(
item
=>
item
.
status
===
'done'
&&
({
name
:
item
.
name
,
...
...
src/pages/payandSettle/creditManage/quotaMenage/detail/components/IntroduceRow/index.tsx
View file @
3848739b
...
...
@@ -103,7 +103,7 @@ interface IntroduceRowProps {
};
interface
IntroduceRowState
{
billId
:
number
;
billId
:
number
|
string
;
billInfo
:
BillDetailData
|
null
;
visibleRecord
:
boolean
;
visibleResult
:
boolean
;
...
...
@@ -114,7 +114,7 @@ class IntroduceRow extends React.Component<IntroduceRowProps, IntroduceRowState>
constructor
(
props
)
{
super
(
props
);
this
.
state
=
{
billId
:
0
,
billId
:
''
,
billInfo
:
null
,
visibleRecord
:
false
,
visibleResult
:
false
,
...
...
@@ -163,7 +163,7 @@ class IntroduceRow extends React.Component<IntroduceRowProps, IntroduceRowState>
handleRecordCheckboxChange
=
e
=>
{
if
(
!
this
.
state
.
billId
)
{
message
.
error
(
'请选择账单
记录'
);
message
.
warning
(
'暂无可查询
记录'
);
return
;
}
this
.
setState
({
visibleRecord
:
e
.
target
.
checked
});
...
...
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