fix: mall SeckillActivity

This commit is contained in:
puhui999
2023-07-05 11:32:32 +08:00
parent b98149f1a7
commit 36c0bce184
6 changed files with 140 additions and 97 deletions

View File

@@ -152,6 +152,17 @@ const crudSchemas = reactive<CrudSchema[]>([
width: 120
}
},
{
label: '排序',
field: 'sort',
form: {
component: 'InputNumber',
value: 0
},
table: {
width: 80
}
},
{
label: '秒杀库存',
field: 'stock',
@@ -167,17 +178,14 @@ const crudSchemas = reactive<CrudSchema[]>([
{
label: '秒杀总库存',
field: 'totalStock',
form: {
component: 'InputNumber',
value: 0
},
isForm: false,
table: {
width: 120
}
},
{
label: '秒杀活动商品',
field: 'spuIds',
field: 'spuId',
isTable: false,
isSearch: false,
form: {
@@ -206,17 +214,6 @@ const crudSchemas = reactive<CrudSchema[]>([
width: 120
}
},
{
label: '排序',
field: 'sort',
form: {
component: 'InputNumber',
value: 0
},
table: {
width: 80
}
},
{
label: '状态',
field: 'status',