整理商品管理模块

This commit is contained in:
2024-07-25 19:20:53 +08:00
parent 717c89a58e
commit cf0961afdd
48 changed files with 1814 additions and 965 deletions

View File

@@ -2,6 +2,12 @@ import type { PageParam } from '@/api';
import { GoodsSpec } from '@/api/shop/goodsSpec/model';
import { GoodsSku } from '@/api/shop/goodsSku/model';
export interface GoodsCount {
totalNum: number;
totalNum2: number;
totalNum3: number;
totalNum4: number;
}
/**
* 商品记录表
*/
@@ -45,6 +51,7 @@ export interface Goods {
// 推荐
recommend?: number;
// 状态, 0正常, 1待修,2异常已修3异常未修
isShow?: number;
status?: number;
// 备注
comments?: string;
@@ -58,6 +65,8 @@ export interface Goods {
tenantId?: number;
// 商户ID
merchantId?: number;
// 店铺名称
merchantName?: string;
// 创建时间
createTime?: string;
// 修改时间
@@ -80,5 +89,8 @@ export interface BathSet {
*/
export interface GoodsParam extends PageParam {
goodsId?: number;
status?: number;
isShow?: number;
stock?: number;
keywords?: string;
}