code review:订单列表、订单详情

(cherry picked from commit cfbc2ed74c)
This commit is contained in:
YunaiV
2023-08-23 00:43:40 +08:00
committed by shizhong
parent 6556feed21
commit 46ab58ddf0
11 changed files with 140 additions and 90 deletions

View File

@ -83,17 +83,17 @@ const ruleConfig: RuleConfig[] = [
{
name: 'productConfig.bargainFirstPrice',
rule: (arg) => arg > 0,
message: '商品砍价起始价格不能小于0 '
message: '商品砍价起始价格不能小于 0 '
},
{
name: 'productConfig.bargainPrice',
rule: (arg) => arg >= 0,
message: '商品砍价底价不能小于0 '
message: '商品砍价底价不能小于 0 '
},
{
name: 'productConfig.stock',
rule: (arg) => arg >= 1,
message: '商品活动库存不能小于1 '
message: '商品活动库存不能小于 1 '
}
]
const selectSpu = (spuId: number, skuIds: number[]) => {