代码优化

This commit is contained in:
BianLzhaoMin 2024-08-19 16:34:03 +08:00
parent b16749202c
commit f40a8a5119
1 changed files with 3 additions and 2 deletions

View File

@ -745,7 +745,7 @@ export default {
this.$message.error('请勾选需要入库的数据!') this.$message.error('请勾选需要入库的数据!')
return return
} }
this.passLoading = true
this.ids.forEach((item) => { this.ids.forEach((item) => {
item.taskId = this.query.taskId item.taskId = this.query.taskId
item.typeId = item.typeId item.typeId = item.typeId
@ -756,8 +756,9 @@ export default {
let param = { let param = {
taskId: this.query.taskId, taskId: this.query.taskId,
checkResult: '1', checkResult: '1',
inputRecordList: deviceList, inputRecordList: this.ids,
} }
this.passLoading = true
changePutinStatus(param) changePutinStatus(param)
.then((response) => { .then((response) => {
if (response.code == 200) { if (response.code == 200) {