| | |
| | | perimeter: 0 |
| | | }) |
| | | const getData = () => { |
| | | console.log(selectedValues.value) |
| | | request.post(`/order/printOrderProductGlassDetailMonolithic/${props.orderId}`,selectedValues.value).then(res => { |
| | | data.value= res.data |
| | | productIdData.value=data.value.orderDetail |
| | |
| | | <table style="border-style: none;" > |
| | | <thead> |
| | | <tr class="title-s"> |
| | | <th colspan="13"> |
| | | <th colspan="9"> |
| | | <h1> |
| | | {{ company.companyName }} |
| | | </h1> |
| | |
| | | <tr v-if="index===0"> |
| | | <th style="width: 6%;font-weight: bold;">序</th> |
| | | <th style="width: 10%;font-weight: bold;" >楼层编号</th> |
| | | <th style="width: 20%;font-weight: bold;" colspan="1">宽(弧长)X高</th> |
| | | <th style="width: 20%;font-weight: bold;" colspan="2">切割宽(弧长)*高</th> |
| | | <th style="width: 15%;font-weight: bold;" colspan="1">宽(弧长)X高</th> |
| | | <th style="width: 20%;font-weight: bold;" colspan="1">切割宽(弧长)*高</th> |
| | | <th style="width: 10%;font-weight: bold;">数量</th> |
| | | <th style="width: 10%;font-weight: bold;">面积</th> |
| | | <th style="width: 10%;font-weight: bold;">周长</th> |
| | |
| | | <td>{{items2.order_number}}/{{items2.technology_number}}</td> |
| | | <td>{{items2.building_number}}</td> |
| | | <td colspan="1" style="font-size: 15px;font-weight: bold;" >{{items2.width}}x{{items2.height}}</td> |
| | | <td colspan="2" style="font-size: 15px;font-weight: bold;" >{{items2.child_width}}x{{items2.child_height}}/R={{items2.bend_radius}}</td> |
| | | <td colspan="1" style="font-size: 15px;font-weight: bold;" >{{items2.child_width}}x{{items2.child_height}}/R={{items2.bend_radius}}</td> |
| | | <td>{{items2.quantity}}</td> |
| | | <td>{{items2.gross_area.toFixed(2)}}</td> |
| | | <td>{{parseFloat(items2.perimeter).toFixed(2)}}</td> |
| | | <td colspan="2">{{items2.processing_note}}</td> |
| | | </tr> |
| | | <tr class="day-in" > |
| | | <td style="font-size: 15px;font-weight: bold;" colspan="5">小计:</td> |
| | | <td style="font-size: 15px;font-weight: bold;" colspan="4">小计:</td> |
| | | <td>{{getQuantity(items.orderGlassDetails)}}</td> |
| | | <td>{{getArea(items.orderGlassDetails)}}</td> |
| | | <td>{{getPerimeter(items.orderGlassDetails)}}</td> |
| | |
| | | |
| | | </template> |
| | | <tr class="day-in"> |
| | | <td style="font-size: 15px;font-weight: bold;" colspan="5">合计:</td> |
| | | <td style="font-size: 15px;font-weight: bold;" colspan="4">合计:</td> |
| | | <td>{{grossNum.quantity}}</td> |
| | | <td>{{grossNum.grossArea}}</td> |
| | | <td>{{grossNum.perimeter}}</td> |
| | | <td colspan="3"></td> |
| | | <td colspan="2"></td> |
| | | </tr> |
| | | <tr class="day-in"> |
| | | <td style="text-align: left;border-width: 0 0 0 0; border-style: solid; border-color: #d3dce6" colspan="9"> |
| | |
| | | margin: 0; |
| | | padding: 0; |
| | | } |
| | | @media print { |
| | | @page { |
| | | margin: 5mm 5mm 10mm 5mm; |
| | | } |
| | | } |
| | | |
| | | |
| | | |