File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
src/views/mall/promotion/discountActivity Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 8
8
:schema =" allSchemas.formSchema"
9
9
>
10
10
<!-- 先选择 -->
11
+ <!-- TODO @zhangshuai:商品允许选择多个 -->
12
+ <!-- TODO @zhangshuai:选择后的 SKU,需要后面加个【删除】按钮 -->
13
+ <!-- TODO @zhangshuai:展示的金额,貌似不对,大了 100 倍,需要看下 -->
14
+ <!-- TODO @zhangshuai:“优惠类型”,是每个 SKU 可以自定义已设置哈。因为每个商品 SKU 的折扣和减少价格,可能不同。具体交互,可以注册一个 youzan.com 看看;它的交互方式是,如果设置了“优惠金额”,则算“减价”;如果再次设置了“折扣百分比”,就算“打折”;这样形成一个互斥的优惠类型 -->
11
15
<template #spuId >
12
16
<el-button @click =" spuSelectRef.open()" >选择商品</el-button >
13
17
<SpuAndSkuList
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 :
4
5
// 表单校验
5
6
export const rules = reactive ( {
6
7
spuId : [ required ] ,
You can’t perform that action at this time.
0 commit comments