Commit 34e52da6 authored by sugar's avatar sugar

出入库盘点

parent 823187f5
......@@ -532,6 +532,9 @@ class GoodsController extends AbstractActionController
if(!empty($orderGoods)) {
foreach ($orderGoods as $key => $value) {
$exWarehouseOrderInfo= $this->entityManager->getRepository(ExWarehouseOrder::class)->findOneBy(['exWarehouseOrderId' => $value->getExWarehouseOrderId()]);
$value->exAddTime = $exWarehouseOrderInfo->getExAddTime();
$value->ExWarehouseOrderSn = $exWarehouseOrderInfo->getExWarehouseOrderSn();
$value->WarehouseName = $exWarehouseOrderInfo->getOneWarehouse()->getWarehouseName();
}
}
return ['goodsInfo' => $goodsInfo, 'exWarehouseOrder' => $exWarehouseOrderInfo, 'orderGoods' => $orderGoods];
......
......@@ -48,9 +48,9 @@
<td><?php echo $this->escapeHtml($goodsValue->getGoodsUnit()); ?></td>
<td><?php echo $this->erpCurrencyFormat($goodsValue->getWarehouseGoodsPrice()); ?></td>
<td><?php echo $goodsValue->getWarehouseGoodsExNum(); ?></td>
<td><?php echo $this->escapeHtml($this->exWarehouseOrder->getExWarehouseOrderSn()); ?></td>
<td><?php echo $this->escapeHtml($this->exWarehouseOrder->getOneWarehouse()->getWarehouseName()); ?></td>
<td><?php echo date("Y-m-d H:i:s", $this->exWarehouseOrder->getExAddTime()); ?></td>
<td><?php echo $goodsValue->ExWarehouseOrderSn; ?></td>
<td><?php echo $goodsValue->WarehouseName; ?></td>
<td><?php echo date("Y-m-d H:i:s", $goodsValue->exAddTime); ?></td>
<td><?php echo $this->erpCurrencyFormat($goodsValue->getWarehouseGoodsAmount()); ?></td>
</tr>
<?php } ?>
......
......@@ -47,9 +47,9 @@
<td><?php echo $this->escapeHtml($goodsValue->getGoodsUnit()); ?></td>
<td><?php echo $this->erpCurrencyFormat($goodsValue->getWarehouseGoodsPrice()); ?></td>
<td><?php echo $goodsValue->getWarehouseGoodsBuyNum(); ?></td>
<td><?php echo $this->escapeHtml($this->otherWarehouseOrder->getWarehouseOrderSn()); ?></td>
<td><?php echo $this->escapeHtml($this->otherWarehouseOrder->getOneWarehouse()->getWarehouseName()); ?></td>
<td><?php echo date("Y-m-d H:i:s", $this->otherWarehouseOrder->getOtherAddTime()); ?></td>
<td><?php echo $goodsValue->WarehouseOrderSn; ?></td>
<td><?php echo $goodsValue->WarehouseName; ?></td>
<td><?php echo date("Y-m-d H:i:s", $goodsValue->otherAddTime); ?></td>
<td><?php echo $this->erpCurrencyFormat($goodsValue->getWarehouseGoodsAmount()); ?></td>
</tr>
<?php } ?>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment