Commit 2b64b34b authored by chenzj's avatar chenzj

排产查询bug

parent 0da0b1e1
......@@ -651,14 +651,15 @@ export default {
async handleChangeWorkshopId() {
// this.workstationList = []
this.queryWorkunitParams.workstationId = null
// await this.hanldeGetworkstationList()
await this.hanldeGetworkstationList()
this.taskWorkunitList = []
this.currentTask = null
this.queryParams.workunitId = ''
this.getList()
},
async hanldeGetworkstationList() {
const response = await getworkstationList({workshopId: null})
let workshopId= this.queryWorkunitParams.workshopId
const response = await getworkstationList({workshopId: workshopId})
this.workstationList = response.rows
},
handleJobAssignment() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment