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
3750ed22
Commit
3750ed22
authored
Mar 11, 2022
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 修改参数配置 运费相关正则表达式
parent
b7a3f3ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
index.tsx
src/pages/systemSetting/parameterSetting/index.tsx
+1
-1
No files found.
src/pages/systemSetting/parameterSetting/index.tsx
View file @
3750ed22
...
...
@@ -564,7 +564,7 @@ const ParameterSetting: React.FC<{}> = () => {
>
{
({
getFieldValue
})
=>
getFieldValue
(
'status'
)
&&
(
<
Space
>
<
Form
.
Item
label=
{
intl
.
formatMessage
({
id
:
'systemSetting.dingdanjineman'
,
defaultMessage
:
'订单金额满'
})
}
name=
'orderAmount'
rules=
{
[{
required
:
true
,
message
:
intl
.
formatMessage
({
id
:
'systemSetting.qingshurudingdanjineman'
,
defaultMessage
:
'请输入订单金额满'
})
},
{
pattern
:
/
(
^
[
1-9
](\d
+
)?(\.\d
{1,2}
)?
$
)
|
(
^
\d\.\d
{1,2}$
)
/
,
message
:
intl
.
formatMessage
({
id
:
'systemSetting.dingdanjinemanbixuda'
,
defaultMessage
:
'订单金额满必须大于0,最多保留2位小数'
})}]
}
>
<
Form
.
Item
label=
{
intl
.
formatMessage
({
id
:
'systemSetting.dingdanjineman'
,
defaultMessage
:
'订单金额满'
})
}
name=
'orderAmount'
rules=
{
[{
required
:
true
,
message
:
intl
.
formatMessage
({
id
:
'systemSetting.qingshurudingdanjineman'
,
defaultMessage
:
'请输入订单金额满'
})
},
{
pattern
:
/
^
([
1-9
]\d
*
(\.\d
{1,2}
)?
|
([
0
](\.([
0
][
1-9
]
|
[
1-9
]\d
{0,1}
))))
$
/
,
message
:
intl
.
formatMessage
({
id
:
'systemSetting.dingdanjinemanbixuda'
,
defaultMessage
:
'订单金额满必须大于0,最多保留2位小数'
})}]
}
>
<
Input
addonBefore=
{
intl
.
formatMessage
({
id
:
'common.money'
,
defaultMessage
:
'¥'
})
}
/>
</
Form
.
Item
>
<
div
style=
{
{
marginBottom
:
'24px'
,
color
:
'#909399'
}
}
>
{
intl
.
formatMessage
({
id
:
'systemSetting.yuanmianyunfei'
,
defaultMessage
:
'元免运费'
})
}
</
div
>
...
...
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