guoyujie
2025-07-28 ae43708cd03faca949374fcc3ea3ab2f7716fa76
调整前端打印字体大小与位置
4个文件已修改
56 ■■■■■ 已修改文件
north-glass-erp/northglass-erp/src/components/sd/delivery/PrintSheetLuoyang.vue 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
north-glass-erp/northglass-erp/src/components/sd/delivery/PrintSheetLuoyangDetails.vue 28 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
north-glass-erp/northglass-erp/src/components/sd/order/OrderProcess.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
north-glass-erp/src/main/resources/mapper/sd/OrderMapper.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
north-glass-erp/northglass-erp/src/components/sd/delivery/PrintSheetLuoyang.vue
@@ -258,7 +258,7 @@
          <td colspan="6">
            <el-row :gutter="20">
              <el-col :span="2"></el-col>
              <el-col :span="12" style="font-size: 17px;font-weight: bold"> {{delivery.orderId }}</el-col>
              <el-col :span="12" style="font-size: 16px"> {{delivery.orderId }}</el-col>
            </el-row>
          </td>
        </tr>
@@ -302,16 +302,16 @@
          </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td>
        <tr id="table-sum">
          <td style="width: 5cm"></td>
          <td style="width: 150px" ></td>
          <td style="width: 65px" >
            {{getQuantitySum(pageIndex)}}
          </td>
          <td>
            <input  style="border: 0;width: 100px" :value="getAreaSum(pageIndex)">
          <td style="width: 100px">
            <input  style="border: 0;width: 100px;font-size: 17px" :value="getAreaSum(pageIndex)">
          </td>
          <td></td>
         <td style="width: 80px"></td>
          <td v-if="props.type===1">
            {{getMoneySum(pageIndex)}}
          </td>
@@ -368,6 +368,11 @@
    bottom: 1cm;
    width: 100%; /* 或者设置成具体的宽度 */
  }
  #table-sum {
    position: absolute; /* 或者使用 relative,根据具体需求 */
    bottom: 5cm;
  }
}
.textarea{
@@ -389,4 +394,7 @@
:deep(.bbb){
  width: 5cm;
}
:deep(#table-sum td){
  font-size: 17px;
}
</style>
north-glass-erp/northglass-erp/src/components/sd/delivery/PrintSheetLuoyangDetails.vue
@@ -318,7 +318,7 @@
        <td colspan="6">
          <el-row :gutter="20">
            <el-col :span="2"></el-col>
            <el-col :span="12" style="font-size: 17px;font-weight: bold"> {{ delivery.orderId }}</el-col>
            <el-col :span="12" style="font-size: 16px"> {{ delivery.orderId }}</el-col>
          </el-row>
        </td>
      </tr>
@@ -355,7 +355,7 @@
          <td style="width: 60px">
            {{ items.quantity }}
          </td>
          <td style="width: 100px">
          <td style="width: 100px;font-size: 17px">
            <input style="border: 0;width: 100px" v-model="items.area">
          </td>
@@ -373,18 +373,18 @@
        </tr>
      </template>
      <tr>
        <td></td>
        <td></td>
        <td></td>
        <td></td>
        <td>
      <tr id="table-sum">
        <td style="width: 4cm"></td>
        <td style="width: 0.8cm"></td>
        <td style="width: 2cm"></td>
        <td style="width: 2cm"></td>
        <td style="width: 60px">
          {{ getQuantitySum(pageIndex) }}
        </td>
        <td>
          <input style="border: 0;width: 100px" :value="getAreaSum(pageIndex)">
          <input style="border: 0;width: 100px;font-size: 17px" :value="getAreaSum(pageIndex)">
        </td>
        <td></td>
        <td style="width: 80px"></td>
        <td v-if="props.type===1||props.type===3">
          {{ getMoneySum(pageIndex) }}
        </td>
@@ -448,6 +448,10 @@
    bottom: 1cm;
    width: 100%; /* 或者设置成具体的宽度 */
  }
  #table-sum {
    position: absolute; /* 或者使用 relative,根据具体需求 */
    bottom: 5cm;
  }
}
.textarea {
@@ -472,6 +476,8 @@
  font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
  font-size: 12px;
}
:deep(#table-sum td){
  font-size: 17px;
}
</style>
north-glass-erp/northglass-erp/src/components/sd/order/OrderProcess.vue
@@ -41,7 +41,7 @@
  mergeCells:[],
  toolbarConfig: {
    zoom: true,
    custom: true
    /*custom: true*/
  },
  cellClassName ({ row, column,columnIndex})  {
    if (columnIndex>10 && row.thisQuantity*1 === row.reportWorkQuantity[column.title]*1){
north-glass-erp/src/main/resources/mapper/sd/OrderMapper.xml
@@ -110,7 +110,7 @@
            sd.`order` as o
        left join mm.finished_goods_inventory as  fgi
        on o.order_id = fgi.order_id
        where  date(o.create_time)>=#{startDate} and date(o.create_time) &lt;= #{endDate}
        where  date(o.create_time) between #{startDate} and  #{endDate}
          <if test="orderType!= null and orderType != ''">
               and o.create_order = #{orderType}