From fee38f39e36bcda9924f5b26dca609dda6b331e0 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期日, 22 六月 2025 16:53:27 +0800
Subject: [PATCH] no message
---
zy-asrs-admin/src/components/print/zpalletBarcodePrint/template/template1.vue | 92 +++++++++++++++++++++++-----------------------
1 files changed, 46 insertions(+), 46 deletions(-)
diff --git a/zy-asrs-admin/src/components/print/zpalletBarcodePrint/template/template1.vue b/zy-asrs-admin/src/components/print/zpalletBarcodePrint/template/template1.vue
index 917c677..4439448 100644
--- a/zy-asrs-admin/src/components/print/zpalletBarcodePrint/template/template1.vue
+++ b/zy-asrs-admin/src/components/print/zpalletBarcodePrint/template/template1.vue
@@ -1,47 +1,47 @@
-<script setup>
-import { toRefs, ref, defineProps } from 'vue';
-import { globalState } from '@/config.js'
-import { formatMessage } from '@/utils/localeUtils';
-
-const props = defineProps({
- list: {
- type: Array,
- default: []
- },
- repeatNum: {
- type: Number,
- default: 1
- }
-});
-const { list, repeatNum } = toRefs(props)
-</script>
-
-<template>
- <div id="printMe">
- <div v-for="(item, index) in list" :key="index">
- <div v-for="count in repeatNum" style="font-size: 16px;margin-top: 20px;">
- <div style="text-align: center;">
- <img :src="globalState.url + '/api/code/auth?type=1¶m=' + item.barcode" />
- </div>
- <div style="text-align: center;">
- {{ item.barcode }}
- </div>
- </div>
- </div>
- </div>
-</template>
-
-<style>
-@media print {
- body {
- margin: 0;
- padding: 0;
- }
-
- .print-area {
- margin: 0;
- padding: 0;
- height: auto;
- }
-}
+<script setup>
+import { toRefs, ref, defineProps } from 'vue';
+import { globalState } from '@/config.js'
+import { formatMessage } from '@/utils/localeUtils';
+
+const props = defineProps({
+ list: {
+ type: Array,
+ default: []
+ },
+ repeatNum: {
+ type: Number,
+ default: 1
+ }
+});
+const { list, repeatNum } = toRefs(props)
+</script>
+
+<template>
+ <div id="printMe">
+ <div v-for="(item, index) in list" :key="index">
+ <div v-for="count in repeatNum" style="font-size: 16px;margin-top: 20px;">
+ <div style="text-align: center;">
+ <img :src="globalState.url + '/api/code/auth?type=1¶m=' + item.barcode" />
+ </div>
+ <div style="text-align: center;">
+ {{ item.barcode }}
+ </div>
+ </div>
+ </div>
+ </div>
+</template>
+
+<style>
+@media print {
+ body {
+ margin: 0;
+ padding: 0;
+ }
+
+ .print-area {
+ margin: 0;
+ padding: 0;
+ height: auto;
+ }
+}
</style>
\ No newline at end of file
--
Gitblit v1.9.1