guoyujie
2025-07-07 788f4f217e039a3f2b4982e9d0fc0afb36a483f5
提交 加工单数据
1个文件已修改
56 ■■■■ 已修改文件
north-glass-erp/northglass-erp/src/components/mm/PrintPackingListLuoyang.vue 56 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
north-glass-erp/northglass-erp/src/components/mm/PrintPackingListLuoyang.vue
@@ -131,16 +131,37 @@
              <tbody>
              <template v-for="(itemDatile,index) in item.detailList" :key="index">
                <tr style="width: 100%;">
                  <td colspan="1" style="font-weight: bold">加工品种:</td>
                  <td colspan="4"><el-input class="textarea" type="textarea" :autosize="{ minRows: 2, maxRows: 20 }"  v-model="itemDatile.product_name"/></td>
                  <td colspan="5" style="font-weight: bold">加工品种:</td>
                </tr>
                <tr style="width: 100%;">
                  <td colspan="5"><el-input class="textarea" type="textarea" :autosize="{ minRows: 2, maxRows: 20 }"  v-model="itemDatile.product_name"/></td>
                </tr>
                <template v-for="(item,index) in itemDatile.detailList" :key="index">
                  <tr style="width: 100%;margin-top: 20px">
                    <td style="font-size: 10px">{{ item.building_number }}</td>
                  <tr style="width: 100%;margin-top: 20px" >
                    <td style="font-size: 9px;height:50px ">{{ item.building_number }}</td>
                    <td style="font-weight: bold">{{ item.width }}</td>
                    <td style="font-weight: bold">{{ item.height }}</td>
                    <td style="font-weight: bold">{{ item.quantity }}</td>
                    <td>{{ item.area }}</td>
                  </tr>
                  <tr  v-if=" (index+1)%10 === 0 || (index+1)===itemDatile.detailList.length"
                       style="border: 0;font-size: 10px"
                       :class="(index+1)%10 === 0 ? 'print-container' : ''">
                    <td colspan="5" style="border: 0;">
                      <div style="display:flex;">
                        <div>地址:洛阳国家高新技术开发区张庄</div>&nbsp;&nbsp;&nbsp;&nbsp;
                        <div>电话:0379-64312861.64331830</div>
                      </div>
                      <div style="display:flex;">
                        <div>http://www.northglass.com</div>&nbsp;&nbsp;&nbsp;&nbsp;
                        <div>传真:0379-64332066</div>
                      </div>
                      <div style="display:flex;">
                        <div>E-mail:luoyang@northglass.com</div>&nbsp;&nbsp;&nbsp;&nbsp;
                        <div>邮编:471003</div>
                      </div>
                    </td>
                  </tr>
                </template>
              </template>
@@ -155,23 +176,7 @@
              </tbody>
              <tfoot >
              <tr style="border: 0;font-size: 10px">
                <td colspan="5" style="border: 0;">
                  <div style="display:flex;">
                    <div>地址:洛阳国家高新技术开发区张庄</div>&nbsp;&nbsp;&nbsp;&nbsp;
                    <div>电话:0379-64312861.64331830</div>
                  </div>
                  <div style="display:flex;">
                    <div>http://www.northglass.com</div>&nbsp;&nbsp;&nbsp;&nbsp;
                    <div>传真:0379-64332066</div>
                  </div>
                  <div style="display:flex;">
                    <div>E-mail:luoyang@northglass.com</div>&nbsp;&nbsp;&nbsp;&nbsp;
                    <div>邮编:471003</div>
                  </div>
                </td>
              </tr>
              </tfoot>
            </table>
          </div>
@@ -220,7 +225,6 @@
    margin: 4mm 5mm 0mm 5mm  /* this affects the margin in the printer settings */
  }
  thead{
    display: table-header-group;
  }
@@ -230,14 +234,14 @@
  tr {
    page-break-inside: avoid;
  }
  .print-container{
    page-break-after: always;
  }
  tfoot {
  .foot_tr {
    display: table-footer-group;
    /* position: fixed;
     width: 50%;
     position: fixed;
     bottom: 0;
     height: 100px;*/
  }
}