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

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