feat(picking): 拣货页面头部重构与拣货车绑定体验优化
- 拣货/散拣/团购详情页:打印面单按钮及导航右侧按钮字号放大,提升触控与可读性 - 拣货页头部改为自定义 header:新增返回按钮、状态栏占位,移除 page-nav 组件 - 拣货要求/打包要求横幅重新排序并明确标签,新增间隔样式 - 条码过长时支持展开查看(新增 pick-value--expanded 样式) - 新增任务已绑定拣货车提示弹窗:绑定前拦截已绑定任务、绑定接口返回 409/已绑定提示时弹出 - 弹窗统一由 border-radius 改为 round 属性,避免圆角失效 - 散拣详情记录行:由省略号截断改为自动换行,两侧均分布局 - 样式兼容:flex gap 降级为 margin、弹窗/按钮/字号等视觉统一调整
This commit is contained in:
parent
0d4de97dfe
commit
4f3afd88c0
@ -63,7 +63,7 @@
|
|||||||
<u-button
|
<u-button
|
||||||
type="primary"
|
type="primary"
|
||||||
size="mini"
|
size="mini"
|
||||||
:customStyle="{ backgroundColor: '#2979ff', borderColor: '#2979ff', fontSize: '30rpx', height: '80rpx', lineHeight: '80rpx', padding: '0 20rpx' }"
|
:customStyle="{ backgroundColor: '#2979ff', borderColor: '#2979ff', fontSize: '36rpx', height: '80rpx', lineHeight: '80rpx', padding: '0 20rpx' }"
|
||||||
@click.native.stop="showRecordDetail(item)"
|
@click.native.stop="showRecordDetail(item)"
|
||||||
>
|
>
|
||||||
打印面单
|
打印面单
|
||||||
@ -1074,15 +1074,16 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.nav-right-action {
|
.nav-right-action {
|
||||||
font-size: 32rpx;
|
font-size: 36rpx;
|
||||||
line-height: 36rpx;
|
line-height: 44rpx;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
padding: 8rpx 18rpx;
|
padding: 10rpx 24rpx;
|
||||||
border-radius: 6rpx;
|
border-radius: 8rpx;
|
||||||
background: #2979ff;
|
background: #2979ff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-right-action--active {
|
.nav-right-action--active {
|
||||||
|
color: #ffffff;
|
||||||
background: #1f67e6;
|
background: #1f67e6;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,16 +1,21 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="order-picking-page">
|
<view class="order-picking-page">
|
||||||
<view class="normar_container">
|
<view class="normar_container">
|
||||||
<page-nav :title="title" @click.native="handleTitleClick">
|
<view class="status-bar"></view>
|
||||||
<template #right>
|
<view class="page-header">
|
||||||
|
<view class="back-btn" @click="handleBack">
|
||||||
|
<u-icon name="arrow-left" size="18" color="#333"></u-icon>
|
||||||
|
</view>
|
||||||
|
<text class="header-title" @click="handleTitleClick">{{ title }}</text>
|
||||||
|
<view class="header-side header-side--right">
|
||||||
<view class="nav-action-btn nav-action-btn--bind" @click="openBindCartPopup">
|
<view class="nav-action-btn nav-action-btn--bind" @click="openBindCartPopup">
|
||||||
<text class="nav-action-btn__text">拣货车</text>
|
<text class="nav-action-btn__text">拣货车</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="nav-right" :class="{ 'nav-right--disabled': !hasActiveTask }">
|
<view class="nav-right" :class="{ 'nav-right--disabled': !hasActiveTask }">
|
||||||
<u-icon name="more-dot-fill" size="22" @click="openActionsPopup"></u-icon>
|
<u-icon name="more-dot-fill" size="22" @click="openActionsPopup"></u-icon>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</view>
|
||||||
</page-nav>
|
</view>
|
||||||
|
|
||||||
<view v-if="!taskId" class="empty-wrap">
|
<view v-if="!taskId" class="empty-wrap">
|
||||||
<view class="empty-card">
|
<view class="empty-card">
|
||||||
@ -67,7 +72,7 @@
|
|||||||
<text v-if="!isBarcodeTooLong || selectedItemBarcodeLoading" class="pick-label">条码:</text>
|
<text v-if="!isBarcodeTooLong || selectedItemBarcodeLoading" class="pick-label">条码:</text>
|
||||||
<text
|
<text
|
||||||
class="pick-value"
|
class="pick-value"
|
||||||
:class="{ 'pick-value--clamp': isBarcodeTooLong && !barcodeExpanded }"
|
:class="{ 'pick-value--clamp': isBarcodeTooLong && !barcodeExpanded, 'pick-value--expanded': isBarcodeTooLong && barcodeExpanded }"
|
||||||
@click.stop="toggleBarcodeExpand"
|
@click.stop="toggleBarcodeExpand"
|
||||||
>{{ selectedItemBarcodeLoading ? '条码加载中...' : (selectedItemBarcode || '--') }}</text>
|
>{{ selectedItemBarcodeLoading ? '条码加载中...' : (selectedItemBarcode || '--') }}</text>
|
||||||
<text
|
<text
|
||||||
@ -80,13 +85,14 @@
|
|||||||
<view class="pick-row"><text class="pick-label">应拣总数:</text><text class="pick-value">{{ selectedPickItem.totalQty }}</text></view>
|
<view class="pick-row"><text class="pick-label">应拣总数:</text><text class="pick-value">{{ selectedPickItem.totalQty }}</text></view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="selectedPickItem && selectedPickItem.packingRequirements" class="packing-req-banner" @click="showPackingReqPopup = true">
|
|
||||||
<text class="packing-req-banner__label">包装:</text>
|
|
||||||
<text class="packing-req-banner__value">{{ selectedPickItem.packingRequirements }}</text>
|
|
||||||
</view>
|
|
||||||
<view v-if="selectedPickItem && selectedPickItem.pickRequirements" class="pick-req-banner" @click="showPickReqPopup = true">
|
<view v-if="selectedPickItem && selectedPickItem.pickRequirements" class="pick-req-banner" @click="showPickReqPopup = true">
|
||||||
|
<text class="pick-req-banner__label">拣货要求:</text>
|
||||||
<text class="pick-req-banner__value">{{ selectedPickItem.pickRequirements }}</text>
|
<text class="pick-req-banner__value">{{ selectedPickItem.pickRequirements }}</text>
|
||||||
</view>
|
</view>
|
||||||
|
<view v-if="selectedPickItem && selectedPickItem.packingRequirements" class="packing-req-banner" @click="showPackingReqPopup = true">
|
||||||
|
<text class="packing-req-banner__label">打包要求:</text>
|
||||||
|
<text class="packing-req-banner__value">{{ selectedPickItem.packingRequirements }}</text>
|
||||||
|
</view>
|
||||||
<view class="alloc-panel">
|
<view class="alloc-panel">
|
||||||
<view class="pick-row pick-row--top">
|
<view class="pick-row pick-row--top">
|
||||||
<text class="pick-label">分配篮号:</text>
|
<text class="pick-label">分配篮号:</text>
|
||||||
@ -174,14 +180,14 @@
|
|||||||
<text class="debug-input-btn" @click="handleDebugSubmit">发送</text>
|
<text class="debug-input-btn" @click="handleDebugSubmit">发送</text>
|
||||||
<text class="debug-input-close" @click="showDebugInput = false">✕</text>
|
<text class="debug-input-close" @click="showDebugInput = false">✕</text>
|
||||||
</view>
|
</view>
|
||||||
<u-popup :show="bindCartPopupVisible" mode="bottom" :closeable="true" border-radius="20" @close="closeBindCartPopup">
|
<u-popup :show="bindCartPopupVisible" mode="bottom" :closeable="true" round="20" @close="closeBindCartPopup">
|
||||||
<view class="bind-cart-popup" :style="{ paddingBottom: keyboardHeight ? keyboardHeight + 'px' : '' }">
|
<view class="bind-cart-popup" :style="{ paddingBottom: keyboardHeight ? keyboardHeight + 'px' : '' }">
|
||||||
<view class="popup-header">
|
<view class="popup-header">
|
||||||
<text class="popup-title">绑定拣货车</text>
|
<text class="popup-title">绑定拣货车</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="bind-cart-form">
|
<view class="bind-cart-form">
|
||||||
<view class="bind-cart-search-row">
|
<view class="bind-cart-search-row">
|
||||||
<u-input v-model="bindCartNoInput" placeholder="请输入或扫描拣货车编号" clearable :adjust-position="false"></u-input>
|
<u-input v-model="bindCartNoInput" placeholder="请输入或扫描拣货车编号" clearable :adjust-position="false" fontSize="38rpx" placeholder-style="font-size: 38rpx;"></u-input>
|
||||||
<view class="bind-cart-query-btn" @click="handleBindCartSearch">查询</view>
|
<view class="bind-cart-query-btn" @click="handleBindCartSearch">查询</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -214,7 +220,7 @@
|
|||||||
</u-popup>
|
</u-popup>
|
||||||
|
|
||||||
<!-- 无条码拣货弹窗 -->
|
<!-- 无条码拣货弹窗 -->
|
||||||
<u-popup :show="showNoBarcodePopup" mode="center" :closeable="true" :closeOnClickOverlay="false" border-radius="20" @close="showNoBarcodePopup = false">
|
<u-popup :show="showNoBarcodePopup" mode="center" :closeable="true" :closeOnClickOverlay="false" round="20" @close="showNoBarcodePopup = false">
|
||||||
<view class="no-barcode-popup">
|
<view class="no-barcode-popup">
|
||||||
<view class="no-barcode-popup__title">无条码拣货</view>
|
<view class="no-barcode-popup__title">无条码拣货</view>
|
||||||
<view class="no-barcode-popup__body">
|
<view class="no-barcode-popup__body">
|
||||||
@ -230,7 +236,7 @@
|
|||||||
</u-popup>
|
</u-popup>
|
||||||
|
|
||||||
<!-- 取消拣货二次确认弹窗 -->
|
<!-- 取消拣货二次确认弹窗 -->
|
||||||
<u-popup :show="showCancelPickConfirm" mode="center" :closeable="true" :closeOnClickOverlay="false" border-radius="20" @close="showCancelPickConfirm = false">
|
<u-popup :show="showCancelPickConfirm" mode="center" :closeable="true" :closeOnClickOverlay="false" round="20" @close="showCancelPickConfirm = false">
|
||||||
<view class="cancel-pick-confirm-popup">
|
<view class="cancel-pick-confirm-popup">
|
||||||
<view class="cancel-pick-confirm-popup__title">确认取消拣货</view>
|
<view class="cancel-pick-confirm-popup__title">确认取消拣货</view>
|
||||||
<view class="cancel-pick-confirm-popup__body">
|
<view class="cancel-pick-confirm-popup__body">
|
||||||
@ -257,8 +263,21 @@
|
|||||||
</view>
|
</view>
|
||||||
</u-popup>
|
</u-popup>
|
||||||
|
|
||||||
|
<!-- 任务已绑定拣货车提示弹窗 -->
|
||||||
|
<u-popup :show="showBindCartRebindPopup" mode="center" :closeable="true" :closeOnClickOverlay="true" round="20" :z-index="10091" @close="showBindCartRebindPopup = false">
|
||||||
|
<view class="bind-cart-rebind-popup">
|
||||||
|
<view class="bind-cart-rebind-popup__title">提示</view>
|
||||||
|
<view class="bind-cart-rebind-popup__body">
|
||||||
|
<text class="bind-cart-rebind-popup__text">{{ bindCartRebindMessage || '任务已绑定拣货车,请先解绑后再重新绑定' }}</text>
|
||||||
|
</view>
|
||||||
|
<view class="bind-cart-rebind-popup__footer">
|
||||||
|
<view class="bind-cart-rebind-popup__close" @click="showBindCartRebindPopup = false">关闭</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</u-popup>
|
||||||
|
|
||||||
<!-- 操作弹窗 -->
|
<!-- 操作弹窗 -->
|
||||||
<u-popup :show="showActionsPopup" mode="bottom" :closeable="true" border-radius="20" @close="showActionsPopup = false">
|
<u-popup :show="showActionsPopup" mode="bottom" :closeable="true" round="20" @close="showActionsPopup = false">
|
||||||
<view class="actions-popup">
|
<view class="actions-popup">
|
||||||
<view class="actions-popup-title">操作</view>
|
<view class="actions-popup-title">操作</view>
|
||||||
<view class="actions-popup-body">
|
<view class="actions-popup-body">
|
||||||
@ -280,7 +299,7 @@
|
|||||||
</u-popup>
|
</u-popup>
|
||||||
|
|
||||||
<!-- 波次列表弹窗 -->
|
<!-- 波次列表弹窗 -->
|
||||||
<u-popup :show="showWaveListPopup" mode="bottom" :closeable="true" border-radius="20" @close="showWaveListPopup = false">
|
<u-popup :show="showWaveListPopup" mode="bottom" :closeable="true" round="20" @close="showWaveListPopup = false">
|
||||||
<view class="wave-list-popup">
|
<view class="wave-list-popup">
|
||||||
<view class="wave-list-popup__title">波次列表</view>
|
<view class="wave-list-popup__title">波次列表</view>
|
||||||
<scroll-view class="wave-list-popup__body" scroll-y>
|
<scroll-view class="wave-list-popup__body" scroll-y>
|
||||||
@ -300,10 +319,10 @@
|
|||||||
</view>
|
</view>
|
||||||
</u-popup>
|
</u-popup>
|
||||||
|
|
||||||
<!-- 包装弹窗 -->
|
<!-- 打包要求弹窗 -->
|
||||||
<u-popup :show="showPackingReqPopup" mode="center" :closeable="true" :closeOnClickOverlay="true" border-radius="20" @close="showPackingReqPopup = false">
|
<u-popup :show="showPackingReqPopup" mode="center" :closeable="true" :closeOnClickOverlay="true" round="20" @close="showPackingReqPopup = false">
|
||||||
<view class="packing-req-popup">
|
<view class="packing-req-popup">
|
||||||
<view class="packing-req-popup__title">包装</view>
|
<view class="packing-req-popup__title">打包要求</view>
|
||||||
<view class="packing-req-popup__body">
|
<view class="packing-req-popup__body">
|
||||||
<text class="packing-req-popup__text">{{ (selectedPickItem && selectedPickItem.packingRequirements) || '' }}</text>
|
<text class="packing-req-popup__text">{{ (selectedPickItem && selectedPickItem.packingRequirements) || '' }}</text>
|
||||||
</view>
|
</view>
|
||||||
@ -314,7 +333,7 @@
|
|||||||
</u-popup>
|
</u-popup>
|
||||||
|
|
||||||
<!-- 拣货要求弹窗 -->
|
<!-- 拣货要求弹窗 -->
|
||||||
<u-popup :show="showPickReqPopup" mode="center" :closeable="true" :closeOnClickOverlay="true" border-radius="20" @close="showPickReqPopup = false">
|
<u-popup :show="showPickReqPopup" mode="center" :closeable="true" :closeOnClickOverlay="true" round="20" @close="showPickReqPopup = false">
|
||||||
<view class="pick-req-popup">
|
<view class="pick-req-popup">
|
||||||
<view class="pick-req-popup__title">拣货要求</view>
|
<view class="pick-req-popup__title">拣货要求</view>
|
||||||
<view class="pick-req-popup__body">
|
<view class="pick-req-popup__body">
|
||||||
@ -372,6 +391,8 @@ import voice from '@/core/utils/voice';
|
|||||||
showCancelPickConfirm: false,
|
showCancelPickConfirm: false,
|
||||||
showClaimPromptPopup: false,
|
showClaimPromptPopup: false,
|
||||||
claimPromptMessage: '',
|
claimPromptMessage: '',
|
||||||
|
showBindCartRebindPopup: false,
|
||||||
|
bindCartRebindMessage: '',
|
||||||
showNoBarcodePopup: false,
|
showNoBarcodePopup: false,
|
||||||
noBarcodeItemName: '',
|
noBarcodeItemName: '',
|
||||||
noBarcodePickedCount: 0,
|
noBarcodePickedCount: 0,
|
||||||
@ -945,6 +966,10 @@ import voice from '@/core/utils/voice';
|
|||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (this.boundCartNo) {
|
||||||
|
this.showBindCartRebindPopup = true;
|
||||||
|
return;
|
||||||
|
}
|
||||||
this.bindCartNoInput = this.boundCartNo || '';
|
this.bindCartNoInput = this.boundCartNo || '';
|
||||||
this.bindCartQueryKeyword = this.bindCartNoInput || '';
|
this.bindCartQueryKeyword = this.bindCartNoInput || '';
|
||||||
this.selectedBindCartItem = null;
|
this.selectedBindCartItem = null;
|
||||||
@ -1152,6 +1177,12 @@ import voice from '@/core/utils/voice';
|
|||||||
20000
|
20000
|
||||||
);
|
);
|
||||||
if (String(bindResponse?.flag || '').toLowerCase() === 'failure') {
|
if (String(bindResponse?.flag || '').toLowerCase() === 'failure') {
|
||||||
|
if (Number(bindResponse?.code) === 409 || String(bindResponse?.message || '').indexOf('已绑定拣货车') !== -1) {
|
||||||
|
this.bindCartRebindMessage = bindResponse?.message || '任务已绑定拣货车,请先解绑后再重新绑定';
|
||||||
|
this.bindCartPopupVisible = false;
|
||||||
|
this.showBindCartRebindPopup = true;
|
||||||
|
return;
|
||||||
|
}
|
||||||
this.showErrorModal(bindResponse?.message || '绑定拣货车失败');
|
this.showErrorModal(bindResponse?.message || '绑定拣货车失败');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -1396,6 +1427,14 @@ import voice from '@/core/utils/voice';
|
|||||||
}
|
}
|
||||||
this.handleSearch();
|
this.handleSearch();
|
||||||
},
|
},
|
||||||
|
handleBack() {
|
||||||
|
uni.navigateBack({
|
||||||
|
delta: 1,
|
||||||
|
fail: () => {
|
||||||
|
uni.switchTab({ url: '/pages/index/index' });
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
// ====== 调试功能 ======
|
// ====== 调试功能 ======
|
||||||
handleTitleClick() {
|
handleTitleClick() {
|
||||||
this._titleClickCount = (this._titleClickCount || 0) + 1;
|
this._titleClickCount = (this._titleClickCount || 0) + 1;
|
||||||
@ -2423,6 +2462,52 @@ import voice from '@/core/utils/voice';
|
|||||||
background: #f8f9fa;
|
background: #f8f9fa;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.status-bar {
|
||||||
|
height: var(--status-bar-height);
|
||||||
|
background: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.page-header {
|
||||||
|
position: relative;
|
||||||
|
height: 88rpx;
|
||||||
|
padding: 0 24rpx;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
background: #ffffff;
|
||||||
|
box-sizing: border-box;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.back-btn {
|
||||||
|
flex-shrink: 0;
|
||||||
|
width: 56rpx;
|
||||||
|
height: 56rpx;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-title {
|
||||||
|
flex: 1;
|
||||||
|
font-size: 36rpx;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #333;
|
||||||
|
text-align: center;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-side {
|
||||||
|
flex-shrink: 0;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-side--right {
|
||||||
|
justify-content: flex-end;
|
||||||
|
}
|
||||||
|
|
||||||
::v-deep .normar_container {
|
::v-deep .normar_container {
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -2468,7 +2553,7 @@ import voice from '@/core/utils/voice';
|
|||||||
|
|
||||||
.content-wrap {
|
.content-wrap {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
padding: 12rpx 24rpx 24rpx;
|
padding: 12rpx 16rpx 24rpx;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@ -2482,7 +2567,6 @@ import voice from '@/core/utils/voice';
|
|||||||
.top-detail-panel {
|
.top-detail-panel {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
margin: 0 -12rpx;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.wave-banner {
|
.wave-banner {
|
||||||
@ -2579,6 +2663,10 @@ import voice from '@/core/utils/voice';
|
|||||||
padding: 6rpx 16rpx;
|
padding: 6rpx 16rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.pick-req-banner + .packing-req-banner {
|
||||||
|
margin-top: 12rpx;
|
||||||
|
}
|
||||||
|
|
||||||
.pick-req-banner__label {
|
.pick-req-banner__label {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
@ -2597,94 +2685,165 @@ import voice from '@/core/utils/voice';
|
|||||||
}
|
}
|
||||||
|
|
||||||
.pick-req-popup {
|
.pick-req-popup {
|
||||||
padding: 32rpx 24rpx 24rpx;
|
width: 640rpx;
|
||||||
min-width: 560rpx;
|
padding: 40rpx 32rpx 32rpx;
|
||||||
max-width: 600rpx;
|
background: #ffffff;
|
||||||
|
border-radius: 20rpx;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pick-req-popup__title {
|
.pick-req-popup__title {
|
||||||
font-size: 36rpx;
|
font-size: 42rpx;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #303133;
|
color: #303133;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-bottom: 24rpx;
|
margin-bottom: 32rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pick-req-popup__body {
|
.pick-req-popup__body {
|
||||||
|
margin-bottom: 36rpx;
|
||||||
padding: 24rpx;
|
padding: 24rpx;
|
||||||
background: #fef0f0;
|
background: #fef0f0;
|
||||||
border-radius: 12rpx;
|
border-radius: 12rpx;
|
||||||
margin-bottom: 24rpx;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.pick-req-popup__text {
|
.pick-req-popup__text {
|
||||||
font-size: 36rpx;
|
font-size: 36rpx;
|
||||||
color: #e64242;
|
color: #e64242;
|
||||||
line-height: 1.8;
|
line-height: 1.6;
|
||||||
|
word-break: break-all;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pick-req-popup__footer {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pick-req-popup__close {
|
||||||
|
flex: 1;
|
||||||
|
height: 88rpx;
|
||||||
|
border-radius: 12rpx;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
font-size: 36rpx;
|
||||||
|
font-weight: 500;
|
||||||
|
color: #606266;
|
||||||
|
background: #f5f7fa;
|
||||||
|
border: 1rpx solid #dcdfe6;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bind-cart-rebind-popup {
|
||||||
|
width: 640rpx;
|
||||||
|
padding: 40rpx 32rpx 32rpx;
|
||||||
|
background: #ffffff;
|
||||||
|
border-radius: 20rpx;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bind-cart-rebind-popup__title {
|
||||||
|
font-size: 42rpx;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #303133;
|
||||||
|
text-align: center;
|
||||||
|
margin-bottom: 32rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bind-cart-rebind-popup__body {
|
||||||
|
margin-bottom: 36rpx;
|
||||||
|
padding: 24rpx;
|
||||||
|
background: #fef0f0;
|
||||||
|
border-radius: 12rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bind-cart-rebind-popup__text {
|
||||||
|
font-size: 36rpx;
|
||||||
|
color: #e64242;
|
||||||
|
line-height: 1.6;
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pick-req-popup__footer {
|
.bind-cart-rebind-popup__footer {
|
||||||
text-align: center;
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pick-req-popup__close {
|
.bind-cart-rebind-popup__close {
|
||||||
display: inline-block;
|
flex: 1;
|
||||||
font-size: 30rpx;
|
height: 88rpx;
|
||||||
|
border-radius: 12rpx;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
font-size: 36rpx;
|
||||||
|
font-weight: 500;
|
||||||
color: #606266;
|
color: #606266;
|
||||||
background: #f5f5f5;
|
background: #f5f7fa;
|
||||||
border: 1rpx solid #dcdfe6;
|
border: 1rpx solid #dcdfe6;
|
||||||
border-radius: 10rpx;
|
|
||||||
padding: 14rpx 64rpx;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.packing-req-popup {
|
.packing-req-popup {
|
||||||
padding: 32rpx 24rpx 24rpx;
|
width: 640rpx;
|
||||||
max-width: 600rpx;
|
padding: 40rpx 32rpx 32rpx;
|
||||||
|
background: #ffffff;
|
||||||
|
border-radius: 20rpx;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.packing-req-popup__title {
|
.packing-req-popup__title {
|
||||||
font-size: 36rpx;
|
font-size: 42rpx;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #303133;
|
color: #303133;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-bottom: 24rpx;
|
margin-bottom: 32rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.packing-req-popup__body {
|
.packing-req-popup__body {
|
||||||
|
margin-bottom: 36rpx;
|
||||||
padding: 24rpx;
|
padding: 24rpx;
|
||||||
background: #fef0f0;
|
background: #fef0f0;
|
||||||
border-radius: 12rpx;
|
border-radius: 12rpx;
|
||||||
margin-bottom: 24rpx;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.packing-req-popup__text {
|
.packing-req-popup__text {
|
||||||
font-size: 32rpx;
|
font-size: 36rpx;
|
||||||
color: #e64242;
|
color: #e64242;
|
||||||
line-height: 1.8;
|
line-height: 1.6;
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.packing-req-popup__footer {
|
.packing-req-popup__footer {
|
||||||
text-align: center;
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.packing-req-popup__close {
|
.packing-req-popup__close {
|
||||||
display: inline-block;
|
flex: 1;
|
||||||
font-size: 28rpx;
|
height: 88rpx;
|
||||||
color: #2979ff;
|
border-radius: 12rpx;
|
||||||
padding: 12rpx 48rpx;
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
font-size: 36rpx;
|
||||||
|
font-weight: 500;
|
||||||
|
color: #606266;
|
||||||
|
background: #f5f7fa;
|
||||||
|
border: 1rpx solid #dcdfe6;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wave-list-popup {
|
.wave-list-popup {
|
||||||
|
background: #ffffff;
|
||||||
|
border-radius: 20px 20px 0 0;
|
||||||
|
overflow: hidden;
|
||||||
padding: 32rpx 24rpx 24rpx;
|
padding: 32rpx 24rpx 24rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wave-list-popup__title {
|
.wave-list-popup__title {
|
||||||
font-size: 32rpx;
|
font-size: 40rpx;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #303133;
|
color: #303133;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@ -2709,7 +2868,7 @@ import voice from '@/core/utils/voice';
|
|||||||
height: 44rpx;
|
height: 44rpx;
|
||||||
line-height: 44rpx;
|
line-height: 44rpx;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 24rpx;
|
font-size: 30rpx;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
background: #2979ff;
|
background: #2979ff;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
@ -2717,7 +2876,7 @@ import voice from '@/core/utils/voice';
|
|||||||
|
|
||||||
.wave-list-item__label {
|
.wave-list-item__label {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
font-size: 34rpx;
|
font-size: 36rpx;
|
||||||
color: #303133;
|
color: #303133;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2732,13 +2891,12 @@ import voice from '@/core/utils/voice';
|
|||||||
}
|
}
|
||||||
|
|
||||||
.wave-list-popup__close {
|
.wave-list-popup__close {
|
||||||
font-size: 32rpx;
|
font-size: 36rpx;
|
||||||
color: #909399;
|
color: #909399;
|
||||||
padding: 12rpx 48rpx;
|
padding: 12rpx 48rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-right {
|
.nav-right {
|
||||||
padding-right: 24rpx;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
@ -2773,7 +2931,6 @@ import voice from '@/core/utils/voice';
|
|||||||
.nav-action-btn--bind .nav-action-btn__text {
|
.nav-action-btn--bind .nav-action-btn__text {
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
font-size: 36rpx;
|
font-size: 36rpx;
|
||||||
font-weight: bold;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-action-btn__text {
|
.nav-action-btn__text {
|
||||||
@ -2792,29 +2949,30 @@ import voice from '@/core/utils/voice';
|
|||||||
|
|
||||||
/* 操作弹窗 */
|
/* 操作弹窗 */
|
||||||
.actions-popup {
|
.actions-popup {
|
||||||
padding: 48rpx 32rpx calc(40rpx + env(safe-area-inset-bottom));
|
padding: 32rpx 24rpx 40rpx;
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
border-top-left-radius: 20rpx;
|
border-radius: 20px 20px 0 0;
|
||||||
border-top-right-radius: 20rpx;
|
overflow: hidden;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.actions-popup-title {
|
.actions-popup-title {
|
||||||
font-size: 38rpx;
|
font-size: 40rpx;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #303133;
|
color: #333;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-bottom: 36rpx;
|
margin-bottom: 40rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.actions-popup-body {
|
.actions-popup-body {
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-bottom: 32rpx;
|
margin-bottom: 48rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.actions-popup-btn {
|
.actions-popup-btn {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
height: 100rpx;
|
height: 80rpx;
|
||||||
border-radius: 16rpx;
|
border-radius: 12rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@ -2835,8 +2993,7 @@ import voice from '@/core/utils/voice';
|
|||||||
}
|
}
|
||||||
|
|
||||||
.actions-popup-btn__text {
|
.actions-popup-btn__text {
|
||||||
font-size: 34rpx;
|
font-size: 36rpx;
|
||||||
font-weight: 500;
|
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2850,16 +3007,18 @@ import voice from '@/core/utils/voice';
|
|||||||
|
|
||||||
.actions-popup-footer {
|
.actions-popup-footer {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.actions-popup-close-btn {
|
.actions-popup-close-btn {
|
||||||
padding: 16rpx 48rpx;
|
flex: 1;
|
||||||
font-size: 34rpx;
|
height: 80rpx;
|
||||||
color: #909399;
|
display: flex;
|
||||||
border: 1rpx solid #dcdfe6;
|
align-items: center;
|
||||||
border-radius: 10rpx;
|
justify-content: center;
|
||||||
background: #f5f5f5;
|
font-size: 36rpx;
|
||||||
|
color: #606266;
|
||||||
|
border-radius: 12rpx;
|
||||||
|
background: #f6f8fb;
|
||||||
}
|
}
|
||||||
|
|
||||||
.loading-wrap {
|
.loading-wrap {
|
||||||
@ -2877,10 +3036,12 @@ import voice from '@/core/utils/voice';
|
|||||||
.bottom-grid-panel {
|
.bottom-grid-panel {
|
||||||
flex: 0 0 300rpx;
|
flex: 0 0 300rpx;
|
||||||
height: 300rpx;
|
height: 300rpx;
|
||||||
|
width: 100%;
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
border-radius: 12rpx;
|
border-radius: 12rpx;
|
||||||
padding: 12rpx;
|
padding: 12rpx;
|
||||||
border: 1rpx solid #ebeef5;
|
border: 1rpx solid #ebeef5;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.list-empty {
|
.list-empty {
|
||||||
@ -3072,12 +3233,17 @@ import voice from '@/core/utils/voice';
|
|||||||
word-break: keep-all;
|
word-break: keep-all;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.pick-value--expanded {
|
||||||
|
max-height: 156rpx;
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.barcode-toggle-btn {
|
.barcode-toggle-btn {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
margin-left: 12rpx;
|
margin-left: 12rpx;
|
||||||
margin-top: 4rpx;
|
margin-top: 4rpx;
|
||||||
padding: 0 16rpx;
|
padding: 0 16rpx;
|
||||||
font-size: 26rpx;
|
font-size: 32rpx;
|
||||||
line-height: 40rpx;
|
line-height: 40rpx;
|
||||||
color: #2979ff;
|
color: #2979ff;
|
||||||
background: #ecf5ff;
|
background: #ecf5ff;
|
||||||
@ -3294,7 +3460,10 @@ import voice from '@/core/utils/voice';
|
|||||||
}
|
}
|
||||||
|
|
||||||
.bind-cart-popup {
|
.bind-cart-popup {
|
||||||
padding: 20rpx 24rpx 28rpx;
|
background: #ffffff;
|
||||||
|
border-radius: 20px 20px 0 0;
|
||||||
|
overflow: hidden;
|
||||||
|
padding: 32rpx 24rpx 40rpx;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3306,9 +3475,9 @@ import voice from '@/core/utils/voice';
|
|||||||
}
|
}
|
||||||
|
|
||||||
.popup-title {
|
.popup-title {
|
||||||
font-size: 32rpx;
|
font-size: 40rpx;
|
||||||
color: #303133;
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
color: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bind-cart-form {
|
.bind-cart-form {
|
||||||
@ -3318,7 +3487,6 @@ import voice from '@/core/utils/voice';
|
|||||||
.bind-cart-search-row {
|
.bind-cart-search-row {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 12rpx;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.bind-cart-query-btn {
|
.bind-cart-query-btn {
|
||||||
@ -3329,8 +3497,9 @@ import voice from '@/core/utils/voice';
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
padding: 0 18rpx;
|
padding: 0 18rpx;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
font-size: 26rpx;
|
font-size: 36rpx;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
margin-left: 12rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bind-cart-query-btn {
|
.bind-cart-query-btn {
|
||||||
@ -3346,15 +3515,15 @@ import voice from '@/core/utils/voice';
|
|||||||
}
|
}
|
||||||
|
|
||||||
.bind-cart-list {
|
.bind-cart-list {
|
||||||
max-height: 420rpx;
|
max-height: 480rpx;
|
||||||
padding: 0 0 20rpx;
|
padding: 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bind-cart-empty {
|
.bind-cart-empty {
|
||||||
padding: 20rpx 0;
|
padding: 20rpx 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 26rpx;
|
font-size: 36rpx;
|
||||||
color: #909399;
|
color: #909399;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3379,7 +3548,7 @@ import voice from '@/core/utils/voice';
|
|||||||
}
|
}
|
||||||
|
|
||||||
.bind-cart-item__title {
|
.bind-cart-item__title {
|
||||||
font-size: 28rpx;
|
font-size: 38rpx;
|
||||||
color: #303133;
|
color: #303133;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
@ -3410,22 +3579,25 @@ import voice from '@/core/utils/voice';
|
|||||||
.bind-cart-actions {
|
.bind-cart-actions {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 16rpx;
|
margin-top: 24rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bind-cart-btn {
|
.bind-cart-btn {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
height: 76rpx;
|
height: 80rpx;
|
||||||
border-radius: 12rpx;
|
border-radius: 12rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
font-size: 28rpx;
|
font-size: 36rpx;
|
||||||
font-weight: 500;
|
}
|
||||||
|
|
||||||
|
.bind-cart-btn + .bind-cart-btn {
|
||||||
|
margin-left: 16rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bind-cart-btn--cancel {
|
.bind-cart-btn--cancel {
|
||||||
background: #f5f7fa;
|
background: #f6f8fb;
|
||||||
color: #606266;
|
color: #606266;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3705,7 +3877,7 @@ import voice from '@/core/utils/voice';
|
|||||||
}
|
}
|
||||||
|
|
||||||
.cancel-pick-confirm-popup__btn--confirm {
|
.cancel-pick-confirm-popup__btn--confirm {
|
||||||
background: #fa3534;
|
background: #f56c6c;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -63,7 +63,7 @@
|
|||||||
<u-button
|
<u-button
|
||||||
type="primary"
|
type="primary"
|
||||||
size="mini"
|
size="mini"
|
||||||
:customStyle="{ backgroundColor: '#2979ff', borderColor: '#2979ff', fontSize: '30rpx', height: '80rpx', lineHeight: '80rpx', padding: '0 20rpx' }"
|
:customStyle="{ backgroundColor: '#2979ff', borderColor: '#2979ff', fontSize: '36rpx', height: '80rpx', lineHeight: '80rpx', padding: '0 20rpx' }"
|
||||||
@click.native.stop="handlePrintAllUnreviewed(item)"
|
@click.native.stop="handlePrintAllUnreviewed(item)"
|
||||||
>
|
>
|
||||||
打印所有未复核订单
|
打印所有未复核订单
|
||||||
@ -1103,11 +1103,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.nav-right-action {
|
.nav-right-action {
|
||||||
font-size: 32rpx;
|
font-size: 36rpx;
|
||||||
line-height: 36rpx;
|
line-height: 44rpx;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
padding: 8rpx 18rpx;
|
padding: 10rpx 24rpx;
|
||||||
border-radius: 6rpx;
|
border-radius: 8rpx;
|
||||||
background: #2979ff;
|
background: #2979ff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1205,12 +1205,9 @@
|
|||||||
|
|
||||||
.record-half {
|
.record-half {
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
|
flex: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: flex-start;
|
||||||
}
|
|
||||||
|
|
||||||
.record-half:last-child {
|
|
||||||
margin-left: auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.record-half-label {
|
.record-half-label {
|
||||||
@ -1223,9 +1220,7 @@
|
|||||||
.record-half-value {
|
.record-half-value {
|
||||||
color: #303133;
|
color: #303133;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
overflow: hidden;
|
word-break: break-all;
|
||||||
text-overflow: ellipsis;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.record-right {
|
.record-right {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user