From 49e4d7dce7048400279f9182c883b21d06a6ab0e Mon Sep 17 00:00:00 2001 From: "han\\hanst" Date: Mon, 30 Mar 2026 16:14:42 +0800 Subject: [PATCH] =?UTF-8?q?4=E3=80=81=E5=8E=9F=E6=9D=90=E6=96=99=E6=B8=85?= =?UTF-8?q?=E5=8D=95=E5=A2=9E=E5=8A=A0=E5=B7=A5=E5=BA=8F=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=EF=BC=8C=E9=9C=80=E8=A6=81=E4=B8=8B=E6=8B=89=E9=80=89=E6=8B=A9?= =?UTF-8?q?=205=E3=80=81=E5=8E=9F=E6=9D=90=E6=96=99=E6=B8=85=E5=8D=95?= =?UTF-8?q?=E9=9C=80=E8=A6=81=E8=AE=BE=E7=BD=AE=E6=88=90=E5=8F=AA=E6=9C=89?= =?UTF-8?q?=E8=AF=95=E9=AA=8C=E8=B4=9F=E8=B4=A3=E4=BA=BA=E6=89=8D=E6=9C=89?= =?UTF-8?q?=E6=9D=83=E9=99=90=E5=A2=9E=E5=88=A0=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../erf/components/expRawMaterialList.vue | 175 +++++++++++++++++- src/views/modules/erf/expApplyList.vue | 7 +- 2 files changed, 176 insertions(+), 6 deletions(-) diff --git a/src/views/modules/erf/components/expRawMaterialList.vue b/src/views/modules/erf/components/expRawMaterialList.vue index 732db1c..bebfd70 100644 --- a/src/views/modules/erf/components/expRawMaterialList.vue +++ b/src/views/modules/erf/components/expRawMaterialList.vue @@ -7,7 +7,7 @@ type="primary" size="small" class="add-btn" - v-if="!disabled" + v-if="canEdit" @click="openAddDialog"> 新增物料 @@ -15,11 +15,16 @@ type="primary" size="small" class="reset-btn" - v-if="!disabled" + v-if="canEdit" :disabled="selectedRows.length === 0" @click="batchDeleteRawMaterial"> 批量删除 + + 仅试验负责人可维护原材料清单 + @@ -37,7 +42,7 @@ type="selection" width="55" align="center" - v-if="!disabled"> + v-if="canEdit"> @@ -71,6 +76,19 @@ show-overflow-tooltip> + + + + + + v-if="canEdit">