| | |
| | | } |
| | | |
| | | const Url = '' |
| | | const changeBold = (e) =>{ |
| | | if(e.currentTarget.className !=='bold'){ |
| | | e.currentTarget.className ='bold' |
| | | }else{ |
| | | e.currentTarget.className ='' |
| | | } |
| | | |
| | | } |
| | | |
| | | </script> |
| | | |
| | |
| | | </tr> |
| | | <tr> |
| | | <th class="title-1">生产单号</th> |
| | | <th colspan="3">{{data.order.orderId}}</th> |
| | | <th colspan="3"> <el-text>{{data.order.orderId}}<el-text style="font-size: 12px;font-weight: bolder">(对应单号{{data.order.batch}})</el-text></el-text></th> |
| | | <th class="title-1">下单日期</th> |
| | | <th colspan="3">{{data.order.createTime}}</th> |
| | | <th class="title-1">订单类型</th> |
| | |
| | | <th>包装</th> |
| | | <th colspan="3">{{data.order.packType}}</th> |
| | | </tr> |
| | | |
| | | |
| | | <tr> |
| | | <th >序号</th> |
| | | <th >{{company.columnName}}</th> |
| | |
| | | <template v-for="(item1,index1) in item.productDetail" :key="index1"> |
| | | <tr > |
| | | <td>{{item1.orderNumber}}</td> |
| | | <td>{{ item1.otherColumns?.S02}}</td> |
| | | <td class="notChangeRow">{{ item1.otherColumns?.S02}}</td> |
| | | <td>{{ item1.otherColumns?.S03}}</td> |
| | | <td class="notChangeRow">{{ item1.otherColumns?.S01}}</td> |
| | | <td>{{item1.width}}*{{item1.height}}</td> |
| | |
| | | <!-- }}--> |
| | | </tr> |
| | | |
| | | <tr v-if="item1.differentSize"> |
| | | <tr v-if="item1.differentSize || item1.bendRadius"> |
| | | <td></td> |
| | | <td>标记</td> |
| | | <td colspan="4">半成品名称</td> |
| | | <td>下料-宽</td> |
| | | <td>弧长</td> |
| | | <td>下料-高</td> |
| | | <td>拱高</td> |
| | | <td>内拱高</td> |
| | | |
| | | <td colspan="7"></td> |
| | | </tr> |
| | | <tr v-if="item1.differentSize" v-for="(item2,index2) in item1.orderGlassDetails" :key="index2" > |
| | | <tr v-if="item1.differentSize || item1.bendRadius" v-for="(item2,index2) in item1.orderGlassDetails" :key="index2" > |
| | | |
| | | <td style="border: 0"></td> |
| | | <td>{{ item2.technologyNumber }}</td> |
| | | <td>#{{ item2.technologyNumber }}</td> |
| | | <td colspan="4"> {{item2.glassChild}}</td> |
| | | <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> |
| | |
| | | <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> |
| | |
| | | </template> |
| | | |
| | | <style scoped> |
| | | *{ |
| | | font-weight: bold; |
| | | } |
| | | #sheet{ |
| | | width: 98%; |
| | | height: 100%; |
| | |
| | | margin: 5mm; /* 设置打印页面的边距 */ |
| | | } |
| | | } |
| | | .bold { |
| | | font-weight: bold; |
| | | font-size: 16px; |
| | | } |
| | | </style> |