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
84cfb2df
Commit
84cfb2df
authored
May 06, 2022
by
ganke
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v2-220418' of…
Merge branch 'v2-220418' of
https://gitlab.shushangyun.com/linkseeks-design/pro-platform
into fix-v2-220418
parents
a4c94cce
723e7632
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
Fromtable.tsx
src/pages/contract/manage/add/components/Fromtable.tsx
+10
-8
No files found.
src/pages/contract/manage/add/components/Fromtable.tsx
View file @
84cfb2df
...
...
@@ -44,7 +44,7 @@ const FormList = (props: any) => {
render
:
(
_
,
item
,
index
)
=>
{
return
(
<
Select
style=
{
{
width
:
2
00
}
}
style=
{
{
width
:
1
00
}
}
defaultValue=
{
item
.
payNum
}
options=
{
options
}
key=
'1'
...
...
@@ -58,12 +58,12 @@ const FormList = (props: any) => {
},
{
title
:
intl
.
formatMessage
({
id
:
'contract.fukuanjieduan'
}),
dataIndex
:
'payStage'
,
align
:
'left'
,
render
:
(
_
,
item
,
index
)
=>
<
TextArea
maxLength=
{
150
}
rows=
{
1
}
onChange=
{
(
e
)
=>
onSelectChange
(
e
,
'payStage'
,
index
)
}
/>
render
:
(
_
,
item
,
index
)
=>
<
TextArea
style=
{
{
width
:
200
}
}
maxLength=
{
150
}
rows=
{
1
}
onChange=
{
(
e
)
=>
onSelectChange
(
e
,
'payStage'
,
index
)
}
/>
},
{
title
:
intl
.
formatMessage
({
id
:
'contract.yujifukuanshijian'
}),
dataIndex
:
'expectPayTime'
,
align
:
'left'
,
render
:
(
_
,
item
,
index
)
=>
<
DatePicker
style=
{
{
width
:
'100%'
}
}
style=
{
{
width
:
150
}
}
format=
"YYYY-MM-DD"
onChange=
{
(
e
)
=>
onSelectChange
(
e
,
'expectPayTime'
,
index
)
}
/>
...
...
@@ -74,7 +74,7 @@ const FormList = (props: any) => {
<
div
className=
{
styles
.
flex
}
>
<
Input
style=
{
{
width
:
1
50
,
width
:
50
,
}
}
value=
{
item
.
payRatio
}
placeholder=
""
...
...
@@ -91,7 +91,7 @@ const FormList = (props: any) => {
<
span
>
{
intl
.
formatMessage
({
id
:
'commodity.products.directChannel.columns.currency'
})
}
</
span
>
<
Input
style=
{
{
width
:
1
3
0
,
width
:
1
0
0
,
}
}
placeholder=
""
value=
{
text
}
...
...
@@ -131,7 +131,7 @@ const FormList = (props: any) => {
dataIndex
:
''
,
align
:
'left'
,
key
:
'x'
,
render
:
(
_
,
item
,
index
)
=>
<
a
onClick=
{
()
=>
Delete
(
item
,
index
)
}
>
{
intl
.
formatMessage
({
id
:
'contract.shanchu'
})
}
</
a
>,
render
:
(
_
,
item
,
index
)
=>
<
a
style=
{
{
width
:
80
}
}
onClick=
{
()
=>
Delete
(
item
,
index
)
}
>
{
intl
.
formatMessage
({
id
:
'contract.shanchu'
})
}
</
a
>,
},
];
...
...
@@ -249,14 +249,16 @@ const FormList = (props: any) => {
})
return
(
<
div
className=
"table"
>
<
div
style=
{
{
width
:
'100%'
,
overflow
:
'auto'
}
}
>
<
Table
columns=
{
tabcolumns
}
dataSource=
{
PlanList
}
rowKey=
"rowId"
style=
{
{
width
:
"100%"
minWidth
:
1200
,
overflow
:
'auto'
}
}
scroll=
{
{
x
:
true
}
}
pagination=
{
false
}
/>
<
div
style=
{
{
background
:
'#F4F5F7'
}
}
onClick=
{
()
=>
addtable
()
}
>
...
...
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