| | |
| | | </el-form> |
| | | </div> |
| | | <div> |
| | | <div style="display: flex;justify-content: space-between;"> |
| | | <div style="display: flex;justify-content: space-between;background-color: #F5F7FB;margin-bottom: 6px"> |
| | | <div v-if="active==1"> |
| | | <el-form :inline="true" :model="addObj1" label-width="90px"> |
| | | <el-form-item label="样品型号:" style="margin-bottom: 6px"> |
| | | <el-form-item label="样品型号:" style="margin-bottom: 6px;margin-top: 6px"> |
| | | <el-select v-model="model" :placeholder="active>1 ? '' : '请输入'" |
| | | allow-create clearable default-first-option filterable |
| | | size="small" |
| | |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="检验标准:"> |
| | | <el-form-item label="检验标准:" style="margin-bottom: 6px;margin-top: 6px"> |
| | | <el-select v-model="standardMethodListId" :loading="methodLoad" |
| | | :placeholder="active>1 ? '' : '请输入'" clearable size="small" |
| | | @change="changeStandardMethodListId" @focus="methodFocus"> |
| | |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | | <div style="display: flex;align-items: center;margin-bottom: 10px"> |
| | | <div style="display: flex;align-items: center;margin-bottom: 6px;margin-top: 6px"> |
| | | <span style="width: 150px;font-size: 14px;text-align: right;">特殊标准:</span> |
| | | <el-input v-model="specialStandardMethod" :disabled="!isSpecial" clearable size="small"></el-input> |
| | | <el-button v-show="active==1" size="small" style="margin-left: 10px" |
| | |
| | | </el-table-column> |
| | | </el-table> |
| | | <el-table ref="productTable" v-loading="getProductLoad" :data="productList" :row-class-name="tableRowClassName" border class="el-table" |
| | | :key="upIndex" |
| | | max-height="400px" style="margin-bottom: 10px;" tooltip-effect="dark" |
| | | @select="selectOne" @selection-change="selectProduct" @select-all="handleAll"> |
| | | <el-table-column v-if="active==1" :selectable="selectable0" type="selection" width="65"></el-table-column> |
| | |
| | | sampleViewEn: null, |
| | | expandedKeys: [], |
| | | sampleList: [], |
| | | upIndex: 0, |
| | | sampleIds: [], |
| | | methodList: [], |
| | | addSampleDia: false, |
| | |
| | | // 编辑要求值表格 |
| | | editSpecial () { |
| | | this.isSpecial = true |
| | | this.$nextTick(() => { |
| | | this.$refs.productTable.doLayout(); |
| | | this.upIndex++ |
| | | }); |
| | | }, |
| | | getQuarterOnOrderList () { |
| | | getQuarterOnOrder().then(res => { |
| | |
| | | this.$refs.sampleTable.setCurrentRow(row) |
| | | this.$nextTick(() => { |
| | | this.$refs.productTable.doLayout(); |
| | | this.upIndex++ |
| | | }); |
| | | setTimeout(() => { |
| | | this.productList.forEach(a => { |