|
|
<?php
use yii\helpers\Html; use yii\widgets\ActiveForm;
/* @var $this yii\web\View */ /* @var $model backend\models\ars\Order */ /* @var $form yii\widgets\ActiveForm */ ?>
<div class="order-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'user_id')->textInput() ?>
<?= $form->field($model, 'order_sn')->textInput(['maxlength' => true]) ?>
<?= $form->field($model, 'invoice_id')->textInput(['maxlength' => true]) ?>
<?= $form->field($model, 'status')->textInput() ?>
<?= $form->field($model, 'type')->textInput() ?>
<?= $form->field($model, 'goods_count')->textInput() ?>
<?= $form->field($model, 'goods_amount')->textInput() ?>
<?= $form->field($model, 'shipping_amount')->textInput() ?>
<?= $form->field($model, 'shipping_type')->textInput() ?>
<?= $form->field($model, 'consignee')->textInput(['maxlength' => true]) ?>
<?= $form->field($model, 'phone')->textInput(['maxlength' => true]) ?>
<?= $form->field($model, 'province')->textInput(['maxlength' => true]) ?>
<?= $form->field($model, 'city')->textInput(['maxlength' => true]) ?>
<?= $form->field($model, 'area')->textInput(['maxlength' => true]) ?>
<?= $form->field($model, 'taking_site')->textInput() ?>
<?= $form->field($model, 'pay_type')->textInput() ?>
<?= $form->field($model, 'pay_at')->textInput() ?>
<?= $form->field($model, 'payment_sn')->textInput(['maxlength' => true]) ?>
<?= $form->field($model, 'payment_amount')->textInput() ?>
<?= $form->field($model, 'receivables')->textInput() ?>
<?= $form->field($model, 'remarks')->textInput(['maxlength' => true]) ?>
<?= $form->field($model, 'discount_amount')->textInput() ?>
<?= $form->field($model, 'discount_decription')->textarea(['rows' => 6]) ?>
<div class="form-group"> <?= Html::submitButton('保存', ['class' => 'btn btn-success']) ?>
<?= Html::a('返回', ['index'], ['class' => 'btn btn-info']) ?>
</div>
<?php ActiveForm::end(); ?>
</div>
|