mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 14:29:19 +08:00
feat: 接入拼多多商品 PMC 消息并软标平台删除
This commit is contained in:
@@ -42,6 +42,8 @@ export namespace PddGoodsVO {
|
||||
thumbUrl?: string;
|
||||
isMoreSku?: number;
|
||||
isOnsale?: number;
|
||||
/** 平台是否已删除 0否 1是 */
|
||||
isPlatformDeleted?: number;
|
||||
pddCreatedAt?: string;
|
||||
lastSyncTime?: string;
|
||||
createTime?: string;
|
||||
|
||||
+6
@@ -124,6 +124,12 @@ defineExpose({ open, close });
|
||||
{{ detail.goodsName }}
|
||||
</div>
|
||||
<div class="mt-2 flex flex-wrap gap-2">
|
||||
<Tag
|
||||
v-if="detail.isPlatformDeleted === 1"
|
||||
color="error"
|
||||
>
|
||||
平台已删
|
||||
</Tag>
|
||||
<Tag :color="detail.isOnsale === 1 ? 'success' : 'default'">
|
||||
{{ detail.isOnsale === 1 ? '在架' : '下架' }}
|
||||
</Tag>
|
||||
|
||||
@@ -348,9 +348,20 @@ onMounted(async () => {
|
||||
</template>
|
||||
|
||||
<template #onsale="{ row }: { row: PddGoodsVO.Info }">
|
||||
<Tag :color="row.isOnsale === 1 ? 'success' : 'default'">
|
||||
{{ row.isOnsale === 1 ? '在架' : '下架' }}
|
||||
</Tag>
|
||||
<div class="flex flex-wrap gap-1">
|
||||
<Tag
|
||||
v-if="row.isPlatformDeleted === 1"
|
||||
color="error"
|
||||
>
|
||||
平台已删
|
||||
</Tag>
|
||||
<Tag
|
||||
v-else
|
||||
:color="row.isOnsale === 1 ? 'success' : 'default'"
|
||||
>
|
||||
{{ row.isOnsale === 1 ? '在架' : '下架' }}
|
||||
</Tag>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<template #moreSku="{ row }: { row: PddGoodsVO.Info }">
|
||||
|
||||
Reference in New Issue
Block a user