| | |
| | | machineryList: [], |
| | | // 弹出层标题 |
| | | title: "", |
| | | // 设备类型树选项 |
| | | machineryTypeOptions: [], |
| | | //车间选项 |
| | | workshopOptions:[], |
| | | // 是否显示弹出层 |
| | | open: false, |
| | | //自动生成物料编码标识 |
| | | autoGenFlag: false, |
| | | // 表单参数 |
| | | form: {}, |
| | | defaultProps: { |
| | | children: "children", |
| | | }, |
| | | // 查询参数 |
| | | queryParams: { |
| | | pageNum: 1, |
| | |
| | | }, |
| | | // 多选框选中数据 |
| | | handleSelectionChange(selection) { |
| | | this.ids = selection.map(item => item.machineryId); |
| | | this.ids = selection.map(item => item.subjectId); |
| | | this.selectedRows = selection; |
| | | this.single = selection.length != 1; |
| | | this.multiple = !selection.length; |