chenlu
2024-06-19 5a39769b339978db73f11ca86cbe2595c2e86c15
便签打印调整
1个文件已修改
37 ■■■■ 已修改文件
north-glass-erp/northglass-erp/src/views/pp/processCard/PrintCustomLabel.vue 37 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
north-glass-erp/northglass-erp/src/views/pp/processCard/PrintCustomLabel.vue
@@ -42,7 +42,7 @@
          labelList = dataList[0]
          for (let i = 0; i < list.value.length; i++) {
            let count= list.value[i].data.length
            for (let j = 0; j < count; j++) {
            for (let j = 0; j < 1; j++) {
              for (let k = 0; k < list.value[i].data[j].quantity; k++){
                lastList.value.push(list.value[i].data[j])
              }
@@ -107,7 +107,11 @@
          <div class="row2">{{ item1.order[item.name] }}</div>
        </div>
        <div class="row3"><label>W:</label>{{ item1.width }} <label>H:</label>{{ item1.height }}</div>
        <div class="row3">
          <label>W:{{ item1.width }}</label>
          &nbsp;&nbsp;
          <label>H:{{ item1.height }}</label>
        </div>
    </div>
  </div>
@@ -121,6 +125,7 @@
}
body{
  font-weight: bolder;
  overflow: hidden;
}
@@ -131,9 +136,9 @@
/*成*/
.printFlowCard_finished {
  font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
  flex-wrap: wrap;
  font-size: 16px;
  margin-left: 6px;
  font-size: 12pt;
  display: flex;
  flex-direction:column;
}
@@ -144,25 +149,42 @@
  display: flex;
  text-align: center;
  flex-direction:column;
  width: 100%;
  height: 100%;
}
/*div{
  font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
}*/
.row3{
  text-align: center;
  font-weight: bolder;
  font-size: 22px;
  /*display: flex;
  justify-content:space-evenly;*/
}
.row3 label{
  font-size: 22px;
  margin-top: 28px;
}
.contentRow{
  font-weight: bolder;
  display: flex;
  text-align: center;
  width: 100%;
}
label{
  font-weight: bolder;
  /*font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;*/
}
.row1{
  width: 20%;
  width: 30%;
  font-weight: bolder;
}
@@ -173,11 +195,13 @@
.row1,.row2{
  text-align: left;
  font-weight: bolder;
}
@page {
  size: auto;  /* auto is the initial value */
  margin: 12mm 4mm 0mm 2mm;  /* this affects the margin in the printer settings */
  margin: 13mm 0mm 0mm 6mm;  /* this affects the margin in the printer settings */
}
@media print {
@@ -187,7 +211,6 @@
  .entirety_finished {
    page-break-before: always;
    page-break-after: always;
  }
}