From 0964a3d755ab490b709acca3a12df323a5053c8e Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期四, 23 四月 2026 13:35:09 +0800
Subject: [PATCH] 发货记录增加数量+“库存预警”字段移至库存管理+点击销售合同号自动跳转到销售台账

---
 src/views/inventoryManagement/receiptManagement/index.vue |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/views/inventoryManagement/receiptManagement/index.vue b/src/views/inventoryManagement/receiptManagement/index.vue
index 2414a5c..398c006 100644
--- a/src/views/inventoryManagement/receiptManagement/index.vue
+++ b/src/views/inventoryManagement/receiptManagement/index.vue
@@ -36,6 +36,7 @@
         <el-table-column label="瑙勬牸鍨嬪彿" prop="specificationModel" width="200" show-overflow-tooltip />
         <el-table-column label="鍗曚綅" prop="unit" width="70" show-overflow-tooltip />
         <el-table-column label="鍏ュ簱鏁伴噺" prop="inboundNum" width="90" show-overflow-tooltip />
+        <el-table-column label="搴撳瓨棰勮" prop="warnNum" 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 />
@@ -97,6 +98,11 @@
           <el-table-column label="鏈鍏ュ簱鏁伴噺" prop="quantityStock" width="150">
             <template #default="scope">
               <el-input-number :step="0.01" :min="0" style="width: 100%" v-model="scope.row.quantityStock" />
+            </template>
+          </el-table-column>
+          <el-table-column label="搴撳瓨棰勮" prop="warnNum" width="150">
+            <template #default="scope">
+              <el-input-number :step="0.01" :min="0" style="width: 100%" v-model="scope.row.warnNum" />
             </template>
           </el-table-column>
           <el-table-column label="绋庣巼(%)" prop="taxRate" width="120" />
@@ -313,6 +319,7 @@
     productList.value = productRes.data.map(item => ({
       ...item,
       quantityStock: 0,
+      warnNum: 0,
       originalQuantityStock: Number(item.quantityStock ?? item.inboundQuantity ?? 0),
     }))
   } catch (error) {
@@ -434,6 +441,7 @@
         nickName: userStore.nickName,
         details: selectedRows.value.map(product => ({
           id: product.id,
+          warnNum: product.warnNum,
           // id: product.salesLedgerProductId,
           inboundQuantity: Number(product.quantityStock)
         })),

--
Gitblit v1.9.3