|
|
@ -68,12 +68,13 @@ use antgoods\goods\models\ars\Supplier; |
|
|
|
|
|
|
|
<?= $form->field($model, 'express_template')->textInput() ?>
|
|
|
|
|
|
|
|
<?= $form->field($model, 'image')->textInput() ?>
|
|
|
|
<?= $form->field($model, 'image')->hiddenInput()->label('') ?>
|
|
|
|
<?= $form->field($model, 'imagePath')->widget(\iron\widgets\Upload::className(), [ |
|
|
|
'url' => 'upload', |
|
|
|
'deleteUrl' => 'imageDel', |
|
|
|
'dragdropWidth'=> 800, |
|
|
|
'afterSave' => 'savefile', |
|
|
|
'maxCount' => 1, |
|
|
|
'successScript' => "
|
|
|
|
success: function(data) |
|
|
|
{ |
|
|
@ -95,7 +96,7 @@ use antgoods\goods\models\ars\Supplier; |
|
|
|
}, |
|
|
|
}); |
|
|
|
",
|
|
|
|
]) ?>
|
|
|
|
])->label('图片') ?>
|
|
|
|
|
|
|
|
<div class="form-group"> |
|
|
|
<?= Html::submitButton('保存', ['class' => 'btn btn-success']) ?>
|
|
|
|