yangyang
2025-07-03 6ea3d5caa30f460f1eb9c3880d90f41275c3c274
zy-asrs-admin/src/components/print/zpalletBarcodePrint/template/template1.vue
@@ -17,13 +17,13 @@
</script>
<template>
    <div id="printMe">
    <div id="printMe" style="width: 700px;">
        <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&param=' + item.barcode" />
            <div v-for="count in repeatNum" style="font-size: 16px;margin-top: 40px;height: 300px;">
                <div style="text-align: center; ">
                    <img :src="globalState.url + '/api/code/auth?type=1&param=' + item.barcode" style="width: 600px; height: 180px;" />
                </div>
                <div style="text-align: center;">
                <div style="text-align: center; font-size: 55px; font-weight: 600;">
                    {{ item.barcode }}
                </div>
            </div>
@@ -32,6 +32,11 @@
</template>
<style>
.ant-modal-content {
    width: 700px;
}
@media print {
    body {
        margin: 0;