guoyujie
8 天以前 bfb2de990eb9cdb3f1bf8dfbdab5135f78b7dc6f
north-glass-erp/northglass-erp/src/components/pp/PrintProcess.vue
@@ -92,6 +92,7 @@
        //流程卡
        request.post(`/processCard/getSelectPrinting/${merge}/${like}/${merges}/${props.flashback}/${compound}/${props.landingSequence}`, data.value).then((res) => {
          if (res.code == 200) {
            console.log(res.data.data)
            load(res.data.data)
          } else {
            ElMessage.warning(res.msg)
@@ -170,13 +171,15 @@
      totalArea = add(totalArea, collection.total_area)
      //根据有几层计算重量
      for (let j = 0; j < produceList.value[i].detail.length; j++) {
        if (produceList.value[i].detail[j].technologyNumber.length>1){
          totalWeight += collection.weight * collection.quantity  * 1;
       let ceng = produceList.value[i].detail[j].technologyNumber.length
        if (produceList.value[i].processName!=""){
          for (let k = 0; k < produceList.value[i].detail[j].technologyNumber.length; k++) {
            totalWeight += collection.width * collection.height * collection.quantity / 1000000 * collection.separation * 2.5 * 1;
          }
        }else {
          totalWeight += collection.width * collection.height * collection.quantity / 1000000 * collection.separation * 2.5 * 1;
        }
      }
      //每个序号周长
@@ -367,7 +370,8 @@
      <td v-if="name=='天津北玻玻璃工业技术有限公司(TJBB-QR7.1-01)'"  colspan="4">{{ itemTr.other_remarks }}</td>
      <td v-else colspan="4">{{ itemTr.edging_type }}</td>
      <td class="tdNowrap">单片名称:</td>
      <td colspan="3">{{ itemTr.glass_child }}</td>
      <td v-if="!company.processFontSize" colspan="3">{{ itemTr.glass_child }}</td>
      <td v-else colspan="3" 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>
@@ -595,7 +599,10 @@
  @page {
    size: auto;  /* auto is the initial value */
    margin: 4mm 5mm 10mm 5mm  /* this affects the margin in the printer settings */
    margin: 4mm 5mm 10mm 5mm;  /* this affects the margin in the printer settings */
    @top-right {
      content: none !important;
    }
  }