| | |
| | | </el-table-column> |
| | | <el-table-column width="130" :show-overflow-tooltip='true' label="工艺流程编码" align="center" prop="routeCode"> |
| | | </el-table-column> |
| | | <el-table-column width="100" label="操作" align="center" class-name="small-padding fixed-width"> |
| | | <el-table-column width="200" label="操作" align="center" class-name="small-padding fixed-width"> |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | size="mini" |
| | |
| | | // 弹出层标题 |
| | | title: "", |
| | | queryRouteCode: "", |
| | | queryRouteId: "", |
| | | // 是否显示弹出层 |
| | | open: false, |
| | | // 查询参数 |
| | |
| | | id: [ |
| | | { required: true, message: "主键id不能为空", trigger: "blur" } |
| | | ], |
| | | processesName: [ |
| | | { required: true, message: "工序名称不能为空", trigger: "blur" } |
| | | ], |
| | | stepNo: [ |
| | | { required: true, message: "加工工序不能为空", trigger: "blur" } |
| | | ], |
| | |
| | | }, |
| | | created() { |
| | | let routeCode = this.$route.query.routeCode; |
| | | let routeId = this.$route.query.routeId; |
| | | alert(routeId) |
| | | this.queryParams.routeCode = routeCode |
| | | this.queryRouteCode = routeCode |
| | | this.queryRouteId = routeId |
| | | this.getList(); |
| | | this.headerInformation(); |
| | | this.getProcesses(); |
| | |
| | | updateUser: null, |
| | | updateTime: null, |
| | | remark: null, |
| | | routeId: null, |
| | | routeCode: null, |
| | | spareField1: null, |
| | | spareField2: null, |
| | |
| | | /** 提交按钮 */ |
| | | submitForm() { |
| | | this.form.routeCode = this.queryRouteCode; |
| | | this.form.routeId = this.queryRouteId; |
| | | this.$refs["form"].validate(valid => { |
| | | if (valid) { |
| | | if (this.form.id != null) { |