表头固定
This commit is contained in:
@@ -106,6 +106,7 @@
|
||||
<ai-table
|
||||
:isShowPagination="false"
|
||||
:tableData="last30DaySkuList"
|
||||
height="500"
|
||||
:col-configs="col30DaysSkuConfigs"
|
||||
:total="last30DaySkuList.length"
|
||||
style="margin-top: 8px;"
|
||||
@@ -129,6 +130,7 @@
|
||||
<ai-table
|
||||
:isShowPagination="false"
|
||||
:tableData="last30DaySkcList"
|
||||
height="500"
|
||||
:col-configs="col30DaysSkcConfigs"
|
||||
:total="last30DaySkcList.length"
|
||||
style="margin-top: 8px;"
|
||||
@@ -228,14 +230,14 @@ import { Message } from 'element-ui'
|
||||
{
|
||||
prop: 'productName',
|
||||
label: '商品名称',
|
||||
"show-overflow-tooltip": true,
|
||||
"show-overflow-tooltip": true,
|
||||
width: '280px',
|
||||
align: 'left'
|
||||
},
|
||||
{
|
||||
prop: 'mallName',
|
||||
label: '店铺名称',
|
||||
"show-overflow-tooltip": true,
|
||||
"show-overflow-tooltip": true,
|
||||
width: '120px',
|
||||
align: 'left'
|
||||
},
|
||||
@@ -318,8 +320,8 @@ import { Message } from 'element-ui'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
|
||||
|
||||
]
|
||||
},
|
||||
col30DaysSkcConfigs () {
|
||||
@@ -327,7 +329,7 @@ import { Message } from 'element-ui'
|
||||
{
|
||||
prop: 'productName',
|
||||
label: '商品名称',
|
||||
"show-overflow-tooltip": true,
|
||||
"show-overflow-tooltip": true,
|
||||
width: '300px',
|
||||
align: 'left',
|
||||
fixed: 'left'
|
||||
@@ -335,7 +337,7 @@ import { Message } from 'element-ui'
|
||||
{
|
||||
prop: 'mallName',
|
||||
label: '店铺名称',
|
||||
"show-overflow-tooltip": true,
|
||||
"show-overflow-tooltip": true,
|
||||
width: '120px',
|
||||
align: 'left',
|
||||
fixed: 'left'
|
||||
@@ -412,7 +414,7 @@ import { Message } from 'element-ui'
|
||||
{
|
||||
prop: 'productName',
|
||||
label: '商品名称',
|
||||
"show-overflow-tooltip": true,
|
||||
"show-overflow-tooltip": true,
|
||||
width: '300px',
|
||||
align: 'left',
|
||||
fixed: 'left'
|
||||
@@ -420,7 +422,7 @@ import { Message } from 'element-ui'
|
||||
{
|
||||
prop: 'mallName',
|
||||
label: '店铺名称',
|
||||
"show-overflow-tooltip": true,
|
||||
"show-overflow-tooltip": true,
|
||||
width: '120px',
|
||||
align: 'left',
|
||||
fixed: 'left'
|
||||
@@ -537,7 +539,7 @@ import { Message } from 'element-ui'
|
||||
this.deliveryMoeny = 0.0
|
||||
this.allProductList = []
|
||||
if (!this.mallId) {
|
||||
|
||||
|
||||
Message.error("请先选择店铺")
|
||||
return
|
||||
}
|
||||
@@ -610,10 +612,10 @@ import { Message } from 'element-ui'
|
||||
} else {
|
||||
data.onSalesDurationOffline = item.onSalesDurationOffline + '天'
|
||||
}
|
||||
|
||||
|
||||
|
||||
for(let j = 0;j < item.skuQuantityDetailList.length; j++) {
|
||||
data = {...data, ...item.skuQuantityDetailList[j],
|
||||
data = {...data, ...item.skuQuantityDetailList[j],
|
||||
productTotalPrice: ((item.skuQuantityDetailList[j].supplierPrice / 100) * item.skuQuantityDetailList[j].inventoryNumInfo.warehouseInventoryNum).toFixed(2),
|
||||
warehouseInventoryNum: item.skuQuantityDetailList[j].inventoryNumInfo.warehouseInventoryNum}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user