标识卡打印3

yangwl
zhaoxiaolin 4 months ago
parent b6d96f5544
commit b63f08e654

@ -1990,7 +1990,7 @@ export default {
//var statusesArray = this.statuses; //var statusesArray = this.statuses;
//for (var i = 0; i < statusesArray.length; i++) { //for (var i = 0; i < statusesArray.length; i++) {
// if (statusesArray[i] != 'w0') {// // if (statusesArray[i] == 'w0') {//
// this.$modal.msgError(""); // this.$modal.msgError("");
// return // return
// } // }

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

Loading…
Cancel
Save