guoyujie
6 天以前 33c054fb8479c7439c9031aeb84a895718e6465e
north-glass-erp/northglass-erp/src/components/pp/PrintProcessReplenish.vue
@@ -284,8 +284,9 @@
        <td class="tdNowrap">磨边类型:</td>
        <td colspan="3">{{ itemTr.edging_type }}</td>
        <td class="tdNowrap">单片名称:</td>
        <td v-if="itemTr.qrcodeList.length*1>1" colspan="8">多层合并,详情见产品名称</td>
        <td v-else colspan="8">{{ itemTr.glass_child }}</td>
        <td v-if="!company.processFontSize" colspan="3">{{ itemTr.glass_child }}</td>
        <td v-else-if="itemTr.qrcodeList.length*1>1" colspan="8">多层合并,详情见产品名称</td>
        <td v-else colspan="8" style="font-size: 18px;">{{ itemTr.glass_child }}</td>
        <td class="tdNowrap">产品名称:</td>
        <td v-if="!company.processFontSize" :colspan="2+item.processList.length*2">{{ itemTr.product_name }}</td>
        <td v-else :colspan="2+item.processList.length*2" style="font-size: 18px;">{{ itemTr.product_name }}</td>
@@ -294,7 +295,7 @@
        <td rowspan='2'>序号</td>
        <td rowspan='2'>编号</td>
        <td rowspan="2">层号</td>
        <td rowspan='2'>宽(弧长)*高</td>
        <td rowspan='2' class="tdNowrap">宽(弧长)*高</td>
        <td rowspan='2'>数量</td>
        <td rowspan='2'>面积</td>
        <td rowspan='2'>周长</td>
@@ -426,12 +427,10 @@
* {
  margin: 0;
  padding: 0;
  text-align: center;
}
#printButton {
  margin-top: -40px;
  width: 100px;
td,input{
  text-align: center;
}
#printFlowCard {
@@ -439,20 +438,23 @@
//font-weight: bolder; height: 600px;
}
#contentDiv {
  width: 100%;
}
#contentTable {
  border-collapse: collapse;
  border: 1px solid black;
  width: 100%;
}
#contentTable thead {
  font-size: 12px;
  font-size: 13px;
  font-weight: bolder;
}
#contentTable thead div {
  font-size: 14px;
  font-size: 15px;
  font-weight: bolder;
}
@@ -463,7 +465,7 @@
}
#contentTable tbody {
  white-space: nowrap;
}
.tdNowrap {
@@ -471,7 +473,7 @@
}
#contentTable tfoot {
  font-size: 11px;
  font-size: 12px;
  font-weight: bolder;
}
@@ -480,28 +482,43 @@
  background: none;
}
.nuber_xx span{
  font-size: 12px;
}
@media print {
  /* 禁用 Chrome 自动页码触发条件 */
  * {
    overflow: visible !important;
    transform: none !important;
    filter: none !important;
  }
  [style*="position: fixed"],
  .fixed,
  .header-fixed {
    position: absolute !important;
  }
  @page {
    size: auto;  /* auto is the initial value */
    margin: 2mm 4mm 0mm 4mm  /* this affects the margin in the printer settings */
    margin:  2mm 4mm 0mm 4mm;  /* this affects the margin in the printer settings */
    @top-right {
      content: none !important;
    }
  }
  tbody {
    display: table-row-group;
  }
  table {
    page-break-before: always;
  }
  table {
    page-break-inside: auto;
  }
  thead {
    display: table-header-group;
    page-break-inside: avoid;
  }
  tfoot {
@@ -514,6 +531,8 @@
  width: 100%;
  height: 100%;
}
.picture{
  page-break-before: always;
}
</style>