From f06f75599866723083f94a378686f7386872ba03 Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Wed, 27 Nov 2024 15:17:27 +0800 Subject: [PATCH] =?UTF-8?q?11/27=20=E8=B4=A7=E6=9E=B6=E6=89=93=E5=8D=B0?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/basic/workplace/freightManage.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/basic/workplace/freightManage.vue b/src/views/basic/workplace/freightManage.vue index a2d1cc44..341e8dc2 100644 --- a/src/views/basic/workplace/freightManage.vue +++ b/src/views/basic/workplace/freightManage.vue @@ -361,12 +361,15 @@ export default { this.WorkplaceFreightDialogVisible = true }, printFreight(val, row) { + if (isBlank(this.workplaceId)){ + return this.$message.error("请选择工位") + } //打印全部 let query = { labelId: 8 } if (val == 1) { - + query.workPlaceIdFk = this.workplaceId } else if (val == 2) { query.layerCode = row.code }else {