代码优化
This commit is contained in:
parent
b16749202c
commit
f40a8a5119
|
|
@ -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) {
|
||||||
|
|
|
||||||
Reference in New Issue