From ed0ff5934d3ed98832bf236d650a8c5fcfe93869 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期六, 15 十一月 2025 12:53:29 +0800
Subject: [PATCH] 1.编辑权限修改

---
 src/views/procurementManagement/procurementInvoiceLedger/index.vue |    1 -
 src/views/basicData/supplierManage/index.vue                       |    3 ---
 src/views/salesManagement/receiptPayment/index.vue                 |    1 -
 src/views/collaborativeApproval/approvalProcess/index.vue          |    1 -
 src/views/procurementManagement/paymentEntry/index.vue             |    1 -
 src/views/salesManagement/salesLedger/index.vue                    |    2 +-
 src/views/procurementManagement/procurementLedger/index.vue        |    1 -
 src/views/salesManagement/invoiceLedger/index.vue                  |    2 +-
 src/views/basicData/customerFile/index.vue                         |    5 +----
 src/views/customerService/expiryAfterSales/index.vue               |    2 +-
 src/views/customerService/feedbackRegistration/index.vue           |    3 ---
 src/views/inventoryManagement/receiptManagement/index.vue          |    4 ++--
 src/views/inventoryManagement/stockManagement/index.vue            |    6 +++---
 src/views/equipmentManagement/calibration/index.vue                |    3 ---
 14 files changed, 9 insertions(+), 26 deletions(-)

diff --git a/src/views/basicData/customerFile/index.vue b/src/views/basicData/customerFile/index.vue
index 94168c4..1a8a671 100644
--- a/src/views/basicData/customerFile/index.vue
+++ b/src/views/basicData/customerFile/index.vue
@@ -305,10 +305,7 @@
         type: "text",
         clickFun: (row) => {
           openForm("edit", row);
-        },
-				disabled: (row) => {
-					return row.maintainer !== userStore.nickName
-				}
+        }
       },
     ],
   },
diff --git a/src/views/basicData/supplierManage/index.vue b/src/views/basicData/supplierManage/index.vue
index 82a1d57..5d55907 100644
--- a/src/views/basicData/supplierManage/index.vue
+++ b/src/views/basicData/supplierManage/index.vue
@@ -299,9 +299,6 @@
         clickFun: (row) => {
           openForm("edit", row);
         },
-				disabled: (row) => {
-					return row.maintainUserName !== userStore.nickName
-				}
       },
     ],
   },
diff --git a/src/views/collaborativeApproval/approvalProcess/index.vue b/src/views/collaborativeApproval/approvalProcess/index.vue
index 13e155b..f3424bf 100644
--- a/src/views/collaborativeApproval/approvalProcess/index.vue
+++ b/src/views/collaborativeApproval/approvalProcess/index.vue
@@ -157,7 +157,6 @@
         clickFun: (row) => {
           openForm("edit", row);
         },
-				disabled: (row) => row.approveStatus == 2 || row.approveStatus == 1 || row.approveStatus == 4
       },
       {
         name: "瀹℃牳",
diff --git a/src/views/customerService/expiryAfterSales/index.vue b/src/views/customerService/expiryAfterSales/index.vue
index df44504..6433358 100644
--- a/src/views/customerService/expiryAfterSales/index.vue
+++ b/src/views/customerService/expiryAfterSales/index.vue
@@ -59,7 +59,7 @@
 
 				<template #operation="{ row }">
 					<el-button type="primary" link @click="openForm('view', row)">鏌ョ湅</el-button>
-					<el-button type="primary" link @click="openForm('edit', row)" v-if="row.status === 1">缂栬緫</el-button>
+					<el-button type="primary" link @click="openForm('edit', row)">缂栬緫</el-button>
 				</template>
 			</PIMTable>
 		</div>
diff --git a/src/views/customerService/feedbackRegistration/index.vue b/src/views/customerService/feedbackRegistration/index.vue
index 0825aac..df15942 100644
--- a/src/views/customerService/feedbackRegistration/index.vue
+++ b/src/views/customerService/feedbackRegistration/index.vue
@@ -120,9 +120,6 @@
 				clickFun: (row) => {
 					openForm("edit", row);
 				},
-				disabled: (row) => {
-					return row.checkUserId !== userStore.id || row.status !== 1
-				}
 			},
 		],
 	},
