File tree Expand file tree Collapse file tree 2 files changed +0
-5
lines changed
src/views/mall/promotion/discountActivity Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -89,9 +89,6 @@ const spuList = ref<DiscountActivityApi.SpuExtension[]>([]) // 选择的 spu
89
89
const spuPropertyList = ref <SpuProperty <DiscountActivityApi .SpuExtension >[]>([])
90
90
const spuIds = ref <number []>([])
91
91
const selectSpu = (spuId : number , skuIds : number []) => {
92
- // TODO puhui999: 艿艿现在限时折扣活动可以选择多个 spu ,那么 spuId 是不是得改成 spuIds 来存放多个?🤣
93
- // TODO @puhui999:DiscountActivityDO 不存 spuId,在 DiscountProductDO 存储哈。
94
- formRef .value .setValues ({ spuId })
95
92
getSpuDetails (spuId , skuIds )
96
93
}
97
94
/**
Original file line number Diff line number Diff line change 1
1
import type { CrudSchema } from '@/hooks/web/useCrudSchemas'
2
2
import { dateFormatter2 } from '@/utils/formatTime'
3
3
4
- // TODO @zhangshai :
5
4
// 表单校验
6
5
export const rules = reactive ( {
7
- spuId : [ required ] ,
8
6
name : [ required ] ,
9
7
startTime : [ required ] ,
10
8
endTime : [ required ] ,
You can’t perform that action at this time.
0 commit comments