feat:【mall 商城】商品属性的迁移(ele)
This commit is contained in:
@@ -54,7 +54,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
|
||||
component: 'Input',
|
||||
componentProps: {
|
||||
placeholder: '请输入分组名称',
|
||||
allowClear: true,
|
||||
clearable: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -64,7 +64,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
|
||||
componentProps: {
|
||||
options: getDictOptions(DICT_TYPE.COMMON_STATUS, 'number'),
|
||||
placeholder: '请选择状态',
|
||||
allowClear: true,
|
||||
clearable: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -73,7 +73,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
|
||||
component: 'RangePicker',
|
||||
componentProps: {
|
||||
placeholder: ['开始日期', '结束日期'],
|
||||
allowClear: true,
|
||||
clearable: true,
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
@@ -119,7 +119,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
|
||||
component: 'RangePicker',
|
||||
componentProps: {
|
||||
...getRangePickerDefaultProps(),
|
||||
allowClear: true,
|
||||
clearable: true,
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
@@ -25,7 +25,7 @@ const activeStatus = ref<number | string>('all');
|
||||
|
||||
/** 删除按钮操作 */
|
||||
const handleDelete = async (row: MallCouponApi.Coupon) => {
|
||||
const hideLoading = ElLoading.service({
|
||||
const loadingInstance = ElLoading.service({
|
||||
text: '回收将会收回会员领取的待使用的优惠券,已使用的将无法回收,确定要回收所选优惠券吗?',
|
||||
});
|
||||
try {
|
||||
@@ -34,7 +34,7 @@ const handleDelete = async (row: MallCouponApi.Coupon) => {
|
||||
// 重新加载列表
|
||||
gridApi.query();
|
||||
} finally {
|
||||
hideLoading.close();
|
||||
loadingInstance.close();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user