Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dzt-mobx
Overview
Overview
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
fukai
dzt-mobx
Commits
2923c3d3
Commit
2923c3d3
authored
Jan 02, 2019
by
WeiCong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善FETOPN
parent
c512be66
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
89 deletions
+6
-89
Fetopn.js
src/views/Business/FET/Fetopn.js
+4
-89
index.js
src/views/Layout/index.js
+2
-0
No files found.
src/views/Business/FET/Fetopn.js
View file @
2923c3d3
...
...
@@ -38,7 +38,7 @@ export default class Fetopn extends Component {
render
()
{
const
{
getFieldDecorator
}
=
this
.
props
.
form
;
const
maxCURSelector
=
getFieldDecorator
(
'cur'
,
{
const
maxCURSelector
=
getFieldDecorator
(
'
max
cur'
,
{
initialValue
:
''
,
})(
<
Select
placeholder
=
"请选择币种"
style
=
{{
width
:
70
}}
>
...
...
@@ -46,7 +46,7 @@ export default class Fetopn extends Component {
<
Option
value
=
"840"
>
USD
<
/Option
>
<
/Select
>
);
const
amtCURSelector
=
getFieldDecorator
(
'cur'
,
{
const
amtCURSelector
=
getFieldDecorator
(
'
amt
cur'
,
{
initialValue
:
''
,
})(
<
Select
placeholder
=
"请选择币种"
style
=
{{
width
:
70
}}
>
...
...
@@ -54,7 +54,7 @@ export default class Fetopn extends Component {
<
Option
value
=
"840"
>
USD
<
/Option
>
<
/Select
>
);
const
accCURSelector
=
getFieldDecorator
(
'cur'
,
{
const
accCURSelector
=
getFieldDecorator
(
'
acc
cur'
,
{
initialValue
:
''
,
})(
<
Select
placeholder
=
"请选择币种"
style
=
{{
width
:
70
}}
>
...
...
@@ -62,7 +62,7 @@ export default class Fetopn extends Component {
<
Option
value
=
"840"
>
USD
<
/Option
>
<
/Select
>
);
const
acc2CURSelector
=
getFieldDecorator
(
'cur'
,
{
const
acc2CURSelector
=
getFieldDecorator
(
'
acc2
cur'
,
{
initialValue
:
''
,
})(
<
Select
placeholder
=
"请选择币种"
style
=
{{
width
:
70
}}
>
...
...
@@ -73,8 +73,6 @@ export default class Fetopn extends Component {
return
(
<
Fragment
>
<
Form
onSubmit
=
{
this
.
handleSubmit
}
>
<
Row
>
<
Col
span
=
{
8
}
>
<
FormItem
{...
formItemLayout
}
label
=
"业务机构"
...
...
@@ -83,8 +81,6 @@ export default class Fetopn extends Component {
<
Input
maxLength
=
{
20
}
placeholder
=
"请填写业务机构"
/>
)}
<
/FormItem
>
<
/Col
>
<
Col
span
=
{
8
}
>
<
FormItem
{...
formItemLayout
}
label
=
"交易日期"
...
...
@@ -93,8 +89,6 @@ export default class Fetopn extends Component {
<
DatePicker
format
=
"YYYY-MM-DD"
/>
)}
<
/FormItem
>
<
/Col
>
<
Col
span
=
{
8
}
>
<
FormItem
{...
formItemLayout
}
label
=
"业务编号"
...
...
@@ -103,10 +97,6 @@ export default class Fetopn extends Component {
<
Input
maxLength
=
{
32
}
placeholder
=
"请填写业务机构"
/>
)}
<
/FormItem
>
<
/Col
>
<
/Row
>
<
Row
>
<
Col
span
=
{
8
}
>
<
FormItem
{...
formItemLayout
}
label
=
"客户编号"
...
...
@@ -119,8 +109,6 @@ export default class Fetopn extends Component {
/>
)}
<
/FormItem
>
<
/Col
>
<
Col
span
=
{
8
}
>
<
FormItem
{...
formItemLayout
}
label
=
"客户经理"
...
...
@@ -132,8 +120,6 @@ export default class Fetopn extends Component {
<
/Select
>
)}
<
/FormItem
>
<
/Col
>
<
Col
span
=
{
8
}
>
<
FormItem
{...
formItemLayout
}
label
=
"产品经理"
...
...
@@ -145,10 +131,6 @@ export default class Fetopn extends Component {
<
/Select
>
)}
<
/FormItem
>
<
/Col
>
<
/Row
>
<
Row
>
<
Col
span
=
{
8
}
>
<
FormItem
{...
formItemLayout
}
label
=
"客户性质"
...
...
@@ -157,8 +139,6 @@ export default class Fetopn extends Component {
<
Input
maxLength
=
{
20
}
placeholder
=
"请填写客户性质"
/>
)}
<
/FormItem
>
<
/Col
>
<
Col
span
=
{
8
}
>
<
FormItem
{...
formItemLayout
}
label
=
"对公/对私"
...
...
@@ -167,8 +147,6 @@ export default class Fetopn extends Component {
<
Input
maxLength
=
{
20
}
placeholder
=
"请填写对公/对私"
/>
)}
<
/FormItem
>
<
/Col
>
<
Col
span
=
{
8
}
>
<
FormItem
{...
formItemLayout
}
label
=
"核心编号"
...
...
@@ -181,10 +159,6 @@ export default class Fetopn extends Component {
/>
)}
<
/FormItem
>
<
/Col
>
<
/Row
>
<
Row
>
<
Col
span
=
{
8
}
>
<
FormItem
{...
formItemLayout
}
label
=
"客户分类"
...
...
@@ -193,8 +167,6 @@ export default class Fetopn extends Component {
<
Input
maxLength
=
{
20
}
placeholder
=
"请填写客户分类"
/>
)}
<
/FormItem
>
<
/Col
>
<
Col
span
=
{
8
}
>
<
FormItem
{...
formItemLayout
}
label
=
"客户名称"
...
...
@@ -203,10 +175,6 @@ export default class Fetopn extends Component {
<
Input
maxLength
=
{
20
}
placeholder
=
"请填写客户名称"
/>
)}
<
/FormItem
>
<
/Col
>
<
/Row
>
<
Row
>
<
Col
span
=
{
8
}
>
<
FormItem
{...
formItemLayout
}
label
=
"关注日期"
...
...
@@ -215,8 +183,6 @@ export default class Fetopn extends Component {
<
Input
maxLength
=
{
20
}
placeholder
=
"请填写关注日期"
/>
)}
<
/FormItem
>
<
/Col
>
<
Col
span
=
{
16
}
>
<
FormItem
{...
formItemLayout
}
label
=
"关注原因"
...
...
@@ -225,10 +191,6 @@ export default class Fetopn extends Component {
<
Input
maxLength
=
{
20
}
placeholder
=
"请填写关注原因"
/>
)}
<
/FormItem
>
<
/Col
>
<
/Row
>
<
Row
>
<
Col
span
=
{
8
}
>
<
FormItem
{...
formItemLayout
}
label
=
"交易类型"
...
...
@@ -240,8 +202,6 @@ export default class Fetopn extends Component {
<
/Select
>
)}
<
/FormItem
>
<
/Col
>
<
Col
span
=
{
16
}
>
<
FormItem
{...
formItemLayout
}
label
=
"出账账户钞汇标志"
...
...
@@ -253,10 +213,6 @@ export default class Fetopn extends Component {
<
/Select
>
)}
<
/FormItem
>
<
/Col
>
<
/Row
>
<
Row
>
<
Col
span
=
{
8
}
>
<
FormItem
{...
formItemLayout
}
label
=
"汇率类型"
...
...
@@ -268,8 +224,6 @@ export default class Fetopn extends Component {
<
/Select
>
)}
<
/FormItem
>
<
/Col
>
<
Col
span
=
{
16
}
>
<
FormItem
{...
formItemLayout
}
label
=
"锁定汇率编号"
...
...
@@ -282,10 +236,6 @@ export default class Fetopn extends Component {
/>
)}
<
/FormItem
>
<
/Col
>
<
/Row
>
<
Row
>
<
Col
span
=
{
10
}
>
<
FormItem
{...
formItemLayout
}
label
=
"本次使用价格"
...
...
@@ -294,8 +244,6 @@ export default class Fetopn extends Component {
<
Input
maxLength
=
{
20
}
placeholder
=
"请填写本次使用价格"
/>
)}
<
/FormItem
>
<
/Col
>
<
Col
span
=
{
7
}
>
<
FormItem
{...
formItemLayout
}
label
=
"实时汇率"
...
...
@@ -304,8 +252,6 @@ export default class Fetopn extends Component {
<
Input
maxLength
=
{
20
}
placeholder
=
"请填写实时汇率"
/>
)}
<
/FormItem
>
<
/Col
>
<
Col
span
=
{
7
}
>
<
FormItem
{...
formItemLayout
}
label
=
"优惠点数"
...
...
@@ -314,10 +260,6 @@ export default class Fetopn extends Component {
<
Input
maxLength
=
{
32
}
placeholder
=
"请填写优惠点数"
/>
)}
<
/FormItem
>
<
/Col
>
<
/Row
>
<
Row
>
<
Col
span
=
{
10
}
>
<
FormItem
{...
formItemLayout
}
label
=
"外币金额"
...
...
@@ -326,10 +268,6 @@ export default class Fetopn extends Component {
<
Input
addonBefore
=
{
maxCURSelector
}
placeholder
=
"请填写外币金额"
/>
)}
<
/FormItem
>
<
/Col
>
<
/Row
>
<
Row
>
<
Col
span
=
{
10
}
>
<
FormItem
{...
formItemLayout
}
label
=
"本币金额"
...
...
@@ -338,10 +276,6 @@ export default class Fetopn extends Component {
<
Input
addonBefore
=
{
amtCURSelector
}
placeholder
=
"请填写本币金额"
/>
)}
<
/FormItem
>
<
/Col
>
<
/Row
>
<
Row
>
<
Col
span
=
{
10
}
>
<
FormItem
{...
formItemLayout
}
label
=
"外币账号"
...
...
@@ -350,10 +284,6 @@ export default class Fetopn extends Component {
<
Input
addonBefore
=
{
accCURSelector
}
placeholder
=
"请填写外币账号"
/>
)}
<
/FormItem
>
<
/Col
>
<
/Row
>
<
Row
>
<
Col
span
=
{
10
}
>
<
FormItem
{...
formItemLayout
}
label
=
"外币账户性质"
...
...
@@ -362,10 +292,6 @@ export default class Fetopn extends Component {
<
Input
maxLength
=
{
20
}
placeholder
=
"请填写外币账户性质"
/>
)}
<
/FormItem
>
<
/Col
>
<
/Row
>
<
Row
>
<
Col
span
=
{
10
}
>
<
FormItem
{...
formItemLayout
}
label
=
"本币账号"
...
...
@@ -374,10 +300,6 @@ export default class Fetopn extends Component {
<
Input
addonBefore
=
{
acc2CURSelector
}
placeholder
=
"请填写本币账号"
/>
)}
<
/FormItem
>
<
/Col
>
<
/Row
>
<
Row
>
<
Col
span
=
{
10
}
>
<
FormItem
{...
formItemLayout
}
label
=
"本币账户性质"
...
...
@@ -386,10 +308,6 @@ export default class Fetopn extends Component {
<
Input
maxLength
=
{
20
}
placeholder
=
"请填写本币账户性质"
/>
)}
<
/FormItem
>
<
/Col
>
<
/Row
>
<
Row
>
<
Col
span
=
{
10
}
>
<
FormItem
{...
formItemLayout
}
label
=
"结售汇统计代码"
...
...
@@ -398,9 +316,6 @@ export default class Fetopn extends Component {
<
Input
maxLength
=
{
20
}
placeholder
=
"请填写结售汇统计代码"
/>
)}
<
/FormItem
>
<
/Col
>
<
/Row
>
<
FormItem
{...
formSubBtnLayout
}
>
<
Button
type
=
"primary"
htmlType
=
"submit"
loading
=
{
this
.
state
.
loading
}
>
提交
<
/Button
>
<
/FormItem
>
...
...
src/views/Layout/index.js
View file @
2923c3d3
...
...
@@ -12,6 +12,7 @@ import './index.less'
import
Home
from
'../Home'
import
PXIRouter
from
'../Business/PXI'
import
FETRouter
from
'../Business/FET'
const
{
Header
,
Footer
,
Sider
,
Content
,
...
...
@@ -41,6 +42,7 @@ export default class LayoutCom extends Component {
<
Route
path
=
"/home"
component
=
{
Home
}
/
>
{
/*模块路由插入开始*/
}
<
Route
path
=
"/business/pxi"
component
=
{
PXIRouter
}
/
>
<
Route
path
=
"/business/fet"
component
=
{
FETRouter
}
/
>
{
/*模块路由插入结束*/
}
<
Redirect
path
=
"/"
to
=
"/home"
/>
<
/Switch
>
...
...
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