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

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

diff --git a/src/views/inventoryManagement/issueManagement/index.vue b/src/views/inventoryManagement/issueManagement/index.vue
index 2a5bb51..e7b8d6a 100644
--- a/src/views/inventoryManagement/issueManagement/index.vue
+++ b/src/views/inventoryManagement/issueManagement/index.vue
@@ -25,12 +25,12 @@
         <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>
@@ -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