| | |
| | | }, |
| | | // 对话框确认 |
| | | dialogVisibleConfirm() { |
| | | if (this.defaultroute_codeArr.length > 0 && this.defaultroute_code === '') { |
| | | return this.$message.info('默认工艺路线不能为空!') |
| | | } |
| | | |
| | | this.$refs.dialogForm.validate(valid => { |
| | | if (valid) { |
| | | this.$store.state.app.buttonIsDisabled = true |
| | |
| | | }, |
| | | // 确定 |
| | | async routeDialogVisibleConfirm() { |
| | | const temp = this.dialogFormRoute.routeOperationArr.filter(item => item.isSelected2) |
| | | if (this.defaultroute_code === '' && temp.length > 0) { |
| | | if (this.defaultroute_code === null || this.defaultroute_code === 'null') { |
| | | return this.$message.info('默认工艺路线不能为空!') |
| | | } |
| | | |