|
@@ -330,7 +330,7 @@ const handleClickInjuryinfo = (row) => {
|
|
|
}
|
|
|
|
|
|
const businessParams = {
|
|
|
- ipt_otp_no: patient.value.inpatientNo + '_' + patient.value.admissTimes + '_' + patient.value.ledgerSn,
|
|
|
+ ipt_otp_no: patient.value.inpatientNo + '_' + patient.value.admissTimes + '_' + patient.value.ledgerSn + '_' + Math.floor(Math.random() * 9000 + 1000),
|
|
|
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 : '',
|
|
@@ -373,7 +373,7 @@ const handleClickInjuryinfo = (row) => {
|
|
|
psn_no: patient.value.readCardResult.data.output.psn_no,
|
|
|
med_type: patient.value.medType,
|
|
|
insuplc_admdvs: patient.value.readCardResult.data.output.insu_admdvs,
|
|
|
- mdtrt_id: patient.value.inpatientNo + '_' + patient.value.admissTimes + '_' + patient.value.ledgerSn,//就诊ID 就是门诊/住院流水号 新增
|
|
|
+ mdtrt_id: result.data.request_parameters.businessParams.ipt_otp_no,//就诊ID 就是门诊/住院流水号 新增
|
|
|
create_datetime: getCurrentDateTimeForCreate(),
|
|
|
}),
|
|
|
})
|