소스 검색

病案更改签收退回过滤

‘chenzhilei’ 1 주 전
부모
커밋
965e1b7b3f
1개의 변경된 파일6개의 추가작업 그리고 2개의 파일을 삭제
  1. 6 2
      src/views/hospitalization/case-front-sheet/AllCaseFrontSheet.vue

+ 6 - 2
src/views/hospitalization/case-front-sheet/AllCaseFrontSheet.vue

@@ -1258,9 +1258,11 @@ const nullPatient = () => {
 
 const showMessageDrawer = ref(false);
 const beforePrint = flag => {
+  let val = deepClone(sheet.value,true)
+  initSheetLineData(val)
   if (nullPatient()) return;
   executePrintVerify({
-    sheet: sheet.value,
+    sheet: val,
   }).then(() => {
     execPrint(flag);
   }).catch(e => {
@@ -1334,6 +1336,8 @@ const archiveBa = () => {
 };
 
 const unArchiveBa = () => {
+  let val = deepClone(sheet.value,true)
+  initSheetLineData(val)
   if (nullPatient()) {
     return;
   }
@@ -1349,7 +1353,7 @@ const unArchiveBa = () => {
     .then(() => {
       const param = {
         opType: 3,
-        sheet: sheet.value,
+        sheet: val,
       };
       executeUnArchiveBa(param).then(res => {
         ElMessage({