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