File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed
api/mall/promotion/combination Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
1
import request from '@/config/axios'
2
2
import { Sku , Spu } from '@/api/mall/product/spu'
3
3
4
+ // TODO @puhui 999: combinationActivity.ts
5
+
4
6
export interface CombinationActivityVO {
5
7
id ?: number
6
8
name ?: string
Original file line number Diff line number Diff line change @@ -98,9 +98,10 @@ const handleDelete = (id: number) => {
98
98
tableMethods .delList (id , false )
99
99
}
100
100
101
+ // TODO @puhui999:要不还是使用原生的 element plus 做。感觉 crud schema 复杂界面,做起来麻烦
101
102
/** 初始化 **/
102
103
onMounted (() => {
103
- /*
104
+ /**
104
105
TODO
105
106
后面准备封装成一个函数来操作 tableColumns 重新排列:比如说需求是表单上商品选择是在后面的而列表展示的时候需要调到位置。
106
107
封装效果支持批量操作,给出 field 和需要插入的位置,例:[{field:'spuId',index: 1}] 效果为把 field 为 spuId 的 column 移动到第一个位置
Original file line number Diff line number Diff line change @@ -50,8 +50,10 @@ const spuData = ref<Spu[]>([]) // spu 详情数据列表
50
50
const skuListRef = ref () // 商品属性列表Ref
51
51
const spuPropertyList = ref <SpuProperty <T >[]>([]) // spuId 对应的 sku 的属性列表
52
52
const expandRowKeys = ref <number []>() // 控制展开行需要设置 row-key 属性才能使用,该属性为展开行的 keys 数组。
53
+
53
54
/**
54
55
* 获取所有 sku 活动配置
56
+ *
55
57
* @param extendedAttribute 在 sku 上扩展的属性,例:秒杀活动 sku 扩展属性 productConfig 请参考 seckillActivity.ts
56
58
*/
57
59
const getSkuConfigs = (extendedAttribute : string ) => {
You can’t perform that action at this time.
0 commit comments