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
ff4e496d
Commit
ff4e496d
authored
Dec 01, 2020
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:处理添加积分商品不允许勾选会员折扣,处理仓位分配库存数值精度处理
parent
fa3e352c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
priceAttributeForm.tsx
...commodity/products/addProductsItem/priceAttributeForm.tsx
+1
-1
index.tsx
src/pages/repositories/schema/index.tsx
+12
-0
No files found.
src/pages/commodity/products/addProductsItem/priceAttributeForm.tsx
View file @
ff4e496d
...
...
@@ -718,7 +718,7 @@ const PriceAttributeForm: React.FC<Iprops> = (props) => {
}
valuePropName=
"checked"
>
<
Checkbox
>
允许使用会员折扣价购买
</
Checkbox
>
<
Checkbox
disabled=
{
planPrice
===
3
}
>
允许使用会员折扣价购买
</
Checkbox
>
</
Form
.
Item
>
</
Form
>
{
/* 批量设置按钮 */
}
...
...
src/pages/repositories/schema/index.tsx
View file @
ff4e496d
...
...
@@ -472,6 +472,18 @@ export const repositDetailSchema: ISchema = padRequiredMessage({
},
required
:
true
,
title
:
'分配仓位库存'
,
"x-rules"
:
[
{
validator
:
value
=>
{
return
value
>
Number
.
MAX_SAFE_INTEGER
},
message
:
'仓位库存数值已超出最大限度'
,
},
{
pattern
:
/^
\d
+
(\.\d{1,3})?
$/
,
message
:
'仓位库存数值仅限三位小数'
,
},
]
},
inventoryDeductWay
:
{
type
:
'radio'
,
...
...
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