优化
This commit is contained in:
+15
-14
@@ -95,7 +95,7 @@
|
||||
</view>
|
||||
<view class="pick-item-row2">
|
||||
<text class="pick-item-desc">{{ itemDescription(item) }}</text>
|
||||
<text class="pick-item-location">{{ item.location }}</text>
|
||||
<text v-if="item.location" class="pick-item-location">{{ item.location }}</text>
|
||||
</view>
|
||||
|
||||
<view v-if="itemState(item) === ITEM_STATUS.PENDING" class="pick-item-actions">
|
||||
@@ -225,31 +225,32 @@
|
||||
<view class="modal-sheet partial-modal" role="dialog" aria-modal="true" aria-label="部分拣货" @tap.stop>
|
||||
<PopupHeader title="部分拣货" @close="closeOverlay" />
|
||||
<view v-if="partialTargetItem" class="partial-info">
|
||||
<text class="partial-info-sku">{{ partialTargetItem.sku }}</text>
|
||||
<text class="partial-info-desc">{{ partialTargetItem.desc }}</text>
|
||||
<view class="partial-info-qty">需拣总量:<text>{{ partialTargetItem.qty }}</text> {{ partialTargetItem.unit }}</view>
|
||||
<view class="partial-info-copy"><text v-if="partialTargetItem.sku" class="partial-info-sku">{{ partialTargetItem.sku }}</text><text class="partial-info-desc">{{ partialTargetItem.desc }}</text></view>
|
||||
<view class="partial-info-qty"><text class="partial-info-qty-label">需拣</text><text class="partial-info-qty-number">{{ partialTargetItem.qty }}</text><text>{{ partialTargetItem.unit }}</text></view>
|
||||
</view>
|
||||
<view class="partial-input-row">
|
||||
<text class="partial-input-label">实际拣出</text>
|
||||
<input
|
||||
v-model="partialInput"
|
||||
class="partial-input"
|
||||
aria-label="实际拣出数量"
|
||||
<view class="partial-field">
|
||||
<text class="partial-input-label">实际拣出数量</text>
|
||||
<view class="partial-input-control"><input
|
||||
v-model="partialInput"
|
||||
class="partial-input"
|
||||
aria-label="实际拣出数量"
|
||||
type="number"
|
||||
placeholder="请输入数量"
|
||||
placeholder-class="partial-input-placeholder"
|
||||
:focus="partialFocused"
|
||||
confirm-type="done"
|
||||
@confirm="confirmPartial"
|
||||
/>
|
||||
<text class="partial-input-unit">{{ partialTargetItem ? partialTargetItem.unit : '' }}</text>
|
||||
/><text class="partial-input-unit">{{ partialTargetItem ? partialTargetItem.unit : '' }}</text></view>
|
||||
</view>
|
||||
<view class="partial-quick-row">
|
||||
<button
|
||||
v-for="option in partialQuickOptions"
|
||||
:key="option.label"
|
||||
class="partial-quick-btn"
|
||||
:class="{ selected: String(partialInput) === String(option.value) }"
|
||||
@tap="setPartialInput(option.value)"
|
||||
>
|
||||
{{ option.label }} ({{ option.value }})
|
||||
<text class="partial-quick-ratio">{{ option.label }}</text><text class="partial-quick-value">{{ option.value }}{{ partialTargetItem ? partialTargetItem.unit : '' }}</text>
|
||||
</button>
|
||||
</view>
|
||||
<text v-if="partialValidationMessage" class="partial-validation" role="alert">{{ partialValidationMessage }}</text>
|
||||
@@ -280,7 +281,7 @@
|
||||
<PopupHeader :title="`仍有 ${summary.pending} 件未完成`" tone="danger" @close="closeOverlay" />
|
||||
<text class="decision-desc submit-decision-desc">确认提交后,以下待拣商品会被明确标记为“未拣出”,本次演示提交不可撤销。</text>
|
||||
<view class="pending-sku-list">
|
||||
<text v-for="item in pendingItems.slice(0, 3)" :key="item.id">{{ item.sku }} · {{ item.location }}</text>
|
||||
<text v-for="item in pendingItems.slice(0, 3)" :key="item.id">{{ item.location ? `${item.sku} · ${item.location}` : item.sku }}</text>
|
||||
<text v-if="pendingItems.length > 3">另有 {{ pendingItems.length - 3 }} 件</text>
|
||||
</view>
|
||||
<text class="decision-label">选择未完成原因</text>
|
||||
|
||||
Reference in New Issue
Block a user