From a4247b5b5a91bd4c70bac695a245353defecaf6f Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Tue, 9 Dec 2025 11:08:23 +0800 Subject: [PATCH] =?UTF-8?q?2025-12-09=20pda=E9=87=87=E8=B4=AD=E9=80=80?= =?UTF-8?q?=E8=B4=A7=E6=98=8E=E7=BB=86=E4=BF=A1=E6=81=AF=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?partNo=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/purchase-return/purchaseReturnDetail.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/modules/purchase-return/purchaseReturnDetail.vue b/src/views/modules/purchase-return/purchaseReturnDetail.vue index 7d86bea..08e9b21 100644 --- a/src/views/modules/purchase-return/purchaseReturnDetail.vue +++ b/src/views/modules/purchase-return/purchaseReturnDetail.vue @@ -211,6 +211,7 @@ export default { relatedNo: '', relatedLineNo: '', buNo: '', + partNo: '', showMaterialDialog: false, materialList: [], materialListLoading: false, @@ -432,6 +433,7 @@ export default { buNo: this.buNo, warehouseId: getCurrentWarehouse(), site: localStorage.getItem('site'), + partNo: this.partNo }; getReturnDetails(params).then(({ data }) => { @@ -484,7 +486,8 @@ export default { this.buNo = this.$route.params.buNo; this.relatedNo = this.$route.params.relatedNo || ''; this.relatedLineNo = this.$route.params.relatedLineNo || ''; - + this.partNo = this.$route.params.partNo || ''; + if (!this.returnNo || !this.buNo) { this.$message.error('参数错误'); this.$router.back();