From 17d7043f10d55429db919238fe639bff1b51ec0e Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期五, 07 二月 2025 15:59:37 +0800
Subject: [PATCH] Merge branch '2.0.1' of http://139.186.142.91:10010/r/productDev/funingyunwei into 2.0.1

---
 admin/src/views/stock/components/inventoryDetails.vue |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/admin/src/views/stock/components/inventoryDetails.vue b/admin/src/views/stock/components/inventoryDetails.vue
index b47d41c..c5b03c4 100644
--- a/admin/src/views/stock/components/inventoryDetails.vue
+++ b/admin/src/views/stock/components/inventoryDetails.vue
@@ -36,7 +36,7 @@
             <div class="list">
                 <div class="list_search">
                     <div class="list_search_left">
-                        <el-input v-model="form.code" style="width: 200px; margin-right: 10px;" placeholder="璇疯緭鍏ョ墿鏂欏悕绉�/缂栫爜"></el-input>
+                        <el-input v-model="form.materialCode" style="width: 200px; margin-right: 10px;" placeholder="璇疯緭鍏ョ墿鏂欏悕绉�/缂栫爜"></el-input>
                         <el-select v-model="form.status" style="width: 150px; margin-right: 10px;" placeholder="鐩樼偣鐘舵��">
                             <el-option label="宸茬洏" :value="1"></el-option>
                             <el-option label="鏈洏" :value="0"></el-option>
@@ -110,7 +110,7 @@
         info: {},
         list: [],
         form: {
-          code: '',
+          materialCode: '',
           status: '',
           type: ''
         },
@@ -145,6 +145,7 @@
         this.form.name = ''
         this.form.status = ''
         this.form.type = ''
+        this.form.materialCode = ''
         this.page = 1
         this.getList()
       },
@@ -154,12 +155,13 @@
           page: this.page,
           model: {
             stocktakingId: this.id,
-            code: this.form.code,
+            materialCode: this.form.materialCode,
             status: this.form.status,
             type: this.form.type
           }
         }).then(res => {
           this.list = res.records
+          this.total = res.total
         })
       }
     }

--
Gitblit v1.9.3