feat: 自提状态下不展示延时发货

This commit is contained in:
2026-07-23 10:59:54 +08:00
parent 8e8a76971e
commit 7705af52af
4 changed files with 53 additions and 6 deletions
+14 -2
View File
@@ -1,9 +1,17 @@
<template>
<view class="flex-center ju-flex-end w100">
<view class="ai-button3 w_144 m-r-10" v-if="props.status === 10" @tap.stop="emit('delay')">
<view
class="ai-button3 w_144 m-r-10"
v-if="props.status === 10 && !props.disableDelayShipment"
@tap.stop="emit('delay')"
>
延迟发货
</view>
<view class="ai-button3 w_144 m-r-10" v-if="props.status === 50" @tap.stop="emit('now')">
<view
class="ai-button3 w_144 m-r-10"
v-if="props.status === 50 && !props.disableDelayShipment"
@tap.stop="emit('now')"
>
立即发货
</view>
<view class="ai-button3 w_144" v-if="props.showView" @tap.stop="emit('view')">
@@ -24,6 +32,10 @@
type: Number,
default: -1,
},
disableDelayShipment: {
type: Boolean,
default: false,
},
showView: {
type: Boolean,
default: false,