|
@@ -243,7 +243,7 @@
|
|
|
</el-table>
|
|
|
<div style="margin-top: 20px">
|
|
|
是否继续为患者办理出院?
|
|
|
- <el-button type="primary" @click="executeDismissCalculate(false, null)">继续办理</el-button>
|
|
|
+ <el-button type="primary" @click="executeDismissCalculate(false, null, null)">继续办理</el-button>
|
|
|
<el-button @click="cancelDischarge">取消办理</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
@@ -392,6 +392,8 @@ const closeActOrder = () => {
|
|
|
dismissCalMsg.value = ''
|
|
|
showActOrders.value = false
|
|
|
}
|
|
|
+
|
|
|
+const tempSortNo = ref(0)
|
|
|
const executeDismissCalculate = (midSetl, disdate, sortNo) => {
|
|
|
showPreDischargeErrors.value = false
|
|
|
dismissCalculate(patient.value).then(() => {
|
|
@@ -403,7 +405,7 @@ const executeDismissCalculate = (midSetl, disdate, sortNo) => {
|
|
|
settleApply.value.acctUsedFlag = '0'
|
|
|
settleApply.value.deathFlag = patient.value.deathFlag
|
|
|
settleApply.value.inputComment = midSetl ? null : '医嘱离院。'
|
|
|
- settleApply.value.sortNo = sortNo
|
|
|
+ settleApply.value.sortNo = null === sortNo ? tempSortNo.value : sortNo
|
|
|
showSettleApplyForm.value = true
|
|
|
}).catch((res2) => {
|
|
|
if (res2.code && res2.code === 1004) {
|
|
@@ -456,6 +458,7 @@ const beforeSettle = (midSetl) => {
|
|
|
}
|
|
|
patient.value.midSetl = midSetl
|
|
|
selectSettleApply(patient.value).then((res) => {
|
|
|
+ tempSortNo.value = res.sortNo
|
|
|
if (null === res.status) {
|
|
|
patient.value.sid = store.getters['user/sid']
|
|
|
patient.value.zjdzDatetime = getDatetime()
|