Fix Bug #443: 手术计费:点击签发耗材时异常报错
当手术计费弹窗中点击"签发"耗材时,因耗材的locationId(发放库房)为空导致后端异常。 在DoctorStationAdviceAppServiceImpl.handDevice方法中,当locationId为null时,使用登录用户的科室ID作为默认值, 与NurseBillingAppService中的处理方式保持一致。
This commit is contained in:
3
openhis-ui-vue3/src/views/clinicmanagement/bargain/component/prescriptionlist.vue
Normal file → Executable file
3
openhis-ui-vue3/src/views/clinicmanagement/bargain/component/prescriptionlist.vue
Normal file → Executable file
@@ -1010,8 +1010,9 @@ function handleSave() {
|
||||
// }
|
||||
// 此处签发处方和单行保存处方传参相同,后台已经将传参存为JSON字符串,此处直接转换为JSON即可
|
||||
let list = saveList.map((item) => {
|
||||
const parsedContent = item.contentJson ? JSON.parse(item.contentJson) : {};
|
||||
return {
|
||||
...JSON.parse(item.contentJson),
|
||||
...parsedContent,
|
||||
requestId: item.requestId,
|
||||
dbOpType: '1',
|
||||
groupId: item.groupId,
|
||||
|
||||
Reference in New Issue
Block a user