完善加项支付

This commit is contained in:
xianyi
2026-01-04 15:54:26 +08:00
parent f7ea59a857
commit f6cc55582e
5 changed files with 642 additions and 41 deletions

View File

@@ -400,6 +400,33 @@ export interface OutputDaojiandanSignInfo {
*/
export type DaojiandanSignSubmitResponse = CommonActionResult<OutputDaojiandanSignInfo>;
/**
* 提交体检加项单签名入参
*/
export interface InputAddItemBillSignSubmit {
/** 体检ID */
exam_id: number;
/** 签名图片文件 */
sign_file: File | Blob;
}
/**
* 提交体检加项单签名出参
*/
export interface OutputAddItemBillSignInfo {
/** 加项单文件名称 */
pdf_name?: string | null;
/** PDF文件地址 */
pdf_url?: string | null;
/** 消息内容 */
message?: string | null;
}
/**
* 提交体检加项单签名响应
*/
export type AddItemBillSignSubmitResponse = CommonActionResult<OutputAddItemBillSignInfo>;
/**
* 体检导检单打印状态修改入参
*/
@@ -457,6 +484,8 @@ export interface InputPhysicalExamAddItem {
* 加项界面客户基本信息
*/
export interface PoAddItemCustomerInfo {
/** 患者ID */
patient_id: number;
/** 客户姓名 */
customer_name?: string | null;
/** 体检编号 */
@@ -595,16 +624,10 @@ export interface InputPhysicalExamAddOrder {
userName: string;
/** 用户手机号 */
userPhone: string;
/** 体检加项产品ID列表逗号分隔) */
addItemIds: string;
/** 微信Native产品ID */
nativeProductId: string;
/** 订单金额(元) */
/** 体检组合项目代码addItemList.combination_item_code 多个加项逗号分隔) */
combinationItemCodes: string;
/** 订单总金额(元) */
orderAmount: number;
/** 订单来源mini_program-小程序app-app应用等 */
source: string;
/** 商户ID可选不传则使用默认商户 */
merchantId?: string | null;
}
/**
@@ -618,8 +641,16 @@ export type PhysicalExamQrcodeCreateResponse = CommonActionResult<string>;
export interface InputOrderPaymentInfo {
/** 体检ID */
physical_exam_id: number;
/** 订单编号 */
order_id: string;
/** 患者ID */
patient_id: number;
/** 体检组合项目代码addItemList.combination_item_code 多个加项逗号分隔) */
combinationItemCodes: string;
/** 折扣比例 */
discount_rate: number;
/** 支付方式12-微信 13-挂账公司) */
pay_type: number;
/** 挂账公司ID挂账公司传对应的ID其他传0 */
company_id: number;
}
/**