| | |
| | | </span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="条件" min-width="140" prop="radius" show-overflow-tooltip> |
| | | <el-table-column label="试验条件" min-width="140" prop="radius" show-overflow-tooltip> |
| | | <template slot-scope="scope"> |
| | | <el-input v-if="(active == 1 || tabIndex == 4) && (isAskOnlyRead || isSpecial)" v-model="scope.row.radius" |
| | | :autosize="{ minRows: 1, maxRows: 3 }" clearable placeholder="条件" size="small" type="textarea" |
| | | :autosize="{ minRows: 1, maxRows: 3 }" clearable placeholder="试验条件" size="small" type="textarea" |
| | | @change="e => requestChange(e, scope.row, 'radius')"> |
| | | </el-input> |
| | | <span v-else>{{ scope.row.radius }}</span> |
| | |
| | | }; |
| | | this.addObj.type = String(this.addObj.type) |
| | | this.sampleList = this.HaveJson(res.data.sampleProduct); |
| | | this.sampleList.forEach(m => { |
| | | if (m.standardMethodListId) { |
| | | m.standardMethodListId = JSON.parse(m.standardMethodListId) |
| | | } |
| | | }) |
| | | this.specialStandardMethod = this.sampleList[0].specialStandardMethod |
| | | this.getProNum() |
| | | this.addObj.sampleNum = this.sampleList.length |
| | |
| | | }) |
| | | } else { |
| | | // 常规提交 |
| | | sampleList.forEach(m => { |
| | | m.standardMethodListId = JSON.stringify(m.standardMethodListId) |
| | | }) |
| | | addInsOrder({ insOrder: this.addObj, sampleList: sampleList }).then(res => { |
| | | this.saveLoad = false |
| | | this.$message.success('已提交') |