From 6b35989783d91899169f89e21a7d3734d8cadc1d Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期日, 04 一月 2026 15:19:54 +0800
Subject: [PATCH] 1.海川开心

---
 src/views/basicData/supplierManage/index.vue |   25 ++++++-------------------
 1 files changed, 6 insertions(+), 19 deletions(-)

diff --git a/src/views/basicData/supplierManage/index.vue b/src/views/basicData/supplierManage/index.vue
index e990bce..76c8704 100644
--- a/src/views/basicData/supplierManage/index.vue
+++ b/src/views/basicData/supplierManage/index.vue
@@ -42,6 +42,7 @@
       v-model="dialogFormVisible"
       :title="operationType === 'add' ? '鏂板渚涘簲鍟嗕俊鎭�' : '缂栬緫渚涘簲鍟嗕俊鎭�'"
       width="70%"
+			draggable
       @close="closeDia"
     >
       <el-form
@@ -141,7 +142,9 @@
                 v-model="form.maintainUserId"
                 placeholder="璇烽�夋嫨"
                 clearable
-                disabled
+                filterable
+                default-first-option
+                :reserve-keyword="false"
               >
                 <el-option
                   v-for="item in userList"
@@ -162,7 +165,6 @@
                 type="date"
                 placeholder="璇烽�夋嫨"
                 clearable
-                disabled
               />
             </el-form-item>
           </el-col>
@@ -182,6 +184,7 @@
       v-model="upload.open"
       width="400px"
       append-to-body
+			draggable
     >
       <el-upload
         ref="uploadRef"
@@ -235,6 +238,7 @@
 } from "@/api/basicData/supplierManageFile.js";
 import useUserStore from "@/store/modules/user";
 import { getToken } from "@/utils/auth.js";
+import { getCurrentDate } from "@/utils/index.js";
 const { proxy } = getCurrentInstance();
 const userStore = useUserStore();
 
@@ -300,9 +304,6 @@
         clickFun: (row) => {
           openForm("edit", row);
         },
-				disabled: (row) => {
-					return row.maintainUserName !== userStore.nickName
-				}
       },
     ],
   },
@@ -497,12 +498,6 @@
 const handleDelete = () => {
   let ids = [];
   if (selectedRows.value.length > 0) {
-		// 妫�鏌ユ槸鍚︽湁浠栦汉缁存姢鐨勬暟鎹�
-		const unauthorizedData = selectedRows.value.filter(item => item.maintainUserName !== userStore.nickName);
-		if (unauthorizedData.length > 0) {
-			proxy.$modal.msgWarning("涓嶅彲鍒犻櫎浠栦汉缁存姢鐨勬暟鎹�");
-			return;
-		}
     ids = selectedRows.value.map((item) => item.id);
   } else {
     proxy.$modal.msgWarning("璇烽�夋嫨鏁版嵁");
@@ -529,14 +524,6 @@
     });
 };
 
-// 鑾峰彇褰撳墠鏃ユ湡骞舵牸寮忓寲涓� YYYY-MM-DD
-function getCurrentDate() {
-  const today = new Date();
-  const year = today.getFullYear();
-  const month = String(today.getMonth() + 1).padStart(2, "0"); // 鏈堜唤浠�0寮�濮�
-  const day = String(today.getDate()).padStart(2, "0");
-  return `${year}-${month}-${day}`;
-}
 
 onMounted(() => {
   getList();

--
Gitblit v1.9.3