From 188b5d5f53f158c5c9f6d39e24c6d556f5641329 Mon Sep 17 00:00:00 2001 From: zzyuan <781948537@qq.com> Date: Thu, 7 Aug 2025 17:38:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E6=94=B95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../canteen/superstore/shopMaterial/index.vue | 2 +- .../supplierFunction/supplierQuotation/edit.vue | 2 +- .../supplierFunction/supplierQuotation/index.vue | 14 +++++++------- .../supplierManage/supplierList/index.vue | 14 +++++++++----- src/views/system/user/index.vue | 2 +- 5 files changed, 19 insertions(+), 15 deletions(-) diff --git a/src/views/canteen/superstore/shopMaterial/index.vue b/src/views/canteen/superstore/shopMaterial/index.vue index e5ec28a1..b2c4aaa6 100644 --- a/src/views/canteen/superstore/shopMaterial/index.vue +++ b/src/views/canteen/superstore/shopMaterial/index.vue @@ -205,7 +205,7 @@ {{ (scope.row.salePrice/100).toFixed(2)||"" }} - + diff --git a/src/views/foodManage/supplierManage/supplierList/index.vue b/src/views/foodManage/supplierManage/supplierList/index.vue index 2d46fe0f..82aeafb3 100644 --- a/src/views/foodManage/supplierManage/supplierList/index.vue +++ b/src/views/foodManage/supplierManage/supplierList/index.vue @@ -391,8 +391,8 @@ :show-file-list="true" :file-list="item.fileList" list-type="picture-card" - accept=".png, .jpg, .jpeg" - :class="{ disabled:item.isShowUpload }" + accept=".png, .jpg, .jpeg" + :on-exceed="handleExceed" :on-preview="handlePictureCardPreview" :on-remove="handleRemoveMain(index)" > @@ -593,6 +593,9 @@ export default { }, uploadDisabled2() { return this.idCardImgF.length > 0 + }, + isShowUpload0(){ + return false } }, created() { @@ -881,9 +884,10 @@ export default { }) .catch((error) => { this.$modal.msgError(error) - }) - - + }) + }, + handleExceed(files, fileList){ + this.$modal.msgError('资质照片最多上传一个') }, handleRemoveMain(index) { this.mainQualificationList[index].imgUrl=""; diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index cf529c3f..f659e235 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -633,7 +633,7 @@