From 482ed6306545c04f9051372c44dca537bf7ce44e Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期六, 12 七月 2025 11:27:55 +0800
Subject: [PATCH] 1.销售管理-优化:部位本条数据录入人不可修改数据。表格展示优化

---
 src/views/salesManagement/receiptPayment/index.vue |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/src/views/salesManagement/receiptPayment/index.vue b/src/views/salesManagement/receiptPayment/index.vue
index 9144186..762865d 100644
--- a/src/views/salesManagement/receiptPayment/index.vue
+++ b/src/views/salesManagement/receiptPayment/index.vue
@@ -65,7 +65,8 @@
         :summary-method="summarizeMainTable"
         :expand-row-keys="expandedRowKeys"
         @expand-change="expandChange"
-        height="calc(100vh - 18.5em)"
+
+        height="calc(100vh - 21.5em)"
       >
         <el-table-column align="center" type="selection" width="55" />
         <el-table-column type="expand">
@@ -118,6 +119,7 @@
                     size="small"
                     @click="changeEditType(scope.row)"
                     v-if="!scope.row.editType"
+										:disabled="scope.row.registrant !== userStore.nickName"
                     >缂栬緫</el-button
                   >
                   <el-button
@@ -126,6 +128,7 @@
                     size="small"
                     @click="saveReceiptPayment(scope.row)"
                     v-if="scope.row.editType"
+										:disabled="scope.row.registrant !== userStore.nickName"
                     >淇濆瓨</el-button
                   >
                   <el-button
@@ -133,6 +136,7 @@
                     type="primary"
                     size="small"
                     @click="delReceiptRecord(scope.row)"
+										:disabled="scope.row.registrant !== userStore.nickName"
                     >鍒犻櫎</el-button
                   >
                 </template>
@@ -164,7 +168,7 @@
           label="椤圭洰鍚嶇О"
           prop="projectName"
           show-overflow-tooltip
-          width="200"
+          width="340"
         />
         <el-table-column
           label="浜у搧澶х被"
@@ -183,7 +187,7 @@
           prop="invoiceTotal"
           show-overflow-tooltip
           :formatter="formattedNumber"
-          width="150"
+          width="200"
         />
         <el-table-column label="绋庣巼(%)" prop="taxRate" show-overflow-tooltip />
         <el-table-column
@@ -191,13 +195,13 @@
           prop="receiptPaymentAmountTotal"
           show-overflow-tooltip
           :formatter="formattedNumber"
-          width="150"
+          width="200"
         />
         <el-table-column
           label="寰呭洖娆鹃噾棰�(鍏�)"
           prop="noReceiptAmount"
           show-overflow-tooltip
-          width="150"
+          width="200"
         >
           <template #default="{ row, column }">
             <el-text type="danger">

--
Gitblit v1.9.3