✨ feat(购物界面): 已完成已选汇总

This commit is contained in:
xuan
2022-09-27 15:38:33 +08:00
parent 3b3adcb203
commit 37d9f85c82
5 changed files with 139 additions and 65 deletions
+7
View File
@@ -27,12 +27,19 @@ export type ColorStore = {
export type Goods = {
id: number
product_code: number // 面料编号
product_color_code: number // 颜色编号
estimate_amount: number // 预估金额
count: number // 已选的条数或米数
sale_mode: number
checked: boolean
}
// 分组
export interface GoodsMeta {
purchaserId: number
// materialChecked: number // 已选 x 种面料
// colorChecked: number // 已选 x 颜色
// lengthOrRollChecked: number // 共 x 条 共 x 米
goodsKind?: {
[id: number]: Goods
}