diff --git a/src/views/mall/promotion/combination/activity/combinationActivity.data.ts b/src/views/mall/promotion/combination/activity/combinationActivity.data.ts index 4307a547..dd3e48f3 100644 --- a/src/views/mall/promotion/combination/activity/combinationActivity.data.ts +++ b/src/views/mall/promotion/combination/activity/combinationActivity.data.ts @@ -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([ value: 0 } }, + { + label: '虚拟成团', + field: 'virtualGroup', + dictType: DICT_TYPE.INFRA_BOOLEAN_STRING, + dictClass: 'boolean', + isSearch: true, + form: { + component: 'Radio', + value: false + } + }, { label: '拼团商品', field: 'spuId',