licp
2024-05-28 b22ca897c863fc34f6f8f9a13c3e303f9f34c180
光纤配置对接检验项目信息部分字段
已修改1个文件
41 ■■■■■ 文件已修改
src/components/do/b1-ins-order/fiberoptic-config.vue 41 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/do/b1-ins-order/fiberoptic-config.vue
@@ -63,26 +63,27 @@
        <el-col :span="15">
          <div class="grid-content">
            <h5>检测项信息</h5>
            <el-table ref="table1" :data="tableData" tooltip-effect="dark" style="width: 100%" height="282px"
            <el-table ref="table1" :data="detectionItems" tooltip-effect="dark" style="width: 100%" height="282px"
              size="small" @selection-change="handleSelectionChange">
              <el-table-column type="selection" width="55">
              </el-table-column>
              <el-table-column label="实验室" show-overflow-tooltip>
                <template slot-scope="scope">{{ scope.row.date }}</template>
              <el-table-column label="实验室" show-overflow-tooltip prop="sonLaboratory"></el-table-column>
              <el-table-column prop="inspectionItem" label="检验项" show-overflow-tooltip>
              </el-table-column>
              <el-table-column prop="name" label="检测项目" show-overflow-tooltip>
              <el-table-column prop="inspectionItemSubclass" label="检验项子项" show-overflow-tooltip>
              </el-table-column>
              <el-table-column prop="address" label="试验方法" show-overflow-tooltip>
              <el-table-column prop="methodS" label="试验方法" show-overflow-tooltip>
              </el-table-column>
              <el-table-column prop="address" label="单价" width="70" show-overflow-tooltip>
              <el-table-column prop="price" label="单价" width="70" show-overflow-tooltip>
              </el-table-column>
              <el-table-column prop="address" label="单位" width="70" show-overflow-tooltip>
              <el-table-column prop="unit" label="单位" width="70" show-overflow-tooltip>
              </el-table-column>
              <el-table-column prop="address" label="预计时间" show-overflow-tooltip>
              <el-table-column prop="manDay" label="预计时间" show-overflow-tooltip>
              </el-table-column>
              <el-table-column prop="address" label="检测标准" show-overflow-tooltip>
              </el-table-column>
              <el-table-column prop="address" label="检测要求" show-overflow-tooltip>
              <el-table-column prop="ask" label="检测要求" show-overflow-tooltip>
                <template slot-scope="scope">
                  <el-input v-model="scope.row.ask" placeholder="请输入" size="small"></el-input>
                </template>
              </el-table-column>
            </el-table>
          </div>
@@ -147,7 +148,8 @@
              </div>
            </div>
            <el-table ref="table3" :data="fiberList" tooltip-effect="dark" style="width: 100%" height="270px"
              size="small" @selection-change="handleSelectionChange">
              size="small" @selection-change="handleSelectionChange"
              @row-click="rowClickFiber">
              <el-table-column type="selection" width="55">
              </el-table-column>
              <el-table-column prop="bushColor" label="管套色标" width="90" align="center">
@@ -199,7 +201,8 @@
        mireStandards: null,
        selectBushing: [],
        productList: [],
        fiberList: []
        fiberList: [],
        detectionItems:[]
      }
    },
    mounted() {
@@ -277,7 +280,10 @@
        }
      },
      getStandTreeBySampleType(){
        this.$axios.get(this.$api.standardTree.getStandTreeBySampleType).then(res=>{
        this.$axios.post(this.$api.standardTree.getStandTreeBySampleType,{
          laboratory: '通信产品实验室',
          sampleType:'光纤',
        }).then(res=>{
          this.mireModels = []
          res.data.forEach(a=>{
            this.mireModels.push({
@@ -288,6 +294,7 @@
        })
      },
      selectsStandardMethodByFLSSM() {
        this.mireStandards = []
        this.$axios.post(this.$api.standardTree.selectsStandardMethodByFLSSM, {
          tree: '中天科技检测中心 - 通信产品实验室 - 光纤 - ' + this.mireModel
        }).then(res => {
@@ -339,13 +346,17 @@
                bushColor: a.color,
                color: colors2[i].label,
                model: model,
                standard: standard
                standard: standard,
                productList:this.HaveJson(this.productList),
              }
              a.fiber.push(fiber)
              this.fiberList.push(fiber)
            }
          }
        })
      },
      rowClickFiber(row, column, event){
        this.detectionItems = row.productList
      }
    }
  }