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; }) ; }; // 页面加载时初始化数据