| | |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="10"> |
| | | <el-col :span="12"> |
| | | <el-col :span="12" v-if="packageInfo.ismiers"> |
| | | <div class="grid-content"> |
| | | <h5>光纤带 |
| | | <el-button size="mini" type="primary" class="btns" @click="addFibers" |
| | | :disabled="packageInfo.ismiers===false||miresModel===null||miresStandard===null" v-if="active==1">生成光纤带</el-button> |
| | | :disabled="miresModel===null||miresStandard===null" v-if="active==1">生成光纤带</el-button> |
| | | <el-button size="mini" class="btns" @click="clearFibers" :disabled="selectBushing.length === 0" v-if="active==1">清除</el-button> |
| | | </h5> |
| | | <div |
| | |
| | | </el-table> |
| | | </div> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-col :span="!packageInfo.ismiers?24:12"> |
| | | <div class="grid-content"> |
| | | <h5>光纤<el-button size="mini" type="primary" class="btns" @click="addFiber" |
| | | :disabled="mireModel===null||mireStandard===null" v-if="active==1">光纤配色</el-button></h5> |
| | |
| | | this.miresModels = [] |
| | | res.data.forEach(a => { |
| | | this.miresModels.push({ |
| | | label: a.sample, |
| | | value: a.sample |
| | | label: a.model, |
| | | value: a.model |
| | | }) |
| | | }) |
| | | }) |
| | |
| | | this.bsm2 = false |
| | | } |
| | | } |
| | | if (p.ask.includes('RTS')&&p.state === 1) { |
| | | p.rts = '' |
| | | this.bsm3Val = '' |
| | | this.bsm3Dia = true |
| | | this.bsmRow3.push(p) |
| | | } |
| | | // if (p.ask.includes('RTS')&&p.state === 1) { |
| | | // p.rts = '' |
| | | // this.bsm3Val = '' |
| | | // this.bsm3Dia = true |
| | | // this.bsmRow3.push(p) |
| | | // } |
| | | }) |
| | | |
| | | if (e.length > 0) { |
| | |
| | | }else{ |
| | | this.bsm1Dia = false |
| | | } |
| | | if (row.ask.includes('RTS')&&row.state === 1) { |
| | | this.bsmRow3 = null; |
| | | row.rts = '' |
| | | this.bsm3Val = '' |
| | | this.bsm3Dia = true |
| | | this.bsmRow3 = row |
| | | }else{ |
| | | this.bsm3Dia = false |
| | | } |
| | | // if (row.ask.includes('RTS')&&row.state === 1) { |
| | | // this.bsmRow3 = null; |
| | | // row.rts = '' |
| | | // this.bsm3Val = '' |
| | | // this.bsm3Dia = true |
| | | // this.bsmRow3 = row |
| | | // }else{ |
| | | // this.bsm3Dia = false |
| | | // } |
| | | }, |
| | | computationalPairing(n){ |
| | | const nums = []; |