From b48ae202df66d4a2bf923f53893f9c12e9e1c92e Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期一, 05 八月 2024 19:37:20 +0800 Subject: [PATCH] 修改数采 --- src/components/do/b1-ins-order/add.vue | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/components/do/b1-ins-order/add.vue b/src/components/do/b1-ins-order/add.vue index 69407e2..82d2257 100644 --- a/src/components/do/b1-ins-order/add.vue +++ b/src/components/do/b1-ins-order/add.vue @@ -429,9 +429,9 @@ <el-table-column prop="proNum" label="寰呮椤规暟閲�" width="105" align="center"></el-table-column> </el-table> <el-table class="el-table" ref="productTable" :data="productList" height="380px" tooltip-effect="dark" border - @selection-change="selectProduct" style="margin-bottom: 10px;" @select="upProductSelect" :row-key="rowKey" + @selection-change="selectProduct" style="margin-bottom: 10px;" @select="upProductSelect" :row-class-name="tableRowClassName" v-loading="getProductLoad" @select-all="handleAll"> - <el-table-column type="selection" width="65" :selectable="selectable" v-if="active==1" :reserve-selection="true"></el-table-column> + <el-table-column type="selection" width="65" :selectable="selectable" v-if="active==1"></el-table-column> <el-table-column prop="inspectionItemClass" v-if="PROJECT === '瑁呭鐢电紗'" label="妫�楠岄」鍒嗙被" min-width="140" show-overflow-tooltip></el-table-column> <el-table-column prop="inspectionItemClassEn" v-if="PROJECT === '瑁呭鐢电紗'" label="妫�楠岄」鍒嗙被(EN)" min-width="140" show-overflow-tooltip></el-table-column> <el-table-column prop="inspectionItem" label="妫�楠岄」" min-width="140" show-overflow-tooltip> @@ -1848,7 +1848,8 @@ state, id: this.currentId, companyId:this.addObj.companyId, - laboratory:this.addObj.laboratory + laboratory:this.addObj.laboratory, + company: this.addObj.company }, { headers: { 'Content-Type': 'application/json' @@ -2085,9 +2086,6 @@ }) this.$refs.sampleTable.doLayout() }, - rowKey (row) { - return row.id; - }, selectProduct(val) { this.productListSelected = val this.productIds = [] -- Gitblit v1.9.3