| | |
| | | <el-icon class="vistion-button-icon"><DocumentCopy /></el-icon> |
| | | <el-icon class="vistion-button-icon" @click="delIcon(item)"><Delete /></el-icon> |
| | | </div> |
| | | <div class="btn-box most-vision" @click="changeV">{{changVTitle}}</div> |
| | | <div class="btn-box most-vision" @click="changeV" v-if="detail.dtos.length!=0">{{changVTitle}}</div> |
| | | <el-button @click="addVision">+ 添加新版本</el-button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="correlation-product-line">关联产线<span>千文科技</span></div> |
| | | <div class="process-main-content"> |
| | | <workmanship :isCustomization = "true"></workmanship> |
| | | <!-- isCustomization 新建/步骤 --> |
| | | <workmanship :isCustomization="true" :craftId="craftId"></workmanship> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | item.isBorder = false; |
| | | }) |
| | | this.detail.dtos[index].isBorder = true; |
| | | this.craftId = item.craftId; |
| | | this.craftId = item.id; |
| | | }, |
| | | addVision() { |
| | | this.$router.push({path: `/console/product-process/process-route/add-craft-version`,query: {id:this.id}}) |
| | | this.$router.push({path: `/console/product-process/process-route/add-craft-version`,query: {id:this.id,craftId:this.craftId}}) |
| | | }, |
| | | addRoute() { |
| | | this.$router.push({path: `/console/product-process/process-route/add-craft`,query: {id:this.id}}) |
| | |
| | | getDetail() { |
| | | this.$HTTP.get(`/api/blade-cps/craft-routing/detail?id=${this.id}`).then(res=> { |
| | | if(res.code == 200) { |
| | | if(res.data.dtos) { |
| | | if(res.data.dtos.length != 0) { |
| | | res.data.dtos.forEach(item=> { |
| | | item.isBorder = false; |
| | | }) |
| | | res.data.dtos[0].isBorder = true; |
| | | this.craftId = res.data.dtos[0].craftId; |
| | | this.craftId = res.data.dtos[0].id; |
| | | } |
| | | this.detail = res.data; |
| | | } |