You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
80 lines
1.5 KiB
80 lines
1.5 KiB
import type { PageParam } from '@/api';
|
|
|
|
export interface CashierVo {
|
|
// 购物车总金额
|
|
totalPrice?: number;
|
|
// 宝贝总数量
|
|
totalNums?: number;
|
|
// 已选宝贝
|
|
selectNums?: number;
|
|
// 是否全选
|
|
selectAll?: boolean;
|
|
// 订单备注
|
|
comments?: string;
|
|
// 收银台商品列表
|
|
cashiers?: Cashier[];
|
|
// 按groupId分组
|
|
groups?: any[];
|
|
}
|
|
|
|
/**
|
|
* 收银
|
|
*/
|
|
export interface Cashier {
|
|
// 收银单ID
|
|
id?: number;
|
|
// 类型 0商城 1外卖
|
|
type?: number;
|
|
// 唯一标识
|
|
code?: string;
|
|
// 商品ID
|
|
goodsId?: number;
|
|
// 商品名称
|
|
goodsName?: string;
|
|
// 场地名称
|
|
name?: string;
|
|
// 商品封面图
|
|
image?: string;
|
|
// 商品规格
|
|
spec?: string;
|
|
// 商品价格
|
|
price?: number;
|
|
// 商品数量
|
|
cartNum?: number;
|
|
// 单商品合计
|
|
totalPrice?: string;
|
|
// 0 = 未购买 1 = 已购买
|
|
isPay?: string;
|
|
// 是否为立即购买
|
|
isNew?: boolean;
|
|
// 是否选中
|
|
selected?: boolean;
|
|
// 商户ID
|
|
merchantId?: number;
|
|
// 用户ID
|
|
userId?: string;
|
|
// 收银员ID
|
|
cashierId?: string;
|
|
// 收银单分组ID
|
|
groupId?: number;
|
|
// 租户id
|
|
tenantId?: number;
|
|
// 创建时间
|
|
createTime?: string;
|
|
// 修改时间
|
|
updateTime?: string;
|
|
// 是否多规格
|
|
specs?: number;
|
|
// 商品规格数据
|
|
goodsSpecValue?: any;
|
|
}
|
|
|
|
/**
|
|
* 收银搜索条件
|
|
*/
|
|
export interface CashierParam extends PageParam {
|
|
id?: number;
|
|
groupId?: number;
|
|
showByGroup?: boolean;
|
|
keywords?: string;
|
|
}
|