增加参数

This commit is contained in:
BianLzhaoMin 2024-07-18 09:09:12 +08:00
parent 2d7ff3bf90
commit 41127de9f0
1 changed files with 9 additions and 0 deletions

View File

@ -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')
} }
}, },