|
@@ -221,6 +221,7 @@ import { nullPatient } from "@/utils/validate";
|
|
|
import {
|
|
|
hospitalizationPreSettlement,
|
|
|
multipleUpload,
|
|
|
+ injuryMultipleUpload,
|
|
|
pairNegativeFee,
|
|
|
revokeUploadFees,
|
|
|
uploadFeeDetail,
|
|
@@ -403,24 +404,47 @@ const uploadFees = () => {
|
|
|
|
|
|
const userInfo = useUserStore().userInfo;
|
|
|
const doSingleInjuryUpload = () => {
|
|
|
- patient.value.sid = userInfo.sid;
|
|
|
- inpatientCostUpload(patient.value)
|
|
|
- .then(res => {
|
|
|
- fetchProjectFees();
|
|
|
- fetchMedicineFees();
|
|
|
- patient.value.chargeYb = res.fundPay;
|
|
|
- ElMessageBox.alert(res, "成功", {
|
|
|
- type: "success",
|
|
|
- confirmButtonText: "确定",
|
|
|
- });
|
|
|
- getPatientInfo(patient.value.inpatientNo).then(res => {
|
|
|
- setBaseinfo(res);
|
|
|
- });
|
|
|
+ let list = [
|
|
|
+ {
|
|
|
+ inpatientNo: patient.value.inpatientNo,
|
|
|
+ admissTimes: patient.value.admissTimes,
|
|
|
+ ledgerSn: patient.value.ledgerSn,
|
|
|
+ sid: userInfo.sid,
|
|
|
+ mdtrtId: patient.value.mdtrtId,
|
|
|
+ medType: patient.value.medType,
|
|
|
+ injurySerialNo: patient.value.injurySerialNo,
|
|
|
+ },
|
|
|
+ ];
|
|
|
+ injuryMultipleUpload(list).then((res) => {
|
|
|
+ ElMessageBox.alert(res, '成功', {
|
|
|
+ type: 'success',
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ }).then(() => {
|
|
|
+ sendAMessage('closeProgress')
|
|
|
+ if (!nullPatient(false)) {
|
|
|
+ fetchProjectFees();
|
|
|
+ fetchMedicineFees();
|
|
|
+ }
|
|
|
})
|
|
|
- .catch(() => {
|
|
|
- fetchProjectFees();
|
|
|
- fetchMedicineFees();
|
|
|
- });
|
|
|
+ });
|
|
|
+ // patient.value.sid = userInfo.sid;
|
|
|
+ // inpatientCostUpload(patient.value)
|
|
|
+ // .then(res => {
|
|
|
+ // fetchProjectFees();
|
|
|
+ // fetchMedicineFees();
|
|
|
+ // patient.value.chargeYb = res.fundPay;
|
|
|
+ // ElMessageBox.alert(res, "成功", {
|
|
|
+ // type: "success",
|
|
|
+ // confirmButtonText: "确定",
|
|
|
+ // });
|
|
|
+ // getPatientInfo(patient.value.inpatientNo).then(res => {
|
|
|
+ // setBaseinfo(res);
|
|
|
+ // });
|
|
|
+ // })
|
|
|
+ // .catch(() => {
|
|
|
+ // fetchProjectFees();
|
|
|
+ // fetchMedicineFees();
|
|
|
+ // });
|
|
|
};
|
|
|
|
|
|
const doSingleNormalUpload = () => {
|