From fcea214ba6db69ee1ea97322abe1c2c0c28b50ba Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Fri, 29 Nov 2024 15:57:29 +0800 Subject: [PATCH] =?UTF-8?q?YT-1381=E5=BA=93=E5=AD=98=E4=BD=99=E9=A2=9D?= =?UTF-8?q?=E6=89=93=E5=8D=B0=E6=A0=87=E7=AD=BE=E5=88=9B=E5=BB=BA=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E9=A1=B5=E9=9D=A2=E7=82=B9=E7=A1=AE=E5=AE=9A=E5=BA=94?= =?UTF-8?q?=E8=AF=A5=E5=8A=A0loading=E9=81=AE=E7=BD=A9=EF=BC=8C=E7=9B=AE?= =?UTF-8?q?=E5=89=8D=E6=A0=87=E7=AD=BE=E5=87=BA=E7=8E=B0=E6=AF=94=E8=BE=83?= =?UTF-8?q?=E6=85=A2=20=E8=BF=98=E6=B2=A1=E6=9C=89loading=EF=BC=8C?= =?UTF-8?q?=E4=BC=9A=E8=AF=AF=E4=BB=A5=E4=B8=BA=E6=B2=A1=E7=82=B9=E6=88=90?= =?UTF-8?q?=E5=8A=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wms/inventoryManage/balance/index.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/views/wms/inventoryManage/balance/index.vue b/src/views/wms/inventoryManage/balance/index.vue index 27fab2eea..a4e625302 100644 --- a/src/views/wms/inventoryManage/balance/index.vue +++ b/src/views/wms/inventoryManage/balance/index.vue @@ -584,7 +584,9 @@ const pointLabel = async () => { // printQty:item.printQty, // } // }) - const obj = { + labelPointFormRef.value.formLoading = true + try { + const obj = { itemCode:detatableData1.value[0].itemCode, batch:detatableData1.value[0].batch, printQty:detatableData1.value[0].printQty, @@ -613,6 +615,10 @@ const pointLabel = async () => { console.log(err) message.error('创建标签失败') }) + } finally { + labelPointFormRef.value.formLoading = false + } + } /** 初始化 **/ onMounted(async () => {