guoyujie
1 天以前 33c054fb8479c7439c9031aeb84a895718e6465e
Merge branch 'master' of http://10.153.19.25:10101/r/ERP_override
2个文件已修改
95 ■■■■ 已修改文件
north-glass-erp/northglass-erp/src/components/pp/PrintProcessReplenish.vue 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
north-glass-erp/northglass-erp/src/views/pp/processCard/PrintProgressProcessCard.vue 34 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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>
north-glass-erp/northglass-erp/src/views/pp/processCard/PrintProgressProcessCard.vue
@@ -34,10 +34,7 @@
})
onMounted(()=>{
  getTags()
  filterData.value = orderInfo.selectProcessCardFilter.data
  orderInfo.selectProcessCardFilter.list.forEach(item =>{
    xGrid.value.getColumnByField(item.field).filters = item.column.filters
  })
  //启用表格拖动选中
  addListener(xGrid.value, gridOptions)
  if(props.orderId===null  || props.orderId===undefined || props.orderId===''){
@@ -397,16 +394,16 @@
            ElMessage.warning(t('searchOrder.msgList.checkOrder'))
            return
          }
          let id = ""
          for (let i = 0; i < selectRecords.length; i++) {
            if (i + 1 === selectRecords.length) {
              id += selectRecords[i].id
            } else {
              id += selectRecords[i].id + "|"
            }
          }
          printRow.value.list = JSON.stringify(selectRecords)
          //去除重复的勾选内容
          const uniqueRecords = Array.from(
              new Map(
                  selectRecords.map(item => [
                    `${item.process_id}_${item.technology_number}`,
                    item
                  ])
              ).values()
          )
          printRow.value.list = JSON.stringify(uniqueRecords)
          printRow.value.printMergeVal = printMerge.value
          printRow.value.like = null
          printRow.value.merge = company.flowCardMerge
@@ -429,14 +426,6 @@
            return
          }
          let id = ""
          for (let i = 0; i < selectRecords.length; i++) {
            if (i + 1 === selectRecords.length) {
              id += selectRecords[i].id
            } else {
              id += selectRecords[i].id + "|"
            }
          }
          lastList.value = []
          labelRow.value.list = JSON.stringify(selectRecords)
          labelRow.value.faceOrientation = faceOrientation
@@ -543,6 +532,7 @@
          :merge-cells="mergeCells"
          @cell-dblclick="handleCellDblClick"
          v-on="gridEvents"
          :checkbox-config="{labelField: 'name', highlight: true, range: true}"
      >
        <!--      @toolbar-button-click="toolbarButtonClickEvent"-->