|
@@ -1411,7 +1411,7 @@ const handleClickInjuryinfo = row => {
|
|
|
}
|
|
|
}
|
|
|
const businessParams = {
|
|
|
- ipt_otp_no: patient.value.inpatientNo + '_' + patient.value.admissTimes + '_' + patient.value.ledgerSn + '_' + Math.floor(Math.random() * 9000 + 1000),
|
|
|
+ ipt_otp_no: patient.value.inpatientNo + '_' + patient.value.admissTimes + '_' + patient.value.ledgerSn + '_' + (patient.value.canceAdmissCount || 0),
|
|
|
med_type: patient.value.medType,
|
|
|
adm_time: getCurrentDateTimeStr(),
|
|
|
adm_diag_dscr: zyInYbDiags.value && zyInYbDiags.value.length && (zyInYbDiags.value.length > 0) && zyInYbDiags.value[0] && zyInYbDiags.value[0].icdCode ? zyInYbDiags.value[0].icdCode : '',
|
|
@@ -1702,7 +1702,8 @@ const beforeCancelRegister = () => {
|
|
|
times: patient.value.admissTimes,
|
|
|
ledgerSn: patient.value.ledgerSn,
|
|
|
insuplc_admdvs: patient.value.insuplcAdmdvs,
|
|
|
- med_type: patient.value.medType
|
|
|
+ med_type: patient.value.medType,
|
|
|
+ cance_admiss_count: Number(patient.value.canceAdmissCount || 0) + 1
|
|
|
}),
|
|
|
})
|
|
|
.then(res => res.json())
|