feat(recycle): support quick fulfillment for recycle order
This commit is contained in:
Vendored
-2
@@ -82,8 +82,6 @@ declare module 'vue' {
|
|||||||
TSlider: typeof import('tdesign-mobile-vue')['Slider']
|
TSlider: typeof import('tdesign-mobile-vue')['Slider']
|
||||||
TStepper: typeof import('tdesign-mobile-vue')['Stepper']
|
TStepper: typeof import('tdesign-mobile-vue')['Stepper']
|
||||||
TSwipeCell: typeof import('tdesign-mobile-vue')['SwipeCell']
|
TSwipeCell: typeof import('tdesign-mobile-vue')['SwipeCell']
|
||||||
TSwiper: typeof import('tdesign-mobile-vue')['Swiper']
|
|
||||||
TSwiperItem: typeof import('tdesign-mobile-vue')['SwiperItem']
|
|
||||||
TSwitch: typeof import('tdesign-mobile-vue')['Switch']
|
TSwitch: typeof import('tdesign-mobile-vue')['Switch']
|
||||||
TTable: typeof import('tdesign-mobile-vue')['Table']
|
TTable: typeof import('tdesign-mobile-vue')['Table']
|
||||||
TTabPanel: typeof import('tdesign-mobile-vue')['TabPanel']
|
TTabPanel: typeof import('tdesign-mobile-vue')['TabPanel']
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
<strong v-if="order.orderType === 'PACKAGE'" class="package-name" v-text="order.packageName || '未命名套餐'" />
|
<strong v-if="order.orderType === 'PACKAGE'" class="package-name" v-text="order.packageName || '未命名套餐'" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<span class="red text-bold keep-text" v-text="`¥${formatPackageAmount(order.saleAmount)}`" />
|
<span v-if="order.orderType !== 'RECYCLE'" class="red text-bold keep-text" v-text="`¥${formatPackageAmount(order.saleAmount)}`" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template #description>
|
<template #description>
|
||||||
@@ -53,7 +53,18 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row payment">
|
<div v-if="order.orderType === 'RECYCLE'" class="row payment">
|
||||||
|
<span class="label">回收物</span>
|
||||||
|
<div class="tags">
|
||||||
|
<t-tag
|
||||||
|
size="small"
|
||||||
|
theme="primary"
|
||||||
|
variant="light"
|
||||||
|
:content="`${order.recycleItemName || '回收物'}:已核销 ${order.recycleVerifiedQuantity ?? 0} / 应回收 ${order.recycleRequiredQuantity ?? 0} ${order.recycleUnit || ''}`"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div v-else class="row payment">
|
||||||
<span class="label">收款</span>
|
<span class="label">收款</span>
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
<t-tag
|
<t-tag
|
||||||
|
|||||||
@@ -105,7 +105,11 @@ export type QuickFulfillmentSourceOrderItem = {
|
|||||||
export type QuickFulfillmentSourceOrder = {
|
export type QuickFulfillmentSourceOrder = {
|
||||||
id: string;
|
id: string;
|
||||||
orderNo?: string;
|
orderNo?: string;
|
||||||
orderType?: "PACKAGE" | "DIRECT_PRODUCT";
|
orderType?: "PACKAGE" | "DIRECT_PRODUCT" | "RECYCLE";
|
||||||
|
recycleItemName?: string | null;
|
||||||
|
recycleUnit?: string | null;
|
||||||
|
recycleRequiredQuantity?: number | string | null;
|
||||||
|
recycleVerifiedQuantity?: number | string | null;
|
||||||
paymentStatus?: GaoSalesPaymentStatus;
|
paymentStatus?: GaoSalesPaymentStatus;
|
||||||
packageName?: string;
|
packageName?: string;
|
||||||
saleAmount?: number | null;
|
saleAmount?: number | null;
|
||||||
|
|||||||
Reference in New Issue
Block a user