Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
shuniu-admin-react
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
superman
shuniu-admin-react
Commits
de51b747
Commit
de51b747
authored
Aug 18, 2016
by
superman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fixed
parent
f4b6db9e
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
134 additions
and
104 deletions
+134
-104
index.js
dist/index.js
+27
-27
AddItem.jsx
src/containers/CustomMessage/AddItem.jsx
+28
-15
List.jsx
src/containers/CustomMessage/List.jsx
+16
-10
List.jsx
src/containers/Remittance/List.jsx
+3
-3
PassItem.jsx
src/containers/Remittance/PassItem.jsx
+2
-2
AddItem.jsx
src/containers/Trade/AddItem.jsx
+33
-29
Contract.jsx
src/containers/Trade/Contract.jsx
+13
-10
Item.jsx
src/containers/Trade/Item.jsx
+11
-7
List.jsx
src/containers/Trade/List.jsx
+1
-1
No files found.
dist/index.js
View file @
de51b747
This diff is collapsed.
Click to expand it.
src/containers/CustomMessage/AddItem.jsx
View file @
de51b747
...
...
@@ -46,11 +46,15 @@ export default class AddItem extends Component {
data
.
customMessage
.
redirectType
=
this
.
state
.
redirectName
;
data
.
customMessage
.
sendType
=
this
.
state
.
sendName
;
data
.
customMessage
.
channelType
=
this
.
state
.
channelType
;
if
(
!
data
.
customMessage
.
contents
)
{
message
.
error
(
'缺少消息正文'
);
return
;
}
console
.
log
(
data
);
this
.
props
.
dispatch
({
type
:
'CREATE_MESSAGE_ITEM'
,
data
item
:
data
});
}
...
...
@@ -58,7 +62,7 @@ export default class AddItem extends Component {
const
{
loading
,
form
:{
getFieldProps
},
location
:{
query
},
dispatch
}
=
this
.
props
;
const
operation
=
(
<
HeaderOperation
history=
{
this
.
props
.
history
}
buttons=
{
[{
key
:
'rollback'
}]
}
/>
<
HeaderOperation
history=
{
this
.
props
.
history
}
buttons=
{
[{
key
:
'rollback'
}]
}
/>
);
const
header
=
(
...
...
@@ -80,7 +84,9 @@ export default class AddItem extends Component {
<
Form
.
Item
label=
"推送渠道"
{
...
formItemLayout
}
>
<
Row
>
<
Col
span=
"6"
>
<
Radio
.
Group
onChange=
{
(
e
)
=>
{
this
.
setState
({
channelType
:
e
.
target
.
value
})}
}
<
Radio
.
Group
onChange=
{
(
e
)
=>
{
this
.
setState
({
channelType
:
e
.
target
.
value
})
}
}
value=
{
this
.
state
.
channelType
}
>
<
Radio
.
Button
key=
"b"
value=
{
3
}
checked=
{
true
}
>
APP
</
Radio
.
Button
>
<
Radio
.
Button
key=
"a"
value=
{
1
}
>
微信
</
Radio
.
Button
>
...
...
@@ -99,7 +105,7 @@ export default class AddItem extends Component {
<
Select
.
Option
value=
"3"
>
手动导入
</
Select
.
Option
>
</
Select
>
</
Col
>
<
Col
span=
"18"
style=
{
{
paddingLeft
:
'.5em'
}
}
>
<
Col
span=
"18"
style=
{
{
paddingLeft
:
'.5em'
}
}
>
<
Input
placeholder=
{
sendNamePlaceholder
[
this
.
state
.
sendName
]
}
{
...
getFieldProps
('
customMessage
.
send
')}
/>
</
Col
>
...
...
@@ -120,7 +126,7 @@ export default class AddItem extends Component {
<
Select
.
Option
value=
"3"
>
图片URL
</
Select
.
Option
>
</
Select
>
</
Col
>
<
Col
span=
"18"
style=
{
{
paddingLeft
:
'.5em'
}
}
>
<
Col
span=
"18"
style=
{
{
paddingLeft
:
'.5em'
}
}
>
<
Input
placeholder=
{
redirectNamePlaceholder
[
this
.
state
.
redirectName
]
}
{
...
getFieldProps
('
customMessage
.
redirect
')}
/>
</
Col
>
...
...
@@ -137,22 +143,29 @@ export default class AddItem extends Component {
</
Form
.
Item
>
<
Form
.
Item
label=
"消息摘要"
{
...
formItemLayout
}
>
<
Input
placeholder=
"消息摘要"
type=
"textarea"
autosize=
{
{
minRows
:
3
,
maxRows
:
10
}
}
{
...
getFieldProps
('
customMessage
.
abstracts
')}
/>
autosize=
{
{
minRows
:
3
,
maxRows
:
10
}
}
{
...
getFieldProps
('
customMessage
.
abstracts
')}
/>
</
Form
.
Item
>
</
div
>
}
<
Form
.
Item
label=
"消息正文"
help=
{
<
div
dangerouslySetInnerHTML=
{
{
__html
:
channelType
===
1
?
'微信跳转链接模板: <a href="此处替换跳转链接">此处替换显示内容</a>'
:
'最多50个字符'
}
}
/>
<
div
dangerouslySetInnerHTML=
{
{
__html
:
channelType
===
1
?
'微信跳转链接模板: <a href="此处替换跳转链接">此处替换显示内容</a>'
:
'最多50个字符'
}
}
/>
}
{
...
formItemLayout
}
>
<
Input
placeholder=
"消息正文"
type=
"textarea"
maxLength=
{
channelType
===
1
?
10000
:
50
}
autosize=
{
{
minRows
:
3
,
maxRows
:
10
}
}
{
...
getFieldProps
('
customMessage
.
contents
')}
/>
<
Input
placeholder=
"消息正文"
type=
"textarea"
maxLength=
{
channelType
===
1
?
10000
:
50
}
autosize=
{
{
minRows
:
3
,
maxRows
:
10
}
}
{
...
getFieldProps
('
customMessage
.
contents
')}
/>
</
Form
.
Item
>
<
Form
.
Item
{
...
footerFormSubmitLayout
}
style=
{
{
marginTop
:
30
}
}
>
<
Form
.
Item
{
...
footerFormSubmitLayout
}
style=
{
{
marginTop
:
30
}
}
>
<
Button
type=
"primary"
htmlType=
"submit"
loading=
{
loading
}
><
Icon
type=
"save"
/>
立即推送
</
Button
>
<
Button
onClick=
{
e
=>
{
e
.
preventDefault
();
this
.
props
.
history
.
goBack
();}
}
style=
{
{
marginLeft
:
'1em'
}
}
>
<
Button
onClick=
{
e
=>
{
e
.
preventDefault
();
this
.
props
.
history
.
goBack
();
}
}
style=
{
{
marginLeft
:
'1em'
}
}
>
<
Icon
type=
"rollback"
/>
返回
</
Button
>
</
Form
.
Item
>
...
...
src/containers/CustomMessage/List.jsx
View file @
de51b747
...
...
@@ -48,7 +48,7 @@ export default class List extends Component {
current
:
parseInt
(
query
.
p
,
10
)
||
1
,
showSizeChanger
:
true
,
showTotal
:
total
=>
`共
${
total
}
条`
,
pageSizeOptions
:[
'10'
,
'30'
,
'50'
,
'100'
],
pageSizeOptions
:
[
'10'
,
'30'
,
'50'
,
'100'
],
onShowSizeChange
:
(
current
,
pageSize
)
=>
{
console
.
log
(
'Current: '
,
current
,
'; PageSize: '
,
pageSize
);
query
.
p
=
current
;
...
...
@@ -88,18 +88,24 @@ export default class List extends Component {
className
:
'tac'
,
width
:
120
},
{
title
:
'标题'
,
title
:
'标题
/内容
'
,
dataIndex
:
'title'
,
key
:
'title'
key
:
'title'
,
render
:
(
title
,
record
)
=>
(
<
span
>
{
title
||
(
record
.
contents
&&
(
record
.
contents
+
''
).
substr
(
0
,
100
))
||
'无标题'
}
</
span
>
)
}
];
const
buttons
=
[{
key
:
'add'
,
link
:
'/customMessages/create'
,
onClick
:()
=>
{}
},{
key
:
'filter'
,
key
:
'add'
,
link
:
'/customMessages/create'
,
onClick
:
()
=>
{
}
},
{
key
:
'filter'
,
}];
const
operation
=
(
...
...
@@ -113,10 +119,10 @@ export default class List extends Component {
return
(
<
Layout
header=
{
header
}
>
<
Table
className=
"list-table"
columns=
{
columns
}
dataSource=
{
Array
.
isArray
(
items
)
?
items
:
[]
}
dataSource=
{
Array
.
isArray
(
items
)
?
items
:
[]
}
loading=
{
loading
}
pagination=
{
pagination
}
scroll=
{
{
y
:
window
.
innerHeight
-
(
this
.
state
.
filterVisible
?
203
:
150
)
}
}
scroll=
{
{
y
:
window
.
innerHeight
-
(
this
.
state
.
filterVisible
?
203
:
150
)
}
}
onRowClick=
{
this
.
handleRowClick
.
bind
(
this
)
}
/>
</
Layout
>
...
...
src/containers/Remittance/List.jsx
View file @
de51b747
...
...
@@ -129,7 +129,7 @@ export default class List extends Component {
document
.
body
.
appendChild
(
iframe
);
setTimeout
(()
=>
{
document
.
body
.
removeChild
(
iframe
);
},
1000
);
},
1000
0
);
}
}
}]
}
/>
...
...
@@ -196,14 +196,14 @@ export default class List extends Component {
}
{
record
.
status
==
9
&&
<
a
href=
"javascript:void('下载');"
onClick=
{
e
=>
{
<
a
href=
"javascript:void('下载');"
onClick=
{
e
=>
{
e
.
stopPropagation
();
const
iframe
=
document
.
createElement
(
'iframe'
);
iframe
.
src
=
'/zip/'
+
record
.
id
+
'.zip?id='
+
record
.
id
;
document
.
body
.
appendChild
(
iframe
);
setTimeout
(()
=>
{
document
.
body
.
removeChild
(
iframe
);
},
1000
);
},
1000
0
);
}
}
>
下载
</
a
>
}
</
div
>
...
...
src/containers/Remittance/PassItem.jsx
View file @
de51b747
...
...
@@ -260,9 +260,9 @@ export default class PassItem extends Component {
const
iframe
=
document
.
createElement
(
'iframe'
);
iframe
.
src
=
'/zip/'
+
params
.
id
+
'.zip?id='
+
params
.
id
;
document
.
body
.
appendChild
(
iframe
);
setTimeout
(()
=>
{
setTimeout
(()
=>
{
document
.
body
.
removeChild
(
iframe
);
},
1000
);
},
1000
0
);
}
}
>
下载
</
Button
>
}
</
Form
.
Item
>
...
...
src/containers/Trade/AddItem.jsx
View file @
de51b747
...
...
@@ -26,7 +26,8 @@ import {
formItemLayout
,
smallFormItemLayout
,
footerFormSubmitLayout
,
handleUpload
handleUpload
,
FILE_UPLOAD
}
from
'../../utils'
;
@
connect
(
state
=>
({
...
...
@@ -50,7 +51,7 @@ export default class AddItem extends Component {
};
}
componentDidMount
(){
componentDidMount
()
{
const
{
item
}
=
this
.
props
;
if
(
item
&&
item
.
id
)
{
this
.
props
.
dispatch
({
...
...
@@ -75,7 +76,7 @@ export default class AddItem extends Component {
const
data
=
this
.
props
.
form
.
getFieldsValue
();
data
.
itemId
=
this
.
props
.
location
.
query
.
itemId
;
if
(
!
data
.
itemId
)
{
if
(
!
data
.
itemId
)
{
message
.
warning
(
'未知的产品ID'
);
return
;
}
...
...
@@ -86,19 +87,19 @@ export default class AddItem extends Component {
const
{
identityCardList
,
bankCardList
,
receiptList
,
signaturePages
}
=
this
.
state
;
if
(
Array
.
isArray
(
identityCardList
)
&&
identityCardList
.
length
)
{
if
(
Array
.
isArray
(
identityCardList
)
&&
identityCardList
.
length
)
{
data
.
remittance
.
identityCardFront
=
identityCardList
[
0
]
&&
identityCardList
[
0
].
url
;
data
.
remittance
.
identityCardBack
=
identityCardList
[
1
]
&&
identityCardList
[
1
].
url
;
}
if
(
Array
.
isArray
(
bankCardList
)
&&
bankCardList
.
length
)
{
if
(
Array
.
isArray
(
bankCardList
)
&&
bankCardList
.
length
)
{
data
.
remittance
.
bankCardPic
=
bankCardList
[
0
]
&&
bankCardList
[
0
].
url
;
}
if
(
Array
.
isArray
(
receiptList
)
&&
receiptList
.
length
)
{
if
(
Array
.
isArray
(
receiptList
)
&&
receiptList
.
length
)
{
data
.
remittance
.
remittanceReceipt
=
receiptList
[
0
]
&&
receiptList
[
0
].
url
;
}
if
(
Array
.
isArray
(
signaturePages
)
&&
signaturePages
.
length
)
{
if
(
Array
.
isArray
(
signaturePages
)
&&
signaturePages
.
length
)
{
let
tmp
=
[];
signaturePages
.
forEach
(
file
=>
{
signaturePages
.
forEach
(
file
=>
{
tmp
.
push
(
file
.
url
);
})
data
.
remittance
.
signaturePages
=
JSON
.
stringify
(
tmp
);
...
...
@@ -108,7 +109,7 @@ export default class AddItem extends Component {
this
.
props
.
dispatch
({
type
:
'CREATE_TRADE_ITEM'
,
data
,
item
:
data
,
push
:
this
.
props
.
history
.
push
,
});
}
...
...
@@ -118,7 +119,7 @@ export default class AddItem extends Component {
const
{
loading
,
form
:{
getFieldProps
},
location
:{
query
},
user
}
=
this
.
props
;
const
operation
=
(
<
HeaderOperation
history=
{
this
.
props
.
history
}
buttons=
{
[{
key
:
'rollback'
}]
}
/>
<
HeaderOperation
history=
{
this
.
props
.
history
}
buttons=
{
[{
key
:
'rollback'
}]
}
/>
);
const
header
=
(<
MainHeader
breadcrumb=
{
[
'订单管理'
,
'创建订单'
]
}
...
...
@@ -139,7 +140,7 @@ export default class AddItem extends Component {
<
Input
placeholder=
""
{
...
getFieldProps
('
buyer
.
identityCardNumber
')}
/>
</
Form
.
Item
>
<
Form
.
Item
{
...
formItemLayout
}
label=
"投资人身份证照片"
help=
"投资人身份证正反面照片"
>
<
Upload
action=
"/api/fileUpload/upload"
listType=
"picture-card"
<
Upload
{
...
FILE_UPLOAD
}
listType=
"picture-card"
multiple=
{
true
}
headers=
{
{
authorization
:
user
&&
user
.
token
,
...
...
@@ -170,7 +171,7 @@ export default class AddItem extends Component {
<
Input
placeholder=
"中国工商银行杭州文一西路支行"
{
...
getFieldProps
('
remittance
.
bankBranch
')}
/>
</
Form
.
Item
>
<
Form
.
Item
{
...
formItemLayout
}
label=
"投资人银行卡照片"
>
<
Upload
action=
"/api/fileUpload/upload"
listType=
"picture-card"
<
Upload
{
...
FILE_UPLOAD
}
listType=
"picture-card"
headers=
{
{
authorization
:
user
&&
user
.
token
,
}
}
...
...
@@ -187,7 +188,7 @@ export default class AddItem extends Component {
</
Upload
>
</
Form
.
Item
>
<
Form
.
Item
{
...
formItemLayout
}
label=
"投资人打款凭条照片"
>
<
Upload
action=
"/api/fileUpload/upload"
listType=
"picture-card"
<
Upload
{
...
FILE_UPLOAD
}
listType=
"picture-card"
multiple=
{
true
}
headers=
{
{
authorization
:
user
&&
user
.
token
,
...
...
@@ -205,7 +206,7 @@ export default class AddItem extends Component {
</
Upload
>
</
Form
.
Item
>
<
Form
.
Item
{
...
formItemLayout
}
className=
"clearfix"
label=
"投资人合同签字页照片"
>
<
Upload
action=
"/api/fileUpload/upload"
listType=
"picture-card"
<
Upload
{
...
FILE_UPLOAD
}
listType=
"picture-card"
multiple=
{
true
}
headers=
{
{
authorization
:
user
&&
user
.
token
,
...
...
@@ -222,10 +223,13 @@ export default class AddItem extends Component {
<
div
className=
"ant-upload-text"
>
上传照片
</
div
>
</
Upload
>
</
Form
.
Item
>
<
Form
.
Item
{
...
footerFormSubmitLayout
}
style=
{
{
marginTop
:
30
}
}
>
<
Form
.
Item
{
...
footerFormSubmitLayout
}
style=
{
{
marginTop
:
30
}
}
>
<
Button
type=
"primary"
htmlType=
"submit"
loading=
{
loading
}
><
Icon
type=
"save"
/>
创建订单
</
Button
>
<
Button
onClick=
{
e
=>
{
e
.
preventDefault
();
this
.
props
.
history
.
goBack
();}
}
style=
{
{
marginLeft
:
'1em'
}
}
>
<
Button
onClick=
{
e
=>
{
e
.
preventDefault
();
this
.
props
.
history
.
goBack
();
}
}
style=
{
{
marginLeft
:
'1em'
}
}
>
<
Icon
type=
"rollback"
/>
返回
</
Button
>
</
Form
.
Item
>
...
...
@@ -233,9 +237,9 @@ export default class AddItem extends Component {
width=
"100vw"
visible=
{
this
.
state
.
priviewVisible
}
className=
"img-priview-dialog"
style=
{
{
height
:
'100vh'
,
background
:
'transparent'
}
}
onCancel=
{
()
=>
this
.
setState
({
priviewVisible
:
false
})
}
>
<
img
src=
{
this
.
state
.
priviewImage
}
style=
{
{
maxWidth
:
'100%'
}
}
/>
style=
{
{
height
:
'100vh'
,
background
:
'transparent'
}
}
onCancel=
{
()
=>
this
.
setState
({
priviewVisible
:
false
})
}
>
<
img
src=
{
this
.
state
.
priviewImage
}
style=
{
{
maxWidth
:
'100%'
}
}
/>
</
Modal
>
</
Form
>
</
Spin
>
...
...
src/containers/Trade/Contract.jsx
View file @
de51b747
...
...
@@ -65,7 +65,7 @@ export default class Contract extends Component {
const
{
trade
,
shipping
,
loading
,
form
:{
getFieldProps
},
location
:{
query
}}
=
this
.
props
;
const
operation
=
(
<
HeaderOperation
history=
{
this
.
props
.
history
}
buttons=
{
[{
key
:
'rollback'
}]
}
/>
<
HeaderOperation
history=
{
this
.
props
.
history
}
buttons=
{
[{
key
:
'rollback'
}]
}
/>
);
const
header
=
(<
MainHeader
breadcrumb=
{
[
'订单管理'
,
'订单详情'
,
'合同物流'
]
}
...
...
@@ -73,11 +73,11 @@ export default class Contract extends Component {
title=
"合同物流详情"
/>);
return
(
<
Layout
header=
{
header
}
>
<
Layout
header=
{
header
}
>
<
Spin
spinning=
{
loading
}
>
<
Form
horizontal
onSubmit=
{
this
.
handleSubmit
.
bind
(
this
)
}
>
<
Form
horizontal
onSubmit=
{
this
.
handleSubmit
.
bind
(
this
)
}
style=
{
{
marginTop
:
20
}
}
>
<
Form
.
Item
label=
"产品"
{
...
smallFormItemLayout
}
>
<
p
>
{
trade
&&
trade
.
itemTitle
}
</
p
>
<
p
>
{
trade
&&
trade
.
itemTitle
||
query
.
title
}
</
p
>
</
Form
.
Item
>
<
Form
.
Item
label=
"顺丰运单"
{
...
smallFormItemLayout
}
>
<
Input
placeholder=
"请填写顺丰运单编号"
...
...
@@ -85,10 +85,13 @@ export default class Contract extends Component {
initialValue
:
shipping
&&
shipping
.
expressNO
})}
/>
</
Form
.
Item
>
<
Form
.
Item
{
...
footerFormSubmitLayout
}
style=
{
{
marginTop
:
30
}
}
>
<
Form
.
Item
{
...
footerFormSubmitLayout
}
style=
{
{
marginTop
:
30
}
}
>
<
Button
type=
"primary"
htmlType=
"submit"
loading=
{
loading
}
><
Icon
type=
"save"
/>
保存
</
Button
>
<
Button
onClick=
{
e
=>
{
e
.
preventDefault
();
this
.
props
.
history
.
goBack
();}
}
style=
{
{
marginLeft
:
'1em'
}
}
>
<
Button
onClick=
{
e
=>
{
e
.
preventDefault
();
this
.
props
.
history
.
goBack
();
}
}
style=
{
{
marginLeft
:
'1em'
}
}
>
<
Icon
type=
"rollback"
/>
返回
</
Button
>
</
Form
.
Item
>
...
...
src/containers/Trade/Item.jsx
View file @
de51b747
...
...
@@ -43,7 +43,7 @@ export default class Item extends Component {
const
operation
=
(
<
HeaderOperation
history=
{
this
.
props
.
history
}
buttons=
{
[{
key
:
'rollback'
}]
}
/>
<
HeaderOperation
history=
{
this
.
props
.
history
}
buttons=
{
[{
key
:
'rollback'
}]
}
/>
);
const
header
=
(<
MainHeader
breadcrumb=
{
[
'订单管理'
,
'订单详情'
]
}
...
...
@@ -143,28 +143,32 @@ export default class Item extends Component {
<
p
>
{
item
.
status
==
11
&&
<
Popconfirm
title=
"确定这个订单要成立了吗?"
onConfirm=
{
this
.
handleEstablish
.
bind
(
this
,
item
.
id
)
}
>
<
Popconfirm
title=
"确定这个订单要成立了吗?"
onConfirm=
{
this
.
handleEstablish
.
bind
(
this
,
item
.
id
)
}
>
<
Button
type=
"primary"
style=
{
{
marginRignt
:
'1em'
}
}
>
style=
{
{
marginRignt
:
'1em'
}
}
>
<
Icon
type=
"like"
/>
订单成立
</
Button
>
</
Popconfirm
>
}
{
(
item
.
status
==
11
||
item
.
status
==
21
)
&&
(
!
item
.
commissionId
)
&&
<
Link
to=
{
'/trades/commission/'
+
item
.
id
}
>
<
Link
to=
{
'/trades/commission/'
+
item
.
id
}
>
<
Button
type=
"ghost"
>
<
Icon
type=
"pay-circle-o"
/>
发放佣金
</
Button
>
</
Link
>
}
<
Link
to=
{
'/trades/contract/'
+
item
.
id
}
>
<
Link
to=
{
'/trades/contract/'
+
item
.
id
+
'?title='
+
item
.
title
}
>
<
Button
type=
"ghost"
>
<
Icon
type=
"exception"
/>
邮寄合同
</
Button
>
</
Link
>
<
Button
type=
"ghost"
onClick=
{
e
=>
{
e
.
preventDefault
();
this
.
props
.
history
.
goBack
();}
}
style=
{
{
marginLeft
:
'1em'
}
}
>
<
Button
type=
"ghost"
onClick=
{
e
=>
{
e
.
preventDefault
();
this
.
props
.
history
.
goBack
();
}
}
style=
{
{
marginLeft
:
'1em'
}
}
>
<
Icon
type=
"rollback"
/>
返回
</
Button
>
</
p
>
...
...
src/containers/Trade/List.jsx
View file @
de51b747
...
...
@@ -64,7 +64,7 @@ const columns = [
className
:
'tac'
,
render
:
(
text
,
record
)
=>
(
<
span
>
<
Link
to=
{
'/trades/contract/'
+
record
.
id
}
onClick=
{
e
=>
e
.
stopPropagation
()
}
>
合同
</
Link
>
<
Link
to=
{
'/trades/contract/'
+
record
.
id
+
'?title='
+
record
.
shortTitle
}
onClick=
{
e
=>
e
.
stopPropagation
()
}
>
合同
</
Link
>
{
(
record
.
status
==
11
||
record
.
status
==
21
)
&&
(
!
record
.
commissionId
)
&&
<
span
>
...
...
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