瀏覽代碼

病案更改签收退回过滤

‘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({