chenlu
2024-07-18 b864a88a6d34cbed2cfaad7f5e843ea1330c9c91
north-glass-erp/northglass-erp/src/views/pp/processCard/PrintCustomLabelSemi1.vue
@@ -35,7 +35,6 @@
const lableType = route.query.lableType
onMounted(() => {
  console.log(lableType)
      request.post(`/processCard/getSelectPrintCustomLabel/${type}/1`, data.value).then((res) => {
        if (res.code == 200) {
          produceList.value = deepClone(res.data.title)
@@ -51,7 +50,6 @@
              }
            }
          }
          console.log(lastList.value)
        } else {
          ElMessage.warning(res.msg)
          router.push("/login")
@@ -113,7 +111,8 @@
        <span>{{ item.project }}</span>&nbsp;
        <span>{{ item.buildingNumber }}</span>
      </div>
      <div class="row3">{{item.width}}*{{item.height}}={{item.quantity}}</div>
      <div class="row3" v-if="item.other_columns==null||JSON.parse(item.other_columns).S02==null">{{item.width}}*{{item.height}}={{item.quantity}}</div>
      <div class="row3" v-else>{{JSON.parse(item.other_columns).S02}}={{item.quantity}}</div>
      <div class="row5">
        <span>{{item.remarks}}</span>&nbsp;
        <span>{{ item.processingNote }}</span>
@@ -138,13 +137,14 @@
  display: flex;
  justify-content: left;
  flex-wrap: wrap;
  margin-left: 5px;
  width: 450px;
}
#entirety{
  text-align: center;
  width: 50%;
  height: 105px;
  height: 140px;
  border: black 1px;
}
.row1 {
@@ -152,11 +152,17 @@
  font-weight: bold;
  height: 25px;
}
.row1 span {
  font-size: 12pt;
}
.row2 {
  font-size: 12pt;
  font-weight: bold;
  height: 25px;
}
.row2 span {
  font-size: 12pt;
}
span {
  font-size: 12pt;
@@ -176,7 +182,7 @@
  font-size: 12pt;
}
.row5 span {
  font-size: 10pt;
  font-size: 12pt;
}
.row6 {
@@ -189,7 +195,7 @@
@page {
  size: auto;  /* auto is the initial value */
  margin: 2mm 2mm 2mm 2mm  /* this affects the margin in the printer settings */
  margin: 2mm 2mm 2mm 2mm;  /* this affects the margin in the printer settings */
}