| | |
| | | <el-input v-model="form.stepname" placeholder="请输入" style="width: 200px" /> |
| | | </el-form-item> |
| | | <el-form-item label="启用状态" style=" display: flex;"> |
| | | <el-select v-model="form.enable" filterable :popper-append-to-body="false" style="width: 200px" placeholder="请选择"> |
| | | <el-select |
| | | v-model="form.enable" |
| | | filterable |
| | | :popper-append-to-body="false" |
| | | style="width: 200px" |
| | | placeholder="请选择" |
| | | > |
| | | <el-option |
| | | v-for="item in enableArr" |
| | | :key="item.code" |
| | |
| | | prop="RowNum" |
| | | width="50" |
| | | label="序号" |
| | | fixed |
| | | /> |
| | | <el-table-column |
| | | prop="stepcode" |
| | | label="工序编码" |
| | | min-width="150" |
| | | sortable="custom" |
| | | /> |
| | | <el-table-column |
| | | prop="stepname" |
| | | min-width="150" |
| | | label="工序名称" |
| | | sortable="custom" |
| | | /> |
| | | <el-table-column |
| | | prop="flwtype" |
| | | min-width="150" |
| | | label="工序类型" |
| | | sortable="custom" |
| | | > |
| | |
| | | <el-table-column |
| | | prop="descr" |
| | | label="工序描述" |
| | | min-width="180" |
| | | sortable="custom" |
| | | /> |
| | | <el-table-column |
| | | prop="enable" |
| | | label="启用状态" |
| | | sortable="custom" |
| | | width="110" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div v-if="row.enable==='Y'">是</div> |
| | |
| | | <el-table-column |
| | | prop="lm_user" |
| | | label="创建人员" |
| | | width="110" |
| | | sortable="custom" |
| | | /> |
| | | <el-table-column |
| | |
| | | <el-table-column |
| | | label="关联工作站" |
| | | prop="is_eqp" |
| | | width="110" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div class="operationClass"> |
| | |
| | | <el-table-column |
| | | label="关联缺陷" |
| | | prop="is_defect" |
| | | width="110" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div class="operationClass"> |
| | |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="操作" |
| | | fixed="right" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div class="operationClass"> |
| | |
| | | |
| | | <script> |
| | | import Pagination from '@/components/Pagination' |
| | | import { AddUpdateOrganization, DeleteOrganization, OrganizationSearch, PrentOrganization } from '@/api/jcsz' |
| | | import { getCookie } from '@/utils/auth' |
| | | import { |
| | | AddUpdateStep, |
| | | DeleteStep, SaveStepAssociationDefect, |
| | |
| | | this.defectDialogVisible = false |
| | | }, |
| | | // 确认 |
| | | async defectDialogVisibleConfirm() { |
| | | async defectDialogVisibleConfirm() { |
| | | const nodeKey = this.$refs.defectTree.getCheckedKeys() |
| | | const data = [] |
| | | this.defectTree[0].children.forEach(item => { |