| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <?php
- use yii\helpers\Html;
- use yii\widgets\ActiveForm;
- use kartik\datetime\DateTimePicker;
- /* @var $this yii\web\View */
- /* @var $model app\models\Orderreturn */
- /* @var $form yii\widgets\ActiveForm */
- ?>
- <div class="orderreturn-form">
- <?php $form = ActiveForm::begin(); ?>
- <?= $form->field($model, 'deliveryid')->textInput(['maxlength' => true]) ?>
- <?= $form->field($model, 'website')->textInput(['maxlength' => true]) ?>
- <?= $form->field($model, 'customer')->textInput(['maxlength' => true]) ?>
- <?= $form->field($model, 'delivery')->dropdownList(['1' =>'USPS','2'=>'UPS','3'=>'FedEx','4'=>'客人到店退货','5'=>'DHL' ]) ?>
- <?= $form->field($model, 'origin_goodsinfo')->textInput(['maxlength' => true]) ?>
- <?= $form->field($model, 'goodsinfo')->textInput(['maxlength' => true]) ?>
- <?= $form->field($model, 'usage')->dropdownList(['1' => "可用-请加库存",'2'=>'不可用-退回工厂','3'=>'精打理-退回国内','4'=>'精打理-留美仓','5'=>'泡发-发回国内']) ?>
- <?= $form->field($model, 'receiptdate')->widget(DateTimePicker::className(), [
- 'pluginOptions' => [
- 'format' => 'yyyy-mm-dd ',
- 'autoclose' => true,
- ]
- ]) ?>
- <?= $form->field($model, 'num')->textInput() ?>
- <?= $form->field($model, 'mark')->textInput(['maxlength' => true]) ?>
- <?= $form->field($model, 'shop')->dropdownList(['1' => "美国仓",'2'=>'亚马逊']) ?>
- <?= $form->field($model, 'imgs')->widget('manks\FileInput', [
- 'clientOptions' => [
- 'pick' => [
- 'multiple' => true,
- ],
- // 'server' => Url::to('upload/u2'),
- // 'accept' => [
- // 'extensions' => 'png',
- // ],
- ],
- ]); ?>
- <div class="form-group">
- <?= Html::submitButton('Save', ['class' => 'btn btn-success']) ?>
- </div>
- <?php ActiveForm::end(); ?>
- </div>
|