diff --git a/src/manifest.production.json b/src/manifest.production.json index 1412f74..70c7db6 100644 --- a/src/manifest.production.json +++ b/src/manifest.production.json @@ -2,7 +2,7 @@ "manifest_version": 3, "name": "TEMU助手", "description": "TEMU助手 - 自动化提高生产效率", - "version": "2.2.2", + "version": "2.2.3", "background": { "service_worker": "/background.js" }, diff --git a/src/view/ExportSaleData.vue b/src/view/ExportSaleData.vue index 1d9cc84..3182470 100644 --- a/src/view/ExportSaleData.vue +++ b/src/view/ExportSaleData.vue @@ -143,13 +143,15 @@ import { Message } from 'element-ui' "SKC": "productSkcId", "SKU ID": "productSkuId", "SKU属性": "className", + "SKU货号": "skuExtCode", + "加入站点时长": "onSalesDurationOffline", + "图片链接": "productSkcPicture", "申报价格(CNY)": { "field": "supplierPrice", callback: (value) => { return value /100; } }, - "SKU货号": "skuExtCode", "开款核价状态": { "field": "isVerifyPrice", callback: (value) => { @@ -193,7 +195,7 @@ import { Message } from 'element-ui' prop: 'productName', label: '商品名称', "show-overflow-tooltip": true, - width: '300px', + width: '280px', align: 'left' }, { @@ -216,6 +218,16 @@ import { Message } from 'element-ui' label: 'SKU属性', align: 'center' }, + { + prop: 'skuExtCode', + label: 'SKU货号', + align: 'center' + }, + { + prop: 'onSalesDurationOffline', + label: '加入站点时长', + align: 'center' + }, { prop: 'isVerifyPrice', label: '开款核价状态', @@ -400,6 +412,12 @@ import { Message } from 'element-ui' data.productId = item.productId; data.productSkcId = item.productSkcId; data.purchaseConfig = item.purchaseConfig; + if (item.onSalesDurationOffline == 0) { + data.onSalesDurationOffline = '-天' + } else { + data.onSalesDurationOffline = item.onSalesDurationOffline + '天' + } + data.productSkcPicture = item.productSkcPicture; for(let j = 0;j < item.skuQuantityDetailList.length; j++) { data = {...data, ...item.skuQuantityDetailList[j],