张诺
4 小时以前 653b9aea89c84aa446db37a51c5d55ba84a18795
fix: 在报工提交数据中添加审核人姓名字段

修复提交报工数据时缺少审核人姓名的字段,确保后端能正确接收完整审核信息。
已修改1个文件
6 ■■■■ 文件已修改
src/pages/productionManagement/productionReport/index.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/productionManagement/productionReport/index.vue
@@ -267,6 +267,7 @@
      planQuantity: Number(form.value.planQuantity) || 0,
      userId: form.value.userId.value,
      auditUserId: form.value.auditUserId.value,
      auditUserName: form.value.auditUserId.name,
      schedulingUserId: form.value.userId.value, // 兼容旧字段
    };
    console.log(submitData, "submitData");
@@ -282,7 +283,10 @@
        showToast(res.msg || "报工失败");
        submitting.value = false;
      }
    });
    }).catch(err => {
      submitting.value = false;
    })
    ;
  };
  // 页面加载时初始化数据