拼团活动:表单添加虚拟成团控制按钮
This commit is contained in:
parent
e86dfa30fd
commit
8c347e5990
@ -9,7 +9,8 @@ export const rules = reactive({
|
||||
startTime: [required],
|
||||
endTime: [required],
|
||||
userSize: [required],
|
||||
limitDuration: [required]
|
||||
limitDuration: [required],
|
||||
virtualGroup: [required]
|
||||
})
|
||||
|
||||
// CrudSchema https://doc.iocoder.cn/vue3/crud-schema/
|
||||
@ -114,6 +115,17 @@ const crudSchemas = reactive<CrudSchema[]>([
|
||||
value: 0
|
||||
}
|
||||
},
|
||||
{
|
||||
label: '虚拟成团',
|
||||
field: 'virtualGroup',
|
||||
dictType: DICT_TYPE.INFRA_BOOLEAN_STRING,
|
||||
dictClass: 'boolean',
|
||||
isSearch: true,
|
||||
form: {
|
||||
component: 'Radio',
|
||||
value: false
|
||||
}
|
||||
},
|
||||
{
|
||||
label: '拼团商品',
|
||||
field: 'spuId',
|
||||
|
Loading…
Reference in New Issue
Block a user