review:【mall 商城】promotion 相关代码
parent
bb97aca0be
commit
5e85efb23e
|
|
@ -75,7 +75,7 @@ export function useFormSchema(): VbenFormSchema[] {
|
|||
},
|
||||
},
|
||||
{
|
||||
// TODO: 商品关联
|
||||
// TODO: @xingyu:商品关联
|
||||
fieldName: 'spuId',
|
||||
label: '商品关联',
|
||||
component: 'Input',
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ export function useFormSchema(): VbenFormSchema[] {
|
|||
label: '优惠券描述',
|
||||
component: 'Textarea',
|
||||
},
|
||||
// TODO
|
||||
// TODO @xingyu:不同的优惠,不同的选择
|
||||
{
|
||||
fieldName: 'productScope',
|
||||
label: '优惠类型',
|
||||
|
|
@ -63,6 +63,7 @@ export function useFormSchema(): VbenFormSchema[] {
|
|||
},
|
||||
rules: 'required',
|
||||
},
|
||||
// TODO @xingu:不同的有效期,不同的类型
|
||||
{
|
||||
fieldName: 'validityType',
|
||||
label: '有效期类型',
|
||||
|
|
|
|||
|
|
@ -37,9 +37,9 @@ function handleEdit(row: MallDiyPageApi.DiyPage) {
|
|||
formModalApi.setData(row).open();
|
||||
}
|
||||
|
||||
// TODO @xingyu:装修未实现
|
||||
/** 装修页面 */
|
||||
function handleDecorate(row: MallDiyPageApi.DiyPage) {
|
||||
// 跳转到装修页面
|
||||
push({ name: 'DiyPageDecorate', params: { id: row.id } });
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -43,9 +43,9 @@ function handleEdit(row: MallDiyTemplateApi.DiyTemplate) {
|
|||
formModalApi.setData(row).open();
|
||||
}
|
||||
|
||||
// TODO @xingyu:装修未实现
|
||||
/** 装修模板 */
|
||||
function handleDecorate(row: MallDiyTemplateApi.DiyTemplate) {
|
||||
// 跳转到装修页面
|
||||
router.push({ name: 'DiyTemplateDecorate', params: { id: row.id } });
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -74,8 +74,8 @@ export function useFormSchema(): VbenFormSchema[] {
|
|||
optionType: 'button',
|
||||
},
|
||||
},
|
||||
// TODO: @霖:商品关联
|
||||
{
|
||||
// TODO: 商品关联
|
||||
fieldName: 'spuId',
|
||||
label: '商品关联',
|
||||
component: 'Input',
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ export function useFormSchema(): VbenFormSchema[] {
|
|||
label: '优惠券描述',
|
||||
component: 'Textarea',
|
||||
},
|
||||
// TODO
|
||||
// TODO @霖:不同的优惠,不同的选择
|
||||
{
|
||||
fieldName: 'productScope',
|
||||
label: '优惠类型',
|
||||
|
|
@ -63,6 +63,7 @@ export function useFormSchema(): VbenFormSchema[] {
|
|||
},
|
||||
rules: 'required',
|
||||
},
|
||||
// TODO @xingu:不同的有效期,不同的类型
|
||||
{
|
||||
fieldName: 'validityType',
|
||||
label: '有效期类型',
|
||||
|
|
|
|||
|
|
@ -39,9 +39,9 @@ function handleEdit(row: MallDiyPageApi.DiyPage) {
|
|||
formModalApi.setData(row).open();
|
||||
}
|
||||
|
||||
// TODO @霖:貌似跳转不过去;
|
||||
/** 装修页面 */
|
||||
function handleDecorate(row: MallDiyPageApi.DiyPage) {
|
||||
// 跳转到装修页面
|
||||
push({ name: 'DiyPageDecorate', params: { id: row.id } });
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue