From 14cd7084961205846e3ca8770da70dce9e2bbe75 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期三, 20 三月 2024 15:48:54 +0800 Subject: [PATCH] 完成样品管理页面 --- src/components/view/b1-inspection-order.vue | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/view/b1-inspection-order.vue b/src/components/view/b1-inspection-order.vue index 563273b..d9a4091 100644 --- a/src/components/view/b1-inspection-order.vue +++ b/src/components/view/b1-inspection-order.vue @@ -241,7 +241,7 @@ type: 'text', method: 'download', disabFun: (row, index) => { - return row.state != 1 + return row.state != 1 || row.reportId == null } }, { id: 'verify', @@ -255,7 +255,10 @@ id: 'quash', font: '鎾ら攢', type: 'text', - method: 'handlEquash' + method: 'handlEquash', + disabFun: (row, index) => { + return row.state == 2 || row.state == 3 + } }, { font: '涓嬪彂', type: 'text', -- Gitblit v1.9.3