You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.2 KiB
51 lines
1.2 KiB
<?php
|
|
|
|
use yii\helpers\Html;
|
|
use yii\widgets\DetailView;
|
|
|
|
/* @var $this yii\web\View */
|
|
/* @var $model common\models\ars\Delivery */
|
|
/* @var $logistics*/
|
|
|
|
?>
|
|
|
|
<p>
|
|
<?= Html::a('返回发货列表', ['index'], ['class' => 'btn btn-success']) ?>
|
|
</p>
|
|
|
|
<div class="delivery-view">
|
|
|
|
<div>
|
|
<label for="">物流单位:</label>
|
|
<?= isset($logistics->expTextName) ? $logistics->expTextName : ''?>
|
|
</div>
|
|
|
|
<div>
|
|
<label for="">运单号:</label>
|
|
<?= isset($logistics->mailNo) ? $logistics->mailNo : ''?>
|
|
</div>
|
|
|
|
<div>
|
|
<label for="">物流电话:</label>
|
|
<?= isset($logistics->tel) ? $logistics->tel : ''?>
|
|
</div>
|
|
|
|
<div>
|
|
<label for="">更新时间:</label>
|
|
<?= isset($logistics->updateStr) ? $logistics->updateStr : '' ?>
|
|
</div>
|
|
|
|
<div style="margin-top:20px">
|
|
<?php
|
|
if (isset($logistics->data)) {
|
|
foreach ($logistics->data as $value) {
|
|
echo '<div style="margin:20px 0">' .
|
|
"<div> $value->time </div>" .
|
|
"<div> $value->context </div>" .
|
|
'</div>';
|
|
}
|
|
}
|
|
?>
|
|
</div>
|
|
|
|
</div>
|