批量删除

This commit is contained in:
liu
2026-08-23 14:26:37 +08:00
parent 01e67e02b5
commit 5d58075644
5 changed files with 132 additions and 4 deletions
+9
View File
@@ -51,6 +51,15 @@ export async function importProducts(file: File) {
});
}
/** 批量删除商品(软删除) */
export async function batchDeleteProducts(ids: number[]) {
return createAxios({
url: '/product/goods/batch',
method: 'delete',
data: { ids },
});
}
/**
* A2 价格矩阵:行=商品,列=启用等级,值=按等级上浮比例换算的售价(成本价未设置 null);
* 仅成本价可编辑