拼团活动:表单添加虚拟成团控制按钮

(cherry picked from commit 8c347e5990)
This commit is contained in:
puhui999 2023-10-07 10:04:05 +08:00 committed by shizhong
parent 22449ed21a
commit 799ec653dd

View File

@ -9,7 +9,8 @@ export const rules = reactive({
startTime: [required], startTime: [required],
endTime: [required], endTime: [required],
userSize: [required], userSize: [required],
limitDuration: [required] limitDuration: [required],
virtualGroup: [required]
}) })
// CrudSchema https://doc.iocoder.cn/vue3/crud-schema/ // CrudSchema https://doc.iocoder.cn/vue3/crud-schema/
@ -114,6 +115,17 @@ const crudSchemas = reactive<CrudSchema[]>([
value: 0 value: 0
} }
}, },
{
label: '虚拟成团',
field: 'virtualGroup',
dictType: DICT_TYPE.INFRA_BOOLEAN_STRING,
dictClass: 'boolean',
isSearch: true,
form: {
component: 'Radio',
value: false
}
},
{ {
label: '拼团商品', label: '拼团商品',
field: 'spuId', field: 'spuId',