From 5a509540c3a03a05a83948c864e8b913c8e28b4d Mon Sep 17 00:00:00 2001 From: zm2000 <18386612143@163.com> Date: Sat, 27 Jun 2026 18:22:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E6=95=B4=E9=9D=A2=E5=8D=95=E8=A1=A5?= =?UTF-8?q?=E6=89=93=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- env.js | 4 +- pages.json | 7 + pages/home/edit-quick-actions.vue | 5 +- pages/index/index.vue | 7 +- pages/packing/labelReprint.vue | 899 ++++++++++++++++++++++++++++++ 5 files changed, 917 insertions(+), 5 deletions(-) create mode 100644 pages/packing/labelReprint.vue diff --git a/env.js b/env.js index b87b72a..c33f58a 100644 --- a/env.js +++ b/env.js @@ -1,4 +1,4 @@ -export const BASE_URL = 'http://qimen.wms.gztbyc.com' //生产环境接口地址 -// export const BASE_URL = 'http://192.168.11.56:6060' //开发环境接口地址 +// export const BASE_URL = 'http://qimen.wms.gztbyc.com' //生产环境接口地址 +export const BASE_URL = 'http://192.168.11.56:6060' //开发环境接口地址 export const API_URL = `${BASE_URL}/system` //后台接口域名 export const IMG_URL = 'https://ye4s.file.gzxunren.com' //全局网络图片地址变量,css背景图片地址变量在uni.scss diff --git a/pages.json b/pages.json index 5851ccb..11e01da 100644 --- a/pages.json +++ b/pages.json @@ -198,6 +198,13 @@ { "titleNView": false } + }, + { + "path" : "pages/packing/labelReprint", + "style" : + { + "titleNView": false + } } ], diff --git a/pages/home/edit-quick-actions.vue b/pages/home/edit-quick-actions.vue index 6b8c8df..7697b45 100644 --- a/pages/home/edit-quick-actions.vue +++ b/pages/home/edit-quick-actions.vue @@ -318,6 +318,7 @@ const isGrouponWaveStrategy = menuName === '团购波次策略' || (menuName.includes('团购') && menuName.includes('波次')); const isScatterReviewShipping = menuName === '散单复核发货' || menuName === '订单复核' || (menuName.includes('散单') && menuName.includes('复核') && menuName.includes('发货')); const isGrouponPickingDetail = menuName === '团购拣货详情' || (menuName.includes('团购') && menuName.includes('拣货') && menuName.includes('详情')); + const isLabelReprint = menuName === '面单补打' || (menuName.includes('面单') && menuName.includes('补打')); const rawPath = item?.component || item?.path || ''; const normalizedPath = rawPath ? (rawPath.startsWith('/') ? rawPath : `/${rawPath}`) : ''; const isRandomStorage = menuName === '随机入库' || (menuName.includes('随机') && menuName.includes('入库')); @@ -344,7 +345,9 @@ ? '/pages/work/order/gBWaveStrategy' : (isScatterReviewShipping ? '/pages/work/order/order-review' - : (isGrouponPickingDetail ? '/pages/work/order/groupon-picking-detail' : normalizedPath))))); + : (isGrouponPickingDetail + ? '/pages/work/order/groupon-picking-detail' + : (isLabelReprint ? '/pages/packing/labelReprint' : normalizedPath)))))); if (!targetPath) { uni.showToast({ diff --git a/pages/index/index.vue b/pages/index/index.vue index 25247ba..e5277bb 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1187,6 +1187,7 @@ const isScatterPickingDetail = menuName === '散单拣货详情' || (menuName.includes('散单') && menuName.includes('拣货') && menuName.includes('详情')); const isScatterReviewShipping = menuName === '散单复核发货' || menuName === '订单复核' || (menuName.includes('散单') && menuName.includes('复核') && menuName.includes('发货')); const isGrouponPickingDetail = menuName === '团购拣货详情' || (menuName.includes('团购') && menuName.includes('拣货') && menuName.includes('详情')); + const isLabelReprint = menuName === '面单补打' || (menuName.includes('面单') && menuName.includes('补打')); const rawPath = item?.component || item?.path || ''; const normalizedPath = rawPath ? (rawPath.startsWith('/') ? rawPath : `/${rawPath}`) : ''; const isRandomStorage = menuName === '随机入库' || (menuName.includes('随机') && menuName.includes('入库')); @@ -1214,8 +1215,10 @@ : (isScatterReviewShipping ? '/pages/work/order/order-review' : (isScatterPickingDetail - ? '/pages/work/order/scatter-picking-detail' - : (isGrouponPickingDetail ? '/pages/work/order/groupon-picking-detail' : normalizedPath)))))); + ? '/pages/work/order/scatter-picking-detail' + : (isGrouponPickingDetail + ? '/pages/work/order/groupon-picking-detail' + : (isLabelReprint ? '/pages/packing/labelReprint' : normalizedPath))))))); if (!targetPath) { uni.showToast({ diff --git a/pages/packing/labelReprint.vue b/pages/packing/labelReprint.vue new file mode 100644 index 0000000..c373a65 --- /dev/null +++ b/pages/packing/labelReprint.vue @@ -0,0 +1,899 @@ + + + + +