From e30a23d28cf8e9f767845a192be6d6356e20226d Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 05 十二月 2025 14:10:36 +0800
Subject: [PATCH] 1.海川开心-操作权限放开

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

diff --git a/src/views/procurementManagement/paymentEntry/index.vue b/src/views/procurementManagement/paymentEntry/index.vue
index bd9ce30..e04da41 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
@@ -113,7 +112,6 @@
 									size="small"
 									@click="saveReceiptPayment(scope.row)"
 									v-if="scope.row.editType"
-									:disabled="scope.row.registrant !== userStore.nickName"
 								>淇濆瓨</el-button
 								>
 								<el-button
@@ -121,7 +119,6 @@
 									type="primary"
 									size="small"
 									@click="handleDelete(scope.row)"
-									:disabled="scope.row.registrant !== userStore.nickName"
 								>鍒犻櫎</el-button
 								>
 							</template>
@@ -243,7 +240,6 @@
 								v-model="form.registrant"
 								placeholder="璇疯緭鍏�"
 								clearable
-								disabled
 							/>
 						</el-form-item>
 					</el-col>
@@ -253,7 +249,6 @@
                 v-model="form.registrationtDate"
                 placeholder="璇疯緭鍏�"
                 clearable
-                disabled
               />
             </el-form-item>
           </el-col>
@@ -309,6 +304,20 @@
     prop: "supplierName",
     width:240
   },
+	{
+		label: "浠樻鐘舵��",
+		prop: "statusName",
+		dataType: "tag",
+		formatType: (params) => {
+			if (params == '鏈畬鎴愪粯娆�') {
+				return "danger";
+			} else if (params == '宸插畬鎴愪粯娆�') {
+				return "success";
+			} else {
+				return null;
+			}
+		},
+	},
   {
     label: "鍙戠エ鍙�",
     prop: "invoiceNumber",
@@ -393,7 +402,11 @@
 const isShowSummarySon = ref(true);
 const expandedRowKeys = ref([]);
 
-
+const getStatusTagType = (statusName = '') => {
+	const normalized = statusName.trim();
+	if (!normalized) return 'info';
+	return normalized === '鏈畬鎴愪粯娆�' ? 'danger' : 'success';
+};
 // 瀛愯〃鍚堣鏂规硶
 const summarizeMainTable1 = (param) => {
   return proxy.summarizeTable(

--
Gitblit v1.9.3