From 582784aea9def4d7c9cc20e69697d3284bea5aa8 Mon Sep 17 00:00:00 2001
From: fengyuan_yang <1976974459@qq.com>
Date: Wed, 27 Aug 2025 14:07:26 +0800
Subject: [PATCH] =?UTF-8?q?2025-08-27=20pda=E5=85=B6=E4=BB=96=E5=87=BA?=
=?UTF-8?q?=E5=BA=93=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../modules/other-inout/otherOutboundDetail.vue | 13 +++++--------
src/views/modules/other-inout/otherOutboundList.vue | 4 ----
2 files changed, 5 insertions(+), 12 deletions(-)
diff --git a/src/views/modules/other-inout/otherOutboundDetail.vue b/src/views/modules/other-inout/otherOutboundDetail.vue
index b0d098e..c739915 100644
--- a/src/views/modules/other-inout/otherOutboundDetail.vue
+++ b/src/views/modules/other-inout/otherOutboundDetail.vue
@@ -131,7 +131,7 @@
NO.
物料编码
需求数量
- 可用数量
+ 出库数量
@@ -209,7 +209,6 @@ export default {
site: localStorage.getItem('site'),
buNo: this.buNo
};
-
validateLabelWithOutbound(params).then(({ data }) => {
if (data && data.code === 0) {
// 检查是否已经扫描过
@@ -218,16 +217,15 @@ export default {
this.$message.warning('该标签已扫描,请勿重复扫描');
return;
}
-
// 添加到列表顶部(最后扫描的在最上面)
this.labelList.unshift({
id: Date.now(),
labelCode: labelCode,
partNo: data.data.partNo,
quantity: data.data.quantity,
- batchNo: data.data.batchNo
+ batchNo: data.data.batchNo,
+ locationId: data.data.locationId
});
-
this.$message.success('操作成功');
} else {
this.$message.error(data.msg || '该标签与出库单不符,请检查');
@@ -255,7 +253,6 @@ export default {
this.$message.warning('请先扫描标签');
return;
}
-
const params = {
site: this.outboundInfo.site,
buNo: this.outboundInfo.buNo,
@@ -265,10 +262,10 @@ export default {
labelCode: label.labelCode,
partNo: label.partNo,
quantity: label.quantity,
- batchNo: label.batchNo
+ batchNo: label.batchNo,
+ locationId: label.locationId
}))
};
-
confirmOtherOutbound(params).then(({ data }) => {
if (data && data.code === 0) {
this.$message.success('出库成功');
diff --git a/src/views/modules/other-inout/otherOutboundList.vue b/src/views/modules/other-inout/otherOutboundList.vue
index 46e6343..03952d9 100644
--- a/src/views/modules/other-inout/otherOutboundList.vue
+++ b/src/views/modules/other-inout/otherOutboundList.vue
@@ -104,14 +104,12 @@ export default {
this.$message.error('请先选择仓库');
return;
}
-
this.loading = true;
const params = {
warehouseId: currentWarehouse,
site: localStorage.getItem('site'),
status: '待出库',
};
-
getOtherOutboundList(params).then(({ data }) => {
this.loading = false;
if (data && data.code === 0) {
@@ -133,7 +131,6 @@ export default {
this.$message.error('请先选择仓库');
return;
}
-
this.loading = true;
const params = {
warehouseId: currentWarehouse,
@@ -141,7 +138,6 @@ export default {
site: localStorage.getItem('site'),
status: '待出库'
};
-
getOtherOutboundList(params).then(({ data }) => {
this.loading = false;
if (data && data.code === 0) {