diff --git a/src/views/equipmentManagement/calibration/index.vue b/src/views/equipmentManagement/calibration/index.vue
index 7dfd405..1eee34a 100644
--- a/src/views/equipmentManagement/calibration/index.vue
+++ b/src/views/equipmentManagement/calibration/index.vue
@@ -143,9 +143,6 @@
 				clickFun: (row) => {
 					openCalibrationDia("edit", row);
 				},
-				disabled: (row) => {
-					return row.userId !== userStore.id
-				}
 			},
 		],
 	},
diff --git a/src/views/inventoryManagement/receiptManagement/index.vue b/src/views/inventoryManagement/receiptManagement/index.vue
index 453a21e..6f50507 100644
--- a/src/views/inventoryManagement/receiptManagement/index.vue
+++ b/src/views/inventoryManagement/receiptManagement/index.vue
@@ -90,7 +90,7 @@
             <el-table-column label="鍏ュ簱浜�" prop="createBy" width="80" show-overflow-tooltip />
             <el-table-column fixed="right" label="鎿嶄綔" min-width="60" align="center">
               <template #default="scope">
-                <el-button link type="primary" size="small" @click="openForm('edit', scope.row, 'purchase');" :disabled="scope.row.createUser !== userStore.id">缂栬緫</el-button>
+                <el-button link type="primary" size="small" @click="openForm('edit', scope.row, 'purchase');">缂栬緫</el-button>
               </template>
             </el-table-column>
           </el-table>
@@ -144,7 +144,7 @@
             <el-table-column label="鍏ュ簱浜�" prop="createBy" width="80" show-overflow-tooltip />
             <el-table-column fixed="right" label="鎿嶄綔" min-width="60" align="center">
               <template #default="scope">
-                <el-button link type="primary" size="small" @click="openForm('edit', scope.row, 'manual');" :disabled="scope.row.createBy !== userStore.nickName">缂栬緫</el-button>
+                <el-button link type="primary" size="small" @click="openForm('edit', scope.row, 'manual');">缂栬緫</el-button>
               </template>
             </el-table-column>
           </el-table>
diff --git a/src/views/inventoryManagement/stockManagement/index.vue b/src/views/inventoryManagement/stockManagement/index.vue
index 576173c..b68c462 100644
--- a/src/views/inventoryManagement/stockManagement/index.vue
+++ b/src/views/inventoryManagement/stockManagement/index.vue
@@ -46,7 +46,7 @@
             <el-table-column label="鍏ュ簱浜�" prop="createBy" width="80" show-overflow-tooltip />
             <el-table-column fixed="right" label="鎿嶄綔" min-width="60" align="center">
               <template #default="scope">
-                <el-button link type="primary" size="small" @click="openForm('edit', scope.row);" :disabled="scope.row.createUser !== userStore.id">缂栬緫</el-button>
+                <el-button link type="primary" size="small" @click="openForm('edit', scope.row);">缂栬緫</el-button>
               </template>
             </el-table-column>
           </el-table>
@@ -101,7 +101,7 @@
             <el-table-column label="鍏ュ簱浜�" prop="createBy" width="80" show-overflow-tooltip />
             <el-table-column fixed="right" label="鎿嶄綔" min-width="60" align="center">
               <template #default="scope">
-                <el-button link type="primary" size="small" @click="openForm('edit', scope.row);" :disabled="scope.row.createUser !== userStore.id">缂栬緫</el-button>
+                <el-button link type="primary" size="small" @click="openForm('edit', scope.row);">缂栬緫</el-button>
               </template>
             </el-table-column>
           </el-table>
@@ -156,7 +156,7 @@
             <el-table-column label="鍏ュ簱浜�" prop="createBy" width="80" show-overflow-tooltip />
             <el-table-column fixed="right" label="鎿嶄綔" min-width="60" align="center">
               <template #default="scope">
-                <el-button link type="primary" size="small" @click="openForm('edit', scope.row);" :disabled="scope.row.createBy !== userStore.nickName">缂栬緫</el-button>
+                <el-button link type="primary" size="small" @click="openForm('edit', scope.row);">缂栬緫</el-button>
               </template>
             </el-table-column>
           </el-table>
diff --git a/src/views/procurementManagement/paymentEntry/index.vue b/src/views/procurementManagement/paymentEntry/index.vue
index 4da6ac9..3009d9b 100644
--- a/src/views/procurementManagement/paymentEntry/index.vue
+++ b/src/views/procurementManagement/paymentEntry/index.vue
@@ -104,7 +104,6 @@
 									size="small"
 									@click="changeEditType(scope.row)"
 									v-if="!scope.row.editType"
