Browse Source

修复血透室出院结算报错的问题

lighter 2 years ago
parent
commit
e13347d035
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/views/medical-insurance/inpatient/DiscSettlement.vue

+ 4 - 1
src/views/medical-insurance/inpatient/DiscSettlement.vue

@@ -625,13 +625,16 @@ const ziFeiDismiss = () => {
 }
 
 const yibaoDismiss = () => {
+  if (!patient.value.acctUsedFlag) {
+    patient.value.acctUsedFlag = '0'
+  }
   dischargeProcessing(patient.value).then(() => {
     ElMessageBox.alert(dismissBtnText.value + '成功。', '提示', {
       type: 'success',
     }).then(() => {
       afterDismiss()
     })
-  })
+  });
 }
 
 const afterDismiss = () => {