门诊医生站-》开立诊断 页面调整

This commit is contained in:
itcast
2026-01-16 15:46:43 +08:00
parent 2b3add4808
commit be0514bc08
86 changed files with 2224 additions and 3929 deletions

View File

@@ -498,21 +498,21 @@ function confirmCharge() {
encounterId: patientInfo.value.encounterId,
chargeItemIds: chargeItemIdList.value,
}).then((res) => {
if (res.code == 200 && res.data) {
const item = res.data.paymentRecDetailDtoList?.find((i) => {
if (res.code == 200) {
const item = res.data.paymentRecDetailDtoList.find((i) => {
return i.payEnum == 220000;
});
totalAmount.value = item?.amount ?? 0;
totalAmount.value = item?.amount;
paymentId.value = res.data.id;
newId.value = res.data.newId;
oldId.value = res.data.oldId;
chrgBchnoList.value = res.data.chrgBchnoList;
details.value = res.data.paymentRecDetailDtoList?.filter((item) => {
return item.amount > 0;
}) || [];
});
openDialog.value = true;
} else {
proxy.$modal.msgError(res?.msg || '预结算失败');
proxy.$modal.msgError(res.msg);
}
});
// console.log(patientInfo)
@@ -656,12 +656,12 @@ async function handleReadCard(value) {
ybMdtrtCertType: userCardInfo.psnCertType,
busiCardInfo: userCardInfo.busiCardInfo,
}).then((res) => {
if (res.code == 200 && res.data) {
if (res.code == 200) {
paymentId.value = res.data.id;
totalAmount.value = res.data.paymentRecDetailDtoList?.find(
totalAmount.value = res.data.paymentRecDetailDtoList.find(
(item) => item.payEnum == 220000
)?.amount ?? 0;
details.value = res.data.paymentRecDetailDtoList || [];
).amount;
details.value = res.data.paymentRecDetailDtoList;
// chrgBchnoList.value = res.data.chrgBchnoList;
chargeItemIdList.value = selectRows.map((item) => {
return item.id;
@@ -680,7 +680,7 @@ async function handleReadCard(value) {
openDialog.value = true;
} else {
proxy.$modal.msgError(res?.msg || '预结算失败');
proxy.$modal.msgError(res.msg);
}
});
}