feat: 自提状态下不展示延时发货
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user