From b7b8670c5d8e031826b76d5556f4d488602762f4 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期二, 31 三月 2026 10:25:46 +0800
Subject: [PATCH] 销售台账和采购台账加UID码

---
 src/views/inventoryManagement/receiptManagement/Record.vue |   31 ++++++++++++++++++++++++-------
 1 files changed, 24 insertions(+), 7 deletions(-)

diff --git a/src/views/inventoryManagement/receiptManagement/Record.vue b/src/views/inventoryManagement/receiptManagement/Record.vue
index b74ffc4..3715fb5 100644
--- a/src/views/inventoryManagement/receiptManagement/Record.vue
+++ b/src/views/inventoryManagement/receiptManagement/Record.vue
@@ -54,10 +54,24 @@
                          label="搴忓彿"
                          type="index"
                          width="60"/>
-        <el-table-column label="鍏ュ簱鎵规"
+        <!-- <el-table-column label="鍏ュ簱鎵规"
                          prop="inboundBatches"
                          width="280"
-                         show-overflow-tooltip/>
+                         show-overflow-tooltip/> -->
+        <el-table-column label="鎵瑰彿"
+                         min-width="160"
+                         show-overflow-tooltip>
+          <template #default="scope">
+            {{ scope.row.batchNo || '' }}
+          </template>
+        </el-table-column>
+        <el-table-column label="渚涘簲鍟�"
+                         min-width="200"
+                         show-overflow-tooltip>
+          <template #default="scope">
+            {{ scope.row.supplierName || scope.row.customer || '' }}
+          </template>
+        </el-table-column>
         <el-table-column label="鍏ュ簱鏃堕棿"
                          prop="createTime"
                          show-overflow-tooltip/>
@@ -66,6 +80,9 @@
                          show-overflow-tooltip/>
         <el-table-column label="瑙勬牸鍨嬪彿"
                          prop="model"
+                         show-overflow-tooltip/>
+        <el-table-column label="UID鐮�"
+                         prop="uidNo"
                          show-overflow-tooltip/>
         <el-table-column label="鍗曚綅"
                          prop="unit"
@@ -109,8 +126,7 @@
   batchDeleteStockInRecords,
 } from "@/api/inventoryManagement/stockInRecord.js";
 import {
-  findAllQualifiedStockRecordTypeOptions,
-  findAllUnqualifiedStockRecordTypeOptions
+  findAllQualifiedStockInRecordTypeOptions, findAllUnQualifiedStockInRecordTypeOptions,
 } from "@/api/basicData/enum.js";
 
 const {proxy} = getCurrentInstance();
@@ -130,7 +146,7 @@
 const stockRecordTypeOptions = ref([]);
 const page = reactive({
   current: 1,
-  size: 100,
+  size: 10,
 });
 const total = ref(0);
 
@@ -168,6 +184,7 @@
   getStockInRecordListPage(params)
       .then(res => {
         tableData.value = res.data.records;
+        total.value = res.data.total || 0;
       }).finally(() => {
     tableLoading.value = false;
   })
@@ -176,13 +193,13 @@
 // 鑾峰彇鏉ユ簮绫诲瀷閫夐」
 const fetchStockRecordTypeOptions = () => {
   if (props.type === '0') {
-    findAllQualifiedStockRecordTypeOptions()
+    findAllQualifiedStockInRecordTypeOptions()
         .then(res => {
           stockRecordTypeOptions.value = res.data;
         })
     return
   }
-  findAllUnqualifiedStockRecordTypeOptions()
+  findAllUnQualifiedStockInRecordTypeOptions()
       .then(res => {
         stockRecordTypeOptions.value = res.data;
       })

--
Gitblit v1.9.3