This commit is contained in:
liushiwei
2023-08-25 00:56:56 +08:00
parent a74e042e86
commit f7749d1a94
2 changed files with 21 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
"manifest_version": 3, "manifest_version": 3,
"name": "TEMU助手", "name": "TEMU助手",
"description": "TEMU助手 - 自动化提高生产效率", "description": "TEMU助手 - 自动化提高生产效率",
"version": "2.2.2", "version": "2.2.3",
"background": { "background": {
"service_worker": "/background.js" "service_worker": "/background.js"
}, },

View File

@@ -143,13 +143,15 @@ import { Message } from 'element-ui'
"SKC": "productSkcId", "SKC": "productSkcId",
"SKU ID": "productSkuId", "SKU ID": "productSkuId",
"SKU属性": "className", "SKU属性": "className",
"SKU货号": "skuExtCode",
"加入站点时长": "onSalesDurationOffline",
"图片链接": "productSkcPicture",
"申报价格(CNY)": { "申报价格(CNY)": {
"field": "supplierPrice", "field": "supplierPrice",
callback: (value) => { callback: (value) => {
return value /100; return value /100;
} }
}, },
"SKU货号": "skuExtCode",
"开款核价状态": { "开款核价状态": {
"field": "isVerifyPrice", "field": "isVerifyPrice",
callback: (value) => { callback: (value) => {
@@ -193,7 +195,7 @@ import { Message } from 'element-ui'
prop: 'productName', prop: 'productName',
label: '商品名称', label: '商品名称',
"show-overflow-tooltip": true, "show-overflow-tooltip": true,
width: '300px', width: '280px',
align: 'left' align: 'left'
}, },
{ {
@@ -216,6 +218,16 @@ import { Message } from 'element-ui'
label: 'SKU属性', label: 'SKU属性',
align: 'center' align: 'center'
}, },
{
prop: 'skuExtCode',
label: 'SKU货号',
align: 'center'
},
{
prop: 'onSalesDurationOffline',
label: '加入站点时长',
align: 'center'
},
{ {
prop: 'isVerifyPrice', prop: 'isVerifyPrice',
label: '开款核价状态', label: '开款核价状态',
@@ -400,6 +412,12 @@ import { Message } from 'element-ui'
data.productId = item.productId; data.productId = item.productId;
data.productSkcId = item.productSkcId; data.productSkcId = item.productSkcId;
data.purchaseConfig = item.purchaseConfig; 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++) { for(let j = 0;j < item.skuQuantityDetailList.length; j++) {
data = {...data, ...item.skuQuantityDetailList[j], data = {...data, ...item.skuQuantityDetailList[j],