@@ -103,12 +117,15 @@
return {
colConfigs: [
{ prop: 'mallName', label: '店铺名称', align: 'left' },
+ // { prop: 'productName', label: '商品名称', width: '280px', align: 'center' },
+ { slot: 'product' },
{ prop: 'labelCode', label: '条码编码', align: 'center' },
{ prop: 'productSkcId', label: 'SKC', align: 'center' },
{ prop: 'productSkuId', label: 'SKU', align: 'center' },
{ prop: 'skuExtCode', label: 'SKU货号', align: 'center' },
{ prop: 'skuSpecName', label: '次销售属性', align: 'center' },
- { prop: 'deliveryNum', label: '发货数', align: 'center' }
+ { prop: 'deliveryNum', label: '发货数', align: 'center' },
+ { prop: 'purchaseTime', label: '创建时间', align: 'center', format: v => this.$dayjs(v).format('YYYY-MM-DD HH:mm:ss') }
],
search: {
mallId: '',
@@ -281,6 +298,7 @@
labelCode: v.labelCode,
skuExtCode: v.skuExtCode,
deliveryNum: v.deliveryNum,
+ thumbUrl: v.thumbUrl,
skuSpecName: v.secondarySpecVOList.map(item => {
return item.specName
}).join(',')
@@ -339,5 +357,35 @@
align-items: center;
}
}
+
+ .product {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+
+ .right {
+ flex: 1;
+ margin-left: 10px;
+ text-align: left;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+
+ div {
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
+ }
+
+ img {
+ width: 60px;
+ }
+ }
+ .tips {
+ margin-left: 20px;
+ font-size: 14px;
+ color: red;
+ }
}
diff --git a/src/view/lables/SkuManage.vue b/src/view/lables/SkuManage.vue
index 25cf108..f347626 100644
--- a/src/view/lables/SkuManage.vue
+++ b/src/view/lables/SkuManage.vue
@@ -142,7 +142,7 @@
v-model="skuReqParams.SKC"
style="width: 250px"
size="small"
- placeholder="多个查询请用户逗号分割"
+ placeholder="多个查询请用逗号分割"
clearable
@clear="getSkuList()"
suffix-icon="iconfont iconSearch">
@@ -156,7 +156,7 @@
v-model="skuReqParams.SKU"
style="width: 250px"
size="small"
- placeholder="多个查询请用户逗号分割"
+ placeholder="多个查询请用逗号分割"
clearable
@clear="getSkuList()"
suffix-icon="iconfont iconSearch">
diff --git a/src/view/product/BatchUpload.vue b/src/view/product/BatchUpload.vue
index 41b4f5e..f03e593 100644
--- a/src/view/product/BatchUpload.vue
+++ b/src/view/product/BatchUpload.vue
@@ -71,7 +71,7 @@ import { formatDate } from "@/utils/date.js"
detailPicList: [],
coin: 150,
colConfigs: [
- { slot: 'productName', label: '商品名称', width: '180px', align: 'left', fixed: 'left' },
+ { slot: 'productName', label: '商品名称', width: '180px', align: 'left', fixed: 'left' },
{ prop: 'category', label: '分类', width: '140px', align: 'left', fixed: 'left' },
{ prop: 'productId', label: 'SPU ID', width: '120px', align: 'left' },
{ prop: 'productSkcId', label: 'SKC ID', width: '120px', align: 'left' },
@@ -130,9 +130,9 @@ import { formatDate } from "@/utils/date.js"
await this.dealAction("", res)
}
})
-
-
- },
+
+
+ },
async dealAction (root, obj) {
console.log(obj)
if (obj.entries) {
@@ -188,7 +188,7 @@ import { formatDate } from "@/utils/date.js"
} else if (entry[0] == '详情图' && entry[1].kind == 'directory') {
this.detailPicList = await this.getPictureList(root + '/' + entry[0], entry[1])
}
-
+
}
if (this.mainPicList.length >= 0 && this.detailPicList.length >= 0) {
await this.beginAddToDraft(obj.name)
@@ -302,4 +302,4 @@ import { formatDate } from "@/utils/date.js"
}
}
}
-
\ No newline at end of file
+