mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-08-22 05:51:54 +08:00
fix: 完善 mall seckillActivity add
This commit is contained in:
@@ -16,7 +16,6 @@ export const rules = reactive({
|
||||
})
|
||||
|
||||
// CrudSchema https://doc.iocoder.cn/vue3/crud-schema/
|
||||
// TODO @puhui999:table 宽度调整下,有点太长啦;部分字段可以隐藏哈,根据需求;
|
||||
const crudSchemas = reactive<CrudSchema[]>([
|
||||
{
|
||||
label: '秒杀活动名称',
|
||||
@@ -177,8 +176,10 @@ const crudSchemas = reactive<CrudSchema[]>([
|
||||
}
|
||||
},
|
||||
{
|
||||
label: '秒杀活动商品', // TODO @puhui999:格式化的商品不对;
|
||||
label: '秒杀活动商品',
|
||||
field: 'spuIds',
|
||||
isTable: false,
|
||||
isSearch: false,
|
||||
form: {
|
||||
colProps: {
|
||||
span: 24
|
||||
@@ -218,7 +219,7 @@ const crudSchemas = reactive<CrudSchema[]>([
|
||||
},
|
||||
{
|
||||
label: '状态',
|
||||
field: 'status', // TODO @puhui999:状态在 table 格式化不对;
|
||||
field: 'status', // TODO @puhui999:状态在 table 格式化不对;建表插入的数据状态值不对,改为 0 或 1 就好了
|
||||
dictType: DICT_TYPE.COMMON_STATUS,
|
||||
dictClass: 'number',
|
||||
isForm: false,
|
||||
@@ -233,6 +234,7 @@ const crudSchemas = reactive<CrudSchema[]>([
|
||||
{
|
||||
label: '备注',
|
||||
field: 'remark',
|
||||
isSearch: false,
|
||||
form: {
|
||||
component: 'Input',
|
||||
componentProps: {
|
||||
|
Reference in New Issue
Block a user