|
|
@@ -260,7 +260,8 @@ import {
|
|
|
queryParam,
|
|
|
yiZhuData,
|
|
|
yzData,
|
|
|
- currentPage
|
|
|
+ currentPage,
|
|
|
+ isCydy
|
|
|
} from "@/views/hospitalization/zhu-yuan-yi-sheng/public-js/zhu-yuan-yi-sheng";
|
|
|
import {ElMessageBox} from "element-plus";
|
|
|
import YzDialog from "@/components/zhu-yuan-yi-sheng/yi-zhu-lu-ru/dialog/YzDialog";
|
|
|
@@ -302,7 +303,7 @@ const xuanZhongFeiYong = async (row, laiyuan = 1) => {
|
|
|
props.openGroupOrderTemplate(row.orderCode)
|
|
|
return
|
|
|
}
|
|
|
- if (row.serial === '00' && currentPage.value === 'takeMedicine') {
|
|
|
+ if (row.serial === '00' && isCydy()) {
|
|
|
qingKong()
|
|
|
return BizException(ExceptionEnum.LOGICAL_ERROR, '出院带药不能开项目')
|
|
|
}
|
|
|
@@ -324,7 +325,6 @@ const xuanZhongFeiYong = async (row, laiyuan = 1) => {
|
|
|
yiZhuData.value.statusFlag = '1'
|
|
|
}
|
|
|
let newData = yiZhuData.value.statusFlag === '1'
|
|
|
-
|
|
|
if (row.serial === '01' || row.serial === '99') {
|
|
|
try {
|
|
|
let res = await huoQuFeiYongXinXi(row.orderCode, row.serial, props.patientInfo.smallDept)
|
|
|
@@ -710,6 +710,9 @@ const errorMessageData = ref({})
|
|
|
* @param val 数据
|
|
|
*/
|
|
|
const clickError = (val) => {
|
|
|
+ if (yiZhuData.value.actOrderNo === 'tempOrderNo') {
|
|
|
+ qingKong()
|
|
|
+ }
|
|
|
if (stringNotBlank(yiZhuData.value.actOrderNo)) {
|
|
|
let param = {
|
|
|
inpatientNo: props.patientInfo.inpatientNo,
|