From fb600a68d1bf4892e1f9817c4fea18563756b2e2 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期四, 23 四月 2026 13:51:21 +0800
Subject: [PATCH] 发货记录增加数量+“库存预警”字段移至库存管理+点击销售合同号自动跳转到销售台账
---
src/views/inventoryManagement/receiptManagement/index.vue | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/src/views/inventoryManagement/receiptManagement/index.vue b/src/views/inventoryManagement/receiptManagement/index.vue
index 1f98391..cf948a0 100644
--- a/src/views/inventoryManagement/receiptManagement/index.vue
+++ b/src/views/inventoryManagement/receiptManagement/index.vue
@@ -78,6 +78,10 @@
prop="inboundNum"
width="90"
show-overflow-tooltip />
+ <el-table-column label="搴撳瓨棰勮"
+ prop="warnNum"
+ width="90"
+ show-overflow-tooltip />
<el-table-column label="缂鸿揣鏁伴噺"
prop="outStockQuantity"
width="100"
@@ -208,6 +212,11 @@
clearable />
</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" />
@@ -552,6 +561,7 @@
productList.value = productRes.data.map(item => ({
...item,
quantityStock: 0,
+ warnNum: 0,
originalQuantityStock: Number(
item.quantityStock ?? item.inboundQuantity ?? 0
),
@@ -941,6 +951,7 @@
nickName: userStore.nickName,
details: selectedRows.value.map(product => ({
id: product.id,
+ warnNum: product.warnNum,
// id: product.salesLedgerProductId,
inboundQuantity: Number(product.quantityStock),
productModelId: product.productModelId,
--
Gitblit v1.9.3