提交逻辑

This commit is contained in:
Euni4U 2025-04-02 19:10:16 +08:00
parent 4cedd7a425
commit 51b3742b9f

View File

@ -262,28 +262,11 @@ const handlePrint = async (row: PatientVO) => {
await PatientApi.bindPatientProject(row.medicalSn)
await PatientApi.syncinspectApplyTj(row.medicalSn)
await createPrint(row.medicalSn)
} else {
//
const confirmResult = await ElMessageBox.confirm(
'检验单已存在,是否重新创建?',
'提示',
{
confirmButtonText: '是',
cancelButtonText: '否',
type: 'warning'
}
).catch(() => 'cancel')
// ""
if (confirmResult === 'confirm') {
await PatientApi.syncinspectApplyTj(row.medicalSn)
}
// ""
await createPrint(row.medicalSn)
}
//
await PatientApi.updatePrintStatus(row.medicalSn, '1')
await PatientApi.updatePrintStatus(row.medicalSn)
//
await getList()
message.success('打印成功')