廖井涛
2024-08-02 942e7424d32c912e800fbb2e58a4c206467d8941
north-glass-erp/northglass-erp/src/components/pp/PrintRepairCustomLabelSemi.vue
@@ -110,13 +110,14 @@
    <div v-for="(item1,id) in lastList"   class="entirety_semi">
        <div class="row4">{{faceOrientation}}</div>
        <div v-for="(item,id) in labelList"  class="contentRow">
          <div class="row1" v-if="item1[item.name] != null && item1[item.name] !== ''">{{ item.title }}:</div>
          <div class="row2" v-if="item1[item.name] != null && item1[item.name] !== ''">{{ item1[item.name] }}</div>
          <div class="row1" v-if="item1[item.name] != null && item1[item.name] !== ''">{{ item.title }}:{{ item1[item.name] }}</div>
<!--          <div class="row2" v-if="item1[item.name] != null && item1[item.name] !== ''">{{ item1[item.name] }}</div>-->
        </div>
        <div class="row3">
          <label>W:{{ item1.width }}</label>
          &nbsp;&nbsp;
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          <label>H:{{ item1.height }}</label>
        </div>
@@ -133,7 +134,7 @@
body{
  overflow: hidden;
  font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
  font-family: Arial;
}
@@ -177,23 +178,20 @@
}
.row1{
  width: 30%;
  font-weight: bolder;
  width: 100%;
}
.row4{
  font-weight: bolder;
  text-align: right;
}
.row1,.row2{
  text-align: left;
  font-weight: bolder;
}
@page {
  size: auto;  /* auto is the initial value */
  margin: 0mm 2mm 2mm 2mm;  /* this affects the margin in the printer settings */
  margin: 2mm 2mm 2mm 2mm;  /* this affects the margin in the printer settings */
}