|
|
|
@ -25,11 +25,11 @@
|
|
|
|
|
|
|
|
|
|
<el-row class="my-print-foot">
|
|
|
|
|
<el-col :offset="1" :span="10">
|
|
|
|
|
<div>产品名称: {{ item.productName }}</div><br />
|
|
|
|
|
<div>批次号: {{ item.batchCode }}</div><br />
|
|
|
|
|
<div>生产日期: {{ item.productDateStr }}</div><br />
|
|
|
|
|
<div>板次: {{ item.PalletNo }}</div><br />
|
|
|
|
|
<div>数量: {{ item.batchQuantity }}</div>
|
|
|
|
|
<div class="card-div1">产品名称: {{ item.productName }}</div><br />
|
|
|
|
|
<div class="card-div1">批次号: {{ item.batchCode }}</div><br />
|
|
|
|
|
<div class="card-div2">生产日期: {{ item.productDateStr }}</div><br />
|
|
|
|
|
<div class="card-div2">板次: {{ item.palletNo }}</div><br />
|
|
|
|
|
<div class="card-div2">数量: {{ item.batchQuantity }}</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :offset="1" :span="10">
|
|
|
|
|
<canvas :id="'qrcode-' + index" class="qrcode"></canvas>
|
|
|
|
@ -205,5 +205,14 @@ export default {
|
|
|
|
|
-webkit-print-color-adjust: exact;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.card-div1{
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
padding-top: 14px;
|
|
|
|
|
}
|
|
|
|
|
.card-div2{
|
|
|
|
|
font-size: 22px;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
padding-top: 14px;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|