优化逻辑

This commit is contained in:
paulGao
2022-07-06 16:18:09 +08:00
parent 85349a197f
commit 994b700892
2 changed files with 1 additions and 2 deletions

View File

@@ -32,7 +32,7 @@
</div>
</div>
<div>
<Button @click="delOrder(order.sn)" class="del-btn mr_10 fontsize_16" style="margin-top:-5px;" type="text" icon="ios-trash-outline" size="small"></Button>
<Button v-if="order.orderStatus === 'COMPLETED'" @click="delOrder(order.sn)" class="del-btn mr_10 fontsize_16" style="margin-top:-5px;" type="text" icon="ios-trash-outline" size="small"></Button>
<span>{{ order.flowPrice | unitPrice("¥") }}</span>
</div>
</div>