From 2ab033f79c123599732b38a2c8d804a4979dce3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=A8=E5=A4=A9?= Date: Mon, 12 Oct 2026 16:01:13 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=88=86=E6=8B=A3=E5=87=BA=E5=BA=93?= =?UTF-8?q?=E6=8B=8D=E7=85=A7):=20=E6=8B=8D=E7=85=A7=E5=8C=BA=E7=A7=BB?= =?UTF-8?q?=E5=88=B0=E8=AF=A6=E6=83=85=E4=B8=8A=E6=96=B9=EF=BC=8C=E9=81=BF?= =?UTF-8?q?=E5=85=8D=E8=A2=AB=E5=BF=BD=E7=95=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Web:出库拍照区从底部按钮上方移到明细标题下方(详情顶部) - 小程序:从底部 bar 上方移到任务详情顶部(进度行上方) - 仅位置调整,无逻辑变更;两端 tsc + node --check 通过,前端全量仍基线 --- .../components/picking-panel/index.wxml | 28 +++--- src/pages/picking/PickingManagement.tsx | 88 +++++++++---------- 2 files changed, 58 insertions(+), 58 deletions(-) diff --git a/miniprogram/components/picking-panel/index.wxml b/miniprogram/components/picking-panel/index.wxml index 6d72afa..d621984 100644 --- a/miniprogram/components/picking-panel/index.wxml +++ b/miniprogram/components/picking-panel/index.wxml @@ -63,6 +63,20 @@ + + + 出库拍照(可选) + 不拍也能完成 + + + {{photoUploading ? '上传中…' : '拍照/选图'}} + + + × + + + + 已确认 {{taskSummary.pickedCount}}/{{taskSummary.total}} @@ -152,20 +166,6 @@ class="bottom-bar-slot bottom-bar-slot--stack {{embedded ? 'bottom-bar-slot--embedded' : ''}}" /> - - - 出库拍照(可选) - 不拍也能完成 - - - {{photoUploading ? '上传中…' : '拍照/选图'}} - - - × - - - - strin + {Number(selectedTask.pick_status) < 30 && ( +
+
+

{t('picking.outboundPhoto.title')}

+ {t('picking.outboundPhoto.hint')} +
+
+ + {outboundPhotos.map((photo) => ( + + + + + ))} +
+ void handleOutboundPhotosPicked(event)} + /> +
+ )} + {Number(selectedTask.pick_status) < 30 && pickingScaleRequired && (
{t('picking.modal.weighRequired')} @@ -2719,50 +2763,6 @@ function assigneeLabel(user: PickingAssignee, roleLabel: (code: string) => strin
)} - {Number(selectedTask.pick_status) < 30 && ( -
-
-

{t('picking.outboundPhoto.title')}

- {t('picking.outboundPhoto.hint')} -
-
- - {outboundPhotos.map((photo) => ( - - - - - ))} -
- void handleOutboundPhotosPicked(event)} - /> -
- )} -