| | |
| | | <i class="el-icon-document"></i> |
| | | 车间附件查看 |
| | | </el-button> |
| | | <el-dialog :visible.sync="fileDialogVisible" title="附件查看" width="80%"> |
| | | <fileList :currentNo="addObj.workShopId" v-if="fileDialogVisible" /> |
| | | </el-dialog> |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | | <el-button type="text" @click="handleFileDialog" v-show="active != 1"> |
| | | <i class="el-icon-document"></i> |
| | | 车间附件查看 |
| | | </el-button> |
| | | <el-dialog :visible.sync="fileDialogVisible" title="附件查看" width="80%"> |
| | | <fileList :currentNo="addObj.workShopId" v-if="fileDialogVisible" :isLook="true" /> |
| | | </el-dialog> |
| | | <div style="margin-bottom: 6px;margin-top: 6px"> |
| | | <el-button v-show="active == 1" :disabled="sampleList.length === 2" size="small" type="primary" |
| | | @click="handleSplitCountNum">拆分</el-button> |
| | |
| | | this.sample.insulating = null |
| | | this.sample.sheath = null |
| | | this.sample.quantity = 1 |
| | | if (codeLevel === '[5]') { |
| | | if (codeLevel === '[7]') { |
| | | this.sample.model = this.addObj.sample |
| | | } else if (codeLevel === '[4]') { |
| | | } else if (codeLevel === '[6]') { |
| | | this.models = data.children2 |
| | | } else if (codeLevel === '[3]') { |
| | | } else if (codeLevel === '[5]') { |
| | | this.models = data.children1 |
| | | } |
| | | this.sampleList.push(this.HaveJson(this.sample)) |