完善sku

This commit is contained in:
wangxiaowei
2025-06-04 18:04:25 +08:00
parent c1cae803e0
commit 7c43b4d6b8
11 changed files with 474 additions and 2652 deletions

View File

@ -34,3 +34,26 @@ export function checkCategory() {
export function uploadImage(params: any) {
return request.post({ url: '/upload/image', params })
}
export type SkuNameValue = {
value: string
image: string
}
export type SkuNameList = {
name: string
value: SkuNameValue[]
has_image?: number
}
export type SkuItemList = {
id?: number | string
ids?: number[]
image?: string
sku_value_arr: string[]
price: string
line_price: string
market_price: string
stock: number
weight: number
volume: string
code: string
}