| | |
| | | </div> |
| | | <div style="flex: 1;overflow-y: auto;" v-loading="productTableLoading0"> |
| | | <el-table :data="productList0" ref="productTable0" style="width: 100%;" height="94%" tooltip-effect="dark" |
| | | stripe :fit="true" border @select-all="handleSelectAll0" @select="handleSelectionChange0" filter-placement="bottom-start" |
| | | stripe :fit="true" border @select-all="handleSelectAll0" @select="handleSelectionChange0" |
| | | header-row-class-name="header-class" :row-key="row=>row.id" @filter-change="filterHandler"> |
| | | <el-table-column type="selection" width="50"> |
| | | </el-table-column> |
| | | <el-table-column prop="model" label="型号" min-width="100" show-overflow-tooltip></el-table-column> |
| | | <el-table-column prop="inspectionItem" label="检验项" min-width="140" show-overflow-tooltip :filters="filters0" |
| | | :filter-multiple="false" column-key="inspectionItem"></el-table-column> |
| | | :filter-multiple="false" column-key="inspectionItem" filter-placement="bottom-start"></el-table-column> |
| | | <el-table-column prop="inspectionItemSubclass" label="检验项子项" min-width="140" show-overflow-tooltip |
| | | :filters="filters1" :filter-multiple="false" column-key="inspectionItemSubclass"></el-table-column> |
| | | :filters="filters1" :filter-multiple="false" column-key="inspectionItemSubclass" filter-placement="bottom-start"></el-table-column> |
| | | <el-table-column prop="sonLaboratory" label="子实验室" width="130" show-overflow-tooltip :filters="filters" |
| | | :filter-multiple="false" column-key="sonLaboratory"></el-table-column> |
| | | :filter-multiple="false" column-key="sonLaboratory" filter-placement="bottom-start"></el-table-column> |
| | | <el-table-column prop="ask" label="要求值" min-width="200px"></el-table-column> |
| | | <el-table-column prop="tell" label="要求描述" min-width="220px"></el-table-column> |
| | | <el-table-column prop="methodS" label="试验方法" width="200"></el-table-column> |
| | |
| | | }, |
| | | methodList: [], |
| | | productTableLoading0: false, |
| | | filters0: [{ |
| | | text: '测试', |
| | | value: 0, |
| | | }, |
| | | { |
| | | text: '测试1', |
| | | value: 1, |
| | | }, |
| | | { |
| | | text: '测试2', |
| | | value: 2, |
| | | } |
| | | ], |
| | | filters1: [{ |
| | | text: '测试', |
| | | value: 0, |
| | | }, |
| | | { |
| | | text: '测试1', |
| | | value: 1, |
| | | }, |
| | | { |
| | | text: '测试2', |
| | | value: 2, |
| | | } |
| | | ], |
| | | filters0: [], |
| | | filters1: [], |
| | | pages: 1, |
| | | inspectionItem: null, |
| | | inspectionItemSubclass: null, |
| | |
| | | return this.$message.error('请选择检验项') |
| | | } |
| | | this.moreEditLoad = true |
| | | for(let a in this.moreInfo){ |
| | | if(this.moreInfo[a]==''){ |
| | | delete this.moreInfo[a] |
| | | } |
| | | } |
| | | this.$axios.post(this.$api.standardTree.upStandardProducts, { |
| | | ids: this.moreSelects.map(a => a.id), |
| | | ids: JSON.stringify(this.moreSelects.map(a => a.id)), |
| | | standardProductList: this.moreInfo |
| | | }, { |
| | | headers: { |