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
fe4e7b4d
Commit
fe4e7b4d
authored
Aug 10, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 修改必填提示
parent
e09fa0e0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
schema.ts
.../returnPrDeliver/components/ReturnDeliverDrawer/schema.ts
+14
-2
No files found.
src/pages/afterService/returnApplication/returnPrDeliver/components/ReturnDeliverDrawer/schema.ts
View file @
fe4e7b4d
...
...
@@ -2,11 +2,12 @@
* @Author: XieZhiXiong
* @Date: 2021-08-07 15:14:04
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-08-
07 19:50:3
4
* @LastEditTime: 2021-08-
10 18:20:5
4
* @Description:
*/
import
{
ISchema
}
from
'@formily/antd'
;
import
moment
from
'moment'
;
import
{
PATTERN_MAPS
}
from
'@/constants/regExp'
;
export
const
schema
:
ISchema
=
{
type
:
'object'
,
...
...
@@ -87,6 +88,10 @@ export const schema: ISchema = {
required
:
true
,
message
:
'请输入退货发货数量'
,
},
{
pattern
:
PATTERN_MAPS
.
weight
,
message
:
'最多保留3位小数,大于或等于0'
},
],
},
},
...
...
@@ -109,8 +114,15 @@ export const schema: ISchema = {
type
:
'string'
,
title
:
'退货发货地址'
,
'x-component'
:
'CustomAddressSelect'
,
'x-component-props'
:
{
isDefaultAddress
:
true
,
},
'x-rules'
:
[
{
required
:
true
,
'x-component-props'
:
{},
message
:
'请选择退货发货地址'
,
},
],
},
deliveryTime
:
{
type
:
'date'
,
...
...
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