value
2023-09-01 a48d89e9821e7bfeed78fa5185433facf13ca003
src/components/experiment/checkTheReport/index.vue
@@ -13,7 +13,7 @@
                <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>
@@ -27,7 +27,7 @@
                <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>
@@ -83,6 +83,7 @@
    },
    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
@@ -93,7 +94,9 @@
                    required: "",
                    testState: null,
                    testValue: "",
                    unit: ""})
                     unit: ""
                  })
               }
            }
        }
    },
@@ -120,33 +123,46 @@
        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;
@@ -155,6 +171,7 @@
                    font-size: 18px;
                }
            }
            .footer{
                width:90%;
                margin-left: 5%;