| | |
| | | <el-form-item label="工艺描述" style=" display: flex;"> |
| | | <el-input v-model="form.description" placeholder="请输入" style="width: 200px" /> |
| | | </el-form-item> |
| | | <el-form-item v-show="isExpandForm" label="创建人员" style=" display: flex;"> |
| | | <el-form-item v-if="isExpandForm" label="创建人员" style=" display: flex;"> |
| | | <el-input v-model="form.createuser" style="width: 200px" placeholder="请输入" /> |
| | | </el-form-item> |
| | | </div> |
| | |
| | | :popper-append-to-body="false" |
| | | style="width: 220px" |
| | | placeholder="请选择" |
| | | @change="wkshopcodeChange" |
| | | @change="getStepSelectArr" |
| | | > |
| | | <el-option |
| | | v-for="item in WorkShopArr" |
| | |
| | | return (res.value.toLowerCase().indexOf(queryString.toLowerCase()) !== -1) |
| | | } |
| | | }, |
| | | wkshopcodeChange() { |
| | | this.getStepSelectArr() |
| | | }, |
| | | // 工艺设置 下拉获取所有 |
| | | async getStepSelectArr() { |
| | | const { data: res } = await StepSelect({ WorkShop: this.dialogForm.wkshopcode }) |
| | |
| | | this.operation = operation |
| | | this.dialogVisible = true |
| | | |
| | | if (this.$store.state.settings.orgType === 'W') { |
| | | this.getStepSelectArr() |
| | | } |
| | | // if (this.$store.state.settings.orgType === 'W') { |
| | | this.getStepSelectArr() |
| | | // } |
| | | }, |
| | | // 工艺路线预览 |
| | | async edit(operation, row) { |