| | |
| | | |
| | | <template> |
| | | <div class="ins_order_add"> |
| | | <div> |
| | | <div v-show="!configShow"> |
| | | <el-row class="title"> |
| | | <el-col :span="6" style="padding-left: 20px;">委托单信息</el-col> |
| | | <el-col :span="18" style="text-align: right;"> |
| | |
| | | </el-col> |
| | | </el-row> |
| | | </div> |
| | | <div class="search"> |
| | | <div class="search" v-show="!configShow"> |
| | | <el-row> |
| | | <el-col class="search_thing" :span="6"> |
| | | <div class="search_label">委托编号:</div> |
| | |
| | | </el-col> |
| | | </el-row> |
| | | </div> |
| | | <div> |
| | | <div v-show="!configShow"> |
| | | <el-table class="el-table sampleTable" ref="sampleTable" :data="sampleList" height="250px" tooltip-effect="dark" |
| | | border @selection-change="selectSample" highlight-current-row @row-click="rowClick" style="margin-top: 10px;"> |
| | | <el-table-column type="selection" width="60" :selectable="selectable" v-if="active==1"></el-table-column> |
| | |
| | | </el-row> |
| | | </span> |
| | | </el-dialog> |
| | | <fiberOpticConfig :currentId="currentId" v-if="configShow"/> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import ValueTable from '../../tool/value-table.vue' |
| | | import fiberOpticConfig from './fiberoptic-config.vue' |
| | | export default { |
| | | components: { |
| | | ValueTable |
| | | ValueTable, |
| | | fiberOpticConfig |
| | | }, |
| | | props: { |
| | | active: { |
| | |
| | | noLoading: false, |
| | | orderType: [], |
| | | filters: [], |
| | | formType: [] |
| | | formType: [], |
| | | configShow: false |
| | | } |
| | | }, |
| | | watch: { |
| | |
| | | return row[property] === value; |
| | | }, |
| | | openConfig(){ |
| | | this.$parent.playOrder(4) |
| | | console.log(this.sampleIds); |
| | | if(this.sampleIds.length===0){ |
| | | this.$message.error("未选择样品") |
| | | return |
| | | } |
| | | this.configShow = true |
| | | } |
| | | } |
| | | } |