From b22ca897c863fc34f6f8f9a13c3e303f9f34c180 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期二, 28 五月 2024 15:19:23 +0800
Subject: [PATCH] 光纤配置对接检验项目信息部分字段
---
src/components/do/b1-ins-order/fiberoptic-config.vue | 41 ++++++++++++++++++++++++++---------------
1 files changed, 26 insertions(+), 15 deletions(-)
diff --git a/src/components/do/b1-ins-order/fiberoptic-config.vue b/src/components/do/b1-ins-order/fiberoptic-config.vue
index dc83943..26a9f8a 100644
--- a/src/components/do/b1-ins-order/fiberoptic-config.vue
+++ b/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
}
}
}
--
Gitblit v1.9.3