remove customer package
This commit is contained in:
@@ -62,7 +62,7 @@
|
||||
<strong class="value red" v-text="formatPackageAmount(props.order.saleAmount)" />
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="showActions" class="actions" @click.stop>
|
||||
<div class="actions" @click.stop>
|
||||
<t-button
|
||||
v-if="showReceiveAction"
|
||||
variant="outline"
|
||||
@@ -117,7 +117,6 @@ const productSummaryText = computed(() => `共 ${itemList.value.length} 项 ·
|
||||
const showReceiveAction = computed(() => props.canReceive && props.order.status !== "CANCELLED" && props.order.paymentStatus !== "PAID");
|
||||
const canFulfillByPayment = computed(() => props.order.paymentStatus === "PAID" || (props.order.paymentStatus === "PARTIALLY_PAID" && props.canOperateStock));
|
||||
const showFulfillAction = computed(() => props.canFulfill && canFulfillByPayment.value && props.order.status === "ACTIVE");
|
||||
const showActions = computed(() => showReceiveAction.value || showFulfillAction.value);
|
||||
|
||||
function getPaymentStatusTheme(status?: GaoSalesPaymentStatus): "success" | "warning" | "danger" | "default" {
|
||||
if (status === "PAID") {
|
||||
|
||||
Reference in New Issue
Block a user