Authored by 高小祥

库存余量字段名修改

... ... @@ -47,8 +47,8 @@ export default class PBProductListView extends Component {
let percent = 0;
let stock = rowData.configStorage?rowData.configStorage:0;
if (rowData.configStorage && rowData.storageNum && stock != 0) {
let sale = rowData.configStorage - rowData.storageNum;
if (rowData.configStorage && rowData.storageSum && stock != 0) {
let sale = rowData.configStorage - rowData.storageSum;
percent = Math.floor(sale/stock*100);
}
... ...