guoyujie
4 天以前 2ea2f0267ea64c9332a7dacb9200c07a23ae0af7
north-glass-erp/northglass-erp/src/components/sd/order/PrintSheet2.vue
@@ -73,6 +73,14 @@
}
const Url = ''
const changeBold = (e) =>{
  if(e.currentTarget.className !=='bold'){
    e.currentTarget.className ='bold'
  }else{
    e.currentTarget.className =''
  }
}
</script>
@@ -190,7 +198,7 @@
          <td>下料-宽</td>
          <td>弧长</td>
          <td>下料-高</td>
          <td>成品拱高</td>
          <td>内拱高</td>
          <td colspan="7"></td>
        </tr>
@@ -202,7 +210,7 @@
            <td>{{item2.childWidth}}</td>
            <td>{{item2.arc}}</td>
            <td>{{item2.childHeight}}</td>
            <td>{{item1.archRise}}</td>
            <td>{{item2.archRise?item2.archRise:item1.archRise}}</td>
            <td colspan="7"></td>
          </tr>
@@ -228,7 +236,7 @@
      <tr>
        <td colspan="17" style="white-space: pre-wrap;text-align:left ">
          <template v-for="(item,index) in data.order.processingNote.split('\n')">
            {{item}}
            <el-text @click="changeBold($event)" v-for="val in item.split('')">{{val}}</el-text>
            <br>
          </template>
        </td>
@@ -239,6 +247,9 @@
</template>
<style scoped>
*{
  font-weight: bold;
}
#sheet{
  width: 98%;
  height: 100%;
@@ -297,4 +308,8 @@
    margin: 5mm; /* 设置打印页面的边距 */
  }
}
.bold {
  font-weight: bold;
  font-size: 16px;
}
</style>