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 |   21 ++++++++++++++++-----
 1 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/src/views/salesManagement/receiptPayment/index.vue b/src/views/salesManagement/receiptPayment/index.vue
index f1e4531..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>
@@ -145,37 +149,45 @@
           label="閿�鍞悎鍚屽彿"
           prop="salesContractNo"
           show-overflow-tooltip
+          width="240"
         />
         <el-table-column
           label="瀹㈡埛鍚堝悓鍙�"
           prop="customerContractNo"
           show-overflow-tooltip
+          width="240"
+
         />
         <el-table-column
           label="瀹㈡埛鍚嶇О"
           prop="customerName"
           show-overflow-tooltip
+          width="240"
         />
         <el-table-column
           label="椤圭洰鍚嶇О"
           prop="projectName"
           show-overflow-tooltip
+          width="340"
         />
         <el-table-column
           label="浜у搧澶х被"
           prop="productCategory"
           show-overflow-tooltip
+          width="100"
         />
         <el-table-column
           label="鍙戠エ鍙�"
           prop="invoiceNo"
           show-overflow-tooltip
+          width="200"
         />
         <el-table-column
           label="鍙戠エ閲戦(鍏�)"
           prop="invoiceTotal"
           show-overflow-tooltip
           :formatter="formattedNumber"
+          width="200"
         />
         <el-table-column label="绋庣巼(%)" prop="taxRate" show-overflow-tooltip />
         <el-table-column
@@ -183,11 +195,13 @@
           prop="receiptPaymentAmountTotal"
           show-overflow-tooltip
           :formatter="formattedNumber"
+          width="200"
         />
         <el-table-column
           label="寰呭洖娆鹃噾棰�(鍏�)"
           prop="noReceiptAmount"
           show-overflow-tooltip
+          width="200"
         >
           <template #default="{ row, column }">
             <el-text type="danger">
@@ -274,12 +288,9 @@
           </el-col>
           <el-col :span="12">
             <el-form-item label="鏈鍥炴閲戦锛�" prop="receiptPaymentAmount">
-              <el-input
-                type="number"
-                min="0"
+              <el-input-number :step="0.01" :min="0" style="width: 100%" 
                 v-model="form.receiptPaymentAmount"
                 placeholder="璇疯緭鍏�"
-                :step="0.01"
                 clearable
               />
             </el-form-item>

--
Gitblit v1.9.3