From 4d97a259f3069f9b18d87ac3fab710618f2c6087 Mon Sep 17 00:00:00 2001
From: lishenao <3065849776@qq.com>
Date: 星期四, 03 七月 2025 15:19:31 +0800
Subject: [PATCH] 库存管理数据修改

---
 src/views/inventoryManagement/issueManagement/index.vue |   34 ++++++++++++++++------------------
 1 files changed, 16 insertions(+), 18 deletions(-)

diff --git a/src/views/inventoryManagement/issueManagement/index.vue b/src/views/inventoryManagement/issueManagement/index.vue
index 2a5bb51..e513a63 100644
--- a/src/views/inventoryManagement/issueManagement/index.vue
+++ b/src/views/inventoryManagement/issueManagement/index.vue
@@ -10,7 +10,7 @@
       <div>
         <!-- <el-button type="primary" @click="openForm('add')">鏂板鍑哄簱</el-button> -->
         <el-button @click="handleOut">瀵煎嚭</el-button>
-        <el-button type="danger" plain @click="handleDelete">鍒犻櫎</el-button>
+        <!-- <el-button type="danger" plain @click="handleDelete">鍒犻櫎</el-button> -->
       </div>
     </div>
     <div class="table_list">
@@ -25,15 +25,15 @@
         <el-table-column label="浜у搧澶х被" prop="productName" width="100" show-overflow-tooltip />
         <el-table-column label="瑙勬牸鍨嬪彿" prop="model" width="160" show-overflow-tooltip />
         <el-table-column label="鍗曚綅" prop="unit" width="70" show-overflow-tooltip />
-        <el-table-column label="鍏ュ簱鏁伴噺" prop="inboundQuantity" width="90" show-overflow-tooltip />
+        <el-table-column label="鍏ュ簱鏁伴噺" prop="stockQuantity" width="90" show-overflow-tooltip />
         <el-table-column label="鍚◣鍗曚环" prop="taxInclusiveUnitPrice" width="100" show-overflow-tooltip />
         <el-table-column label="鍚◣鎬讳环" prop="taxInclusiveTotalPrice" width="100" show-overflow-tooltip />
         <el-table-column label="绋庣巼(%)" prop="taxRate" width="80" show-overflow-tooltip />
         <el-table-column label="涓嶅惈绋庢�讳环" prop="taxExclusiveTotalPrice" width="100" show-overflow-tooltip />
-        <el-table-column label="鍏ュ簱浜�" prop="nickname" width="80" show-overflow-tooltip />
+        <el-table-column label="鍏ュ簱浜�" prop="nickName" width="80" show-overflow-tooltip />
         <el-table-column fixed="right" label="鎿嶄綔" min-width="60" align="center">
           <template #default="scope">
-            <el-button link type="primary" size="small" @click="openForm(scope.row);">鍑哄簱</el-button>
+            <el-button link type="primary" size="small" @click="openForm(scope.row);">棰嗙敤</el-button>
           </template>
         </el-table-column>
       </el-table>
@@ -72,15 +72,10 @@
 import useUserStore from '@/store/modules/user'
 import { userListNoPage } from "@/api/system/user.js";
 import {
-  ledgerListPage,
-  customerList,
-  addOrUpdateSalesLedger,
-  getSalesLedgerWithProducts, delLedger
-} from "@/api/salesManagement/salesLedger.js";
-import {
   getStockManagePage,
     delStockManage,
-    stockOut
+    stockOut,
+  getStockManageOutPage
 } from "@/api/inventoryManagement/stockManage.js";
 
 const userStore = useUserStore()
@@ -106,20 +101,23 @@
   },
   form: {
     supplierId: null,
-    productId: null,
-    userId: null,
     supplierName: '',
+    productId: null,
     productName: '',
+    userId: userStore.userId,
+    nickName: '',
+    productModelId: null,
     model: '',
     unit: '',
-    inboundTime: '',
-    inboundBatch: '',
-    inboundQuantity: '',
+    productrecordId: null,
     taxInclusiveUnitPrice: '',
     taxInclusiveTotalPrice: '',
     taxRate: '',
     taxExclusiveTotalPrice: '',
-    nickName: '',
+    inboundTime: '',
+    inboundBatch: '',
+    stockQuantity: '',
+    boundTime: '',
   },
   rules: {
     supplierName: [{ required: true, message: "璇疯緭鍏�", trigger: "blur" }],
@@ -149,7 +147,7 @@
 }
 const getList = () => {
   tableLoading.value = true
-  getStockManagePage({ ...searchForm.value, ...page }).then(res => {
+  getStockManageOutPage({ ...searchForm.value, ...page }).then(res => {
     tableLoading.value = false
     tableData.value = res.data.records
     console.log('res', res.data.records)

--
Gitblit v1.9.3