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.

68 lines
2.0 KiB

  1. <?php
  2. use yii\helpers\Html;
  3. use yii\widgets\ActiveForm;
  4. /* @var $this yii\web\View */
  5. /* @var $model common\models\ars\Order */
  6. /* @var $form yii\widgets\ActiveForm */
  7. ?>
  8. <div class="order-form">
  9. <?php $form = ActiveForm::begin(); ?>
  10. <?= $form->field($model, 'user_id')->textInput() ?>
  11. <?= $form->field($model, 'order_sn')->textInput(['maxlength' => true]) ?>
  12. <?= $form->field($model, 'invoice_id')->textInput(['maxlength' => true]) ?>
  13. <?= $form->field($model, 'status')->textInput() ?>
  14. <?= $form->field($model, 'type')->textInput() ?>
  15. <?= $form->field($model, 'goods_count')->textInput() ?>
  16. <?= $form->field($model, 'goods_amount')->textInput() ?>
  17. <?= $form->field($model, 'shipping_amount')->textInput() ?>
  18. <?= $form->field($model, 'shipping_type')->textInput() ?>
  19. <?= $form->field($model, 'consignee')->textInput(['maxlength' => true]) ?>
  20. <?= $form->field($model, 'phone')->textInput(['maxlength' => true]) ?>
  21. <?= $form->field($model, 'province')->textInput(['maxlength' => true]) ?>
  22. <?= $form->field($model, 'city')->textInput(['maxlength' => true]) ?>
  23. <?= $form->field($model, 'area')->textInput(['maxlength' => true]) ?>
  24. <?= $form->field($model, 'taking_site')->textInput() ?>
  25. <?= $form->field($model, 'pay_type')->textInput() ?>
  26. <?= $form->field($model, 'pay_at')->textInput() ?>
  27. <?= $form->field($model, 'payment_sn')->textInput(['maxlength' => true]) ?>
  28. <?= $form->field($model, 'payment_amount')->textInput() ?>
  29. <?= $form->field($model, 'receivables')->textInput() ?>
  30. <?= $form->field($model, 'remarks')->textInput(['maxlength' => true]) ?>
  31. <?= $form->field($model, 'discount_amount')->textInput() ?>
  32. <?= $form->field($model, 'discount_decription')->textarea(['rows' => 6]) ?>
  33. <div class="form-group">
  34. <?= Html::submitButton('保存', ['class' => 'btn btn-success']) ?>
  35. <?= Html::a('返回', ['index'], ['class' => 'btn btn-info']) ?>
  36. </div>
  37. <?php ActiveForm::end(); ?>
  38. </div>