From 353148eb7f968c8d3e72782e6827c487bd351c98 Mon Sep 17 00:00:00 2001 From: weicw1996 Date: Thu, 22 Oct 2026 13:44:06 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E5=BE=85=E5=9B=9E=E5=8D=95=E7=A1=AE?= =?UTF-8?q?=E8=AE=A4=E4=B8=8B=E6=8B=92=E7=BB=9D=E8=A1=A5=E5=BD=95=E6=89=93?= =?UTF-8?q?=E5=8D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/business/components/waybill-manage-page.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/views/business/components/waybill-manage-page.vue b/src/views/business/components/waybill-manage-page.vue index 6434ca1..c5574e8 100644 --- a/src/views/business/components/waybill-manage-page.vue +++ b/src/views/business/components/waybill-manage-page.vue @@ -4378,9 +4378,15 @@ export default { addBtn: this.canCreate, }; }, - // 打卡记录编辑入口与运单编辑同权限:能改运单的人才能订正它的打卡流水 + // 打卡记录编辑入口与运单编辑同权限:能改运单的人才能订正它的打卡流水。 + // 待回单确认的运单司机已无待打卡节点,本入口只做补录/编辑(提交固定 punched=true), + // 补录与状态含义矛盾;取消打卡不在本页,关掉入口不影响退回进行中。 canEditWaybillPunchRecord() { - return this.hasPermission(`${this.config.permission}_edit`) && !this.readonlyScope; + return ( + this.hasPermission(`${this.config.permission}_edit`) && + !this.readonlyScope && + this.statusValue(this.detailRow) !== 'pending_return_confirm' + ); }, waybillPunchEditNode() { return this.findWaybillPunchEditNodeConfig(this.waybillPunchEditRecord);