修改页面路径
This commit is contained in:
parent
b5f366cdbb
commit
4747c2d1e7
@ -164,7 +164,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/work/storage/gBWaveStrategy",
|
||||
"path" : "pages/work/order/gBWaveStrategy",
|
||||
"style" :
|
||||
{
|
||||
"titleNView": false
|
||||
|
||||
@ -315,6 +315,7 @@
|
||||
const isGoodsQuery = menuName === '商品查询' || (menuName.includes('商品') && menuName.includes('查询'));
|
||||
const isOrderPicking = menuName === '订单拣货' || (menuName.includes('订单') && menuName.includes('拣货'));
|
||||
const isScatterWaveStrategy = menuName === '散单波次策略' || (menuName.includes('散单') && menuName.includes('波次'));
|
||||
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 rawPath = item?.component || item?.path || '';
|
||||
@ -334,9 +335,11 @@
|
||||
? '/pages/work/order/picking'
|
||||
: (isScatterWaveStrategy
|
||||
? '/pages/work/order/scatter-wave-strategy'
|
||||
: (isScatterReviewShipping
|
||||
? '/pages/work/order/order-review'
|
||||
: (isGrouponPickingDetail ? '/pages/work/order/groupon-picking-detail' : normalizedPath))));
|
||||
: (isGrouponWaveStrategy
|
||||
? '/pages/work/order/gBWaveStrategy'
|
||||
: (isScatterReviewShipping
|
||||
? '/pages/work/order/order-review'
|
||||
: (isGrouponPickingDetail ? '/pages/work/order/groupon-picking-detail' : normalizedPath)))));
|
||||
|
||||
if (!targetPath) {
|
||||
uni.showToast({
|
||||
|
||||
@ -1157,6 +1157,7 @@
|
||||
const isGoodsQuery = menuName === '商品查询' || (menuName.includes('商品') && menuName.includes('查询'));
|
||||
const isOrderPicking = menuName === '订单拣货' || (menuName.includes('订单') && menuName.includes('拣货'));
|
||||
const isScatterWaveStrategy = menuName === '散单波次策略' || (menuName.includes('散单') && menuName.includes('波次'));
|
||||
const isGrouponWaveStrategy = menuName === '团购波次策略' || (menuName.includes('团购') && menuName.includes('波次'));
|
||||
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('详情'));
|
||||
@ -1177,11 +1178,13 @@
|
||||
? '/pages/work/order/picking'
|
||||
: (isScatterWaveStrategy
|
||||
? '/pages/work/order/scatter-wave-strategy'
|
||||
: (isScatterReviewShipping
|
||||
? '/pages/work/order/order-review'
|
||||
: (isScatterPickingDetail
|
||||
? '/pages/work/order/scatter-picking-detail'
|
||||
: (isGrouponPickingDetail ? '/pages/work/order/groupon-picking-detail' : normalizedPath)))));
|
||||
: (isGrouponWaveStrategy
|
||||
? '/pages/work/order/gBWaveStrategy'
|
||||
: (isScatterReviewShipping
|
||||
? '/pages/work/order/order-review'
|
||||
: (isScatterPickingDetail
|
||||
? '/pages/work/order/scatter-picking-detail'
|
||||
: (isGrouponPickingDetail ? '/pages/work/order/groupon-picking-detail' : normalizedPath))))));
|
||||
|
||||
if (!targetPath) {
|
||||
uni.showToast({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user