| 商品编号 |
商品名称 |
规格型号 |
单位 |
日期 |
单据号 |
业务类型 |
往来单位 |
仓库 |
入库 |
出库 |
结存 |
$row){
?>
|
|
|
|
|
|
期初余额 |
|
|
|
|
systems['qtyPlaces'])?> |
$row1) {
if ($row['id']==$row1['invId']) {
$inqty = $row1['qty']>0 ? abs($row1['qty']) : ''; //入库
$outqty = $row1['qty']<0 ? abs($row1['qty']) : ''; //出库
$sum1 += $inqty; //入库数量累加
$sum2 += $outqty; //出库数量累加
$totalqtys = $row['qty'] + $sum1 - $sum2; //结存
?>
|
|
|
|
|
|
|
|
|
systems['qtyPlaces'])?> |
systems['qtyPlaces'])?> |
systems['qtyPlaces'])?> |
| 合计: |
|
|
|
|
|
|
systems['qtyPlaces'])?> |
systems['qtyPlaces'])?> |
systems['qtyPlaces'])?> |