更新加项接口入参接口

This commit is contained in:
xianyi
2025-12-25 16:07:03 +08:00
parent 6b9c55c50e
commit b552ff4963
3 changed files with 59 additions and 11 deletions

View File

@@ -399,14 +399,34 @@ export type CustomerDetailEditResponse = CommonActionResult<OutputCustomerDetail
* 体检加项列表信息入参
*/
export interface InputPhysicalExamAddItem {
/** 项目名称(必填,空字符串表示获取全部) */
item_name: string;
/** 体检ID */
physical_exam_id: number;
/** 项目名称(默认空值,传入项目名称过滤数据) */
item_name?: string | null;
}
/**
* 体检加项列表信息出参
* 加项界面客户基本信息
*/
export interface OutputPhysicalExamAddItem {
export interface PoAddItemCustomerInfo {
/** 客户姓名 */
customer_name?: string | null;
/** 体检编号 */
exam_no?: string | null;
/** 体检ID */
physical_exam_id?: number | null;
/** 渠道名称 */
scrm_account_name?: string | null;
/** 是否VIP1是0否 */
is_vip?: number | null;
/** 是否VIP名称1是0否 */
is_vip_name?: string | null;
}
/**
* 体检加项列表项
*/
export interface PoPhysicalExamAddItem {
/** 项目ID */
item_id?: number | null;
/** 项目名称 */
@@ -417,14 +437,28 @@ export interface OutputPhysicalExamAddItem {
original_price?: number | null;
/** 折扣率含折扣单位如8.0折) */
discount_rate?: string | null;
/** 折扣比例 */
discount_ratio?: number | null;
/** 次数 */
times?: number | null;
/** 组合项目代码 */
combination_item_code?: number | null;
}
/**
* 体检加项列表信息出参
*/
export interface OutputPhysicalExamAddItem {
/** 客户基本信息 */
customerInfo?: PoAddItemCustomerInfo | null;
/** 体检加项列表 */
addItemList?: PoPhysicalExamAddItem[] | null;
}
/**
* 体检加项列表信息响应
*/
export type PhysicalExamAddItemListResponse = CommonActionResult<OutputPhysicalExamAddItem[]>;
export type PhysicalExamAddItemListResponse = CommonActionResult<OutputPhysicalExamAddItem>;
/**
* 体检加项支付记录入参(生成扫码支付二维码)