李林
2024-03-12 b67db3c5770e0ecc0b8a36b9c297aee16aa44227
src/components/view/b2-standard.vue
@@ -152,19 +152,19 @@
               @selection-change="handleSelectionChange">
               <el-table-column type="selection" width="65"></el-table-column>
               <el-table-column prop="inspectionItem" label="检验项" show-overflow-tooltip></el-table-column>
               <el-table-column prop="inspectionItemClassify" label="检验项类型" width="120" show-overflow-tooltip></el-table-column>
               <el-table-column prop="inspectionItemSubclass" label="检验项小类" width="120" show-overflow-tooltip></el-table-column>
               <!-- <el-table-column prop="inspectionItemClassify" label="检验项类型" width="120" show-overflow-tooltip></el-table-column> -->
               <el-table-column prop="inspectionItemSubclass" label="检验项子项" show-overflow-tooltip></el-table-column>
               <el-table-column prop="laboratory" label="实验室" width="120" show-overflow-tooltip></el-table-column>
               <el-table-column prop="unit" label="计量单位" width="100" show-overflow-tooltip></el-table-column>
               <el-table-column prop="price" label="单价" width="100" show-overflow-tooltip></el-table-column>
               <el-table-column prop="manHour" label="工时" width="80" show-overflow-tooltip></el-table-column>
               <el-table-column prop="manHourGroup" label="工时分组" width="100" show-overflow-tooltip></el-table-column>
               <el-table-column prop="deviceGroup" label="设备组" show-overflow-tooltip></el-table-column>
               <el-table-column prop="deviceGroup" label="设备组" width="120" show-overflow-tooltip></el-table-column>
               <el-table-column prop="section" label="区间" width="120" show-overflow-tooltip></el-table-column>
               <el-table-column prop="ask" label="要求值" width="220px">
                  <template slot-scope="scope">
                     <el-input size="small" placeholder="要求值" v-model="scope.row.ask" clearable
                        @change="(value)=>upStandardProductList(value,scope.row.id)" v-if="upStandardProduct"></el-input>
                        @change="(value)=>upStandardProductList(value,scope.row.id)" v-if="upStandardProduct" type="textarea" :autosize="{ minRows: 1, maxRows: 3}"></el-input>
                     <span v-else>{{scope.row.ask}}</span>
                  </template>
               </el-table-column>
@@ -366,6 +366,11 @@
            }
            this.selectTree = data2.replace(' - ', '')
            this.selectsStandardMethodByFLSSM()
            let trees = this.selectTree.split(" - ")
            this.addOb.factory = trees[0]
            this.addOb.laboratory = trees[1]
            this.addOb.sampleType = trees[2]
            this.addOb.sample = trees[3]
         },
         getNodeParent(val) {
            if (val.parent != null) {