fix(wms/coil): 注释待操作列表完成标记逻辑并传递actionId

临时注释了根据actionId完成待操作任务的代码,同时在调用接口时传入当前actionId参数
This commit is contained in:
2026-05-19 15:39:53 +08:00
parent 51cca2796d
commit 9a58fa2b30
2 changed files with 8 additions and 10 deletions

View File

@@ -680,7 +680,7 @@ export default {
})) }))
}; };
const response = await splitMaterialCoil(splitData); const response = await splitMaterialCoil({ ...splitData, actionId: this.actionId });
if (response.code === 200) { if (response.code === 200) {
this.$message.success('分条保存成功'); this.$message.success('分条保存成功');
@@ -698,9 +698,9 @@ export default {
})); }));
// 如果是从待操作列表进来的,标记操作为完成 // 如果是从待操作列表进来的,标记操作为完成
if (this.actionId) { // if (this.actionId) {
await completeAction(this.actionId, response.msg); // await completeAction(this.actionId, response.msg);
} // }
// 延迟返回,让用户看到成功提示 // 延迟返回,让用户看到成功提示
setTimeout(() => { setTimeout(() => {

View File

@@ -686,7 +686,7 @@ export default {
abnormals: this.abnormals, abnormals: this.abnormals,
}; };
const response = await updateMaterialCoil(updateData); const response = await updateMaterialCoil({ ...updateData, actionId: this.actionId });
// 更新完成后如果选定了合同,需要增加与合同的绑定关系 // 更新完成后如果选定了合同,需要增加与合同的绑定关系
const coilId = response.msg; const coilId = response.msg;
@@ -701,11 +701,9 @@ export default {
this.$message.success('钢卷信息更新成功'); this.$message.success('钢卷信息更新成功');
// 如果是从待操作列表进来的,标记操作为完成 // 如果是从待操作列表进来的,标记操作为完成
if (this.actionId) { // if (this.actionId) {
await completeAction(this.actionId, response.msg); // await completeAction(this.actionId, response.msg);
} // }
// 延迟返回 // 延迟返回
setTimeout(() => { setTimeout(() => {