申请人
This commit is contained in:
@@ -1449,6 +1449,8 @@ export interface InputCustomSettlementApply {
|
|||||||
final_settlement_price?: number;
|
final_settlement_price?: number;
|
||||||
/** 申请理由 */
|
/** 申请理由 */
|
||||||
apply_reason?: string;
|
apply_reason?: string;
|
||||||
|
/** 申请人 */
|
||||||
|
apply_user: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -1472,6 +1474,8 @@ export interface InputCustomSettlementApplyCancel {
|
|||||||
physical_exam_id: number;
|
physical_exam_id: number;
|
||||||
/** 体检加项组合ID(多个逗号分隔,例如:123,456) */
|
/** 体检加项组合ID(多个逗号分隔,例如:123,456) */
|
||||||
add_item_id: string;
|
add_item_id: string;
|
||||||
|
/** 申请人 */
|
||||||
|
cancel_user: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -620,6 +620,12 @@ export const ExamAddonPanel = ({ client, onGoToSign }: ExamAddonPanelProps) => {
|
|||||||
? original_settlement_price * (discountRatioValue / 100)
|
? original_settlement_price * (discountRatioValue / 100)
|
||||||
: customFinalPrice;
|
: customFinalPrice;
|
||||||
|
|
||||||
|
|
||||||
|
const apply_user = localStorage.getItem('operatorName');
|
||||||
|
if (!apply_user) {
|
||||||
|
setPaymentMessage('请先登录');
|
||||||
|
return;
|
||||||
|
}
|
||||||
const res = await customSettlementApply({
|
const res = await customSettlementApply({
|
||||||
physical_exam_id,
|
physical_exam_id,
|
||||||
listAddItemDetail,
|
listAddItemDetail,
|
||||||
@@ -628,6 +634,7 @@ export const ExamAddonPanel = ({ client, onGoToSign }: ExamAddonPanelProps) => {
|
|||||||
discount_ratio: customSettlementType === 1 ? discountRatioValue : undefined,
|
discount_ratio: customSettlementType === 1 ? discountRatioValue : undefined,
|
||||||
final_settlement_price,
|
final_settlement_price,
|
||||||
apply_reason: customApplyReason.trim(),
|
apply_reason: customApplyReason.trim(),
|
||||||
|
apply_user,
|
||||||
});
|
});
|
||||||
|
|
||||||
if (res.Status === 200) {
|
if (res.Status === 200) {
|
||||||
@@ -684,9 +691,16 @@ export const ExamAddonPanel = ({ client, onGoToSign }: ExamAddonPanelProps) => {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const cancel_user = localStorage.getItem('operatorName');
|
||||||
|
if (!cancel_user) {
|
||||||
|
setPaymentMessage('请先登录');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const res = await customSettlementApplyCancel({
|
const res = await customSettlementApplyCancel({
|
||||||
physical_exam_id,
|
physical_exam_id,
|
||||||
add_item_id,
|
add_item_id,
|
||||||
|
cancel_user,
|
||||||
});
|
});
|
||||||
|
|
||||||
if (res.Status === 200 && res.Data?.is_success === 1) {
|
if (res.Status === 200 && res.Data?.is_success === 1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user