修复:一级需求部门任务提交时添加pipelineMode字段

This commit is contained in:
Your Name 2026-01-23 15:44:10 +08:00
parent 81d21aa063
commit b4f9f7a47f

View File

@ -1686,6 +1686,7 @@ const handleSubmit = async () => {
productBarcodes: formData.productBarcodes,
previewImage: formData.previewImage,
isPipeline: true, // 🔥 设置为 true 以触发 updatePipelineTask 审核流程
pipelineMode: 'sequential', // 🔥 必须设置流水线模式
items: [], // 空数组,表示一级需求部门任务不填写明细
id: editTaskId.value
}