From 17e77741270ac0efcade87b37d63bfcb41295ec2 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期六, 25 四月 2026 14:00:15 +0800
Subject: [PATCH] feat(inventory): 新增待审批出入库记录删除及审批状态优化
---
src/views/inventoryManagement/receiptManagement/Record.vue | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/views/inventoryManagement/receiptManagement/Record.vue b/src/views/inventoryManagement/receiptManagement/Record.vue
index 013bac5..d8bc1ea 100644
--- a/src/views/inventoryManagement/receiptManagement/Record.vue
+++ b/src/views/inventoryManagement/receiptManagement/Record.vue
@@ -117,7 +117,7 @@
import {ElMessageBox} from "element-plus";
import {
getStockInRecordListPage,
- batchDeleteStockInRecords,
+ batchDeletePendingStockInRecords,
batchApproveStockInRecords,
} from "@/api/inventoryManagement/stockInRecord.js";
import {
@@ -243,7 +243,7 @@
distinguishCancelAndClose: true,
})
.then(() => {
- batchApproveStockInRecords({ids, approvalStatus: "閫氳繃"})
+ batchApproveStockInRecords({ids, approvalStatus: 1})
.then(() => {
proxy.$modal.msgSuccess("瀹℃壒閫氳繃鎴愬姛");
getList();
@@ -254,7 +254,7 @@
})
.catch((action) => {
if (action === "cancel") {
- batchApproveStockInRecords({ids, approvalStatus: "椹冲洖"})
+ batchApproveStockInRecords({ids, approvalStatus: 2})
.then(() => {
proxy.$modal.msgSuccess("瀹℃壒椹冲洖鎴愬姛");
getList();
@@ -298,7 +298,7 @@
type: "warning",
})
.then(() => {
- batchDeleteStockInRecords(ids)
+ batchDeletePendingStockInRecords(ids)
.then(() => {
proxy.$modal.msgSuccess("鍒犻櫎鎴愬姛");
getList();
--
Gitblit v1.9.3