合作管理 / 供应商管理 /
['class' => 'form-horizontal', 'data-pjax' => true]]); ?>
field($model, 'TYPE', ['options' => ['class' => 'col_5']])->radioList(['259' => '车队'], ['class' => 'col-sm-5 radio-z']); ?>
field($model, 'SUPPLIER_NAME', ['template' => '{label}
{input}' . '
{hint}{error}
', 'options' => ['class' => 'col_5']])->textInput(['placeholder' => '输入供应商名称', ['class' => 'form-control']]) ?>
field($model, 'COMPANY_NAME', ['template' => '{label}
{input}' . '
{hint}{error}
', 'options' => ['class' => 'col_5']])->textInput(['placeholder' => '输入' . $model->getAttributeLabel('COMPANY_NAME'), ['class' => 'form-control']]) ?>
field($model, 'SETT_TYPE', ['options' => ['class' => 'col_5']])->radioList(['474' => '挂账', '190' => '预付', '292' => '单结'], ['class' => 'col-sm-9 radio-z'])->error(false); ?>
field($model, 'SETT_FREQUENCY', ['options' => ['class' => 'col_5']])->radioList(['295' => '月结', '294' => '周结', '298' => '年付'], ['class' => 'col-sm-9 radio-z'])->error(false); ?>
$link) { ?>
姓名 电话 类型 操作
field($link, "[$key]ID")->textInput()->hiddenInput(['value' => $link['ID']]); echo Html::hiddenInput("tr_no", $key); ?>
field($link, "[$key]CONTACT_NAME")->textInput(['placeholder' => '输入联系人姓名', ['class' => 'form-control select_screen']])->label(false)->error(false); ?>
field($link, "[$key]CONTACT_MOBILE")->textInput(['placeholder' => '输入联系人电话', ['class' => 'form-control select_screen']])->label(false)->error(false); ?>
field($link, "[$key]CONTACT_TYPE", ['template' => '
{input}' . '
{hint}{error}
'], ['options' => ['class' => '']])->dropDownList(['606' => '车调', '607' => '采购', '608' => '财务'], ['class' => 'form-control'])->error(false) ?>
isNewRecord ? '保 存' : '保 存', ['class' => $model->isNewRecord ? 'btn btn-primary' : 'btn btn-primary', 'style' => 'width: 82px;', 'onclick' => 'loading()']) ?> 'btn btn-default', 'data-dismiss' => 'modal', 'onclick' => 'window.open("about:blank", "_top").close()', 'style' => 'margin-left:5px;width: 82px;']) ?> $model->isNewRecord ? 'btn btn-primary' : 'btn btn-primary', 'name' => 'pass', 'style' => 'width: 82px;', 'onclick' => 'loading()']) ?> 'btn btn-default', 'data-dismiss' => 'modal', 'style' => 'width: 82px;margin-left:5px;', 'name' => 'reject', 'onclick' => 'loading()']) ?> 'btn btn-default', 'data-dismiss' => 'modal', 'id' => 'close', 'onclick' => 'window.open("about:blank", "_top").close()', 'style' => 'width:82px;']) ?>