From 77a8711bc54e408aa1dab21e95af307c373c5901 Mon Sep 17 00:00:00 2001
From: x_ying <2438792676@qq.com>
Date: Tue, 19 Jul 2022 16:04:45 +0800
Subject: [PATCH] =?UTF-8?q?=E5=87=BA=E5=85=A5=E5=BA=93=E7=AE=A1=E7=90=86?=
=?UTF-8?q?=20=E5=85=A5=E5=BA=93/=E5=87=BA=E5=BA=93/bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/archivesManage/outInStorage.js | 10 +++--
.../outInStorage/inStorage/index.vue | 4 +-
.../inStorage/module/inDialog.vue | 41 ++++++++++++++-----
.../outInStorage/outInHistory/index.vue | 13 +++---
.../outInStorage/outStorage/index.vue | 26 ++++++------
5 files changed, 57 insertions(+), 37 deletions(-)
diff --git a/src/api/archivesManage/outInStorage.js b/src/api/archivesManage/outInStorage.js
index e2d0775..15686e7 100644
--- a/src/api/archivesManage/outInStorage.js
+++ b/src/api/archivesManage/outInStorage.js
@@ -20,16 +20,18 @@ export function isOccupy(params) {
// 入库
export function collect(params) {
return request({
- url: 'api/storage/collect' + '?' + qs.stringify(params, { indices: false }),
- method: 'post'
+ url: 'api/storage/collect',
+ method: 'post',
+ data: params
})
}
// 出库
export function grant(params) {
return request({
- url: 'api/storage/grant' + '?' + qs.stringify(params, { indices: false }),
- method: 'post'
+ url: 'api/storage/grant',
+ method: 'post',
+ data: params
})
}
// 出入库记录 导出
diff --git a/src/views/archivesManage/outInStorage/inStorage/index.vue b/src/views/archivesManage/outInStorage/inStorage/index.vue
index 1cb8d29..22e9ca9 100644
--- a/src/views/archivesManage/outInStorage/inStorage/index.vue
+++ b/src/views/archivesManage/outInStorage/inStorage/index.vue
@@ -45,7 +45,7 @@
未入
- 未入
+ 待入
@@ -180,7 +180,7 @@ export default {
// 人工确认
handleManual() {
if (this.selections.length > 0) {
- const bool = this.selections.every(item => item.inState === '待入')
+ const bool = this.selections.every(item => item.storageType === 1)
if (bool) { // 全是'待入'状态弹出成功提示
this.msgSuccessVisible = true
} else { // 否则提示
diff --git a/src/views/archivesManage/outInStorage/inStorage/module/inDialog.vue b/src/views/archivesManage/outInStorage/inStorage/module/inDialog.vue
index 5a27b0f..74a57fd 100644
--- a/src/views/archivesManage/outInStorage/inStorage/module/inDialog.vue
+++ b/src/views/archivesManage/outInStorage/inStorage/module/inDialog.vue
@@ -1,7 +1,7 @@
-
+
@@ -12,7 +12,14 @@
-
+
@@ -120,8 +127,11 @@