| | |
| | | return request({ |
| | | url: '/mes/product/isProductionCounting', |
| | | method: 'get', |
| | | params: query |
| | | params: query |
| | | }) |
| | | } |
| | | |
| | | export function qualifiedLocation(id) { |
| | | export function qualifiedLocation(query) { |
| | | return request({ |
| | | url: '/mes/product/qualifiedLocation/' + id, |
| | | method: 'get' |
| | | url: '/mes/product/qualifiedLocation', |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | | } |
| | |
| | | this.$message.error('最多只能选择1条记录进行提交!') |
| | | return false |
| | | } else { |
| | | qualifiedLocation(this.multipleSelection[0].workstationId).then(res => { |
| | | qualifiedLocation({ |
| | | workstationId: this.multipleSelection[0].workstationId, |
| | | operationTaskId: this.currOperateTask.id |
| | | }).then(res => { |
| | | this.options = res.data.data |
| | | if (this.options.length > 1) { |
| | | this.dialogVisible = true |