From 8e808db6ce23a0197056d2a46d175e4bc8dd49f5 Mon Sep 17 00:00:00 2001 From: liufumingren Date: Mon, 24 Aug 2026 22:22:13 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=8B=86=E5=8C=85=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E5=8D=95=E8=BF=94=E5=9B=9E=E8=B4=A7=E4=B8=BB=E6=97=B6=E9=94=81?= =?UTF-8?q?=E5=AE=9A=E8=B4=A7=E4=B8=BB=EF=BC=8C=E4=B8=8D=E5=8F=AF=E7=A7=BB?= =?UTF-8?q?=E9=99=A4=E5=92=8C=E7=BC=96=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/express/returnUnpackwork/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/express/returnUnpackwork/index.vue b/src/views/express/returnUnpackwork/index.vue index f8444d20..920b3edd 100644 --- a/src/views/express/returnUnpackwork/index.vue +++ b/src/views/express/returnUnpackwork/index.vue @@ -69,7 +69,7 @@ size="small" class="full-width" :disabled="storeLocked" - :title="storeLocked ? '货主已锁定(原单退回或已选择商品)' : '选择货主'" + :title="storeLocked ? '货主已锁定(原单退回、创建单返回或已选择商品)' : '选择货主'" @change="handleStoreChange" > @@ -796,8 +796,8 @@ async function handleCreate(barcode?: string) { if (recordStoreId != null) { addStoreCandidate(recordStoreId, data.store_remark || '') } - // 原单退回的拆包单锁定货主,不允许切换 - storeLocked.value = Boolean(data.is_original_return) + // 原单退回或 create 返回了货主时锁定货主,不允许移除和编辑 + storeLocked.value = Boolean(data.is_original_return) || recordStoreId != null ElMessage.success(`拆包单创建成功,ID ${data.id}`) // 保留输入的运单号显示在锁定的输入框中(创建后运单号置灰不可改) lastScannedBarcode.value = ''