| | |
| | | <tr> |
| | | <td>规格型号</td> |
| | | <td colspan="2"> |
| | | {{reportData.specifications.split("-")[1]}} |
| | | {{reportData.length==0?null:reportData.specifications.split("-")[1]}} |
| | | </td> |
| | | <td>材料厂家</td> |
| | | <td colspan="2">{{reportData.supplier}}</td> |
| | |
| | | <tr> |
| | | <td>检测依据</td> |
| | | <td colspan="2"> |
| | | {{reportData.specifications.split("-")[0]}} |
| | | {{reportData.length==0?null:reportData.specifications.split("-")[0]}} |
| | | </td> |
| | | <td>检测类别</td> |
| | | <td colspan="2">原材料</td> |
| | |
| | | }, |
| | | mounted(){ |
| | | this.arr = this.reportData.products; |
| | | if(this.reportData.length>0){ |
| | | if(this.reportData.products.length < 10){ |
| | | let size = this.reportData.products.length; |
| | | let num=10-size |
| | |
| | | required: "", |
| | | testState: null, |
| | | testValue: "", |
| | | unit: ""}) |
| | | unit: "" |
| | | }) |
| | | } |
| | | } |
| | | } |
| | | }, |
| | |
| | | padding: 0; |
| | | width:90%; |
| | | margin-left: 5%; |
| | | |
| | | .logo{ |
| | | img{ |
| | | width: 150px; |
| | | height: 60px; |
| | | } |
| | | } |
| | | |
| | | .center{ |
| | | width: 100%; |
| | | |
| | | h1{ |
| | | width:100%; |
| | | font-family: "微软雅黑" !important; |
| | | text-align: center; |
| | | } |
| | | |
| | | table{ |
| | | width:100%; |
| | | border-collapse: collapse; |
| | | font-size: 18px; |
| | | } |
| | | table,tr,th,td{ |
| | | |
| | | table, |
| | | tr, |
| | | th, |
| | | td { |
| | | border: 2px solid black; |
| | | } |
| | | tr,td,th{ |
| | | |
| | | tr, |
| | | td, |
| | | th { |
| | | padding: 15px 10px; |
| | | } |
| | | |
| | | .date-group{ |
| | | width: 90%; |
| | | margin-left: 5%; |
| | | |
| | | p{ |
| | | width: 50%; |
| | | float: left; |
| | |
| | | font-size: 18px; |
| | | } |
| | | } |
| | | |
| | | .footer{ |
| | | width:90%; |
| | | margin-left: 5%; |