...
|
...
|
@@ -142,7 +142,7 @@ let infoCols = function() { |
|
|
align: 'center',
|
|
|
render: (h, params) => {
|
|
|
return (
|
|
|
<div>{params.row.goodsName} / {params.row.factoryGoodsName}</div>
|
|
|
<div>{params.row.colorName || '-'} / {params.row.factoryGoodsName || '-'}</div>
|
|
|
);
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -151,7 +151,7 @@ let infoCols = function() { |
|
|
align: 'center',
|
|
|
render: (h, params) => {
|
|
|
return (
|
|
|
<div>{params.row.genderName} / {params.row.sizeName}</div>
|
|
|
<div>{params.row.genderName || '-'} / {params.row.sizeName || '-'}</div>
|
|
|
);
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -160,7 +160,7 @@ let infoCols = function() { |
|
|
align: 'center',
|
|
|
render: (h, params) => {
|
|
|
return (
|
|
|
<div>{params.row.retailPrice} / {params.row.salesPrice}</div>
|
|
|
<div>{params.row.retailPrice || '-'} / {params.row.salesPrice || '-'}</div>
|
|
|
);
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -176,8 +176,8 @@ let infoCols = function() { |
|
|
render: function(h, params) {
|
|
|
let percent = 0;
|
|
|
|
|
|
if (params.row.inStoreNum && params.row.totalNum) {
|
|
|
percent = params.row.inStoreNum / params.row.totalNum;
|
|
|
if (params.row.inStoreNum && params.row.buyingNums) {
|
|
|
percent = params.row.inStoreNum / params.row.buyingNums;
|
|
|
|
|
|
if (percent > 1) {
|
|
|
percent = 100;
|
...
|
...
|
@@ -190,7 +190,7 @@ let infoCols = function() { |
|
|
<div>
|
|
|
<div><i-progress percent={ percent }
|
|
|
hide-info={true}></i-progress></div>
|
|
|
<div>{ params.row.inStoreNum || 0} / {params.row.totalNum || 0}</div>
|
|
|
<div>{ params.row.inStoreNum || 0} / {params.row.buyingNums || 0}</div>
|
|
|
</div>
|
|
|
);
|
|
|
},
|
...
|
...
|
|