申请人
This commit is contained in:
@@ -620,6 +620,12 @@ export const ExamAddonPanel = ({ client, onGoToSign }: ExamAddonPanelProps) => {
|
||||
? original_settlement_price * (discountRatioValue / 100)
|
||||
: customFinalPrice;
|
||||
|
||||
|
||||
const apply_user = localStorage.getItem('operatorName');
|
||||
if (!apply_user) {
|
||||
setPaymentMessage('请先登录');
|
||||
return;
|
||||
}
|
||||
const res = await customSettlementApply({
|
||||
physical_exam_id,
|
||||
listAddItemDetail,
|
||||
@@ -628,6 +634,7 @@ export const ExamAddonPanel = ({ client, onGoToSign }: ExamAddonPanelProps) => {
|
||||
discount_ratio: customSettlementType === 1 ? discountRatioValue : undefined,
|
||||
final_settlement_price,
|
||||
apply_reason: customApplyReason.trim(),
|
||||
apply_user,
|
||||
});
|
||||
|
||||
if (res.Status === 200) {
|
||||
@@ -684,9 +691,16 @@ export const ExamAddonPanel = ({ client, onGoToSign }: ExamAddonPanelProps) => {
|
||||
return;
|
||||
}
|
||||
|
||||
const cancel_user = localStorage.getItem('operatorName');
|
||||
if (!cancel_user) {
|
||||
setPaymentMessage('请先登录');
|
||||
return;
|
||||
}
|
||||
|
||||
const res = await customSettlementApplyCancel({
|
||||
physical_exam_id,
|
||||
add_item_id,
|
||||
cancel_user,
|
||||
});
|
||||
|
||||
if (res.Status === 200 && res.Data?.is_success === 1) {
|
||||
|
||||
Reference in New Issue
Block a user