From 563c5bb046780e9eb1ae8b4056297ef32429a009 Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Mon, 25 Aug 2025 16:02:39 +0800 Subject: [PATCH] =?UTF-8?q?2025-08-25=20pda=E9=87=87=E8=B4=AD=E3=80=81?= =?UTF-8?q?=E7=94=9F=E4=BA=A7=E5=85=A5=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/production/productionInboundStorage.vue | 3 +-- .../modules/purchase-inbound/inboundStorage.vue | 13 ++++++------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/src/views/modules/production/productionInboundStorage.vue b/src/views/modules/production/productionInboundStorage.vue index 6020f88..3a2e445 100644 --- a/src/views/modules/production/productionInboundStorage.vue +++ b/src/views/modules/production/productionInboundStorage.vue @@ -338,9 +338,8 @@ export default { confirmInboundStorage(params).then(({ data }) => { if (data && data.code === 0) { this.$message.success('操作成功'); - this.validateAndAddLabel(this.materialInfo.inboundNo); this.showLocationDialog = false; - //this.$router.back(); + this.$router.back(); } else { this.$message.error(data.msg || '操作失败'); } diff --git a/src/views/modules/purchase-inbound/inboundStorage.vue b/src/views/modules/purchase-inbound/inboundStorage.vue index 9e479ff..c775c92 100644 --- a/src/views/modules/purchase-inbound/inboundStorage.vue +++ b/src/views/modules/purchase-inbound/inboundStorage.vue @@ -337,16 +337,15 @@ export default { }; confirmInboundStorage(params).then(({ data }) => { if (data && data.code === 0) { - this.$message.success('操作成功'); - this.validateAndAddLabel(this.materialInfo.inboundNo); - this.showLocationDialog = false; - //this.$router.back(); + this.$message.success('操作成功') + this.showLocationDialog = false + this.$router.back() } else { - this.$message.error(data.msg || '操作失败'); + this.$message.error(data.msg || '操作失败') } }).catch(error => { - console.error('上架失败:', error); - this.$message.error('操作失败'); + console.error('上架失败:', error) + this.$message.error('操作失败') }); },