guoyuji
2024-07-04 1c13bd7a2cd2c8ba69a185da69344c8b59f4e561
north-glass-erp/northglass-erp/src/views/pp/processCard/PrintCustomLabel.vue
@@ -35,7 +35,7 @@
const lableType = route.query.lableType
onMounted(() => {
      request.post(`/processCard/getSelectPrintCustomLabel/${type}`, data.value).then((res) => {
      request.post(`/processCard/getSelectPrintCustomLabel/${type}/${lableType}`, data.value).then((res) => {
        if (res.code == 200) {
          produceList.value = deepClone(res.data.title)
@@ -103,17 +103,15 @@
<template>
  <el-button id="printButton" @click="printFlowCard();">{{ $t('basicData.print') }}</el-button>
  <div id="print" class="printFlowCard_finished">
    <div v-for="(item1,id) in lastList" class="entirety_finished">
  <div id="print" :class="company.printLabel.className.custom.printFlowCardName()">
    <div v-for="(item1,id) in lastList" :class="company.printLabel.className.custom.entiretyName()">
      <div class="row4">{{ faceOrientation }}</div>
      <div v-for="(item,id) in labelList" class="contentRow">
      <div v-for="(item,id) in labelList" :class="company.printLabel.className.custom.contentRowName()">
        <div v-if="item.title==null" class="row1">{{ item.title }}</div>
        <div v-else class="row1">{{ item.title }}:</div>
        <div class="row2">{{ item1[item.name] }}</div>
      </div>
      <div v-html="company.printLabel.custom(item1)"></div>
    </div>
  </div>
@@ -187,18 +185,18 @@
  /*font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;*/
}
.row1 {
.contentRow .row1 {
  width: 30%;
  font-weight: bolder;
}
.row4 {
.entirety_finished .row4 {
  font-weight: bolder;
  text-align: right;
  margin-right: 10px;
}
.row1, .row2 {
.contentRow .row1, .contentRow .row2 {
  text-align: left;
  font-weight: bolder;
}
@@ -220,4 +218,46 @@
}
.printFlowCard_finished1 {
  flex-wrap: wrap;
  font-size: 8pt;
  display: flex;
  flex-direction: column;
}
/*成*/
.entirety_finished1 {
  display: flex;
  text-align: center;
  flex-direction: column;
  margin-left: 10px;
  width: 337px;
  height: 120px;
}
.contentRow1 {
  font-weight: bolder;
  display: flex;
  text-align: center;
  width: 100%;
}
.contentRow1 .row1 {
  width: 30%;
  font-weight: bolder;
}
.entirety_finished1 .row4 {
  font-weight: bolder;
  text-align: right;
  margin-right: 10px;
}
.contentRow1 .row1, .contentRow1 .row2 {
  text-align: left;
  font-weight: bolder;
}
</style>