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
3fd6b643
Commit
3fd6b643
authored
Jan 04, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 追加校验
parent
b69d653b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
index.ts
...quotaMenage/detail/components/RefundModal/schema/index.ts
+7
-2
index.ts
...ditManage/components/QuotaApplicationInfo/schema/index.ts
+2
-1
No files found.
src/pages/payandSettle/creditApplication/quotaMenage/detail/components/RefundModal/schema/index.ts
View file @
3fd6b643
...
...
@@ -2,11 +2,11 @@
* @Author: XieZhiXiong
* @Date: 2020-12-30 14:49:11
* @LastEditors: XieZhiXiong
* @LastEditTime: 202
0-12-30 14:56:41
* @LastEditTime: 202
1-01-04 10:50:14
* @Description:
*/
import
{
ISchema
}
from
'@formily/antd'
;
import
{
UPLOAD_TYPE
}
from
'@/constants
'
;
import
{
PATTERN_MAPS
}
from
'@/constants/regExp
'
;
export
const
repaymentModalSchema
:
ISchema
=
{
type
:
'object'
,
...
...
@@ -25,12 +25,17 @@ export const repaymentModalSchema: ISchema = {
'x-component-props'
:
{
placeholder
:
''
,
addonBefore
:
'¥'
,
step
:
0.01
,
},
'x-rules'
:
[
{
required
:
true
,
message
:
'请填写还款金额'
,
},
{
pattern
:
/^
[
1-9
]
+
[
0-9
]
*
(?:\.\d{0,2})?
$/
,
message
:
'请填写大于0的正数'
,
},
],
},
amountSlide
:
{
...
...
src/pages/payandSettle/creditManage/components/QuotaApplicationInfo/schema/index.ts
View file @
3fd6b643
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2020-09-29 15:51:31
* @LastEditors: XieZhiXiong
* @LastEditTime: 202
0-11-04 10:01:52
* @LastEditTime: 202
1-01-04 10:44:01
* @Description:
*/
import
{
ISchema
}
from
'@formily/antd'
;
...
...
@@ -48,6 +48,7 @@ export const editModalSchema: ISchema = {
// label: '{{MaxMarks}}',
// },
// },
step
:
0.01
,
style
:
{
margin
:
'0 20px 28px'
},
...
...
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