增加参数
This commit is contained in:
parent
2d7ff3bf90
commit
41127de9f0
|
|
@ -468,6 +468,7 @@ export default {
|
||||||
this.codeDetails = true
|
this.codeDetails = true
|
||||||
} else {
|
} else {
|
||||||
getScrapReturnNumDetailsApi({
|
getScrapReturnNumDetailsApi({
|
||||||
|
taskId: this.sendParamsReturn.taskId,
|
||||||
parentId: data.parentId,
|
parentId: data.parentId,
|
||||||
typeId: data.typeId,
|
typeId: data.typeId,
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
|
|
@ -543,6 +544,7 @@ export default {
|
||||||
? data.parentIds
|
? data.parentIds
|
||||||
: data.parentId,
|
: data.parentId,
|
||||||
typeId,
|
typeId,
|
||||||
|
taskId: this.sendParamsReturn.taskId,
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
this.$message.success('已撤回')
|
this.$message.success('已撤回')
|
||||||
this.$refs.homeTbRef.getList()
|
this.$refs.homeTbRef.getList()
|
||||||
|
|
@ -645,6 +647,7 @@ export default {
|
||||||
const numReturnParams = {
|
const numReturnParams = {
|
||||||
arr: [],
|
arr: [],
|
||||||
flag: 0,
|
flag: 0,
|
||||||
|
taskId: this.sendTbParams.taskId,
|
||||||
}
|
}
|
||||||
console.log(hgNum, wxNum, bfNum, '各数量')
|
console.log(hgNum, wxNum, bfNum, '各数量')
|
||||||
|
|
||||||
|
|
@ -877,6 +880,12 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
const res = await getScrapReturnCompleteApi(endBackParams)
|
const res = await getScrapReturnCompleteApi(endBackParams)
|
||||||
|
|
||||||
|
if (res.code == 200) {
|
||||||
|
this.$message.success('退料成功!')
|
||||||
|
}
|
||||||
|
|
||||||
|
this.$emit('closeReturnPage')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue