diff --git a/src/views/ManufacturingCenter/ProjectPlanningManagement/index.vue b/src/views/ManufacturingCenter/ProjectPlanningManagement/index.vue index 2a4deda7..343f5ab1 100644 --- a/src/views/ManufacturingCenter/ProjectPlanningManagement/index.vue +++ b/src/views/ManufacturingCenter/ProjectPlanningManagement/index.vue @@ -401,22 +401,18 @@ export default { }) }, typeChange() { - if (this.projectValue === '' || this.projectValue === null) { - this.toolNumValue = '' - this.toolNum = [] - } else { - getToolNum(1, this.projectValue).then(response => { - for (let i = 0; i < response.data.length; i++) { - this.toolNum.push({ - label: response.data[i].机床图号, - value: response.data[i].机床流水号 - }) - } - }) - } + this.toolNumValue = '' + this.toolNum = [] + getToolNum(1, this.projectValue).then(response => { + for (let i = 0; i < response.data.length; i++) { + this.toolNum.push({ + label: response.data[i].机床图号, + value: response.data[i].机床流水号 + }) + } + }) }, groupChange(row, index) { - console.log(row.组件流水号) if (row.组件流水号 !== '') { searchgroupName(row.组件流水号).then(response => { console.log(response.data)