...
|
...
|
@@ -50,6 +50,9 @@ export default class PBProductListView extends Component { |
|
|
if (rowData.configStorage && rowData.storageSum && stock != 0) {
|
|
|
let sale = rowData.configStorage - rowData.storageSum;
|
|
|
percent = Math.floor(sale/stock*100);
|
|
|
if (percent == 0 && sale > 0) {
|
|
|
percent = 1;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
let progressText = '';
|
...
|
...
|
|