@@ -28,7 +28,7 @@ class ConsoleController extends BaseController
$lsDebt = $lsDebt === null ? 0 : $lsDebt;
$totalDebt = bcadd($pfDebt, $lsDebt, 2);
- $itemList = ItemClass::getAllByCondition(['mainId' => $this->mainId], null, 'id,stock,cost', null, true);
+ $itemList = ItemClass::getAllByCondition(['mainId' => $this->mainId], null, 'id,stock,cost,virtualStock,delStatus', null, true);
$totalItemNum = 0;
$totalCost = 0;
if (!empty($itemList)) {