-									:disabled="scope.row.registrant !== userStore.nickName"
 								>缂栬緫</el-button
 								>
 								<el-button
diff --git a/src/views/procurementManagement/procurementInvoiceLedger/index.vue b/src/views/procurementManagement/procurementInvoiceLedger/index.vue
index 439837b..91277e4 100644
--- a/src/views/procurementManagement/procurementInvoiceLedger/index.vue
+++ b/src/views/procurementManagement/procurementInvoiceLedger/index.vue
@@ -82,7 +82,6 @@
             type="primary"
             text
             @click="openEdit(row)"
-						:disabled="row.issUerId !== userStore.id"
           >
             缂栬緫
           </el-button>
diff --git a/src/views/procurementManagement/procurementLedger/index.vue b/src/views/procurementManagement/procurementLedger/index.vue
index 1204b4f..acbedab 100644
--- a/src/views/procurementManagement/procurementLedger/index.vue
+++ b/src/views/procurementManagement/procurementLedger/index.vue
@@ -155,7 +155,6 @@
               type="primary"
               size="small"
               @click="openForm('edit', scope.row)"
-							:disabled="scope.row.receiptPaymentAmount>0 || scope.row.recorderName !== userStore.nickName"
               >缂栬緫</el-button
             >
             <el-button
diff --git a/src/views/salesManagement/invoiceLedger/index.vue b/src/views/salesManagement/invoiceLedger/index.vue
index 14f6908..d377b88 100644
--- a/src/views/salesManagement/invoiceLedger/index.vue
+++ b/src/views/salesManagement/invoiceLedger/index.vue
@@ -56,7 +56,7 @@
         </el-table-column>
         <el-table-column fixed="right" label="鎿嶄綔" width="150" align="center">
           <template #default="scope">
-            <el-button link type="primary" size="small" @click="openForm(scope.row)" :disabled="scope.row.invoicePerson !== userStore.nickName">缂栬緫</el-button>
+            <el-button link type="primary" size="small" @click="openForm(scope.row)">缂栬緫</el-button>
             <el-button link type="primary" size="small" @click="delInvoiceLedger(scope.row)" :disabled="scope.row.invoicePerson !== userStore.nickName">鍒犻櫎</el-button>
           </template>
         </el-table-column>
diff --git a/src/views/salesManagement/receiptPayment/index.vue b/src/views/salesManagement/receiptPayment/index.vue
index 995bd24..1bceb42 100644
--- a/src/views/salesManagement/receiptPayment/index.vue
+++ b/src/views/salesManagement/receiptPayment/index.vue
@@ -122,7 +122,6 @@
                     size="small"
                     @click="changeEditType(scope.row)"
                     v-if="!scope.row.editType"
-										:disabled="scope.row.registrant !== userStore.nickName"
                     >缂栬緫</el-button
                   >
                   <el-button
diff --git a/src/views/salesManagement/salesLedger/index.vue b/src/views/salesManagement/salesLedger/index.vue
index 83168ba..9366a16 100644
--- a/src/views/salesManagement/salesLedger/index.vue
+++ b/src/views/salesManagement/salesLedger/index.vue
@@ -72,7 +72,7 @@
         <el-table-column label="绛捐鏃ユ湡" prop="executionDate" width="120" show-overflow-tooltip />
         <el-table-column fixed="right" label="鎿嶄綔" min-width="200" align="center">
           <template #default="scope">
-            <el-button link type="primary" size="small" :disabled="scope.row.invoiceTotal>0 || scope.row.entryPersonName !== userStore.nickName" @click="openForm('edit', scope.row)">缂栬緫</el-button>
+            <el-button link type="primary" size="small" @click="openForm('edit', scope.row)">缂栬緫</el-button>
 <!--            <el-button link type="primary" size="small" @click="openForm('view', scope.row)">璇︽儏</el-button>-->
             <el-button link type="primary" size="small" @click="downLoadFile(scope.row)">闄勪欢</el-button>
             <el-button link type="primary" size="small" @click="openDeliveryForm(scope.row)">鍙戣揣</el-button>

--
Gitblit v1.9.3