From 2b1cc85f7f9755fad9f7b3774f87c6a5bdbe70cb Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期一, 23 三月 2026 16:26:35 +0800
Subject: [PATCH] fix: 仓储物流,出库/入库可编辑

---
 src/views/consumablesLogistics/receiptManagement/Record.vue |   73 +++++++++++++-----------------------
 1 files changed, 27 insertions(+), 46 deletions(-)

diff --git a/src/views/consumablesLogistics/receiptManagement/Record.vue b/src/views/consumablesLogistics/receiptManagement/Record.vue
index 84bda74..571a22a 100644
--- a/src/views/consumablesLogistics/receiptManagement/Record.vue
+++ b/src/views/consumablesLogistics/receiptManagement/Record.vue
@@ -15,16 +15,16 @@
                   style="width: 240px"
                   placeholder="璇疯緭鍏�"
                   clearable/>
-        <span class="search_title ml10">鏉ユ簮锛�</span>
-        <el-select v-model="searchForm.recordType"
-                  style="width: 240px"
-                  placeholder="璇烽�夋嫨"
-                  clearable>
-          <el-option v-for="item in stockRecordTypeOptions"
-                     :key="item.value"
-                     :label="item.label"
-                     :value="item.value"/>
-        </el-select>
+<!--        <span class="search_title ml10">鏉ユ簮锛�</span>-->
+<!--        <el-select v-model="searchForm.recordType"-->
+<!--                  style="width: 240px"-->
+<!--                  placeholder="璇烽�夋嫨"-->
+<!--                  clearable>-->
+<!--          <el-option v-for="item in stockRecordTypeOptions"-->
+<!--                     :key="item.value"-->
+<!--                     :label="item.label"-->
+<!--                     :value="item.value"/>-->
+<!--        </el-select>-->
         <el-button type="primary"
                    @click="handleQuery"
                    style="margin-left: 10px">鎼滅储
@@ -70,44 +70,23 @@
         <el-table-column label="鍗曚綅"
                          prop="unit"
                          show-overflow-tooltip/>
-        <el-table-column label="鍏ュ簱鏁伴噺"
-                         prop="stockInNum"
+        <el-table-column label="鏁伴噺"
+                         prop="qualitity"
                          show-overflow-tooltip/>
-        <el-table-column label="杞︾墝鍙�"
-                         prop="licensePlateNo"
-                         v-if="type === '0'"
-                         show-overflow-tooltip/>
-        <el-table-column label="姣涢噸(鍚�)"
-                         prop="grossWeight"
-                         v-if="type === '0'"
-                         show-overflow-tooltip/>
-        <el-table-column label="鐨噸(鍚�)"
-                         prop="tareWeight"
-                         v-if="type === '0'"
-                         show-overflow-tooltip/>
-        <el-table-column label="鍑�閲�(鍚�)"
-                         prop="netWeight"
-                         v-if="type === '0'"
+        <el-table-column label="閲囪喘鍛�"
+                         prop="purchaser"
                          show-overflow-tooltip/>
         <el-table-column label="鍏ュ簱浜�"
                          prop="createBy"
                          show-overflow-tooltip/>
-        <el-table-column label="鏉ユ簮"
+        <!-- <el-table-column label="鏉ユ簮"
                          prop="recordType"
                          show-overflow-tooltip>
           <template #default="scope">
             {{ getRecordType(scope.row.recordType) }}
           </template>
-        </el-table-column>
-        <el-table-column label="杩囩鏃ユ湡"
-                         prop="weighingDate"
-                         v-if="type === '0'"
-                         show-overflow-tooltip/>
-        <el-table-column label="杩囩鍛�"
-                         prop="weighingOperator"
-                         v-if="type === '0'"
-                         show-overflow-tooltip/>
-        <el-table-column label="鎿嶄綔"
+        </el-table-column> -->
+        <!-- <el-table-column label="鎿嶄綔"
                          width="120"
                          align="center">
           <template #default="scope">
@@ -115,14 +94,16 @@
                        size="mini"
                        @click="handlePreview(scope.row)">瀵煎嚭杩囩鍗�</el-button>
           </template>
-        </el-table-column>
+        </el-table-column> -->
       </el-table>
-      <pagination v-show="total > 0"
-                  :total="total"
-                  layout="total, sizes, prev, pager, next, jumper"
-                  :page="page.current"
-                  :limit="page.size"
-                  @pagination="pageProductChange"/>
+      <div style="margin-top: 12px; display: flex; justify-content: flex-end;">
+        <pagination v-show="total > 0"
+                    :total="total"
+                    layout="total, sizes, prev, pager, next, jumper"
+                    :page="page.current"
+                    :limit="page.size"
+                    @pagination="pageProductChange"/>
+      </div>
     </div>
   </div>
 </template>
@@ -161,7 +142,7 @@
 const stockRecordTypeOptions = ref([]);
 const page = reactive({
   current: 1,
-  size: 100,
+  size: 10,
 });
 const total = ref(0);
 

--
Gitblit v1.9.3