From d0af8356b0edd02994c10d2a471713d022233212 Mon Sep 17 00:00:00 2001 From: xzg <4727863@qq.com> Date: Tue, 9 Jul 2024 17:30:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=BB=9E=E7=95=99=E5=A2=9E=E5=8A=A0=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../distributionDeliveryListedt.vue | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/views/distribution/deliverylist/distributionDeliveryListedt.vue b/src/views/distribution/deliverylist/distributionDeliveryListedt.vue index 203f9d48..5a14acab 100644 --- a/src/views/distribution/deliverylist/distributionDeliveryListedt.vue +++ b/src/views/distribution/deliverylist/distributionDeliveryListedt.vue @@ -4604,6 +4604,16 @@ if($useStore.getters && $useStore.getters.permission){ }, // 滞留 retention(row){ + ElMessageBox.confirm( + '是否确认滞留操作?', + '提示', + { + confirmButtonText: '确定', + cancelButtonText: '取消', + type: 'warning', + } + ) + .then(() => { let data={ barcode:row.orderPackageCode, deliveryId:this.deliverydata.id, @@ -4613,11 +4623,19 @@ if($useStore.getters && $useStore.getters.permission){ $_retentionScan(data).then(res=>{ console.log(res,'res'); if(res.data.code ==200){ + ElMessage({ + message: '滞留成功', + type: 'success', + }) this.getWrapdetails(this.wpage); } }).catch(()=>{ this.loading=false }) + }) + .catch(() => {}) + + }, // 包件批量签收 Batchpackages(){