From c0df1d704abff2c2b591a4ce9dccde37680bde04 Mon Sep 17 00:00:00 2001 From: louis <869322496@qq.com> Date: Mon, 8 Apr 2024 08:34:08 +0800 Subject: [PATCH] fix: edit button permission issue --- src/api/backend/api/typings.d.ts | 2 +- .../materials-inventory/company/index.vue | 2 +- .../materials-inventory/product/index.vue | 350 +++++++++--------- .../materials-inventory/project/index.vue | 2 +- src/views/system/user/AvatarUpload.vue | 4 +- 5 files changed, 178 insertions(+), 182 deletions(-) diff --git a/src/api/backend/api/typings.d.ts b/src/api/backend/api/typings.d.ts index 039d843..79ac972 100644 --- a/src/api/backend/api/typings.d.ts +++ b/src/api/backend/api/typings.d.ts @@ -1637,7 +1637,7 @@ declare namespace API { /** 产品名称 */ name?: string; /** 产品规格 */ - productSpecification: string; + productSpecification?: string; /** 所属公司 */ companyId?: number; /** 单位 */ diff --git a/src/views/materials-inventory/company/index.vue b/src/views/materials-inventory/company/index.vue index 65075b9..9215915 100644 --- a/src/views/materials-inventory/company/index.vue +++ b/src/views/materials-inventory/company/index.vue @@ -12,7 +12,7 @@