From c8bbac3a4b1d68c505a0eef7e727d63032a3d991 Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Mon, 24 Apr 2023 14:30:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=81=A2=E5=A4=8D=20=E4=BE=9B=E5=BA=94?= =?UTF-8?q?=E5=95=86=E5=99=A8=E6=A2=B0=E4=BF=A1=E6=81=AF=20=E9=80=89?= =?UTF-8?q?=E5=85=A5=E4=BA=A7=E5=93=81=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/basic/product/udiInfoManageSp.vue | 27 +++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/src/views/basic/product/udiInfoManageSp.vue b/src/views/basic/product/udiInfoManageSp.vue index 935734ea..5fd6ce7a 100644 --- a/src/views/basic/product/udiInfoManageSp.vue +++ b/src/views/basic/product/udiInfoManageSp.vue @@ -91,6 +91,7 @@ 显示/隐藏搜索栏 重置 查询 + 选入产品 锁定 退回 @@ -145,7 +146,20 @@ - + + + { }); }, - + selectProduct() { + if (this.$isBlank(this.filterQuery.unitFk)) { + this.$message.error("请先选择供应商!"); + return; + } + this.selectProductVisible = true; + }, intentDetail() { this.isImportUdi = false; this.selectUdiDialogVisible = true; @@ -550,6 +571,7 @@ export default { this.selectErpDialogVisible = false; this.selectLocalVisible = false; this.selectVersionVisible = false; + this.selectProductVisible = false; }, onAddSubmit() { if (this.checked == true) { @@ -643,6 +665,7 @@ export default { selectUdi, selectErp, selectLocalUdi, + selectProduct, selectDetail } ,