|
|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <div class="report-container">
|
|
|
+ <div v-if="templateInfo.code" class="report-container">
|
|
|
<div class="report-header">
|
|
|
<!-- <div class="company-logo">
|
|
|
<img src="@/assets/logo.png" alt="嘉实医药" />
|
|
|
@@ -76,6 +76,7 @@
|
|
|
<div class="footer-item">检验:{{ templateInfo.inspector }}</div>
|
|
|
<div class="footer-item">审核:赵旭东</div>
|
|
|
</div>
|
|
|
+ <img class="stamp" src="./stamp-png.png" alt="">
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -87,6 +88,9 @@ export default {
|
|
|
type: Object,
|
|
|
default: () => ({})
|
|
|
}
|
|
|
+ },
|
|
|
+ mounted() {
|
|
|
+ console.log('templateInfo', this.templateInfo);
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
@@ -101,6 +105,7 @@ export default {
|
|
|
/* font-family: Arial, sans-serif; */
|
|
|
overflow-x: auto;
|
|
|
white-space: nowrap;
|
|
|
+ position: relative;
|
|
|
}
|
|
|
|
|
|
.report-container::-webkit-scrollbar {
|
|
|
@@ -199,4 +204,11 @@ export default {
|
|
|
text-align: center;
|
|
|
margin-right: 20px;
|
|
|
}
|
|
|
+
|
|
|
+.stamp {
|
|
|
+ width: 160px;
|
|
|
+ position: absolute;
|
|
|
+ bottom: 0;
|
|
|
+ right: 120px;
|
|
|
+}
|
|
|
</style>
|