fix cancel for waiting stock order
This commit is contained in:
@@ -62,7 +62,7 @@
|
|||||||
<t-cell v-if="!fulfillment.itemList?.length" title="暂无履约明细" />
|
<t-cell v-if="!fulfillment.itemList?.length" title="暂无履约明细" />
|
||||||
</t-cell-group>
|
</t-cell-group>
|
||||||
<section
|
<section
|
||||||
v-if="(!isOrderCancelled && isWaitingStock && canVerify) || (!isOrderCancelled && isPending && (canVerify || canCreate)) || (isVerified && canRevoke)"
|
v-if="(!isOrderCancelled && isWaitingStock && (canVerify || canCreate)) || (!isOrderCancelled && isPending && (canVerify || canCreate)) || (isVerified && canRevoke)"
|
||||||
class="actions"
|
class="actions"
|
||||||
v-entrance-transition="140"
|
v-entrance-transition="140"
|
||||||
>
|
>
|
||||||
@@ -77,7 +77,7 @@
|
|||||||
<t-button theme="danger" content="拒绝履约" @click="openReason('reject')" />
|
<t-button theme="danger" content="拒绝履约" @click="openReason('reject')" />
|
||||||
</div>
|
</div>
|
||||||
<t-button
|
<t-button
|
||||||
v-if="!isOrderCancelled && isPending && canCreate"
|
v-if="!isOrderCancelled && (isWaitingStock || isPending) && canCreate"
|
||||||
theme="default"
|
theme="default"
|
||||||
content="撤销履约"
|
content="撤销履约"
|
||||||
@click="openReason('cancel')"
|
@click="openReason('cancel')"
|
||||||
|
|||||||
Reference in New Issue
Block a user